Bug 124374 - JVM instantiation crash via UNO Affine thread causes cppunittester to crash when building dbaccess_hsqldb
Summary: JVM instantiation crash via UNO Affine thread causes cppunittester to crash w...
Status: RESOLVED WORKSFORME
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: LibreOffice (show other bugs)
Version:
(earliest affected)
6.3.0.0.alpha0+
Hardware: x86-64 (AMD64) macOS (All)
: high major
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-03-27 17:20 UTC by Alex Thurgood
Modified: 2019-03-29 07:55 UTC (History)
3 users (show)

See Also:
Crash report or crash signature:


Attachments
Apple crash trace (104.33 KB, text/plain)
2019-03-27 17:20 UTC, Alex Thurgood
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Alex Thurgood 2019-03-27 17:20:10 UTC
Created attachment 150326 [details]
Apple crash trace

Trying to build master on macOS, the unit test dbaccess_hsqldb keeps failing and causing cppunittest to crash.

Crash trace enclosed
Comment 1 Xisco Faulí 2019-03-27 17:21:54 UTC
Hello Alex,
Since this is build issue and not a software issue, would you mind sending an
email to the dev list instead? ->
https://wiki.documentfoundation.org/Development/Mailing_List
Closing as RESOLVED MOVED
Comment 2 Noel Grandin 2019-03-28 11:03:22 UTC
This is not related to cppunit at all.

It appears to be a crash on an UNO thread, when calling into the HSQLDB stuff via the JavaVM.

i.e. it is likely to be a JavaVM issue, or something related to the UNO->Java bridge, or similar
Comment 3 Julien Nabet 2019-03-28 13:32:39 UTC
Alex: 
What's your precise Java version? (should be at least 64 bits)
Did you have several versions installed?
Perhaps it could be interesting to clean up Java elems and reinstall last one.
When I still had my Mac, I think I had followed this link:
http://osxdaily.com/2017/06/16/uninstall-java-mac/
Indeed, Java elements are on several locations.


If you still reproduce this, did you try the famous make clean + ccache -C before building?
I know you'll got to wait extra time to build but at least, you'll be sure there are no buggy remnants.
Comment 4 Alex Thurgood 2019-03-28 16:27:27 UTC
Hi Julien

I'm using OpenJDK 11 for macOS:
openjdk 11.0.2 2019-01-15
OpenJDK Runtime Environment 18.9 (build 11.0.2+9)
OpenJDK 64-Bit Server VM 18.9 (build 11.0.2+9, mixed mode)

I usually make clean before each new build attempt.

I'm not using ccache at all.
Comment 5 Alex Thurgood 2019-03-28 16:29:39 UTC
Moved this to LibreOffice instead of cppunittester, and adapted title accordingly in light of Noel's comments
Comment 6 Alex Thurgood 2019-03-29 07:55:01 UTC
Ah, forget it, I no longer see it after pulling from git late yesterday afternoon...