Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unexpected vscode crash #93108

Closed
dqunbp opened this issue Mar 20, 2020 · 8 comments
Closed

Unexpected vscode crash #93108

dqunbp opened this issue Mar 20, 2020 · 8 comments
Assignees
Labels
freeze-slow-crash-leak VS Code crashing, performance, freeze and memory leak issues macos Issues with VS Code on MAC/OS X mitigated Issue has workaround in place

Comments

@dqunbp
Copy link

dqunbp commented Mar 20, 2020

Issue Type: Bug

My vscode crashes unexpectedly.
This has happened since I reinstalled it with all the plugins.
I run it in debug mode and catch the debug log:

[main 2020-03-20T16:44:59.537Z] menubarService#updateMenubar 2
[main 2020-03-20T16:44:59.811Z] menubarService#updateMenubar 2
[89709:0320/194503.195224:INFO:CONSOLE(1647)] "%cTRACE color: #888 [editor auto save] triggering auto save with reason 4", source: file:///Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js (1647)
[89709:0320/194503.296780:INFO:CONSOLE(1647)] "%cTRACE color: #888 [storage state.vscdb] updateItems(): insert(Map(2) {memento/workbench.parts.editor => {"editorpart.state":{"serializedGrid":{"root":{"type":"branch","data":[{"type":"leaf","data":{"id":10,"editors":[],"mru":[]},"size":1244}],"size":878},"orientation":1,"width":1244,"height":878},"activeGroup":10,"mostRecentActiveGroups":[10]}}, editors.mru => {"entries":[]}}), delete(Set(0) {})", source: file:///Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js (1647)
[89709:0320/194503.306868:INFO:CONSOLE(1647)] "%cTRACE color: #888 [storage state.vscdb] Trace (event): BEGIN TRANSACTION", source: file:///Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js (1647)
[89709:0320/194503.308260:INFO:CONSOLE(1647)] "%cTRACE color: #888 [storage state.vscdb] Trace (event): INSERT INTO ItemTable VALUES ('memento/workbench.parts.editor','{"editorpart.state":{"serializedGrid":{"root":{"type":"branch","data":[{"type":"leaf","data":{"id":10,"editors":[],"mru":[]},"size":1244}],"size":878},"orientation":1,"width":1244,"height":878},"activeGroup":10,"mostRecentActiveGroups":[10]}}'),('editors.mru','{"entries":[]}')", source: file:///Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js (1647)
[89709:0320/194503.332498:INFO:CONSOLE(1647)] "%cTRACE color: #888 [storage state.vscdb] Trace (event): END TRANSACTION", source: file:///Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js (1647)
[0320/194503.681111:WARNING:process_memory_mac.cc(93)] mach_vm_read(0x7ffeef177000, 0x2000): (os/kern) invalid address (1)
[0320/194503.921870:WARNING:system_snapshot_mac.cc(42)] sysctlbyname kern.nx: No such file or directory (2)
[0320/194505.022966:WARNING:crash_report_exception_handler.cc(239)] UniversalExceptionRaise: (os/kern) failure (5)

VS Code version: Code 1.43.1 (fe22a96, 2020-03-18T07:01:41.240Z)
OS version: Darwin x64 19.3.0
Remote OS version: Linux x64 4.15.0-88-generic

System Info
Item Value
CPUs Intel(R) Core(TM) i5-7267U CPU @ 3.10GHz (4 x 3100)
GPU Status 2d_canvas: enabled
flash_3d: enabled
flash_stage3d: enabled
flash_stage3d_baseline: enabled
gpu_compositing: enabled
metal: disabled_off
multiple_raster_threads: enabled_on
oop_rasterization: disabled_off
protected_video_decode: unavailable_off
rasterization: enabled
skia_renderer: disabled_off_ok
video_decode: enabled
viz_display_compositor: enabled_on
viz_hit_test_surface_layer: disabled_off_ok
webgl: enabled
webgl2: enabled
Load (avg) 14, 12, 9
Memory (System) 8.00GB (0.06GB free)
Process Argv --verbose --log debug
Screen Reader no
VM 0%
Item Value
Remote SSH: dqunbp
OS Linux x64 4.15.0-88-generic
CPUs Intel(R) Core(TM) i7-8700K CPU @ 3.70GHz (12 x 3783)
Memory (System) 62.61GB (39.28GB free)
VM 0%
Extensions (14)
Extension Author (truncated) Version
vscode-eslint dba 2.1.1
vscode-npm-script eg2 0.3.11
prettier-vscode esb 3.20.0
vscode-commitizen Kni 0.8.4
language-gettext mro 0.1.1
vscode-docker ms- 1.0.0
vscode-language-pack-ru MS- 1.43.6
remote-containers ms- 0.106.0
remote-ssh ms- 0.50.0
remote-ssh-edit ms- 0.50.0
remote-wsl ms- 0.42.4
vscode-remote-extensionpack ms- 0.20.0
vscode-icons vsc 10.0.0
vscode-nginx wil 0.7.2

(2 theme extensions excluded)

@bpasero bpasero assigned deepak1556 and unassigned bpasero Mar 21, 2020
@bpasero bpasero added the freeze-slow-crash-leak VS Code crashing, performance, freeze and memory leak issues label Mar 21, 2020
@deepak1556
Copy link
Contributor

Can you provide the crash id of your vscode instance by performing the following steps.

  • go to command palette > Open devtools
  • Again from the command palette > Log Storage Database Contents.
  • Check the devtools console and you should see crashReporter.guid in the printed array
  • Provide the value associated with it.

Thanks!

@deepak1556 deepak1556 added the info-needed Issue requires more information from poster label Mar 22, 2020
@vscodebot vscodebot bot removed the new release label Mar 23, 2020
@dqunbp
Copy link
Author

dqunbp commented Mar 23, 2020

Can you provide the crash id of your vscode instance by performing the following steps.

  • go to command palette > Open devtools
  • Again from the command palette > Log Storage Database Contents.
  • Check the devtools console and you should see crashReporter.guid in the printed array
  • Provide the value associated with it.

Thanks!

{"crashReporter.guid" => "e426f3a5-a3a7-42bc-8e2f-f19b796e605a"}

@deepak1556 deepak1556 removed the info-needed Issue requires more information from poster label Apr 9, 2020
@RupamShaw
Copy link

RupamShaw commented Apr 15, 2020

vscode terminates after welcome screen

vscode --verbose output

[main 2020-04-15T13:45:22.024Z] [storage state.vscdb] Trace (event): INSERT INTO ItemTable VALUES ('workbench.activity.pinnedViewlets2','[{"id":"workbench.view.explorer","pinned":true,"visible":true,"order":0},{"id":"workbench.view.search","pinned":true,"visible":true,"order":1},{"id":"workbench.view.scm","pinned":true,"visible":true,"order":2},{"id":"workbench.view.debug","pinned":true,"visible":true,"order":2},{"id":"workbench.view.remote","pinned":true,"visible":false,"order":4},{"id":"workbench.view.extensions","pinned":true,"visible":true,"order":4},{"id":"workbench.view.extension.test","pinned":true,"visible":true,"order":6},{"id":"workbench.view.extension.references-view","pinned":true,"visible":false,"order":7},{"id":"workbench.view.extension.gitlens","pinned":true,"visible":true,"order":8},{"id":"workbench.view.extension.azure","pinned":true,"visible":true,"order":9},{"id":"workbench.view.extension.dockerView","pinned":true,"visible":true,"order":12},{"id":"workbench.view.extension.PowerShellCommandExplorer","pinned":true,"visible":true,"order":13},{"id":"workbench.view.extension.liveshare","pinned":true,"visible":false,"order":14},{"id":"workbench.view.sync","pinned":true,"visible":false}]')
[main 2020-04-15T13:45:22.025Z] [storage state.vscdb] Trace (event): END TRANSACTION
[56084:0415/234522.069892:INFO:CONSOLE(1611)] "%cTRACE color: #888 CommandService#executeCommand setContext", source: file:///Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js (1611)
[56084:0415/234522.415759:INFO:CONSOLE(1611)] "%cTRACE color: #888 CommandService#executeCommand setContext", source: file:///Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js (1611)
[56084:0415/234522.434615:INFO:CONSOLE(1611)] "%cTRACE color: #888 IPty#resize 121 9", source: file:///Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js (1611)
[56084:0415/234522.436797:INFO:CONSOLE(1611)] "%cTRACE color: #888 CommandService#executeCommand setContext", source: file:///Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js (1611)
[0415/234522.446078:WARNING:process_memory_mac.cc(93)] mach_vm_read(0x7ffeebea3000, 0x2000): (os/kern) invalid address (1)
[0415/234522.550412:WARNING:system_snapshot_mac.cc(42)] sysctlbyname kern.nx: No such file or directory (2)
[0415/234522.562073:WARNING:crash_report_exception_handler.cc(239)] UniversalExceptionRaise: (os/kern) failure (5)

@dqunbp
Copy link
Author

dqunbp commented Apr 15, 2020

This happened 2 to 3 times before I created the issue.
I installed updates as they became available.
This has not happened again since I created the issue.

@RupamShaw
Copy link

RupamShaw commented Apr 15, 2020

restarted machine, I think it was memory issue, now even 3 instances of vscode works fine no crashes. I have vscode 1.44 version.

@deepak1556
Copy link
Contributor

deepak1556 commented Apr 15, 2020

Thanks for the update, I am leaving this issue open, next time a crash happens can you please attach the reports following https://github.com/microsoft/vscode/wiki/Native-Crash-Issues#macos

@deepak1556 deepak1556 added macos Issues with VS Code on MAC/OS X mitigated Issue has workaround in place labels Apr 15, 2020
@deepak1556
Copy link
Contributor

Closing per no recent reports.

@diegodinizz
Copy link

Hi guys!
I'm getting the same issue reported above. Do you have any solution? Thanks

@github-actions github-actions bot locked and limited conversation to collaborators Dec 20, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
freeze-slow-crash-leak VS Code crashing, performance, freeze and memory leak issues macos Issues with VS Code on MAC/OS X mitigated Issue has workaround in place
Projects
None yet
Development

No branches or pull requests

5 participants