nvaccess / nvda

NVDA, the free and open source Screen Reader for Microsoft Windows
https://www.nvaccess.org/
Other
2.13k stars 639 forks source link

windows explorer crash when unloading nvda #16207

Open beqabeqa473 opened 9 months ago

beqabeqa473 commented 9 months ago

This is happening even on the clean system installation, without any additional software

Steps to reproduce:

It is hard to reproduce, but i am sure most of us are suffering from this. When debugging nvda or addons, and we restart nvda, at some point windowsexplorer will crash, task switcher hangs for about 5-10 seconds, explorer restarts and nvda says "Desktop 1"

Actual behavior:

Explorer is crashing on NVDA unload

Expected behavior:

No explorer crash should appear

NVDA logs, crash dumps and other attachments:

Unfortunately it is hard to reproduce this reliably, because of this, no logs.

System configuration

NVDA installed/portable/running from source:

Installed, from source

NVDA version:

alpha-31113,6a43521f

Windows version:

Windows 11 23H2 (AMD64) build 22631.3155 Also was reproduceable on windows 10

Name and version of other software in use when reproducing the issue:

Windows explorer

Other information about your system:

Other questions

Does the issue still occur after restarting your computer?

Yes

Have you tried any other versions of NVDA? If so, please report their behaviors.

same for years

If NVDA add-ons are disabled, is your problem still occurring?

Yes

Does the issue still occur after you run the COM Registration Fixing Tool in NVDA's tools menu?

Yes

zstanecic commented 9 months ago

I can reproduce this issue with all stable versions even from 2023.x version series. In my case, the issue happens after every restart when the multiple addons were installed in succession, respectively. Let me illustrate this with an example: For example download any two addons from the store. Intall these addons. Your NVDA will restart, and you will see these hangs.

beqabeqa473 commented 9 months ago

It is becomming really annoying that this is happening for years and wonder if would able to diagnose it, but unfortunately without success.

On 2/21/24, Zvonimir Stanečić @.***> wrote:

I can reproduce this issue with all stable versions even from 2023.x version series. In my case, the issue happens after every restart when the multiple addons were installed in succession, respectively. Let me illustrate this with an example: For example download any two addons from the store. Intall these addons. Your NVDA will restart, and you will see these hangs.

-- Reply to this email directly or view it on GitHub: https://github.com/nvaccess/nvda/issues/16207#issuecomment-1956070293 You are receiving this because you authored the thread.

Message ID: @.***>

-- with best regards Beqa Gozalishvili Tell: +995593454005 Email: @.*** Web: https://gozaltech.org Skype: beqabeqa473 Telegram: https://t.me/gozaltech facebook: https://facebook.com/gozaltech twitter: https://twitter.com/beqabeqa473 Instagram: https://instagram.com/beqa.gozalishvili

Adriani90 commented 9 months ago

Which view / pane are you using in Windows explorer? Do you have navigation pane and / or preview pane enabled or disabled? Do you have the details window enabled or disabled?

beqabeqa473 commented 9 months ago

I tried disabling/enabling every single pane and/or combination. It doesn't matter what is turned on/off, nvda is causing explorer to crash when nvda is exiting.

On 2/22/24, Adriani90 @.***> wrote:

Which view / pane are you using in Windows explorer? Do you have navigation pane and / or preview pane enabled or disabled? Do you have the details window enabled or disabled?

-- Reply to this email directly or view it on GitHub: https://github.com/nvaccess/nvda/issues/16207#issuecomment-1959746426 You are receiving this because you authored the thread.

Message ID: @.***>

-- with best regards Beqa Gozalishvili Tell: +995593454005 Email: @.*** Web: https://gozaltech.org Skype: beqabeqa473 Telegram: https://t.me/gozaltech facebook: https://facebook.com/gozaltech twitter: https://twitter.com/beqabeqa473 Instagram: https://instagram.com/beqa.gozalishvili

haruncetinkaya306 commented 9 months ago

This problem is not caused by plugins. I always use NVDA without plugins and I have this problem.

josephsl commented 9 months ago

Hi,

I think this also happens without any File Explorer part of explorer.exe open - when NVDA closes, explorer.exe (process itself) may restart. The next step would be figuring out which past NVDA release did not exhibit this issue and narrow down the search (Git bisect, for example).

Thanks.

Adriani90 commented 9 months ago

@beqabeqa473 could you please retest with the last alpha of NVDA? I think #16205 and #16222 might have affected this positively.

beqabeqa473 commented 9 months ago

Hello. #16205 won't be able to fix this as this issue is not related to installer at all.

Adriani90 commented 9 months ago

@beqabeqa473 I'd be glad to get feedback on the whole comment, there is also #16222. So did you test the last alpha of NVDA? Can you still reproduce this issue?

beqabeqa473 commented 9 months ago

Just observed an explorer crash with latest alpha.

On 3/5/24, Adriani90 @.***> wrote:

@beqabeqa473 I'd be glad to get feedback on the whole comment, there is also

16222. So did you test the last alpha of NVDA? Can you still reproduce this

issue?

-- Reply to this email directly or view it on GitHub: https://github.com/nvaccess/nvda/issues/16207#issuecomment-1977431991 You are receiving this because you were mentioned.

Message ID: @.***>

-- with best regards Beqa Gozalishvili Tell: +995593454005 Email: @.*** Web: https://gozaltech.org Skype: beqabeqa473 Telegram: https://t.me/gozaltech facebook: https://facebook.com/gozaltech twitter: https://twitter.com/beqabeqa473 Instagram: https://instagram.com/beqa.gozalishvili

seanbudd commented 7 months ago

The next steps to investigating this issue would be creating a crash dump from explorer using these steps. Once a crash dump is created we can debug the cause.

seanbudd commented 3 months ago

Crash dump file: https://drive.google.com/file/d/129QyakIj-Ia4o_p37kxltUCnXWrGrdjc/view?usp=drive_link

btman16 commented 3 weeks ago

Hello,

I encountered an Explorer crash yesterday as well, after going to the run dialog, typing "downloads" and pressing enter. Instead of the Explorer window opening, Explorer crashed and I was returned to the desktop and NVDA said "desktop 1" as noted in the original issue description.

Unfortunately, I do not appear to have a folder showing crash dumps, so I'm not sure where to find this, or if I need to enable anything to have Windows generate these crash dumps. This was on NVDA 2024.4 and Windows 11 24H2, build 26100.2033.

Thank you very much for your time and I look forward to any input you may have.

Thanks,

Brandon

kolohekai commented 1 week ago

Hello Nvaccess, this is Mayson c here. I too, have encountered the explorer crash when closing firefox with alt plus f4. I closed firefox and explorer.exe crashed, taking NVDA down with it. here is the link to the crash dump file.

https://drive.google.com/file/d/11rQ_eP26oMnE02yu9E9woFJpF6SZHzzH/view?usp=sharing