-
Notifications
You must be signed in to change notification settings - Fork 29.9k
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
Perma-hang/crash on M1 MBP with universal build #130222
Comments
No issues for me on macOS 11.5.1 (20G80). Neither with the universal nor the AMD build. Works find with my existing user data dir and extensions dir or with brand new one. |
I'm having the same issue after updating to the latest insider build |
Based on the spindump you are hitting the same issue as #127421 Can you check if launching with a fresh |
@deepak1556 the reported crash was on a laptop that had never had VS Code installed. I am trying to launch from the .app folder now somehow, as I could not launch VS Code to install the shell command. |
Thanks for checking, even if it was #127421 the last change would only affect a reload scenario and not a startup, so this issue is definitely a different one. From the spindump, in the heaviest stack the main process is stuck responding to an ipc message event https://github.com/electron/electron/blob/main/docs/api/web-contents.md#event-ipc-message
|
The last few frames are in the JS land, its hard to say which ipc channel caused the problem. Lets try a couple of things to narrow down the problem,
NB: we do have a
|
I'm on macOS 11.4 (20F71) m1 and am encountering the same bug. Running with a clean/empty user data directory does not help.
FWIW, this is what it looks like before it starts crashing: |
Interestingly enough, I downloaded the x64 and arm64 (1.60) and those load totally fine for me (though they are a bit sluggish). But it's the universal version that crashes for me every time. |
Thanks @misolori for the logs, the problem is made obvious. Native modules in the build are not universal, definitely broken by 934d280 |
New insiders with the fix has been released, users with broken installations please reinstall from https://code.visualstudio.com/insiders |
Verified that this no longer hangs on a M1 universal build: Version: 1.59.1 (Universal) |
Steps to Reproduce:
Maybe related #129076
cc @sbatten who asked me to test after getting reports.
The text was updated successfully, but these errors were encountered: