Steps to reproduce:
- Open log viewer.
- Move navigator object into it with NVDA+numpad minus.
- Open Python console with NVDA+Ctrl+z
- In the Python console enter:
logViewerTI = nav.makeTextInfo(textInfos.POSITION_ALL)
textInLines = tuple(logViewerTI.getTextInChunks(textInfos.UNIT_LINE))
Actual behavior:
NVDA crashes with the following entry in the log:
DEBUGWARNING - watchdog._watcher (14:18:44.970) - watchdog (5408):
Trying to recover from freeze. Listing stacks for Python threads:
Python stack for thread 3340 (watchdog.CancellableCallThread.execute(<CFunctionType object at 0x03F6B738>)):
File "threading.pyc", line 890, in _bootstrap
File "threading.pyc", line 926, in _bootstrap_inner
File "watchdog.pyc", line 332, in run
File "threading.pyc", line 552, in wait
File "threading.pyc", line 296, in wait
Python stack for thread 5408 (watchdog):
File "threading.pyc", line 890, in _bootstrap
File "threading.pyc", line 926, in _bootstrap_inner
File "threading.pyc", line 870, in run
File "watchdog.pyc", line 127, in _watcher
File "watchdog.pyc", line 63, in getFormattedStacksForAllThreads
Python stack for thread 5336 (winInputHook):
File "threading.pyc", line 890, in _bootstrap
File "threading.pyc", line 926, in _bootstrap_inner
File "threading.pyc", line 870, in run
File "winInputHook.pyc", line 79, in hookThreadFunc
Python stack for thread 6024 (_UIAHandler.UIAHandler.MTAThread):
File "threading.pyc", line 890, in _bootstrap
File "threading.pyc", line 926, in _bootstrap_inner
File "threading.pyc", line 870, in run
File "_UIAHandler.pyc", line 310, in MTAThreadFunc
File "queue.pyc", line 170, in get
File "threading.pyc", line 296, in wait
Python stack for thread 5832 (braille._BgThread):
File "threading.pyc", line 890, in _bootstrap
File "threading.pyc", line 926, in _bootstrap_inner
File "threading.pyc", line 870, in run
File "braille.pyc", line 2187, in func
Python stack for thread 6044 (synthDrivers._espeak.BgThread):
File "threading.pyc", line 890, in _bootstrap
File "threading.pyc", line 926, in _bootstrap_inner
File "synthDrivers_espeak.pyc", line 190, in run
File "queue.pyc", line 170, in get
File "threading.pyc", line 296, in wait
Python stack for thread 5904 (MainThread):
File "nvda.pyw", line 215, in
File "core.pyc", line 550, in main
File "wx\core.pyc", line 2134, in MainLoop
File "pythonConsole.pyc", line 386, in onInputChar
File "pythonConsole.pyc", line 274, in execute
File "pythonConsole.pyc", line 135, in push
File "code.pyc", line 258, in push
File "code.pyc", line 74, in runsource
File "code.pyc", line 90, in runcode
File "", line 1, in
File "textInfos_init_.pyc", line 529, in getTextInChunks
File "baseObject.pyc", line 26, in get
File "NVDAObjects\window\edit.pyc", line 748, in get_text
File "NVDAObjects\window\edit.pyc", line 642, in getTextAtRange
File "comtypes_init.pyc", line 279, in getattr
File "comtypesMonkeyPatches.pyc", line 26, in call
File "comtypes_init.pyc", line 1010, in del
Expected behavior:
Tuple containing all lines from the log viewer should be returned. NVDA should not crash.
System configuration
NVDA installed/portable/running from source:
Both installed and portable
NVDA version:
NVDA version alpha-20966,0baf0ceb
Windows version:
Windows 7 X64
Name and version of other software in use when reproducing the issue:
None
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.
Tested back to 2018.3 and the crash can be reproduced with every version.
If addons are disabled, is your problem still occuring?
Yes
Did you try to run the COM registry fixing tool in NVDA menu / tools?
N/A
Steps to reproduce:
Actual behavior:
NVDA crashes with the following entry in the log:
DEBUGWARNING - watchdog._watcher (14:18:44.970) - watchdog (5408):
Trying to recover from freeze. Listing stacks for Python threads:
Python stack for thread 3340 (watchdog.CancellableCallThread.execute(<CFunctionType object at 0x03F6B738>)):
File "threading.pyc", line 890, in _bootstrap
File "threading.pyc", line 926, in _bootstrap_inner
File "watchdog.pyc", line 332, in run
File "threading.pyc", line 552, in wait
File "threading.pyc", line 296, in wait
Python stack for thread 5408 (watchdog):
File "threading.pyc", line 890, in _bootstrap
File "threading.pyc", line 926, in _bootstrap_inner
File "threading.pyc", line 870, in run
File "watchdog.pyc", line 127, in _watcher
File "watchdog.pyc", line 63, in getFormattedStacksForAllThreads
Python stack for thread 5336 (winInputHook):
File "threading.pyc", line 890, in _bootstrap
File "threading.pyc", line 926, in _bootstrap_inner
File "threading.pyc", line 870, in run
File "winInputHook.pyc", line 79, in hookThreadFunc
Python stack for thread 6024 (_UIAHandler.UIAHandler.MTAThread):
File "threading.pyc", line 890, in _bootstrap
File "threading.pyc", line 926, in _bootstrap_inner
File "threading.pyc", line 870, in run
File "_UIAHandler.pyc", line 310, in MTAThreadFunc
File "queue.pyc", line 170, in get
File "threading.pyc", line 296, in wait
Python stack for thread 5832 (braille._BgThread):
File "threading.pyc", line 890, in _bootstrap
File "threading.pyc", line 926, in _bootstrap_inner
File "threading.pyc", line 870, in run
File "braille.pyc", line 2187, in func
Python stack for thread 6044 (synthDrivers._espeak.BgThread):
File "threading.pyc", line 890, in _bootstrap
File "threading.pyc", line 926, in _bootstrap_inner
File "synthDrivers_espeak.pyc", line 190, in run
File "queue.pyc", line 170, in get
File "threading.pyc", line 296, in wait
Python stack for thread 5904 (MainThread):
File "nvda.pyw", line 215, in
File "core.pyc", line 550, in main
File "wx\core.pyc", line 2134, in MainLoop
File "pythonConsole.pyc", line 386, in onInputChar
File "pythonConsole.pyc", line 274, in execute
File "pythonConsole.pyc", line 135, in push
File "code.pyc", line 258, in push
File "code.pyc", line 74, in runsource
File "code.pyc", line 90, in runcode
File "", line 1, in
File "textInfos_init_.pyc", line 529, in getTextInChunks
File "baseObject.pyc", line 26, in get
File "NVDAObjects\window\edit.pyc", line 748, in get_text
File "NVDAObjects\window\edit.pyc", line 642, in getTextAtRange
File "comtypes_init.pyc", line 279, in getattr
File "comtypesMonkeyPatches.pyc", line 26, in call
File "comtypes_init.pyc", line 1010, in del
Expected behavior:
Tuple containing all lines from the log viewer should be returned. NVDA should not crash.
System configuration
NVDA installed/portable/running from source:
Both installed and portable
NVDA version:
NVDA version alpha-20966,0baf0ceb
Windows version:
Windows 7 X64
Name and version of other software in use when reproducing the issue:
None
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.
Tested back to 2018.3 and the crash can be reproduced with every version.
If addons are disabled, is your problem still occuring?
Yes
Did you try to run the COM registry fixing tool in NVDA menu / tools?
N/A