Bug 77061 - ACCESSIBILITY: Java 8 JRE 1.8u0 and Java Acces Bridge 2.0.4 incompatible for UAA bridge on Windows
Summary: ACCESSIBILITY: Java 8 JRE 1.8u0 and Java Acces Bridge 2.0.4 incompatible for ...
Status: CLOSED INVALID
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: LibreOffice (show other bugs)
Version:
(earliest affected)
4.2.3.2 rc
Hardware: x86-64 (AMD64) Windows (All)
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: a11y-Windows
  Show dependency treegraph
 
Reported: 2014-04-04 16:43 UTC by V Stuart Foote
Modified: 2021-08-05 18:21 UTC (History)
5 users (show)

See Also:
Crash report or crash signature:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description V Stuart Foote 2014-04-04 16:43:11 UTC
Java 8 SE released 2014-03-18, the JRE 1.8 and its Java Access Bridge 2.0.4 is not compatible in some fashion with the existing hooks into the UNO Accessiblity API.

A correctly configured JRE 1.8 with JAB enabled (verified with JavaFerret-32.exe, and correct function of the SwingSet2.jar demo applets) hangs LibreOffice when the Tools --> Options --> Accessibility: Enable Assistive Technology Tools checkbox is set active.

If JRE 1.8u0 is installed, and the "Support assistive technology tools" option is selected during an installation/upgrade attemtp, it will hang on first launch.

If attempt is made to "Enable Assistive Technolgy Tools" from Tools --> Options --> Accessibility panel, with JRE 1.8 alone installed and selected from the Tools --> Options --> Advanced Java Options panel, it will hang.

Occurs when opening LibreOffice Version: 4.2.3.2, Build ID: 7c5c769e412afd32da4d946d2cb0c8b0674e95e0 and earlier builds for 4.2.x and 4.1.x branches I've tested.

The same installs will function for UAA bridge on Windows with JRE 1.7u51 and JAB 2.0.3

The JRE 8 alone does not seem to be the issue, just issues with use of the Java Access Bridge 2.0.4 when UAA AT support is active.

If a user can avoid activating assistive technology tool support until after enabling the IAccessible2 native bridge--then the Java SE 8, and JRE 1.8 can be enabled.  But that scenario is going to be very difficult for disabled users dependent on AT support.
Comment 1 V Stuart Foote 2014-04-04 17:00:03 UTC
This is made more onerous for AT dependent users as the JRE 1.8 installation is followed by a "validator" that removes "old" JRE versions.

Here is a StackTrace of the soffice.bin
Version: 4.2.3.2
Build ID: 7c5c769e412afd32da4d946d2cb0c8b0674e95e0
as hung when JAB 2.0.4 is called, process must be killed from TaskManager to recover:

wow64cpu.dll!TurboDispatchJumpAddressEnd+0x6c0
wow64cpu.dll!TurboDispatchJumpAddressEnd+0x4a8
wow64.dll!Wow64SystemServiceEx+0x1ce
wow64.dll!Wow64LdrpInitialize+0x42b
ntdll.dll!RtlUniform+0x6e6
ntdll.dll!RtlCreateTagHeap+0xa7
ntdll.dll!LdrInitializeThunk+0xe
ntdll.dll!ZwWaitForSingleObject+0x15
kernel32.dll!WaitForSingleObjectEx+0x43
kernel32.dll!WaitForSingleObject+0x12
jvm.dll!_JVM_FindSignal@4+0x2979
jvm.dll!JVM_GetThreadStateNames+0x4cb06
jvm.dll!JVM_GetThreadStateNames+0x61ee4
jvm.dll!_JVM_MonitorWait@16+0x95
jvm.dll!JVM_GetThreadStateNames+0x45e35
jvm.dll!_JVM_FindSignal@4+0x62dee
jvm.dll!JVM_GetThreadStateNames+0x45ece
jvm.dll!JVM_GetThreadStateNames+0x522ea
jvm.dll!JVM_GetThreadStateNames+0x52543
jvm.dll!_JVM_InvokeMethod@16+0xb3
java.dll!_Java_sun_reflect_NativeMethodAccessorImpl_invoke0@20+0x15
jvm.dll!JVM_GetThreadStateNames+0x45902
jvm.dll!JVM_GetThreadStateNames+0x45e35
jvm.dll!_JVM_FindSignal@4+0x62dee
jvm.dll!JVM_GetThreadStateNames+0x45ece
jvm.dll!JNI_GetCreatedJavaVMs+0x6f67
jvm.dll!JNI_GetCreatedJavaVMs+0xf663
java_uno_accessbridge.dll+0x106a
java_uno_accessbridge.dll!_JNI_OnUnload@8+0x347
java_uno_accessbridge.dll!_JNI_OnUnload@8+0x3ef
tllo.dll!?Call@Link@@QBEJPAX@Z+0x13
vcllo.dll!?Call@VclEventListeners@@QBEXPAVVclSimpleEvent@@@Z+0xf4
vcllo.dll!?CallEventListeners@Window@@IAEXKPAX@Z+0xac
vcllo.dll!?ImplSetReallyVisible@Window@@QAEXXZ+0x7a
vcllo.dll!?Show@Window@@QAEXEG@Z+0x49a
ntdll.dll!RtlInitializeCriticalSection+0x3f
ntdll.dll!RtlAllocateHeap+0xac
sal3.dll!rtl_cache_free+0x159
sal3.dll!rtl_freeMemory+0x56
sal3.dll!osl_setFileTime+0x10f0
vcllo.dll!?InitVCL@@YA_NXZ+0x2fe
vcllo.dll!??4EmbeddedFontsHelper@@QAEAAV0@ABV0@@Z+0x171
soffice.bin!main+0x51
soffice.bin!main+0x229
Comment 2 V Stuart Foote 2014-04-04 17:05:53 UTC
This does not affect builds of Master or future 4.3.0 release as support for JAB based AT on Windows has been removed.

In the interim, could perhaps be addressed with a warning on the release notes for 4.2 branch to not use JRE 1.8 and JAB 2.0.4 for AT support, and as a work-around to by-pass the Java based AT by immediately activating IAccessible2 support from the "Enable experimental features" on the Tools --> Options --> Advanced panel.
Comment 3 QA Administrators 2015-06-08 14:41:53 UTC
** Please read this message in its entirety before responding **

To make sure we're focusing on the bugs that affect our users today, LibreOffice QA is asking bug reporters and confirmers to retest open, confirmed bugs which have not been touched for over a year.

There have been thousands of bug fixes and commits since anyone checked on this bug report. During that time, it's possible that the bug has been fixed, or the details of the problem have changed. We'd really appreciate your help in getting confirmation that the bug is still present.

If you have time, please do the following:

   Test to see if the bug is still present on a currently supported version of LibreOffice (4.4.3 or later)
   https://www.libreoffice.org/download/

   If the bug is present, please leave a comment that includes the version of LibreOffice and your operating system, and any changes you see in the bug behavior
 
 If the bug is NOT present, please set the bug's Status field to RESOLVED-WORKSFORME and leave a short comment that includes your version of LibreOffice and Operating System

Please DO NOT

   Update the version field
   Reply via email (please reply directly on the bug tracker)
   Set the bug's Status field to RESOLVED - FIXED (this status has a particular meaning that is not appropriate in this case)


If you want to do more to help you can test to see if your issue is a REGRESSION. To do so: 1. Download and install oldest version of LibreOffice (usually 3.3 unless your bug pertains to a feature added after 3.3)

http://downloadarchive.documentfoundation.org/libreoffice/old/

2. Test your bug 
3. Leave a comment with your results;
4a. If the bug was present with 3.3 - set version to "inherited from OOo"; 
4b. If the bug was not present in 3.3 - add "regression" to keyword


Feel free to come ask questions or to say hello in our QA chat: http://webchat.freenode.net/?channels=libreoffice-qa

Thank you for your help!

-- The LibreOffice QA Team This NEW Message was generated on: 2015-06-08
Comment 4 V Stuart Foote 2015-06-08 14:46:28 UTC
Setting resolved invalid as LO 4.2 is EOL and JAB for JRE 1.8 is not applicable to more current builds.
Comment 5 DonaldCahoon 2021-08-05 17:38:23 UTC Comment hidden (spam)
Comment 6 DonaldCahoon 2021-08-05 17:39:38 UTC Comment hidden (spam)