[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Bug#309072: azureus: crashes on startup. An unexpected error has been detected by HotSpot VM:SIGSEGV



Am Samstag 14 Mai 2005 19:19 schrieb Shaun Jackman:
> On 5/14/05, Gerhard Gaußling <ggrubbish@web.de> wrote:
> > But I could do some debugging. I found out, that I could start it
> > with java -Xrs -Xdebug -jar /usr/share/java/Azureus2.jar
> > Exception in thread "main" java.lang.UnsatisfiedLinkError: no
> > swt-pi-gtk-3116 in  java.library.path
> >         at java.lang.ClassLoader.loadLibrary(Unknown Source)
> >  and so on (I can post the other lines too, but I think the first
> > line gives the important error.
>
> The swt-pi-gtk-3116 library the error is referring to is...
> $ ls -l /usr/lib/libswt-pi-gtk-3116.so
> -rw-r--r--  1 root root 286K May  7 11:59
> /usr/lib/libswt-pi-gtk-3116.so
>
> It's location is specified with 'java -Djava.library.path=/usr/lib'.
> Start with the command line given in /usr/bin/azureus and go from
> there.
>
> If it's the Java VM itself that's causing the SIGSEGV, this is
> definitely a bug in the VM and not in Azureus. Although Azureus seems
> to be exacerbating the VM's bug.
>
> Cheers,
> Shaun

Hello Shaun,

Thank you to pointing me to the lib libswt-pi-gtk-3116.so. I got that 
installed, and therefor I think, that java  -Xrs -Xdebug 
-jar /usr/share/java/Azureus2.jar was the wrong commandline, because it 
lacks the -Djava.library.path=/usr/lib.

If I start it with that option the error seems to be the same as if I 
start the azureus script (which gives that option).

Can we assume, that the bug is in the Java VM? 
These are my Java packages:
sun-j2re1.5 
Version: 1.5.0+update02
 This package has been automatically created with java-package (0.23).
 sun-j2sdk1.5 
Version: 1.5.0+update02
 This package has been automatically created with java-package (0.23).

So its more likeley, that it's in these packages as then in 
libswt-gtk-3.1or some other related java packages?

Kind regards

Gerhard Gaußling

Here some commandline output:
$  ls -l /usr/lib/libswt-pi-gtk-3116.so
-rw-r--r--  1 root root 342512 2005-05-09 
02:20 /usr/lib/libswt-pi-gtk-3116.so
gerhard@ubuntu:~$ java -Djava.library.path=/usr/lib -Xrs -Xdebug 
-jar /usr/share/java/Azureus2.jar
#
# An unexpected error has been detected by HotSpot Virtual Machine:
#
#  SIGSEGV (0xb) at pc=0x00002aaaaae4cf9b, pid=27810, tid=46912501787360
#
# Java VM: Java HotSpot(TM) 64-Bit Server VM (1.5.0_02-b09 mixed mode)
# Problematic frame:
# C  [libc.so.6+0x72f9b]
#
# An error report file with more information is saved as 
hs_err_pid27810.log
#
# If you would like to submit a bug report, please visit:
#   http://java.sun.com/webapps/bugreport/crash.jsp
#
Abgebrochen
gerhard@ubuntu:~$ java -Xrs -Xdebug -jar /usr/share/java/Azureus2.jar 
Exception in thread "main" java.lang.UnsatisfiedLinkError: no 
swt-pi-gtk-3116 in java.library.path
        at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1682)
  [...]



Reply to: