[Libreoffice-bugs] [Bug 108619] Java Crash on x86 in jfw_plugin_startJavaVirtualMachine w/ recent linux kernels

bugzilla-daemon at bugs.documentfoundation.org bugzilla-daemon at bugs.documentfoundation.org
Sat Dec 15 19:17:57 UTC 2018


https://bugs.documentfoundation.org/show_bug.cgi?id=108619

--- Comment #42 from Dave Notman <djn4823 at yahoo.com> ---
xubuntu 18.04.1 32-bit (4.15.0-42-generic #45-Ubuntu)

My experience was rather different.  LibreOffice would always crash at a point
about 35% through the splash screen, so I couldn't use the UI to disable the
use of Java.

I checked with sysctl -a and also by dumping all strings in the kernel, and
"stack_guard_gap" isn't a valid kernel parameter.

If I edited the LibreOffice config file "javasettings_Linux_x86.xml"

to look like this:

<?xml version="1.0" encoding="UTF-8"?>
<!--This is a generated file. Do not alter this file!-->
<java xmlns="http://openoffice.org/2004/java/framework/1.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<enabled xsi:nil="false"/>
<userClassPath xsi:nil="true"/>
<vmParameters xsi:nil="true"/>
<jreLocations xsi:nil="true"/>
<javaInfo xsi:nil="true"/>
</java>

LibreOffice 6.0.6.2 00m0(Build:2) would find the java virtual machine, update
the config file, and then crash as before.

The (partial) solution was to rename /usr/bin/java and /usr/lib/jvm/ AND code
the javasettings file as above.  With these steps taken I can at least edit
documents in --writer and spreadsheets with --calc.  Creating a native database
requires Java, so that doesn't work, but I was able to attach to a spreadsheet
and treat it like a database.  Not sure about Access/Jet or SqLite databases
yet.

Of course, anything else that requires Java is now broken.  Java version is

OpenJDK Runtime Environment (build 10.0.2+13-Ubuntu-1ubuntu0.18.04.4)
OpenJDK Server VM (build 10.0.2+13-Ubuntu-1ubuntu0.18.04.4, mixed mode)

I tried creating a "Hello World" Java program and it worked as expected.

Hmmm... "Mixed Mode?"  Also, this version of was intended for Ubuntu
18.04.**4**, whereas I have 18.04.**1**.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/libreoffice-bugs/attachments/20181215/d7910a37/attachment.html>


More information about the Libreoffice-bugs mailing list