Hi,
I'm trying to get BubbleUPnPServer to work with compiled OpenJDK-8 (with Zero VM). It crashes "outside the Java Virtual Machine" with error "in native code" (see error log attached). This happens on armv7 and mipsel O32 with uclibc-ng-1.0.6 and uclibc-ng-1.0.9. I haven't tried uclibc-ng-1.0.10 yet, but I will as soon as I can. Just to note, armv7 variant with GNU libc works OK without such crashes, so I assume that this issue is libc-specific. I'm writing here in hope that these errors can mean something to you (it's all Greek to me), since I got no response at all from OpenJDK Zero VM mailing list for several months.
There're some uclibc-specific patches I had to apply to build OpenJDK-8: https://github.com/alllexx88/Optware-ng/blob/master/sources/openjdk8/openjdk... https://github.com/alllexx88/Optware-ng/blob/master/sources/openjdk8/openjdk... https://github.com/alllexx88/Optware-ng/blob/master/sources/openjdk8/openjdk...
In general, patches I apply to OpenJDK-8 can be found here: https://github.com/alllexx88/Optware-ng/tree/master/sources/openjdk8/openjdk (ignore zero-architectures.diff.bak).
Hi Alex, Alex Potapenko wrote,
Hi,
I'm trying to get BubbleUPnPServer to work with compiled OpenJDK-8 (with Zero VM). It crashes "outside the Java Virtual Machine" with error "in native code" (see error log attached). This happens on armv7 and mipsel O32 with uclibc-ng-1.0.6 and uclibc-ng-1.0.9. I haven't tried uclibc-ng-1.0.10 yet, but I will as soon as I can. Just to note, armv7 variant with GNU libc works OK without such crashes, so I assume that this issue is libc-specific. I'm writing here in hope that these errors can mean something to you (it's all Greek to me), since I got no response at all from OpenJDK Zero VM mailing list for several months.
There're some uclibc-specific patches I had to apply to build OpenJDK-8: https://github.com/alllexx88/Optware-ng/blob/master/sources/openjdk8/openjdk... https://github.com/alllexx88/Optware-ng/blob/master/sources/openjdk8/openjdk... https://github.com/alllexx88/Optware-ng/blob/master/sources/openjdk8/openjdk...
In general, patches I apply to OpenJDK-8 can be found here: https://github.com/alllexx88/Optware-ng/tree/master/sources/openjdk8/openjdk (ignore zero-architectures.diff.bak).
I would love to have good support for Java8. Can you explain in very short steps how you cross-compile it? I have experience cross-compiling OpenJDK7. Where I find the BubbleUPnPServer binary you use? I could try with OpenJDK7 first.
best regards Waldemar
Hi!
First of all, there is no native code stacktrace in your hs_err_pid29056.log: ... # Failed to write core dump. Core dumps have been disabled. To enable core dumping, try "ulimit -c unlimited" before starting Java again # ... Only it is possible to get from this log - that SIGSEGV was raised. To drill down the problem you have to get core dump or/and run application under gdb control. Don't know why OpenJDK can't provide backtrace of native code itself.
In case of Waldemar unable to reproduce the problem on his site, it is single possibility to locate the root of problem.
Regards, Leonid
On Tue, Dec 29, 2015 at 5:52 PM, Alex Potapenko opotapenko@gmail.com wrote:
I'm trying to get BubbleUPnPServer to work with compiled OpenJDK-8 (with Zero VM). It crashes "outside the Java Virtual Machine" with error "in native code" (see error log attached).