Skip to content
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

Error when loading some virtual buffers in Firefox with newest Alpha builds #8667

Closed
MarcoZehe opened this issue Aug 23, 2018 · 1 comment · Fixed by #8665
Closed

Error when loading some virtual buffers in Firefox with newest Alpha builds #8667

MarcoZehe opened this issue Aug 23, 2018 · 1 comment · Fixed by #8665
Labels
bug/regression p3 https://github.com/nvaccess/nvda/blob/master/projectDocs/issues/triage.md#priority
Milestone

Comments

@MarcoZehe
Copy link
Contributor

Steps to reproduce:

  1. In Firefox, load a few Bugzilla bugs from the Mozilla bug instance. This particular instance is special because it redirects to the start of the bug within the page after page load, does not start at the top.
  2. You may have to repeat step 1 a few times, or load different bugs.

Actual behavior:

Regularly, I get the below errors:

DEBUG - treeInterceptorHandler.update (08:35:25.569):
Adding new treeInterceptor to runningTable: <virtualBuffers.gecko_ia2.Gecko_ia2 object at 0x05DE2F90>
DEBUG - virtualBuffers.VirtualBuffer._loadBuffer (08:35:25.740):
Buffer load took 0.172 sec, 476 chars
DEBUGWARNING - RPC process 15020 (firefox.exe) (08:35:25.881):
Thread 4776, build\x86_64\vbufBase\storage.cpp, VBufStorage_buffer_t::findNodeByAttributes, 918:
offset 476 is past end of buffer, returning NULL

DEBUGWARNING - RPC process 15020 (firefox.exe) (08:35:25.881):
Thread 4776, build\x86_64\vbufBase\storage.cpp, VBufStorage_buffer_t::locateTextFieldNodeAtOffset, 809:
Offset 476 out of range. Returnning NULL

DEBUGWARNING - RPC process 15020 (firefox.exe) (08:35:25.897):
Thread 4776, build\x86_64\vbufBase\storage.cpp, VBufStorage_buffer_t::locateControlFieldNodeAtOffset, 829:
Could not locate node at offset, returning NULL

DEBUGWARNING - RPC process 15020 (firefox.exe) (08:35:25.960):
Thread 15196, build\x86_64\vbufBase\storage.cpp, VBufStorage_buffer_t::locateTextFieldNodeAtOffset, 809:
Offset 476 out of range. Returnning NULL

DEBUGWARNING - RPC process 15020 (firefox.exe) (08:35:25.976):
Thread 15196, build\x86_64\vbufBase\storage.cpp, VBufStorage_buffer_t::locateControlFieldNodeAtOffset, 829:
Could not locate node at offset, returning NULL

ERROR - queueHandler.flushQueue (08:35:25.897):
Error in func loadBufferDone from eventQueue
Traceback (most recent call last):
File "queueHandler.pyc", line 53, in flushQueue
File "virtualBuffers_init
.pyc", line 460, in _loadBufferDone
File "browseMode.pyc", line 1136, in event_treeInterceptor_gainFocus
File "browseMode.pyc", line 1210, in _set_selection
File "baseObject.pyc", line 21, in get
File "textInfos\offsets.pyc", line 311, in get_NVDAObjectAtStart
File "virtualBuffers_init
.pyc", line 181, in getNVDAObjectFromOffset
File "virtualBuffers_init
.pyc", line 160, in _getFieldIdentifierFromOffset
LookupError: Neither docHandle nor ID found for offset 476
DEBUGWARNING - NVDAObjects.IAccessible.IAccessible._get_IAccessibleRole (08:35:27.076):
accRole failed: (-2147024809, 'Falscher Parameter.', (None, None, None, 0, None))
DEBUGWARNING - NVDAObjects.IAccessible.IAccessible._get_IAccessibleRole (08:35:27.092):
accRole failed: (-2147024809, 'Falscher Parameter.', (None, None, None, 0, None))
DEBUGWARNING - NVDAObjects.IAccessible.IAccessible._get_IAccessibleRole (08:35:27.108):
accRole failed: (-2147024809, 'Falscher Parameter.', (None, None, None, 0, None))
DEBUGWARNING - NVDAObjects.IAccessible.IAccessible._get_IAccessibleRole (08:35:27.388):
accRole failed: (-2147024809, 'Falscher Parameter.', (None, None, None, 0, None))
DEBUGWARNING - NVDAObjects.IAccessible.IAccessible._get_IAccessibleRole (08:35:27.404):
accRole failed: (-2147024809, 'Falscher Parameter.', (None, None, None, 0, None))

Speech is OK for the most part after this, but braille isn't. The braille display is blank, no text or structural information is shown. Also alt-tabbing out and back into Firefox doesn't fix the problem, I have to reload the page and then hope the next load will succeed.

Expected behavior:

No errors.

System configuration:

NVDA Installed/portable/running from source:

Installed.

NVDA version:

NVDA version alpha-15920,8e2df9fd

Windows version:

Version 1809 (Build 17744.1001)

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

Firefox Nightly 63.0a1, latest build.

Other information about your system:

Other questions:

Does the issue still occur after restarting your PC?

Yes.

Have you tried any other versions of NVDA?

Yes, NVDA 2018.2.1, but didn't see the issue there.

There are two things that changed recently. First, I have only started seeing this in the above mentioned Alpha version, not earlier. But at the same time, Firefox Nightly gained a new/reworked scrolling event which, although for Android, had some intermittent problems on Windows. However these have been fixed in the latest Nightly builds of Firefox, and I still see the issue.

CC'ing @LeonarddeR @feerrenrut and @jcsteh who recently changed/reviewed things in the virtual buffer code.

@LeonarddeR
Copy link
Collaborator

I'm sorry, it was my fault. I filed #8665 that should fix this.

@LeonarddeR LeonarddeR added bug/regression p3 https://github.com/nvaccess/nvda/blob/master/projectDocs/issues/triage.md#priority labels Aug 24, 2018
@nvaccessAuto nvaccessAuto added this to the 2018.4 milestone Sep 4, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug/regression p3 https://github.com/nvaccess/nvda/blob/master/projectDocs/issues/triage.md#priority
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants