Adobe reader crashing when opening it after NVDA #3399

Closed
nvaccessAuto opened this Issue Aug 3, 2013 · 12 comments

2 participants

@nvaccessAuto

Reported by Nandikeswararao on 2013-08-03 07:51
Hi Team,

We have installed NVDA in our PC to test few CVAA Complaint outputs. when we open NVDA first and then PDF Document (Tagged), then it is giving error "Adobe Reader has stopped working". Same issue we are facing in Windows7 & Windows8.

Can you help us on resolving this issue.

Thanks,
Nandi

@nvaccessAuto

Attachment NVDA Incompatibility.zip added by Nandikeswararao on 2013-08-03 07:53
Description:

@nvaccessAuto

Comment 1 by Nandikeswararao on 2013-08-03 08:14
Changes:
Changed title from "Adobe reader crasjing when opening it after NVDA" to "Adobe reader crashing when opening it after NVDA"

@nvaccessAuto

Comment 2 by briang1 on 2013-08-04 07:00
Hi, I notice your error in the attachment is a graphic. I'm not sure if the devs will be able to read that, I can't!
However it would be helpful if you could attach a Pdf which causes the issue for you and it could be tried under different circumstances.

I myself have hardly ever seen a tagged pdf as most tend to be made without them.

What software is being used to create the tagged files? I see Libra Office says it can do them.

@nvaccessAuto

Attachment PDF Output.pdf added by Nandikeswararao on 2013-08-04 08:43
Description:
PDF Output

@nvaccessAuto

Comment 3 by Nandikeswararao (in reply to comment 2) on 2013-08-04 08:46
Replying to briang1:Hi Team, Thanks for your quick response. I have attached the PDF output for your ceck. This document was crated in SAP using Live Cycle Designer 9. Please let us know if any more details needed.

Thanks,
Nandi

Hi, I notice your error in the attachment is a graphic. I'm not sure if the devs will be able to read that, I can't!

However it would be helpful if you could attach a Pdf which causes the issue for you and it could be tried under different circumstances.

I myself have hardly ever seen a tagged pdf as most tend to be made without them.

What software is being used to create the tagged files? I see Libra Office says it can do them.

@nvaccessAuto

Comment 4 by jteh on 2013-08-05 01:06
What version of Adobe Reader are you using? I'm seeing an NVDA freeze when I open this PDF, but not a Reader crash. (Also, this is the only PDF for which I've ever seen this freeze.)

@nvaccessAuto

Comment 5 by jteh on 2013-08-05 05:48
Technical: While I don't' see a crash, I do see a freeze every time we try to query the buffer; e.g. getting selection offsets. Strangely, if I restart NVDA, Reader is still alive and kicking; I can access the menus, accessibility hierarchy, etc.

@nvaccessAuto

Comment 6 by briang1 on 2013-08-05 07:44
Well, in the attached file, using XP and Adobe Reader 11.x the crash always occurs as you use nvda. IE it crashes straight away if nvda is running but if you load the file blind and then start nvda, adobe reader crashes and dwwin is instantly launched. adobe reader is then gon when you clear the dwwin messages.

DEBUG - core.main (08:26:46):
starting core pump
DEBUG - core.CorePump.init (08:26:46):
Core pump starting
DEBUG - core.main (08:26:46):
Initializing watchdog
DEBUG - core.main (08:26:46):
initializing updateCheck
INFO - core.main (08:26:46):
NVDA initialized
DEBUG - core.main (08:26:46):
entering wx application main loop
IO - speech.speak (08:26:46):
Speaking ('en_GB'), u'Alert: Document being processed. edit read only'
DEBUG - treeInterceptorHandler.update (08:26:47):
Adding new treeInterceptor to runningTable:
DEBUGWARNING - RPC process 3164 (dwwin.exe) (08:26:48):
Thread 2072, nvdaHelper\build\x86\remote\ia2Support.cpp, installIA2Support, 81:
Error registering class object, code -2147221008

DEBUGWARNING - RPC process 3164 (dwwin.exe) (08:26:48):
Thread 2072, nvdaHelper\build\x86\remote\ia2Support.cpp, installIA2Support, 81:
Error registering class object, code -2147221008

DEBUGWARNING - RPC process 3164 (dwwin.exe) (08:26:48):
Thread 2072, nvdaHelper\build\x86\remote\ia2Support.cpp, installIA2Support, 81:
Error registering class object, code -2147221008

DEBUGWARNING - watchdog.watcher (08:26:48):
Trying to recover from freeze, core stack:
File "nvda.pyw", line 157, in
File "core.pyc", line 307, in main
File "wx_core.pyc", line 8010, in MainLoop
File "wx_core.pyc", line 7306, in MainLoop
File "core.pyc", line 284, in Notify
File "queueHandler.pyc", line 76, in pumpAll
File "queueHandler.pyc", line 47, in flushQueue
File "eventHandler.pyc", line 54, in queueEventCallback
File "eventHandler.pyc", line 131, in executeEvent
File "eventHandler.pyc", line 146, in doPreGainFocus
File "NVDAObjects__init
.pyc", line 272, in objectInForeground
File "NVDAObjects__init__.pyc", line 184, in findBestAPIClass
File "NVDAObjects__init__.pyc", line 183, in findBestAPIClass
File "NVDAObjects\IAccessible__init__.pyc", line 354, in kwargsFromSuper
File "IAccessibleHandler.pyc", line 333, in accessibleObjectFromEvent
File "oleacc.pyc", line 240, in AccessibleObjectFromEvent

DEBUGWARNING - eventHandler.executeEvent (08:26:48):
error executing event: gainFocus on with extra args of {}
Traceback (most recent call last):
File "eventHandler.pyc", line 131, in executeEvent
File "eventHandler.pyc", line 146, in doPreGainFocus
File "NVDAObjects__init__.pyc", line 273, in objectInForeground
File "NVDAObjects__init__.pyc", line 66, in call
File "watchdog.pyc", line 147, in COMError_init
CallCancelled
IO - speech.speak (08:26:49):
Speaking ('en_GB'), u'Adobe Reader dialog If you were in the middle of something, the information you were working on might be lost.\nWe have created an error report that you can send to us. We will treat this report as confidential and anonymous.\nTo see what data this error report contains,'
DEBUGWARNING - watchdog.watcher (08:26:59):
Trying to recover from freeze, core stack:
File "nvda.pyw", line 157, in
File "core.pyc", line 307, in main
File "wx_core.pyc", line 8010, in MainLoop
File "wx_core.pyc", line 7306, in MainLoop
File "core.pyc", line 284, in Notify
File "queueHandler.pyc", line 76, in pumpAll
File "queueHandler.pyc", line 47, in flushQueue
File "eventHandler.pyc", line 54, in _queueEventCallback
File "eventHandler.pyc", line 131, in executeEvent
File "comtypesMonkeyPatches.pyc", line 51, in newCpbDel
File "comtypes__init
.pyc", line 841, in del
File "comtypes__init__.pyc", line 1092, in Release

IO - speech.speak (08:26:59):
Speaking ('en_GB'), u"Don't Send button Alt+d"
IO - speech.speak (08:27:07):
Speaking ('en_GB'), u'Loading document...'
IO - inputCore.InputManager.executeGesture (08:27:19):
Input: kb(desktop):tab
DEBUGWARNING - RPC process 3164 (dwwin.exe) (08:27:19):
Thread 2072, nvdaHelper\build\x86\remote\ia2Support.cpp, installIA2Support, 81:
Error registering class object, code -2147221008

IO - speech.speak (08:27:19):
Speaking ('en_GB'), u'Details button'
IO - inputCore.InputManager.executeGesture (08:27:21):
Input: kb(desktop):tab
DEBUGWARNING - RPC process 3164 (dwwin.exe) (08:27:21):
Thread 2072, nvdaHelper\build\x86\remote\ia2Support.cpp, installIA2Support, 81:
Error registering class object, code -2147221008

IO - speech.speak (08:27:21):
Speaking ('en_GB'), u'Send Error Report button Alt+s'
IO - inputCore.InputManager.executeGesture (08:27:21):
Input: kb(desktop):tab
DEBUGWARNING - RPC process 3164 (dwwin.exe) (08:27:21):
Thread 2072, nvdaHelper\build\x86\remote\ia2Support.cpp, installIA2Support, 81:
Error registering class object, code -2147221008

IO - speech.speak (08:27:21):
Speaking ('en_GB'), u"Don't Send button Alt+d"
IO - inputCore.InputManager.executeGesture (08:27:23):
Input: kb(desktop):space
IO - speech._speakSpellingGen (08:27:23):
Speaking character u'space'
DEBUG - queueHandler.registerGeneratorObject (08:27:23):
Adding generator 1
IO - speech.speak (08:27:23):
Speaking ('en_GB'), u'pressed'
DEBUG - queueHandler.pumpAll (08:27:23):
generator 1 finished
DEBUGWARNING - RPC process 3164 (dwwin.exe) (08:27:23):
Thread 2072, nvdaHelper\build\x86\remote\ia2Support.cpp, installIA2Support, 81:
Error registering class object, code -2147221008

DEBUGWARNING - RPC process 3164 (dwwin.exe) (08:27:23):
Thread 3552, nvdaHelper\build\x86\remote\ia2Support.cpp, installIA2Support, 81:
Error registering class object, code -2147221008

ERROR - virtualBuffers.AdobeAcrobat.loadBuffer (08:27:23):
Traceback (most recent call last):
File "virtualBuffers__init_
.pyc", line 622, in _loadBuffer
WindowsError: 1726 The remote procedure call failed
DEBUGWARNING - IAccessibleHandler.accessibleObjectFromEvent (08:27:23):
oleacc.AccessibleObjectFromEvent with window 525482, objectID -4 and childID 0: -2147467259 Unspecified error
DEBUG - appModuleHandler.update (08:27:23):
application dwwin closed
DEBUG - treeInterceptorHandler.killTreeInterceptor (08:27:23):
Killed treeInterceptor:
DEBUGWARNING - displayModel.DisplayModelTextInfo._get__storyFieldsAndRects (08:27:23):
AppModule does not have a binding handle
IO - speech.speak (08:27:23):
Speaking ('en_GB'), u'PDF Output.pdf - Adobe Reader'
DEBUG - appModuleHandler.update (08:27:23):
application acrord32 closed
IO - speech.speak (08:27:23):
Speaking ('en_GB'), u'nvda Trac messages - Outlook Express - Brians mail list account'
IO - inputCore.InputManager.executeGesture (08:27:29):
Input: kb(desktop):control+alt+r
INFO - core.main (08:27:29):
Exiting

However I do have my reservations about the pdf being used here. For the record, the pdf reader bundled with webbie reads the file OK.

@nvaccessAuto

Comment 7 by Nandikeswararao on 2013-08-05 16:10
Hello Team,

Can you please let us know the resolution on this issue.

Thanks,
Nandi

@nvaccessAuto

Attachment text of pdf and dw win file.7z added by briang1 on 2013-08-05 19:02
Description:
as it says on the tin

@nvaccessAuto

Comment 9 by mdcurran on 2013-08-06 02:06
Either this pdf document is incorrectly tagged, or Adobe Reader is exposing it wrongly. In short, there are table rows that are not inside any table. Specifically, there is a table row in a part in a document.
I assume this is not good tagging. However, if this is to appear in the wild, NVDA should not cause a crash in reader.

Technical NVDA info:
In fillvBuf, if we see a table row, we do stuff to the members of tableInfo. Yet tableInfo in this case is NULL.
I propose that we also check that tableInfo is not NULL in those two if checks (row and cell).
Changes:
Milestone changed from None to 2013.2

@nvaccessAuto

Comment 10 by Michael Curran <mick@... on 2013-08-06 03:57
In [702216a]:
```CommitTicketReference repository="" revision="702216ab10afd42bc37c2afa383d1ab3a9b409be"
Adobe reader vbufBackend's fillVBuf: check that tableInfo is not NULL before using it for nodes within tables. Fixes #3399

Changes:
State: closed
@nvaccessAuto nvaccessAuto added the bug label Nov 10, 2015
@nvaccessAuto nvaccessAuto added this to the 2013.2 milestone Nov 10, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment