Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

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

0 views
Skip to first unread message

Ed Tomlinson

unread,
May 14, 2005, 7:10:10 AM5/14/05
to
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=0x00002aaaaae4cf9b, 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-1 Logging library for java
> ii libswt-gtk-3.1-java 3.0+3.1M4-3 Standard 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
>
>
>

Shaun Jackman

unread,
May 14, 2005, 1:40:13 PM5/14/05
to
On 5/14/05, Gerhard Gaußling <ggru...@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

gerhard

unread,
May 16, 2005, 8:30:24 AM5/16/05
to

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)
[...]

gerhard

unread,
May 16, 2005, 9:00:12 AM5/16/05
to
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

Shaun Jackman

unread,
May 16, 2005, 2:00:10 PM5/16/05
to
On 5/16/05, gerhard <ggru...@web.de> wrote:
> 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?

I think this error means that the class java.net.URLClassLoader was
not found. Which Java interpreter are you using? Can you try this
command for me?

/usr/sbin/update-alternatives --display java

I've run Azureus with sun-j2sdk1.5 1.5.0 and 1.5.0+update03 myself.
Both worked for me.

Cheers,
Shaun

gerhard

unread,
May 16, 2005, 2:10:08 PM5/16/05
to
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 debian-bugs-...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listm...@lists.debian.org

Shaun Jackman

unread,
May 16, 2005, 4:10:24 PM5/16/05
to
On 5/16/05, gerhard <ggru...@web.de> wrote:
> 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

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

Gerhard Gaussling

unread,
May 17, 2005, 7:20:14 AM5/17/05
to
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
jer...@wolffelaar.nl
http://jeroen.A-Eskwadraat.nl
</quote>

Shaun Jackman

unread,
May 17, 2005, 1:00:26 PM5/17/05
to
On 5/17/05, Gerhard Gaußling <ggru...@web.de> wrote:
> java-package is full of related bug-reports:
> http://bugs.debian.org/cgi-bin/pkgreport.cgi?pkg=java-package
>
> For example:
> For Sun JRE, .systemRoot prefernces tree should be moved to /etc
> http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=268214
> or:
> java-package: building package with fakeroot creates an incomplete
> package
> http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=280707
>
> What do you think, should I file an answer to one of these bug reports,
> and point to this bugreport, to figure out if it's related to
> java-package?
>
> Sorry, I'm completely new to java, and cannot see if this would make
> sense. Also sorry for my poor english.
>
> regards
>
> Gerhard Gaußling

I'm not sure if these bugs are related to your trouble. Incidentally,
I do have a .systemPrefs directory in /etc:
$ ls -Al /etc/.java/.systemPrefs/
total 0
-rw-r--r-- 1 root root 0 Dec 31 2002 .system.lock
-rw-r--r-- 1 root root 0 Dec 31 2002 .systemRootModFile

You could try creating these files yourself. I don't have any real
reason to believe this is the source of your trouble though.

I'm sorry. You have me stumped on this one. Perhaps you could try the
Debian Java Maintainers
<pkg-java-m...@lists.alioth.debian.org>. Maybe they'd be more
help.

No need to apologise for your English. Firstly, it's quite good!
Secondly, it's much better than my German.

Cheers!
Shaun

gerhard

unread,
May 17, 2005, 1:30:30 PM5/17/05
to

Hello,

Shaun, thank you for your help, I'm sorry that I come with such system
settings, that it diverts from your machine that way that you're not
able to figure out if this is a bug related to azureus or java.

This is the reason why I now copied the java-package maintainer into the
TO: header.

I hope that one of the java maintainers could give me an advice where to
post a bug report, or even get the situation solved by their java
knowledge.

I got this error message when starting azureus:


# An unexpected error has been detected by HotSpot Virtual Machine:
#

# SIGSEGV (0xb) at pc=0x00002aaaaae4cf9b, pid=9291, 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_pid9291.log


#
# If you would like to submit a bug report, please visit:
# http://java.sun.com/webapps/bugreport/crash.jsp

Please read the bugreport I filed against azureus:
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=309072

I hope that someone can point me into the right direction.

Kind regards

Gerhard Gaußling

+----------------------------
+----------------------------
I'm running ubuntu hoary amd64 mixed with debian/sid and ubuntu/breezy
(libc6 from ubuntu/breezy java-package and azureus from sid, further
information in the bug reports bug#309072).
Here the Versions of packages azureus and java-package depends on:

Package: azureus
Version: 2.3.0.0-2
Severity: important

*** Please type your report below this line ***

-- 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

ii liblog4j1.2-java 1.2.9-1
ii libswt-gtk-3.1-java 3.0+3.1M4-3
ii sun-j2sdk1.5 [java2-runti 1.5.0+update03 Java(TM) 2 SDK, Standard
Edition,

-- no debconf information

Package: java-package
Version: 0.24
Severity: important

versions of packages java-package depends on:
ii coreutils 5.2.1-2ubuntu0
ii debhelper 4.2.28ubuntu4
ii fakeroot 1.2.2

-- no debconf information

gerhard

unread,
May 17, 2005, 4:10:09 PM5/17/05
to
Am Dienstag 17 Mai 2005 20:23 schrieb Wolfgang Baer:
> If you would not running on amd64, I would suggest using
> a jdk 1.4. I had several cases where 1.4 crashed but
> 1.3 runs or 1.5 crashed but 1.4 runs ....

Hello Wolfgang,
the problem is that azureus 2.3.0.0.2 relies on Java 1.5, to connect to
the network (I figured that out on windows).

I heard from other ubuntu/debian users who can run azureus with Java
1.5.0_03-b07, at least the debian package maintainer of azureus, Shaun
Jackman. But it might be a problem with 1.5.0_03-b07 java on amd64
ubuntu/debian. I don't know, but that would be an argument to file a
bug directly at sun.com .

But this debugging looks for me like there is something missing in the
package which is build by java-package 0.24
(java.lang.ClassNotFoundException looks for me like that):

$ 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]

Therefor I will wait if the java maintainer at alioth could agree with
that assumption, and if the bug applies to bug#268214 #280707 or
similar in
http://bugs.debian.org/cgi-bin/pkgreport.cgi?pkg=java-package
or something else debian related.

Kind regards

gerhard

unread,
May 19, 2005, 3:10:08 PM5/19/05
to
Am Donnerstag 19 Mai 2005 01:23 schrieb Javier Kohen:
> Hallo Gerhard,
>
> these are the contents of my Azureus directory:
> jkohen@nada:~$ find azureus/ \! -type d -exec md5sum {} \;
>[...]
> I just checked for updates and there were none, so that's supposed to
> be recent. Note that I modified the azureus script manually.
>
> Mit freundlichen Grüßen,

Hi Javier,

thanx to point me to that. All that I can say is that azureus in debian
sid must be broken in some way. I downloaded the amd64 package from
azureus.sf.net, and got now a slightly different (md5, the most are the
same) files under /usr/local/azureus compared to yours.

But it works out of the box with my normal debian java-package build
sun-java installation! Yeah! Finally! :-).

There was a little error message about the updater plugin, but it
updated the updater plug-in flawlessy it self ?-) What a service!

So I assume, that there are some (maybe swt gtk java) classes in the
debian system, that either doesn't work with azureus or that are not in
the searchpath. Maybe the azureus script of the deb is broken.

I'm wondering if there are any amd64 user who are able to run the debian
packages with java from sun.com build by java-package?

Thank you very much. I don't know what this means regarding to the deb
package or my installation (mixed system), no clue, and very confusing,
but at least I have azureus working!

For me this is a happy ending, until someone wants to clear the reason
why with my (poor) aid.

Kind regards

Gerhard

Shaun Jackman

unread,
May 19, 2005, 4:40:14 PM5/19/05
to
On 5/19/05, gerhard <ggru...@web.de> wrote:
> But it works out of the box with my normal debian java-package build
> sun-java installation! Yeah! Finally! :-).

Congrats!

> So I assume, that there are some (maybe swt gtk java) classes in the
> debian system, that either doesn't work with azureus or that are not in
> the searchpath. Maybe the azureus script of the deb is broken.

It could be that libswt-gtk-3.1-jni is broken for AMD64. You could
help test this theory by running the utility swingwtdemo in the
package swingwt-demo. If it crashes too, that would pretty much
confirm it. Good guess!

Cheers,
Shaun

gerhard

unread,
May 19, 2005, 6:40:08 PM5/19/05
to

Hello Shaun,

keep in mind, that I'm more a designer than a programmer.

$ swingwtdemo
libgcj failure: Duplicate class registration:
java.awt.peer.ComponentPeer
Abgebrochen
But interesting too, is (Unfortunately , like in most cases, I post the
whole bunch, because I dont' know the important part):
$ LANG=en sudo apt-get install swingwt-demo libgcj5-common
Reading package lists... Done
Building dependency tree... Done
The following extra packages will be installed:
libgcj-common libgcj4 libgcj5 libswingwt0 libswt-gtk3 libswt-gtk3-jni
The following NEW packages will be installed:
libgcj-common libgcj4 libgcj5 libgcj5-common libswingwt0 libswt-gtk3
libswt-gtk3-jni swingwt-demo
>|^^^^^^^^^^^^ What's that? Wasn't that already installed?
0 upgraded, 8 newly installed, 0 to remove and 5 not upgraded.
Need to get 8002kB/10.9MB of archives.
After unpacking 44.7MB of additional disk space will be used.
Do you want to continue [Y/n]? y
WARNING: The following packages cannot be authenticated!
libgcj5 libgcj5-common libswt-gtk3-jni libswt-gtk3 libswingwt0
swingwt-demo
Install these packages without verification [y/N]? y
Media change: please insert the disc labeled
'Ubuntu 5.04 _Hoary Hedgehog_ - Release amd64 (20050407)'
in the drive '/cdrom/' and press enter

Get:1 http://archive.ubuntu.com hoary/universe libgcj5 3.4.3-9ubuntu4
[3916kB]
Get:2 http://archive.ubuntu.com hoary/universe libgcj5-common
3.4.3-9ubuntu4 [2018kB]
Get:3 http://archive.ubuntu.com hoary/universe libswt-gtk3-jni 3.0-6
[152kB]
Get:4 http://archive.ubuntu.com hoary/universe libswt-gtk3 3.0-6
[1092kB]
Get:5 http://archive.ubuntu.com hoary/universe libswingwt0 0.85.1-1
[773kB]
Get:6 http://archive.ubuntu.com hoary/universe swingwt-demo 0.85.1-1
[51.9kB]
Fetched 8002kB in 26m22s (5057B/s)
Reading package fields... Done
Reading package status... Done
Retrieving bug reports... Done
perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
LANGUAGE = "de_DE:de:en_GB:en",
LC_ALL = (unset),
LC_MESSAGES = "en_GB.UTF-8",
LANG = "en"
are supported and installed on your system.
perl: warning: Falling back to the standard locale ("C").
locale: Cannot set LC_CTYPE to default locale: No such file or directory
locale: Cannot set LC_ALL to default locale: Datei oder Verzeichnis
nicht gefunden

Preconfiguring packages ...
Selecting previously deselected package libgcj-common.
(Reading database ... 222975 files and directories currently installed.)
Unpacking libgcj-common
(from .../libgcj-common_4.0-0pre6ubuntu7_all.deb) ...
Selecting previously deselected package libgcj4.
Unpacking libgcj4 (from .../libgcj4_3.3.5-8ubuntu2_amd64.deb) ...
Selecting previously deselected package libgcj5.
Unpacking libgcj5 (from .../libgcj5_3.4.3-9ubuntu4_amd64.deb) ...
Selecting previously deselected package libgcj5-common.
Unpacking libgcj5-common
(from .../libgcj5-common_3.4.3-9ubuntu4_all.deb) ...
Selecting previously deselected package libswt-gtk3-jni.
Unpacking libswt-gtk3-jni (from .../libswt-gtk3-jni_3.0-6_amd64.deb) ...
Selecting previously deselected package libswt-gtk3.
Unpacking libswt-gtk3 (from .../libswt-gtk3_3.0-6_amd64.deb) ...
Selecting previously deselected package libswingwt0.
Unpacking libswingwt0 (from .../libswingwt0_0.85.1-1_amd64.deb) ...
Selecting previously deselected package swingwt-demo.
Unpacking swingwt-demo (from .../swingwt-demo_0.85.1-1_amd64.deb) ...
Setting up libgcj-common (4.0-0pre6ubuntu7) ...
Setting up libgcj4 (3.3.5-8ubuntu2) ...
perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
LANGUAGE = "de_DE:de:en_GB:en",
LC_ALL = (unset),
LC_MESSAGES = "en_GB.UTF-8",
LANG = "en"
are supported and installed on your system.
perl: warning: Falling back to the standard locale ("C").
perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
LANGUAGE = "de_DE:de:en_GB:en",
LC_ALL = (unset),
LC_MESSAGES = "en_GB.UTF-8",
LANG = "en"
are supported and installed on your system.
perl: warning: Falling back to the standard locale ("C").

Setting up libgcj5 (3.4.3-9ubuntu4) ...

Setting up libgcj5-common (3.4.3-9ubuntu4) ...
Setting up libswt-gtk3-jni (3.0-6) ...
Setting up libswt-gtk3 (3.0-6) ...

Setting up libswingwt0 (0.85.1-1) ...

Setting up swingwt-demo (0.85.1-1) ...

Just an idea, because of the swt-gtk packages installed:
I tried to start azureus (not from within the /usr/local/Azureus, which
is not in the searchpath):
Wow, it start's ?'+)&%$ What's that????????
$ which azureus
/usr/bin/azureus

There *is* something wrong in the dependencies of the azureus package,
at least I think so!!!!
Because I *never* *forced* an apt-get!!!!!!!!!!!!!
Sorry about the rediculous exclamation marks, but this is ....
I'm confused...

$ cat /usr/bin/azureus
#!/bin/sh
. /usr/share/java-config/libswt-3.1-java
if [ ! -d ~/.Azureus ]; then mkdir ~/.Azureus; fi
cd ~/.Azureus
exec java -Djava.library.path=/usr/local/jdk1.5.0_03/lib:/usr/lib \
-classpath $JARS:/usr/share/java/Azureus2.jar \
org.gudy.azureus2.ui.swt.Main "$@"

Shaun Jackman

unread,
May 19, 2005, 7:40:14 PM5/19/05
to
On 5/19/05, gerhard <ggru...@web.de> wrote:
> Hello Shaun,
>
> keep in mind, that I'm more a designer than a programmer.
>
> $ swingwtdemo
> libgcj failure: Duplicate class registration:
> java.awt.peer.ComponentPeer
> Abgebrochen
> But interesting too, is (Unfortunately , like in most cases, I post the
> whole bunch, because I dont' know the important part):

Grumble. I know I've seen this error message before. For me the
problem was the swingwtdemo binary depended on both libgcj.so.4 and
libgcj.so.5, which won't work. It should only depend on libgcj.so.4
Try...
$ ldd /usr/bin/swingwtdemo
$ ldd /usr/lib/libswt.so.3
$ ldd /usr/lib/libswt.so.4
# apt-get remove libgcj5
$ swingwtdemo

Try installing swingwtdemo from sid instead of hoary. Version 0.86.1-1
uses SWT 3.1, the same version as Azureus. swingwt-demo 0.85.1-1 uses
SWT 3.0.

> $ LANG=en sudo apt-get install swingwt-demo libgcj5-common
> Reading package lists... Done
> Building dependency tree... Done
> The following extra packages will be installed:
> libgcj-common libgcj4 libgcj5 libswingwt0 libswt-gtk3 libswt-gtk3-jni
> The following NEW packages will be installed:
> libgcj-common libgcj4 libgcj5 libgcj5-common libswingwt0 libswt-gtk3
> libswt-gtk3-jni swingwt-demo
> >|^^^^^^^^^^^^ What's that? Wasn't that already installed?

No. It was probably libswt-gtk-3.1-jni that was installed before.
libswt-gtk3-jni is an older version of the same library.

> Just an idea, because of the swt-gtk packages installed:
> I tried to start azureus (not from within the /usr/local/Azureus, which
> is not in the searchpath):
> Wow, it start's ?'+)&%$ What's that????????
> $ which azureus
> /usr/bin/azureus
>
> There *is* something wrong in the dependencies of the azureus package,
> at least I think so!!!!
> Because I *never* *forced* an apt-get!!!!!!!!!!!!!
> Sorry about the rediculous exclamation marks, but this is ....
> I'm confused...

Sorry, I'm not sure what's changed and why it suddenly started working
for you. If you think it's related to those packages you just
installed, you could try removing them one by one and see if any of
them cause azureus to stop working.

> $ cat /usr/bin/azureus
> #!/bin/sh
> . /usr/share/java-config/libswt-3.1-java
> if [ ! -d ~/.Azureus ]; then mkdir ~/.Azureus; fi
> cd ~/.Azureus
> exec java -Djava.library.path=/usr/local/jdk1.5.0_03/lib:/usr/lib \
> -classpath $JARS:/usr/share/java/Azureus2.jar \
> org.gudy.azureus2.ui.swt.Main "$@"

Regarding /usr/local/jdk1.5.0_03/lib, are you using the Debian
java-package Java package or one that's been installed by hand?

Cheers,
Shaun

gerhard

unread,
May 20, 2005, 3:10:10 AM5/20/05
to
Am Freitag 20 Mai 2005 01:24 schrieb Shaun Jackman:
> On 5/19/05, gerhard <ggru...@web.de> wrote:
> > Hello Shaun,
> >
> > keep in mind, that I'm more a designer than a programmer.
> >
> > $ swingwtdemo
> > libgcj failure: Duplicate class registration:
> > java.awt.peer.ComponentPeer
> > Abgebrochen
> > But interesting too, is (Unfortunately , like in most cases, I post
> > the whole bunch, because I dont' know the important part):
>
> Grumble. I know I've seen this error message before. For me the
> problem was the swingwtdemo binary depended on both libgcj.so.4 and
> libgcj.so.5, which won't work. It should only depend on libgcj.so.4
> Try...
> $ ldd /usr/bin/swingwtdemo
> $ ldd /usr/lib/libswt.so.3
> $ ldd /usr/lib/libswt.so.4
> # apt-get remove libgcj5
> $ swingwtdemo
$ ldd /usr/bin/swingwtdemo
libswingwt.so.0 => /usr/lib/libswingwt.so.0 (0x00002aaaaabc2000)
libswt.so.3 => /usr/lib/libswt.so.3 (0x00002aaaab074000)
libswt-pi.so.3 => /usr/lib/libswt-pi.so.3 (0x00002aaaab502000)
libgcc_s.so.1 => /lib/libgcc_s.so.1 (0x00002aaaab6b4000)
libgcj.so.5 => /usr/lib/libgcj.so.5 (0x00002aaaab7c1000)
libm.so.6 => /lib/libm.so.6 (0x00002aaaac868000)
libpthread.so.0 => /lib/libpthread.so.0 (0x00002aaaac9ed000)
libz.so.1 => /usr/lib/libz.so.1 (0x00002aaaacb02000)
libdl.so.2 => /lib/libdl.so.2 (0x00002aaaacc17000)
libc.so.6 => /lib/libc.so.6 (0x00002aaaacd1a000)
libgcj.so.4 => /usr/lib/libgcj.so.4 (0x00002aaaacf52000)
/lib64/ld-linux-x86-64.so.2 (0x00002aaaaaaab000)
$ ldd /usr/lib/libswt.so.3
libgcc_s.so.1 => /lib/libgcc_s.so.1 (0x00002aaaaaf55000)
libgcj.so.4 => /usr/lib/libgcj.so.4 (0x00002aaaab063000)
libm.so.6 => /lib/libm.so.6 (0x00002aaaabcc8000)
libpthread.so.0 => /lib/libpthread.so.0 (0x00002aaaabe4d000)
libz.so.1 => /usr/lib/libz.so.1 (0x00002aaaabf63000)
libdl.so.2 => /lib/libdl.so.2 (0x00002aaaac077000)
libc.so.6 => /lib/libc.so.6 (0x00002aaaac17a000)
/lib/ld-linux-x86-64.so.2 (0x0000555555555000)
$ ldd /usr/lib/libswt.so.4
ldd: /usr/lib/libswt.so.4: Datei oder Verzeichnis nicht gefunden
(file not found)
apt-get remove libgcj5
$ LANG=en sudo apt-get remove libgcj5

Reading package lists... Done
Building dependency tree... Done
The following packages will be REMOVED:
libgcj5 libgcj5-common libswingwt0 swingwt-demo
0 upgraded, 0 newly installed, 4 to remove and 0 not upgraded.
Need to get 0B of archives.
After unpacking 27.3MB disk space will be freed.
Do you want to continue [Y/n]? n
Abort.

Should I do that?
and with the new Install of swing-demo of sid the libs would be
reinstalled?

> Try installing swingwtdemo from sid instead of hoary. Version
> 0.86.1-1 uses SWT 3.1, the same version as Azureus. swingwt-demo
> 0.85.1-1 uses SWT 3.0.

I will try that this afternoon.

> > There *is* something wrong in the dependencies of the azureus
> > package, at least I think so!!!!
> > Because I *never* *forced* an apt-get!!!!!!!!!!!!!
> > Sorry about the rediculous exclamation marks, but this is ....
> > I'm confused...
>
> Sorry, I'm not sure what's changed and why it suddenly started
> working for you. If you think it's related to those packages you just
> installed, you could try removing them one by one and see if any of
> them cause azureus to stop working.
>
> > $ cat /usr/bin/azureus
> > #!/bin/sh
> > . /usr/share/java-config/libswt-3.1-java
> > if [ ! -d ~/.Azureus ]; then mkdir ~/.Azureus; fi
> > cd ~/.Azureus
> > exec java -Djava.library.path=/usr/local/jdk1.5.0_03/lib:/usr/lib \
> > -classpath $JARS:/usr/share/java/Azureus2.jar \
> > org.gudy.azureus2.ui.swt.Main "$@"
>
> Regarding /usr/local/jdk1.5.0_03/lib, are you using the Debian
> java-package Java package or one that's been installed by hand?

yes, I will remove/replace it for further tests!

> Shaun

Hello shaun sorry for the confusion!
read this:
gerhard wrote:
|> There is something wrong in the dependencies of the azureus package,


|> at least I think so!!!!

|> Because I never forced an apt-get!!!!!!!!!!!!!


|> Sorry about the rediculous exclamation marks, but this is ....
|> I'm confused...


I am confused. But anyway: the last error I reported isn't one. I wait
for an hour to respond on it directly,but but it didn't came up in my
newsreader.
Unfortunately I got the same error with the new packages I installed and
the "debian" azureus. It was already loaded, that's why it showed up by
typing azureus in a shell, sorry for the confusion. So keep the
swingdemo error:


$ swingwtdemo
libgcj failure: Duplicate class registration:
java.awt.peer.ComponentPeer
Abgebrochen

regards

gerhard

unread,
May 20, 2005, 4:10:16 PM5/20/05
to
Am Freitag 20 Mai 2005 01:24 schrieb Shaun Jackman:
> $ ldd /usr/bin/swingwtdemo
> $ ldd /usr/lib/libswt.so.3
> $ ldd /usr/lib/libswt.so.4
> # apt-get remove libgcj5
> $ swingwtdemo
>
> Try installing swingwtdemo from sid instead of hoary. Version
> 0.86.1-1 uses SWT 3.1, the same version as Azureus. swingwt-demo
> 0.85.1-1 uses SWT 3.0.

Hello Shaun
I thing it must be something with libswt in sid?

gerhard@ubuntu:~$ COLUMNS=100 LANG=en dpkg -l *swt*
Desired=Unknown/Install/Remove/Purge/Hold
|
Status=Not/Installed/Config-files/Unpacked/Failed-config/Half-installed
|/ Err?=(none)/Hold/Reinst-required/X=both-problems (Status,Err:
uppercase=bad)
||/ Name Version Description
+++-===================-===================-======================================================
ii libswt-gtk-3.1 3.0+3.1M4-3 Standard Widget Toolkit for
GTK native library


ii libswt-gtk-3.1-java 3.0+3.1M4-3 Standard Widget Toolkit for

GTK Java library
ii libswt-gtk-3.1-jni 3.0+3.1M4-3 Standard Widget Toolkit for
GTK JNI library
rc libswt-gtk3 3.0-6 Standard Widget Toolkit for
GTK native library
pn libswt-gtk3-jni <none> (no description available)
gerhard@ubuntu:~$ COLUMNS=100 LANG=en dpkg -l *libgcj5*
Desired=Unknown/Install/Remove/Purge/Hold
|
Status=Not/Installed/Config-files/Unpacked/Failed-config/Half-installed
|/ Err?=(none)/Hold/Reinst-required/X=both-problems (Status,Err:
uppercase=bad)
||/ Name Version Description
+++-===================-===================-======================================================
rc libgcj5 3.4.3-9ubuntu4 Java runtime library for use
with gcj
pn libgcj5-common <none> (no description available)

gerhard@ubuntu:~$ sudo apt-get remove libgcj5
Password:
Paketlisten werden gelesen... Fertig
Abhängigkeitsbaum wird aufgebaut... Fertig
Die folgenden Pakete werden ENTFERNT:
libgcj5 libgcj5-common
0 aktualisiert, 0 neu installiert, 2 zu entfernen und 6 nicht
aktualisiert.
Es müssen 0B Archive geholt werden.
Nach dem Auspacken werden 23,2MB Plattenplatz freigegeben worden sein.
Möchten Sie fortfahren [J/n]? y
(Lese Datenbank ... 223029 Dateien und Verzeichnisse sind derzeit
installiert.)
Entferne libgcj5-common ...
Entferne libgcj5 ...
gerhard@ubuntu:~$ swingwtdemo
This is SwingWT (http://swingwt.sourceforge.net)
Version: 0.86 (200105)
Copyright(c)2003-2005, R.Rawson-Tetley and other contributors.

This library is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
Lesser General Public Licence for more details.
Speicherzugriffsfehler (segmentation fault)

gerhard@ubuntu:~$ jdb swingdemo
Initializing jdb ...
> run
run swingdemo


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]

gerhard@ubuntu:~$ ldd /usr/bin/swingwtdemo
libswingwt.so.0 => /usr/lib/libswingwt.so.0 (0x00002aaaaabc2000)
libswt.so.4 => /usr/lib/libswt.so.4 (0x00002aaaab090000)
libswt-pi.so.4 => /usr/lib/libswt-pi.so.4 (0x00002aaaab558000)
libgcc_s.so.1 => /lib/libgcc_s.so.1 (0x00002aaaab77f000)
libgcj.so.4 => /usr/lib/libgcj.so.4 (0x00002aaaab88c000)
libm.so.6 => /lib/libm.so.6 (0x00002aaaac4f2000)
libpthread.so.0 => /lib/libpthread.so.0 (0x00002aaaac677000)
libz.so.1 => /usr/lib/libz.so.1 (0x00002aaaac78c000)
libdl.so.2 => /lib/libdl.so.2 (0x00002aaaac8a1000)
libc.so.6 => /lib/libc.so.6 (0x00002aaaac9a4000)
/lib64/ld-linux-x86-64.so.2 (0x00002aaaaaaab000)
gerhard@ubuntu:~$ ldd /usr/lib/libswt.so.3
ldd: /usr/lib/libswt.so.3: Datei oder Verzeichnis nicht gefunden (file
not found)
gerhard@ubuntu:~$ ldd /usr/lib/libswt.so.4
libgcc_s.so.1 => /lib/libgcc_s.so.1 (0x00002aaaaaf8f000)
libgcj.so.4 => /usr/lib/libgcj.so.4 (0x00002aaaab09d000)
libm.so.6 => /lib/libm.so.6 (0x00002aaaabd02000)
libpthread.so.0 => /lib/libpthread.so.0 (0x00002aaaabe87000)
libz.so.1 => /usr/lib/libz.so.1 (0x00002aaaabf9c000)
libdl.so.2 => /lib/libdl.so.2 (0x00002aaaac0b1000)
libc.so.6 => /lib/libc.so.6 (0x00002aaaac1b4000)
/lib/ld-linux-x86-64.so.2 (0x0000555555555000)

gerhard

unread,
May 20, 2005, 5:30:16 PM5/20/05
to
Am Freitag 20 Mai 2005 19:42 schrieb Kurt Roeckx:
> > $ ldd /usr/lib/libswt.so.3
> [...]
> > /lib/ld-linux-x86-64.so.2 (0x0000555555555000)
> this is not a binary from the debian pure64 archive. I'm
> guessing you use or used the gcc-3.4 or gcc 4.0 archive.

Hello Kurt,

I'm using libc6 from ubuntu/breezy amd64

Kind regards

0 new messages