[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Any use of javahl causes VM core dump on solaris 9

From: David Wood <obsidian_at_panix.com>
Date: 2005-05-12 21:23:59 CEST

I've been using javahl for some months now. I find it works very well on
my win32 and linux dev environments. However, when I bring it Solaris to
deploy it, the VM explodes as soon as I touch javahl. Calling pretty much
anything on the SVNClient class causes a vm crash.

I at first assumed I did something wrong during the build, but I quickly
ran out of things to try.

I'm curious if anyone has ever at any time successfully used javahl on
Solaris? If so, how did you do it? Do you recall what JVM, C/C++ compiler
you used, or your configure flags?

Following are some details of my problematic environment. The VM crash
below is created with a three line test case.

Subversion v1.1.4;

CC=gcc
CXX=g++

./configure --prefix=/opt/buildsystem-v2-stage/local --enable-javahl
--with-zlib --with-jdk=/usr/java
--with-neon=/opt/buildsystem-v2-stage/local
--with-berkeley-db=/opt/buildsystem-v2-stage/local

Gcc version: 3.2

uname -a
SunOS buildhost 5.9 Generic_118558-05 sun4u sparc SUNW,Ultra-250 Solaris

java version "1.5.0"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0-b64)
Java HotSpot(TM) Server VM (build 1.5.0-b64, mixed mode)

JVM output:

#
# An unexpected error has been detected by HotSpot Virtual Machine:
#
# SIGSEGV (0xb) at pc=0xfb5b7b9c, pid=22160, tid=1
#
# Java VM: Java HotSpot(TM) Server VM (1.5.0-b64 mixed mode)
# Problematic frame:
# C [libsvnjavahl-1.so.0.0.0+0x17b9c]
_ZN7JNIUtil7JNIInitEP7JNIEnv_+0x3e4
#

--------------- T H R E A D ---------------

Current thread (0x000384c0): JavaThread "main" [_thread_in_native, id=1]

...

Stack: [0xffb7e000,0xffc00000), sp=0xffbfcd00, free space=507k
Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native
code)
C [libsvnjavahl-1.so.0.0.0+0x17b9c] _ZN7JNIUtil7JNIInitEP7JNIEnv_+0x3e4
C [libsvnjavahl-1.so.0.0.0+0x17034]
_ZN15JNIStackElementC1EP7JNIEnv_PKcS3_P8_jobject+0x2c
C [libsvnjavahl-1.so.0.0.0+0x27a90]
Java_org_tigris_subversion_javahl_SVNClient_notification+0x3c
j
org.tigris.subversion.javahl.SVNClient.notification(Lorg/tigris/subversion/javahl/Notify;)V+718709948
j
org.tigris.subversion.javahl.SVNClient.notification(Lorg/tigris/subversion/javahl/Notify;)V+0
j
com.thestreet.infrastructure.build.ClientTest.main([Ljava/lang/String;)V+16
v ~StubRoutines::call_stub
V [libjvm.so+0x18dfe0]
V [libjvm.so+0x2c8168]
C [java+0x23bc] main+0x131c

Java frames: (J=compiled Java code, j=interpreted, Vv=VM code)
j
org.tigris.subversion.javahl.SVNClient.notification(Lorg/tigris/subversion/javahl/Notify;)V+0
j
com.thestreet.infrastructure.build.ClientTest.main([Ljava/lang/String;)V+16
v ~StubRoutines::call_stub

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Thu May 12 21:25:16 2005

This is an archived mail posted to the Subversion Dev mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.