nvaccess / nvda

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

NVDA crashes with no log output when alt+tabbing across specific windows #15866

Open cyrmax opened 11 months ago

cyrmax commented 11 months ago

Steps to reproduce:

Actual behavior:

NVDA completely crashes on reading mentioned window title without even freezing or writing any logs. Just process disappears from the system. I have recorded two logs but they do not contain any information.

Expected behavior:

NVDA should not do this and should continue working properly or at least write some logs.

NVDA logs, crash dumps and other attachments:

nvda-crashes-when-alttab2.log nvda-crashes-when-alttab.log

System configuration

NVDA installed/portable/running from source:

Installed.

NVDA version:

Version: alpha-30154,021c13da (2024.1.0.30154)

Windows version:

Windows 10 22H2 (AMD64) build 19045.3693

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

Other information about your system:

Windows terminal is not used. Console support legacy, no UIA.

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.

No, but before I didn't see such bugs.

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.

cyrmax commented 11 months ago

Important update! This bug exists with the following conditions:

Important, that a configuration profile change should happen when you start alt+tabbing.

My idea was that not only TeamTalk5 but any QT application can trigger this bug. But no, currently I can reproduce only with TT5. Maybe the problem is related to QT6 only. Or maybe there are some conditions regarding the window title string. Maybe it should contain some symbols or match some pattern.

hwf1324 commented 11 months ago

Perhaps a dump file could be uploaded for others to analyze.

Steps can be found at: https://github.com/nvaccess/nvda/wiki/LogFilesAndCrashDumps#crash-dumps

lukaszgo1 commented 11 months ago

In the list of required software you said:

Unigram 10 (with Unigram plus addon).

yet according to the later part of your bug report this reproduces with add-ons disabled. If this can be reproduced with add-ons disabled, then please upload log where they are disabled (since switching between speech synthesizers seems important here use different build-in one, like OneCore for the VSCode profile). In general when uploading logs in bug reports it is pretty useful to upload them with add-ons disabled if at all possible.

Brian1Gaff commented 11 months ago

I know some older windows processes when terminated by mouse with the x remove nvda completely. Obviously, I am not using your software, but it was just a thought. Brian

-- @. Sent via blueyonder.(Virgin media) Please address personal E-mail to:- @., putting 'Brian Gaff' in the display name field. ----- Original Message ----- From: Łukasz Golonka To: nvaccess/nvda Cc: Subscribed Sent: Thursday, November 30, 2023 4:43 PM Subject: Re: [nvaccess/nvda] NVDA crashes with no log output when alt+tabbing across specific windows (Issue #15866)

In the list of required software you said:

Unigram 10 (with Unigram plus addon).

yet according to the later part of your bug report this reproduces with add-ons disabled. If this can be reproduced with add-ons disabled, then please upload log where they are disabled (since switching between speech synthesizers seems important here use different build-in one, like OneCore for the VSCode profile). In general when uploading logs in bug reports it is pretty useful to upload them with add-ons disabled if at all possible.

— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you are subscribed to this thread.Message ID: @.***>

cyrmax commented 11 months ago

I do not know the reason, but I see no crash dump for NVDA when this issue happens. Also, still nothing interesting in logs. The last line is about speaking the Teamtalk window title. @lukaszgo1 in the next comment I write that Unigram with Unigram plus is not needed. And for Teamtalk, powershell and VSCode or Total Commander I have no addons.

lukaszgo1 commented 11 months ago

Still this may be caused by one of your global plugins, or the fact that Newfon is used, so testing without any add-ons is beneficial.

Adriani90 commented 11 months ago

@cyrmax could you please delete the user configuration from %appdata% and reinstall NVDA? Does this issue still occur then? You can also backup your configuration before doing this by creating a portable copy of NVDA, then you can install NVDA again with the propper configuration after you tested with the clean installation.

Adriani90 commented 7 months ago

@cyrmax are you still having this issue with NvDA 2024.1 RC1?