-
Notifications
You must be signed in to change notification settings - Fork 30.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
Restart after changing a setting only shuts down #188769
Comments
I had screen reader mode on if that matters |
Following API is used to restart
|
@Tyriar does this reproduce consistently? I think I have seen this once today when I was also testing to change the title style but now I cannot reproduce anymore. I wonder if a pending update could be part of the reason it fails to restart because I think I had a pending update. //cc @joaomoreno for the update part, I wonder if this has come up before |
@bpasero it was yesterday, I just tried again and it also did not start up. |
Anything in the logs when you run with |
All times I reproduced in Insiders. Logs here, see it terminated instead of relaunching:
|
No, it seems to do the right thing: vscode/src/vs/platform/lifecycle/electron-main/lifecycleMainService.ts Lines 625 to 626 in 96ebd36
This would indicate that Electrons API fails here. @deepak1556 any clue? @Tyriar curious if there is possibly a native crash here, can you run with the |
Weird one for you... It works fine when I set a crash reporter dir, but not without it. Running this worked when I restarted 3 times:
Running this did not work when I restarted 3 times:
|
I was not seeing crash dumps before, I do see one which I'll DM to you |
Just tried with only one window (vscode repo) open and no pty host and it still happens. |
More tests:
|
I am still not able to reproduce even on my native Windows Surface machine. I am inclined to close this as out of scope given its not something stable users see. @Tyriar curious, how is exploration builds for you? |
@bpasero or @Tyriar can you forward me the crash dump, I am also unable to repro with insiders. Couple more follow-up questions,
|
@deepak1556 I think it was a red herring as there was only 1 crash dump despite 3 restarts. I'll send regardless Exploration worked 🤷, hopefully that means insiders will when Electron is updated |
Reopening since issue is present with insiders for @Tyriar |
Analysis of the bug is here for reference. The root issue is that vscode has URI like arguments when setting log level for extensions which has the format @sandy081 The fix here would be to switch from using uri separator |
Repro:
Version: 1.81.0-insider (user setup)
Commit: fda9726
Date: 2023-07-25T08:12:53.439Z
Electron: 22.3.17
ElectronBuildId: 22432899
Chromium: 108.0.5359.215
Node.js: 16.17.1
V8: 10.8.168.25-electron.0
OS: Windows_NT x64 10.0.22621
The text was updated successfully, but these errors were encountered: