-
Notifications
You must be signed in to change notification settings - Fork 29.5k
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
VSCode 1.40 crash after startup with segmentation fault #84233
Comments
Can you please follow the steps in https://github.com/Microsoft/vscode/wiki/Native-Crash-Issues to get at more details around the crash and attach the result here? Thanks! |
@bpasero I have the same issue.
|
GNU gdb (Ubuntu 8.1-0ubuntu3.2) 8.1.0.20180409-git warning: File "/snap/core/8039/lib/x86_64-linux-gnu/libthread_db-1.0.so" auto-loading has been declined by your `auto-load safe-path' set to "$debugdir:$datadir/auto-load". warning: Unable to find libthread_db matching inferior's thread library, thread debugging will not be available. warning: File "/snap/core/8039/lib/x86_64-linux-gnu/libthread_db-1.0.so" auto-loading has been declined by your `auto-load safe-path' set to "$debugdir:$datadir/auto-load". warning: Unable to find libthread_db matching inferior's thread library, thread debugging will not be available. |
Ok, let's wait for Deepak to comment on the crash and how to proceed. |
I am experiencing this same segfault as well after the upgrade to 1.40, running Arch Linux Kernel 5.3.8 |
Are people seeing this when running the archive'd version of VSCode too? Download: https://az764295.vo.msecnd.net/stable/86405ea23e3937316009fc27c9361deee66ffbf5/code-stable-1573064450.tar.gz From the command line run: |
Running that archive looks fine here, while the snap crashes indeed. Dmesg also contains:
|
Adding @joaomoreno and @Tyriar given this seems to be a crash in Snap only? |
I get a similar thing with v1.40 on Windows 10. I think this may be an electron 6 issue (has similar happen in my own electron app which triggered update to v7 😄 )
|
Possibly related (cursory search only, bag of salt appropriate): |
The new version 1.40.1 is still crashing |
I tested on Ubuntu 18.04 with the snap package, from terminal did
waited for sometime with no interactions but didn't see a crash as reported. Is there something else I need to perform for the crash to happen ? |
No, not really. It's even enough to open code without a folder parameter. It also seems that the failure is also dependent on your hardware/OS. P.s.: Just in case it makes any difference. I'm calling code without directory.
|
I also experience crashes of VS Code version 1.40.1 on Ubuntu 19.10. Here is output of syslog:
The same version of VS code doesn't crash if installed via .deb package. |
I will try with Ubuntu 19 today if it doesn't work will try to create a snap package with debug version of vscode , so that we can get better stack trace from your end. Also electron just fixed generating debug symbols for linux electron/electron#18676, if I can that in 6.1.x version of our release that will also help. |
I tried 1.40.1 snap package with Ubuntu 19.10 on parallels vm, but I couldn't see any crash even after using the editor for a while. I will get the debug symbols as next step to investigate further. |
Can confirm that it neither crashes on fresh Ubuntu 19.10 installation to Virtualbox. I found some recommendations to run VS Code with disabled GPU, but it doesn't resolve the issue. |
The new version 1.40.2 is still crashing |
@deepak1556 Any updates to this issue? |
The new version 1.41 is still crashing |
v1.41 no longer crashes for me on Arch Linux Kernel v5.4.2 |
It still crashes for me instead :( |
@deepak1556 any action I can do to help move forward this issue? I've tried to run 1.4.1 using gdb, both using snap to run it or just manually runnig the binary, but in both cases I'm getting the same crash for which gdb isn't really helpful:
Nothing else a part from polling in the other threads. I assume I would need a version with better symbols though. |
The new version 1.42 is still crashing |
Still an issue for me as well. |
Confirm crashes continue. Also, nor Attaching the The snap ends with something like
Not sure the nss error is the one bringing the fatal issue though, while the "Out of memory" thing doesn't seem to be possible to be muted by using |
It seems that with the new version 1.43, all is working fine now. At least for me... @deepak1556 either it was the update to Electron 7.0 or any other change |
I can confirm this works, you can close the issue from my POV. |
Works for me too. |
After upgrading the VSCode Snap package to 1.40, the app crashes immediately after startup with an segmentation fault.
If I revert the snap to 1.39.2, it is working fine.
1.40
Snap version 86405ea 2019-11-07
Linux Mint 19.2 Cinnamon
Kernel 4.15.0-66-generic
Steps to Reproduce:
Does this issue occur when all extensions are disabled?: Yes
Screenshot of journalctl
The text was updated successfully, but these errors were encountered: