Date: prev next · Thread: first prev next last
2017 Archives by date, by thread · List index


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"


Context


Privacy Policy | Impressum (Legal Info) | Copyright information: Unless otherwise specified, all text and images on this website are licensed under the Creative Commons Attribution-Share Alike 3.0 License. This does not include the source code of LibreOffice, which is licensed under the Mozilla Public License (MPLv2). "LibreOffice" and "The Document Foundation" are registered trademarks of their corresponding registered owners or are in actual use as trademarks in one or more countries. Their respective logos and icons are also subject to international copyright laws. Use thereof is explained in our trademark policy.