Various MacOS extension issues.

Stephan Bergmann sbergman at redhat.com
Fri Feb 24 16:04:13 UTC 2017


On 02/24/2017 01:17 PM, Stephan Bergmann wrote:
> On 02/23/2017 02:12 PM, Adomas VenĨkauskas wrote:
> I can reproduce that problem, LO produces
>
>> JDWP exit error AGENT_ERROR_ILLEGAL_ARGUMENT(202): saveGlobalRef obj
>> [util.c:60]
>> FATAL ERROR in native method: JDWP saveGlobalRef obj,
>> jvmtiError=AGENT_ERROR_ILLEGAL_ARGUMENT(202)
>> JavaVM: JNI_CreateJavaVM called os::abort(), caught by abort_handler
>> in javavm.cxx
>> [Java framework] sunjavaplugin.dylibCan not create JavaVirtualMachine,
>> abort handler was called.
>
> on stdout/stderr (where the first two lines are from whatever happens
> inside the JNI Invocation API's JNI_CrateJavaVM, while the last two are
> from LO itself).
>
> This is with Oracle's JDK 1.8.0_121 on macOS 10.12.3, and a simple
> command-line invocation of
>
>> java -Xdebug -Xrunjdwp:transport=dt_socket,server=y,address=8000 Test
>
> with a trivial Test class succeeds, so it smells like there is a problem
> in that JDK's Invocation API implementation.  I'll dig further...

should work now on master with 
<https://cgit.freedesktop.org/libreoffice/core/commit/?id=f21994e7a240563283b7a17dcb435ce7c5156b60> 
"Make JVM -Xrunjdwp option work on macOS"



More information about the LibreOffice mailing list