Skip to content

Incidental critical crash on first NVDA launch when screen curtain is on #19263

@LeonarddeR

Description

@LeonarddeR

Brief summary

Sometimes, when NVDA is started by EOA after logon, NVDA crashes and automatically restarts.

Steps to reproduce

  1. Enable NVDA to automatically start after logon
  2. Enable the screen curtain
  3. Restart the system

Actual behavior

NVDA crashes directly after start and relaunches. Two startup sounds are heard and the log notes a critical error.

Expected behavior

NO error

NVDA logs, crash dumps and other attachments

ERROR - NVDAHelperLocal (07:17:35.557) - MainThread (12608):
Thread 12608, build\x86_64\local\screenCurtain.cpp, isScreenFullyBlack, 118:
Failed to bit blit desktop device context to capture device context. Error #6

CRITICAL - __main__ (07:17:35.573) - MainThread (12608):
core failure
Traceback (most recent call last):
  File "nvda.pyw", line 309, in <module>
  File "core.pyc", line 823, in main
  File "screenCurtain\__init__.pyc", line 25, in initialize
  File "screenCurtain\_screenCurtain.pyc", line 151, in __init__
  File "screenCurtain\_screenCurtain.pyc", line 183, in enable
  File "screenCurtain\_screenCurtain.pyc", line 180, in enable
RuntimeError: Screen is not black.

NVDA type

installed copy

NVDA version

alpha-53568,9fac0d83 (2026.1.0.53568)

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

No response

Windows version

Windows 11 25h2

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

No response

Other information about your system

No response

Does the issue still occur after restarting your computer?

I have restarted my computer and the issue still occurs

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

I have not restarted NVDA with add-ons disabled

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

I have not run the COM Registration Fixing Tool

Metadata

Metadata

Assignees

Labels

bugbug/regressionfeature/screen-curtainp2https://github.com/nvaccess/nvda/blob/master/projectDocs/issues/triage.md#prioritytriagedHas been triaged, issue is waiting for implementation.

Type

No fields configured for Bug.

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions