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
NVDA crashes after pc comes back from hibernation #16367
Comments
Can you please post the complete log file here? It is important to see which actions where made directly before crashing. Also can you check in %temp% You can do this by
|
Hello, |
I've been observing something like this after laptop wakes up from sleep.
I had yet to figure out the full nature of the crash, or if it's a crash or
just a freeze.
|
I experience this too, only when NVDA is active, there is about a five second freeze at login. This is a fast laptop, and this shouldn't occur. |
Hi there, I just wanted to pop in and request clarification about a few details about the crashing:
|
I experience it after computer sleeps. I disabled hybernate and don't have it available. It is a long pause, after the recovery, NVDA behaves norally |
Same here. After sleep, NVDA doesn't speak. It seemed to start sometime around
2024.1 beta 7 or so. Restarting it with desktop shortcut works fine.
Unfortunately, it doesn't happen every time, and usually when it does I'm in a
hurry and don't have time to examine the situation.
|
Hello, |
Hi,
In the power shell with admin privileges type the following:
Powercfg/a
If you have the s0 support aka modern standby, that is your issue, because it goes to standby, but not fully.
From: burakyuksek ***@***.***>
Sent: Saturday, April 6, 2024 1:02 PM
To: nvaccess/nvda ***@***.***>
Cc: Subscribed ***@***.***>
Subject: Re: [nvaccess/nvda] NVDA crashes after pc comes back from hibernation (Issue #16367)
Hello,
I can start NVDA fine after the issue occurrs. It does not continue to crash.
My pc has a strange problem where when I put it to sleep, the fan and the ssd continue running, so I don't think it can go to sleep mode normally. I'm not sure if this is related to the issue with wasapi.
—
Reply to this email directly, view it on GitHub <#16367 (comment)> , or unsubscribe <https://github.com/notifications/unsubscribe-auth/ACVCDE3UPGGE7N5RHA2O3XLY37I4HAVCNFSM6AAAAABFZ3PNMWVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDANBRGA2DQNZYGM> .
You are receiving this because you are subscribed to this thread. <https://github.com/notifications/beacon/ACVCDE4TE6HYQA42D6ZNHE3Y37I4HA5CNFSM6AAAAABFZ3PNMWWGG33NNVSW45C7OR4XAZNMJFZXG5LFINXW23LFNZ2KUY3PNVWWK3TUL5UWJTTZU7XM6.gif> Message ID: ***@***.*** ***@***.***> >
…--
Ta wiadomość e-mail została sprawdzona pod kątem wirusów przez oprogramowanie antywirusowe Avast.
www.avast.com
|
Hello, |
I assume you are talking about ACPI s0 low-power idle, which may let the fans and SSD still run. However, I was under the impression that sleep and hibernate preserve system state (in this case, the NVDA program) unless you lose power in the sleep state (and even then it seems hybrid sleep can deal with that case). I'm not very familiar with the win32 API, but is it possible for there to be issues restoring the state of NVDA when waking from sleep/hibernate? Edit: correction, microsoft says SOC systems with Modern Standby don't use S1 - S3 sleep, but they do have hibernate |
Hi,
How zou disabled modern standby?
Note that i tried to disable it via windows, but it never helped.
From: burakyuksek ***@***.***>
Sent: Saturday, April 6, 2024 1:49 PM
To: nvaccess/nvda ***@***.***>
Cc: Zvonimir Stanečić ***@***.***>; Comment ***@***.***>
Subject: Re: [nvaccess/nvda] NVDA crashes after pc comes back from hibernation (Issue #16367)
Hello,
Thank you very much for the explanation with the sleeping issue. I disabled modern standby and my pc gets into sleep mode normaly now.
Also, NVDA does not crash when my pc gets back from sleep and I cannot see any errors in the log.
—
Reply to this email directly, view it on GitHub <#16367 (comment)> , or unsubscribe <https://github.com/notifications/unsubscribe-auth/ACVCDE5OILTPOM5DZVKNL7TY37OKJAVCNFSM6AAAAABFZ3PNMWVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDANBRGA3DANJTGI> .
You are receiving this because you commented. <https://github.com/notifications/beacon/ACVCDE6PJ5I5R3IA5WNAXL3Y37OKJA5CNFSM6AAAAABFZ3PNMWWGG33NNVSW45C7OR4XAZNMJFZXG5LFINXW23LFNZ2KUY3PNVWWK3TUL5UWJTTZVAOLI.gif> Message ID: ***@***.*** ***@***.***> >
…--
Ta wiadomość e-mail została sprawdzona pod kątem wirusów przez oprogramowanie antywirusowe Avast.
www.avast.com
|
Hello, |
Hi all, For the sake of accessibility and keeping NVDA robust, I think we should continue to work on this issue. I'm still very new to NVDA and open source projects so I'd love to hear others thoughts on my opinion. Also, @XLTechie and @enessaribas if you decide to disable modern standby (even temporaily for testing this out) could you let us know if it fixes the issue? Thanks! |
Hello,I agree as well that this issue should be worked on.On 7 Apr 2024, at 01:10, brbrett ***@***.***> wrote:
Hi all,
In my opinion, disabiling modern standby may provide a workaround for this issue, but it doesn't address the root cause that may reoccur in future OS updates. Additionally, not everyone has the expertise or means to disable modern standby (I imagine this is especially the case for managed work computers).
For the sake of accessibility and keeping NVDA robust, I think we should continue to work on this issue.
I'm still very new to NVDA and open source projects so I'd love to hear others thoughts on my opinion.
Also, @XLTechie and @enessaribas if you decide to disable modern standby (even temporaily for testing this out) could you let us know if it fixes the issue? Thanks!
—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you were mentioned.Message ID: ***@***.***>
|
I am not using modern standby, as far as I know. My fans and drives do not
remain active, if that is the indication.
|
@XLTechie The only way to know for sure is to use the method described by @zstanecic. Using either the windows command prompt or powershell, type in
Modern standby is called "S0 low power idle." My desktop computer doesn't support modern standby and instead uses the S3 sleep state. If you are having trouble, you are welcome to copy paste the information from the command prompt. |
Yes, I didn't have access to the system to run that until now. The only ones I
have available are S3 and hibernate.
As I thought, S0 is not a factor in this happening for me.
|
Steps to reproduce:
Actual behavior:
NVDA crashes
Expected behavior:
NVDA does not crash
NVDA logs, crash dumps and other attachments:
Log just after pc comes back from hibernation:
INFO - watchdog.waitForFreezeRecovery (01:16:54.018) - watchdog (18536):
Starting freeze recovery after 0.5014075000071898 seconds.
DEBUGWARNING - watchdog.waitForFreezeRecovery (01:16:54.217) - watchdog (18536):
Listing stacks for Python threads:
Python stack for thread 10748 (watchdog.CancellableCallThread.execute(<_FuncPtr object at 0x08AC66C0>)):
File "threading.pyc", line 1002, in _bootstrap
File "threading.pyc", line 1045, in _bootstrap_inner
File "watchdog.pyc", line 382, in run
File "threading.pyc", line 629, in wait
File "threading.pyc", line 327, in wait
Python stack for thread 18536 (watchdog):
File "threading.pyc", line 1002, in _bootstrap
File "threading.pyc", line 1045, in _bootstrap_inner
File "threading.pyc", line 982, in run
File "watchdog.pyc", line 159, in _watcher
File "watchdog.pyc", line 166, in waitForFreezeRecovery
File "logHandler.pyc", line 64, in getFormattedStacksForAllThreads
Python stack for thread 18080 (winInputHook):
File "threading.pyc", line 1002, in _bootstrap
File "threading.pyc", line 1045, in _bootstrap_inner
File "threading.pyc", line 982, in run
File "winInputHook.pyc", line 81, in hookThreadFunc
Python stack for thread 24500 (UIAHandler.UIAHandler.MTAThread):
File "threading.pyc", line 1002, in _bootstrap
File "threading.pyc", line 1045, in bootstrap_inner
File "threading.pyc", line 982, in run
File "UIAHandler_init.pyc", line 544, in MTAThreadFunc
File "queue.pyc", line 171, in get
File "threading.pyc", line 327, in wait
Python stack for thread 21068 (ThreadPoolExecutor-0_0):
File "threading.pyc", line 1002, in _bootstrap
File "threading.pyc", line 1045, in _bootstrap_inner
File "threading.pyc", line 982, in run
File "concurrent\futures\thread.pyc", line 81, in _worker
Python stack for thread 23940 (synthDrivers._espeak.BgThread):
File "threading.pyc", line 1002, in _bootstrap
File "threading.pyc", line 1045, in _bootstrap_inner
File "synthDrivers_espeak.pyc", line 205, in run
File "synthDrivers_espeak.pyc", line 232, in _speak
File "synthDrivers_espeak.pyc", line 167, in callback
File "nvwave.pyc", line 926, in idle
File "nvwave.pyc", line 921, in sync
Python stack for thread 22496 (hwIo.ioThread.IoThread):
File "threading.pyc", line 1002, in _bootstrap
File "threading.pyc", line 1045, in _bootstrap_inner
File "hwIo\ioThread.pyc", line 258, in run
Python stack for thread 23128 (MainThread):
File "nvda.pyw", line 415, in
File "core.pyc", line 881, in main
File "wx\core.pyc", line 2262, in MainLoop
File "core.pyc", line 827, in Notify
File "queueHandler.pyc", line 97, in pumpAll
File "queueHandler.pyc", line 64, in flushQueue
File "nvwave.pyc", line 1033, in _idleCheck
System configuration
NVDA installed/portable/running from source:
İnstalled
NVDA version:
2024.1
Windows version:
win11 23h2
Name and version of other software in use when reproducing the issue:
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.
Previous version did not behave this way
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
The text was updated successfully, but these errors were encountered: