32bitjavacrash workaround?

Kaganski Mike mikekaganski at hotmail.com
Sat Nov 4 11:48:08 UTC 2017


Hi,

As the java's stack management still is the problem for LibreOffice on 
Linux [1], I had an idea (disclaimer: I use Windows for development, and 
I have no Java experience, so I don't volunteer for the hardest part):

Currently we have a test for working OpenCL implementation, that 
launches on certain conditions to disable its use if test is failed.

Cannot we do the same for Java? E.g., spawn a separate process, that 
would do something simple with Java, which is known to segfault on the 
problem, and on failure, disable using the selected JVM (and show a 
warning)? And launch the test at first run (on user's profile creation); 
on JVM selection in advanced options; after a crash (in recovery).

Does that make sense? I suppose it could avoid having blacklists of 
Java+kernel combinations etc, and be good for end users that suffer from 
the crashes: they would both not avoid crashes, and be informed.

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

-- 
Best regards,
Mike Kaganski


More information about the LibreOffice mailing list