BSOD When clicking Settings #7830

Closed
opened 2026-01-31 01:13:41 +00:00 by claunia · 17 comments
Owner

Originally created by @Zagan202 on GitHub (Apr 30, 2020).

Environment

Windows build number:Microsoft Windows [Version 10.0.18363.778]
Windows Terminal version (if applicable): 0.11.1191.0

Steps to reproduce

Click settings button

Expected behavior

Opens settings.json

Actual behavior

BSOD

Originally created by @Zagan202 on GitHub (Apr 30, 2020). # Environment ```none Windows build number:Microsoft Windows [Version 10.0.18363.778] Windows Terminal version (if applicable): 0.11.1191.0 ``` # Steps to reproduce Click settings button # Expected behavior Opens settings.json # Actual behavior BSOD
claunia added the Needs-TriageNeeds-Tag-FixResolution-No-ReproNeeds-Attention labels 2026-01-31 01:13:41 +00:00
Author
Owner

@DHowett-MSFT commented on GitHub (Apr 30, 2020):

/feedback

@DHowett-MSFT commented on GitHub (Apr 30, 2020): /feedback
Author
Owner

@ghost commented on GitHub (Apr 30, 2020):

Hi there!

Can you please send us feedback with the Feedback Hub with this issue and paste the link here so we can more easily find your crash information on the back end?

Thanks!

image image

@ghost commented on GitHub (Apr 30, 2020): Hi there!<br><br>Can you please send us feedback with the Feedback Hub with this issue and paste the link here so we can more easily find your crash information on the back end?<br><br>Thanks!<br><br>![image](https://user-images.githubusercontent.com/18221333/62478757-b69d0d00-b760-11e9-9626-1fa33c91e7c5.png) ![image](https://user-images.githubusercontent.com/18221333/62478649-6de55400-b760-11e9-806e-5aab7e085a9f.png)
Author
Owner

@DHowett-MSFT commented on GitHub (Apr 30, 2020):

What was the bug check code?

@DHowett-MSFT commented on GitHub (Apr 30, 2020): What was the bug check code?
Author
Owner

@Zagan202 commented on GitHub (Apr 30, 2020):

I’m unsure where I would find the bug check code.

@Zagan202 commented on GitHub (Apr 30, 2020): I’m unsure where I would find the bug check code.
Author
Owner

@Zagan202 commented on GitHub (Apr 30, 2020):

https://aka.ms/AA8amwr

@Zagan202 commented on GitHub (Apr 30, 2020): https://aka.ms/AA8amwr
Author
Owner

@DHowett-MSFT commented on GitHub (May 1, 2020):

Unfortunately, it looks like the feedback system was unable to recover any information about your bugcheck. I hate to ask, but does this happen every time you open Settings?

All Terminal does when you click "Settings" is, effectively, double-click the json file using ShellExecute. I'd be very surprised to learn that that's broken.

If it does reproduce when you click Settings again, there should be a filename and an "error code" on the screen next to the QR code. That would be really quite helpful in figuring out what's up.

@DHowett-MSFT commented on GitHub (May 1, 2020): Unfortunately, it looks like the feedback system was unable to recover any information about your bugcheck. I hate to ask, but does this happen _every_ time you open Settings? All Terminal does when you click "Settings" is, effectively, double-click the `json` file using `ShellExecute`. I'd be very surprised to learn that that's broken. If it _does_ reproduce when you click Settings again, there should be a filename and an "error code" on the screen next to the QR code. That would be really quite helpful in figuring out what's up.
Author
Owner

@Zagan202 commented on GitHub (May 1, 2020):

It does happen every time I click settings.
The BSOD says
Stop code: SYSTEM_SERVICE_EXCEPTION
What failed: Ntfs.sys
This is where the QR code led me
https://support.microsoft.com/en-us/help/14238/windows-10-troubleshoot-blue-screen-errors

@Zagan202 commented on GitHub (May 1, 2020): It does happen every time I click settings. The BSOD says Stop code: SYSTEM_SERVICE_EXCEPTION What failed: Ntfs.sys This is where the QR code led me https://support.microsoft.com/en-us/help/14238/windows-10-troubleshoot-blue-screen-errors
Author
Owner

@DHowett-MSFT commented on GitHub (May 1, 2020):

Whoa whoa whoa that's really bad.

If you go into this folder:

%LOCALAPPDATA%\Packages\Microsoft.WindowsTerminal_8wekyb3d8bbwe\LocalState

and double-click settings.json

... does it also explode?

I hate to keep asking you to BSOD your computer again and again ☹️

@DHowett-MSFT commented on GitHub (May 1, 2020): Whoa whoa whoa that's _really bad_. If you go into this folder: ``` %LOCALAPPDATA%\Packages\Microsoft.WindowsTerminal_8wekyb3d8bbwe\LocalState ``` and double-click settings.json ... does it also explode? I hate to keep asking you to BSOD your computer again and again ☹️
Author
Owner

@Zagan202 commented on GitHub (May 1, 2020):

It does not blow up when I open it directly, which is what I've been doing for the past day or so because of this.

Some extra bit of info, I open JSON files with vscode instead of notepad.

@Zagan202 commented on GitHub (May 1, 2020): It does not blow up when I open it directly, which is what I've been doing for the past day or so because of this. Some extra bit of info, I open JSON files with vscode instead of notepad.
Author
Owner

@DHowett-MSFT commented on GitHub (May 1, 2020):

Hmm. What about if you run the command (from cmd, unfortunately):

start %LOCALAPPDATA%\Packages\Microsoft.WindowsTerminal_8wekyb3d8bbwe\LocalState\settings.json

That uses the same API as Terminal does.

@DHowett-MSFT commented on GitHub (May 1, 2020): Hmm. What about if you run the command (from cmd, unfortunately): ``` start %LOCALAPPDATA%\Packages\Microsoft.WindowsTerminal_8wekyb3d8bbwe\LocalState\settings.json ``` That uses the same API as Terminal does.
Author
Owner

@DHowett-MSFT commented on GitHub (May 1, 2020):

Judging by it being in ntfs.sys, my first concern would be filesystem corruption. The filesystem driver should never be killing the system under normal circumstances.

Any unusual third-party AV?

@DHowett-MSFT commented on GitHub (May 1, 2020): Judging by it being in _ntfs.sys_, my first concern would be filesystem corruption. The filesystem driver should _never_ be killing the system under normal circumstances. Any unusual third-party AV?
Author
Owner

@Zagan202 commented on GitHub (May 1, 2020):

Running that from cmd seemed to work and I got this output

 [main 2020-05-01T02:54:13.829Z] update#setState idle
(node:22348) Electron: Loading non context-aware native modules in the renderer process is deprecated and will stop working at some point in the future, please see https://github.com/electron/electron/issues/18397 for more information
(node:22348) Electron: Loading non context-aware native modules in the renderer process is deprecated and will stop working at some point in the future, please see https://github.com/electron/electron/issues/18397 for more information
(node:22348) Electron: Loading non context-aware native modules in the renderer process is deprecated and will stop working at some point in the future, please see https://github.com/electron/electron/issues/18397 for more information
(node:22348) Electron: Loading non context-aware native modules in the renderer process is deprecated and will stop working at some point in the future, please see https://github.com/electron/electron/issues/18397 for more information
(node:22348) Electron: Loading non context-aware native modules in the renderer process is deprecated and will stop working at some point in the future, please see https://github.com/electron/electron/issues/18397 for more information
(node:22348) Electron: Loading non context-aware native modules in the renderer process is deprecated and will stop working at some point in the future, please see https://github.com/electron/electron/issues/18397 for more information
(node:5176) Electron: Loading non context-aware native modules in the renderer process is deprecated and will stop working at some point in the future, please see https://github.com/electron/electron/issues/18397 for more information
(node:5176) Electron: Loading non context-aware native modules in the renderer process is deprecated and will stop working at some point in the future, please see https://github.com/electron/electron/issues/18397 for more `information`

No unusual third party AV just Avast

@Zagan202 commented on GitHub (May 1, 2020): Running that from cmd seemed to work and I got this output ``` [main 2020-05-01T02:54:13.829Z] update#setState idle (node:22348) Electron: Loading non context-aware native modules in the renderer process is deprecated and will stop working at some point in the future, please see https://github.com/electron/electron/issues/18397 for more information (node:22348) Electron: Loading non context-aware native modules in the renderer process is deprecated and will stop working at some point in the future, please see https://github.com/electron/electron/issues/18397 for more information (node:22348) Electron: Loading non context-aware native modules in the renderer process is deprecated and will stop working at some point in the future, please see https://github.com/electron/electron/issues/18397 for more information (node:22348) Electron: Loading non context-aware native modules in the renderer process is deprecated and will stop working at some point in the future, please see https://github.com/electron/electron/issues/18397 for more information (node:22348) Electron: Loading non context-aware native modules in the renderer process is deprecated and will stop working at some point in the future, please see https://github.com/electron/electron/issues/18397 for more information (node:22348) Electron: Loading non context-aware native modules in the renderer process is deprecated and will stop working at some point in the future, please see https://github.com/electron/electron/issues/18397 for more information (node:5176) Electron: Loading non context-aware native modules in the renderer process is deprecated and will stop working at some point in the future, please see https://github.com/electron/electron/issues/18397 for more information (node:5176) Electron: Loading non context-aware native modules in the renderer process is deprecated and will stop working at some point in the future, please see https://github.com/electron/electron/issues/18397 for more `information` ``` No unusual third party AV just Avast
Author
Owner

@zadjii-msft commented on GitHub (May 1, 2020):

Curious, what's your default editor for json files? VsCode? What version are you running?

This is getting weirder and weirder

@zadjii-msft commented on GitHub (May 1, 2020): Curious, what's your default editor for `json` files? VsCode? What version are you running? This is getting weirder and weirder
Author
Owner

@Zagan202 commented on GitHub (May 2, 2020):

Default editor for json is vscode.
Version of vscode 1.44.2
It is bizarre.

@Zagan202 commented on GitHub (May 2, 2020): Default editor for json is `vscode`. Version of vscode `1.44.2` It is bizarre.
Author
Owner

@DHowett-MSFT commented on GitHub (May 13, 2020):

Thanks for bearing with us. I've not been able to find any followup steps here, unfortunately, and it looks like Terminal's holding the ShellExecute API correctly. Im don't think there's a path forward from this project's perspective...

Gonna tentatively resolve this one as "no-repro" since we can't get our hands on it. It looks like a filesystem issue, and perhaps a disk check will restore order. Perhaps it won't. ☹️

@DHowett-MSFT commented on GitHub (May 13, 2020): Thanks for bearing with us. I've not been able to find any followup steps here, unfortunately, and it looks like Terminal's holding the ShellExecute API correctly. Im don't think there's a path forward from this project's perspective... Gonna tentatively resolve this one as "no-repro" since we can't get our hands on it. It looks like a filesystem issue, and perhaps a disk check will restore order. Perhaps it won't. ☹️
Author
Owner

@cobyl commented on GitHub (Sep 20, 2020):

Interesting. Have exactly same situation. How you solve that?

@cobyl commented on GitHub (Sep 20, 2020): Interesting. Have exactly same situation. How you solve that?
Author
Owner

@Zagan202 commented on GitHub (Sep 20, 2020):

Unfortunately I didn't solve it.
What does your BSOD report say btw?

@Zagan202 commented on GitHub (Sep 20, 2020): Unfortunately I didn't solve it. What does your BSOD report say btw?
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/terminal#7830