Java VM will crash if JavaHL is used
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
subversion (Ubuntu) |
Confirmed
|
Undecided
|
Unassigned |
Bug Description
Binary package hint: libsvn-javahl
Create JavaHlTest.java:
import org.tigris.
public class JavaHlTest {
public static void main(String[] args) {
SVNClient client = new SVNClient();
}
}
Compile with "javac -classpath /usr/share/
Run with "java -Djava.
It should crash with
$ /usr/lib/
Exception in thread "main" java.lang.
at java.lang.
at JavaHlTest.
Caused by: java.lang.
at org.tigris.
at org.tigris.
at java.lang.
...1 more
$ /usr/lib/
#
# An unexpected error has been detected by HotSpot Virtual Machine:
#
# SIGSEGV (0xb) at pc=0xb1fe3acb, pid=13324, tid=3084687024
#
# Java VM: Java HotSpot(TM) Client VM (1.5.0_08-b03 mixed mode, sharing)
# Problematic frame:
# C [libsvnjavahl-
#
# An error report file with more information is saved as hs_err_pid13324.log
#
# If you would like to submit a bug report, please visit:
# http://
#
Aborted (core dumped)
I can confirm this on Edgy with both sun-java5-jdk 1.5.0-08-0ubuntu1 and gcj 4.1.1-14ubuntu7.
The same crash also happens when trying to use the subversion plugin from eclipse and configuring it to use javahl. The plugin only works when not using javahl.