Re: Bug#309072: azureus: crashes on startup. An unexpected error has been detected by HotSpot VM:SIGSEGV
Deepak Kizhakkedath Mana Consultant - HCLT - BEMS ID# 1587365 FTCS Redevelopment Phone: 206-655-2391
Re: Bug#309072: azureus: crashes on startup. An unexpected error has been detected by HotSpot VM:SIGSEGV
Am Montag 16 Mai 2005 21:52 schrieb Shaun Jackman: I don't have a good idea of what could be wrong here. Just to bring us both up to the same version of Java, try removing sun-j2re1.5 -- it's unnecessary in any case since sun-j2sdk provides sun-j2re -- and trying installing sun-j2sdk 1.5.0+update03. Sorry I can't come up with anything smarter. Cheers, Shaun Hello Shaun, I packaged with java-package and this command: $ LANG=en fakeroot make-jpkg jdk-1_5_0_03-linux-amd64.bin I got these error-messages: [...] Creating jdk1.5.0_03/jre/lib/ext/localedata.jar mkdir: cannot create directory `/etc/.java': Permission denied mkdir: cannot create directory `/etc/.java/.systemPrefs': No such file or directory touch: cannot touch `/etc/.java/.systemPrefs/.system.lock': No such file or directory chmod: cannot access `/etc/.java/.systemPrefs/.system.lock': No such file or directory touch: cannot touch `/etc/.java/.systemPrefs/.systemRootModFile': No such file or directory chmod: cannot access `/etc/.java/.systemPrefs/.systemRootModFile': No such file or directory Done. Testing extracted archive... okay. [...] But it created the package. And I instaled the package. But: $ LANG=en ls -l /etc/.java ls: /etc/.java: No such file or directory $ LANG=en ls -l $HOME/.java ls: /home/gerhard/.java: No such file or directory Can this be the problem? I tried then to package java with sudo, but that didn't work: $ LANG=en sudo fakeroot make-jpkg jdk-1_5_0_03-linux-amd64.bin You are real root -- unfortunately, some Java distributions have install scripts that directly manipulate /etc, and may cause some inconsistencies on your system. Instead, you should become a non-root user and run: fakeroot make-jpkg jdk-1_5_0_03-linux-amd64.bin which will allow no damage to be done to your system files and still permit the Java distribution to successfully extract. Aborting. How can I solve this situation? How to create the /etc/.java and the .systemPrefs etc. under /etc without being root? Is that maybe the point? Kind regards Gerhard Gaußling +-- additional information: $ sudo update-alternatives --config java There is only 1 program which provides java (/usr/lib/j2sdk1.5-sun/bin/java). Nothing to configure. $ dpkg -l *j2* |grep ^ii ii sun-j2sdk1.5 1.5.0+update03 Java(TM) 2 SDK, Standard Edition, Sun Micros $ which java /usr/lib/j2sdk1.5-sun/bin/java + $ jdb java -Djava.library.path=/usr/lib -Xrs -Xdebug -jar /usr/share/java/Azureus2.jar Initializing jdb ... run run java -Djava.library.path=/usr/lib -Xrs -Xdebug -jar /usr/share/java/Azureus2.jar Set uncaught java.lang.Throwable Set deferred uncaught java.lang.Throwable VM Started: Exception occurred: java.lang.ClassNotFoundException (uncaught)thread=main, java.net.URLClassLoader$1.run(), line=200 bci=72 main[1] +-- $ LANG=de azureus # # An unexpected error has been detected by HotSpot Virtual Machine: # # SIGSEGV (0xb) at pc=0x2ae4cf9b, pid=15742, tid=46912501787360 # # Java VM: Java HotSpot(TM) 64-Bit Server VM (1.5.0_03-b07 mixed mode) # Problematic frame: # C [libc.so.6+0x72f9b] # # An error report file with more information is saved as hs_err_pid15742.log # # If you would like to submit a bug report, please visit: # http://java.sun.com/webapps/bugreport/crash.jsp # Abgebrochen (=interrupted) +-- $ 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 $ java -showversion java version 1.5.0_03 Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_03-b07) Java HotSpot(TM) 64-Bit Server VM (build 1.5.0_03-b07, mixed mode) $ /usr/sbin/update-alternatives --display java java - status is manual. link currently points to /usr/lib/j2sdk1.5-sun/bin/java /usr/lib/j2sdk1.5-sun/bin/java - priority 315 slave java.1.gz: /usr/lib/j2sdk1.5-sun/man/man1/java.1.gz Current `best' version is /usr/lib/j2sdk1.5-sun/bin/java.
Re: Bug#309072: azureus: crashes on startup. An unexpected error has been detected by HotSpot VM:SIGSEGV
Am Dienstag 17 Mai 2005 12:37 schrieb Gerhard Gaußling: I packaged with java-package and this command: $ LANG=en fakeroot make-jpkg jdk-1_5_0_03-linux-amd64.bin I got these error-messages: [...] Creating jdk1.5.0_03/jre/lib/ext/localedata.jar mkdir: cannot create directory `/etc/.java': Permission denied [...] chmod: cannot access `/etc/.java/.systemPrefs/.systemRootModFile': No such file or directory [...] But it created the package. And I instaled the package. But: $ LANG=en ls -l /etc/.java ls: /etc/.java: No such file or directory [...] Can this be the problem? I fopund a bug report against java-package, which covers this(?): http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=297868 : quote make-jpkg fails to copy the files below to their correct destination. Instead of the install tree they are copied to somewhere under /etc and /usr. The resulting package is fully usable, but is missing the files. This is actually intended behaviour, but badly documented/told to the user. --Jeroen -- Jeroen van Wolffelaar [EMAIL PROTECTED] http://jeroen.A-Eskwadraat.nl /quote
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 [EMAIL PROTECTED] 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 [EMAIL PROTECTED]:~$ 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=0x2ae4cf9b, 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 [EMAIL PROTECTED]:~$ 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) [...]
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: 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. $ jdb java -Djava.library.path=/usr/lib -Xrs -Xdebug -jar /usr/share/java/Azureus2.jar Initializing jdb ... run run java -Djava.library.path=/usr/lib -Xrs -Xdebug -jar /usr/share/java/Azureus2.jar Set uncaught java.lang.Throwable Set deferred uncaught java.lang.Throwable VM Started: Exception occurred: java.lang.ClassNotFoundException ||--^^ (uncaught)thread=main, java.net.URLClassLoader$1.run(), line=200 bci=72 main[1] So, that's after all still an issue with azureus and the dependencies of the package or the libpathes given by the azureus script? regards Gerhard Gaußling
Re: Bug#309072: azureus: crashes on startup. An unexpected error has been detected by HotSpot VM:SIGSEGV
Am Montag 16 Mai 2005 19:42 schrieb Shaun Jackman: /usr/sbin/update-alternatives --display java $ /usr/sbin/update-alternatives --display java java - status is manual. link currently points to /usr/lib/j2sdk1.5-sun/bin/java /usr/lib/j2re1.5-sun/bin/java - priority 315 slave java.1.gz: /usr/lib/j2re1.5-sun/man/man1/java.1.gz /usr/lib/j2sdk1.5-sun/bin/java - priority 315 slave java.1.gz: /usr/lib/j2sdk1.5-sun/man/man1/java.1.gz Current `best' version is /usr/lib/j2re1.5-sun/bin/java. $ java -showversion java version 1.5.0_02 Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_02-b09) Java HotSpot(TM) 64-Bit Server VM (build 1.5.0_02-b09, mixed mode) All the other versions informations are in the first bug report. It's 1.5.0+update02. I build that with java-package from jdk-1_5_0_02-linux-amd64.bin. regards Gerhard -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Bug#309072: azureus: crashes on startup. An unexpected error has been detected by HotSpot VM:SIGSEGV
Package: azureus Version: 2.3.0.0-2 Severity: important *** Please type your report below this line *** azureus crashes obn startup: # An unexpected error has been detected by HotSpot Virtual Machine: # # SIGSEGV (0xb) at pc=0x2ae4cf9b, pid=9137, tid=46912501786320 # # Java VM: Java HotSpot(TM) 64-Bit Server VM (1.5.0_02-b09 mixed mode) # Problematic frame: # C [libc.so.6+0x72f9b] Should I post the $HOME/.Azureus/hs_err_pid9137.log.gz [5,3k] ? regards Gerhard Gaußling -- additional System informations: I run ubuntu Hoary Hedgehog 5.04 for amd64 with several packages from debian unstable and the sun java packages build with java-package from hoary. So I put the dist infos here: azureus:2.3.0.0-2 sid/contrib libc6:2.3.5-0ubuntu3 breezy/main java-package:0.24 hoary/multiverse libswt-gtk-3.1-java:3.0+3.1M4-3 sid/main liblog4j1.2-java:1.2.9-1 hoary/universe libcommons-cli-java: 1.0-4 hoary/universe -- System Information: Debian Release: 3.1 Architecture: amd64 (x86_64) Kernel: Linux 2.6.11.8.20050430 Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8) Versions of packages azureus depends on: ii libcommons-cli-java 1.0-4 API for working with the command l ii liblog4j1.2-java 1.2.9-1Logging library for java ii libswt-gtk-3.1-java 3.0+3.1M4-3Standard Widget Toolkit for GTK Ja ii sun-j2re1.5 [java2-runtim 1.5.0+update02 Java(TM) 2 RE, Standard Edition, S ii sun-j2sdk1.5 [java2-runti 1.5.0+update02 Java(TM) 2 SDK, Standard Edition, -- no debconf information
Re: Bug#309072: azureus: crashes on startup. An unexpected error has been detected by HotSpot VM:SIGSEGV
Hi, Try disabling micro PnP suport. Think you have about a minute to get to the options, turn off the pluging, save and exit. Ed On Saturday 14 May 2005 06:41, Gerhard Gauling wrote: Package: azureus Version: 2.3.0.0-2 Severity: important *** Please type your report below this line *** azureus crashes obn startup: # An unexpected error has been detected by HotSpot Virtual Machine: # # SIGSEGV (0xb) at pc=0x2ae4cf9b, pid=9137, tid=46912501786320 # # Java VM: Java HotSpot(TM) 64-Bit Server VM (1.5.0_02-b09 mixed mode) # Problematic frame: # C [libc.so.6+0x72f9b] Should I post the $HOME/.Azureus/hs_err_pid9137.log.gz [5,3k] ? regards Gerhard Gaußling -- additional System informations: I run ubuntu Hoary Hedgehog 5.04 for amd64 with several packages from debian unstable and the sun java packages build with java-package from hoary. So I put the dist infos here: azureus:2.3.0.0-2 sid/contrib libc6:2.3.5-0ubuntu3 breezy/main java-package:0.24 hoary/multiverse libswt-gtk-3.1-java:3.0+3.1M4-3 sid/main liblog4j1.2-java:1.2.9-1 hoary/universe libcommons-cli-java: 1.0-4 hoary/universe -- System Information: Debian Release: 3.1 Architecture: amd64 (x86_64) Kernel: Linux 2.6.11.8.20050430 Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8) Versions of packages azureus depends on: ii libcommons-cli-java 1.0-4 API for working with the command l ii liblog4j1.2-java 1.2.9-1Logging library for java ii libswt-gtk-3.1-java 3.0+3.1M4-3Standard Widget Toolkit for GTK Ja ii sun-j2re1.5 [java2-runtim 1.5.0+update02 Java(TM) 2 RE, Standard Edition, S ii sun-j2sdk1.5 [java2-runti 1.5.0+update02 Java(TM) 2 SDK, Standard Edition, -- no debconf information
Re: Bug#309072: azureus: crashes on startup. An unexpected error has been detected by HotSpot VM:SIGSEGV
Am Samstag 14 Mai 2005 12:58 schrieben Sie: Try disabling micro PnP suport. Think you have about a minute to get to the options, turn off the pluging, save and exit. No, I said in the subject that azureus is crashing on startup, so it's not an issue with the uPnP plugin in azureus. I also think that it isn't installed by default. 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. In my path there was no /usr/lib/j2sdk1.5-sun/bin:/usr/share/java And `echo $LD_LIBRARY_PATH` returned nothing. I added these lines into my ~/.bashrc: # JAVA SDK PATH=/usr/local/bin:~/bin: $PATH:/usr/lib/j2sdk1.5-sun/bin:/usr/share/java JDK_HOME=/usr/lib/j2sdk1.5-sun/ JAVA_HOME=/usr/lib/j2sdk1.5-sun/ export PATH export JDK_HOME export JAVA_HOME # Trolltec qt 3.3 20040907 if [ -d /usr/share/qt3 ]; then QTDIR=/usr/share/qt3 export QTDIR fi PATH=$QTDIR/bin:/usr/local/bin:$PATH MANPATH=$QTDIR/doc/man:/usr/share/java:$MANPATH LD_LIBRARY_PATH=$QTDIR/lib:/usr/local/lib:/usr/share/java: $LD_LIBRARY_PATH export PATH MANPATH LD_LIBRARY_PATH And now I got this environem,ent: $ echo $PATH /usr/share/qt3/bin:/usr/local/bin:/usr/local/bin:/home/gerhard/bin:/usr/local/bin:/usr/local/sbin:/sbin:/usr/sbin:/bin:/usr/bin:/usr/bin/X11:/usr/games:/usr/lib/j2sdk1.5-sun/bin:/usr/share/java $ echo $LD_LIBRARY_PATH /usr/share/qt3/lib:/usr/local/lib:/usr/share/java: But the error persists. It's the same message. I linked the swt-pi-gtk-3.1.jar to swt-pi-gtk-3116.jar $ ls -l /usr/share/java/swt-pi-gtk-3* lrwxrwxrwx 1 root root34 2005-05-14 15:00 /usr/share/java/swt-pi-gtk-3116.jar - /usr/share/java/swt-pi-gtk-3.1.jar -rw-r--r-- 1 root root 89682 2005-05-07 20:59 /usr/share/java/swt-pi-gtk-3.1.jar and $ ls -l /usr/lib/j2sdk1.5-sun/lib/swt-pi-gtk-3* lrwxrwxrwx 1 root root 34 2005-05-14 15:22 /usr/lib/j2sdk1.5-sun/lib/swt-pi-gtk-3116.jar - /usr/share/java/swt-pi-gtk-3.1.jar but that didn't help. I get still $ 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 and jdb gives this error: $ jdb java -Xrs -Xdebug -jar /usr/share/java/Azureus2.jar Initializing jdb ... run run java -Xrs -Xdebug -jar /usr/share/java/Azureus2.jar Set uncaught java.lang.Throwable Set deferred uncaught java.lang.Throwable VM Started: Exception occurred: java.lang.ClassNotFoundException (uncaught)thread=main, java.net.URLClassLoader$1.run(), line=200 bci=72 main[1] I hope that helps to figure out where the mistake is in my java setup. This might no longer be an azureus issue, and hopefully we can close this soon. Should I file then a bug against java-package, or is it only because of misconfiguration. I expected this should run out-of-the-box. regards Gerhard Gaußling
Re: Bug#309072: azureus: crashes on startup. An unexpected error has been detected by HotSpot VM:SIGSEGV
El sb, 14-05-2005 a las 15:51 +0200, Gerhard Gauling escribi: I hope that helps to figure out where the mistake is in my java setup. This might no longer be an azureus issue, and hopefully we can close this soon. Should I file then a bug against java-package, or is it only because of misconfiguration. I expected this should run out-of-the-box. I'm sorry that I cannot help you with this issue, but I can add upstream Azureus works perfectly on AMD64. -- Javier Kohen [EMAIL PROTECTED] ICQ: blashyrkh #2361802 Jabber: [EMAIL PROTECTED] signature.asc Description: This is a digitally signed message part