Bug#322897: azureus: Unusable because of constant segmentation faults
package azureus severity 322897 normal tag 322897 +moreinfo thanks I have reduced the severity of this bug because it does not seem to affect any other users. Can you try a different JVM and see if your problem persists? I'm using sun-j2sdk1.5. You could try sun-j2re1.5. Cheers, Shaun 2005/8/13, Max <[EMAIL PROTECTED]>: > Package: azureus > Version: 2.3.0.4-1 > Severity: grave > Justification: renders package unusable > > Azuzeus crashes immediately after start, no GUI window appears or whatever. > > $ azureus > > Segmentation fault > $ > > The last thing I see in strace log is > > 04:39:05 open("/usr/lib/libexpat.so.1", O_RDONLY) = 19 > 04:39:05 read(19, > "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\300>\0\0"..., 640) = 640 > 04:39:05 fstat(19, {st_mode=S_IFREG|0644, st_size=143232, ...}) = 0 > 04:39:05 mmap(NULL, 1190168, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, > 19, 0) = 0x2aaafa6ae000 > 04:39:05 mprotect(0x2aaafa6cc000, 1067288, PROT_NONE) = 0 > 04:39:05 mmap(0x2aaafa7cc000, 20480, PROT_READ|PROT_WRITE, > MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 19, 0x1e000) = 0x2aaafa7cc000 > 04:39:05 close(19) = 0 > 04:39:05 munmap(0x2aaaf876d000, 76009) = 0 > 04:39:05 --- SIGSEGV (Segmentation fault) @ 0 (0) --- > 04:39:05 rt_sigaction(SIGSEGV, {0x2b440ff0, ~[RTMIN RT_1], > SA_RESTORER|SA_RESTART|SA_SIGINFO, 0x2abcf770}, {0x2b43f560, ~[KILL > STOP RTMIN RT_1], SA_RESTORER|SA_STACK|SA_RESTART|SA_SIGINFO, > 0x2abcf770}, 8) = 0 > 04:39:05 write(1, "\n", 1) = 1 > 04:39:05 --- SIGSEGV (Segmentation fault) @ 0 (0) --- > 04:39:05 +++ killed by SIGSEGV +++ > > -- System Information: > Debian Release: testing/unstable > APT prefers unstable > APT policy: (500, 'unstable') > Architecture: amd64 (x86_64) > Shell: /bin/sh linked to /bin/bash > Kernel: Linux 2.6.12.2.64 > Locale: LANG=ru_RU.KOI8-R, LC_CTYPE=ru_RU.KOI8-R (charmap=KOI8-R) > > Versions of packages azureus depends on: > ii j2re1.4 [java2-runtime] 1.4.2.02-1 Blackdown Java(TM) 2 Runtime > Envir > ii libcommons-cli-java 1.0-6 API for working with the command > l > ii liblog4j1.2-java 1.2.9-1 Logging library for java > ii libseda-java 3.0-2 the Staged Event-Driven > Architectu > ii libswt-gtk-3.1-java 3.0+3.1M4-3 Standard Widget Toolkit for GTK > Ja > pn sun-j2sdk1.5 | java-virtual- (no description available) > > azureus recommends no packages. > > -- debconf-show failed > >
Processed: Re: Bug#322897: azureus: Unusable because of constant segmentation faults
Processing commands for [EMAIL PROTECTED]: > package azureus Ignoring bugs not assigned to: azureus > severity 322897 normal Bug#322897: azureus: Unusable because of constant segmentation faults Severity set to `normal'. > tag 322897 +moreinfo Bug#322897: azureus: Unusable because of constant segmentation faults There were no tags set. Tags added: moreinfo > thanks Stopping processing here. Please contact me if you need assistance. Debian bug tracking system administrator (administrator, Debian Bugs database) -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Bug#322897: azureus: Unusable because of constant segmentation faults
Justin Pryzby wrote: A shellscript is segfaulting? Or a command it calls is segfaulting? If so, which? Add "set -x;" as the second line of the script. Segfaulting is the following command that is run from the script exec java -Djava.library.path=/usr/lib \ -classpath $JARS:Azureus2.jar:/usr/share/java/Azureus2.jar \ org.gudy.azureus2.ui.swt.Main "$@" There is a number of problems with that. I've filed a separate bug 323342 about not being able to compile from sources. Max -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Bug#322897: azureus: Unusable because of constant segmentation faults
On Mon, Aug 15, 2005 at 08:51:56PM -0700, Max Alekseyev wrote: > Justin Pryzby wrote: > > >Can you provide a GDB backtrace as well? > > > > $ gdb $(which azureus) > >> r > >... > >bt > > $ file $(which azureus) > /usr/bin/azureus: Bourne shell script text executable Oh. I don't know anything about this package, I was just trying to ask for information that others would find useful .. oops. > How can I run shell script under gdb ? Probably you cannot. A shellscript is segfaulting? Or a command it calls is segfaulting? If so, which? Add "set -x;" as the second line of the script. > >It would be ideal if you could locally compile the package with > >debugging symbols for use with GDB: > > > > $ DEB_BUILD_OPTIONS=nostrip apt-get -b source azureus > > There is a number of problems with that. I was still assuming that it was a "regular" program; (written in C). > First of all, I got > > javac -source 1.4 -target 1.4.2 -encoding ISO-8859-1 -nowarn -classpath > /usr/share/java/commons-cli-1.0.jar:/usr/share/java/log4j-1.2.jar:/usr/share/java/seda.jar:/usr/share/java/swt-gtk-3.1.jar > `find . -name *.java` > The system is out of resources. > Consult the following stack trace for details. > java.lang.OutOfMemoryError It may be a bug that you cannot compile from source.. but it probably depends on what compiler and runtime you used vs. the one the maintainer usesd. > This one I do not know how to handle. Please advise. :/ No clue. Except for set -x, above. Justin -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Bug#322897: azureus: Unusable because of constant segmentation faults
Justin Pryzby wrote: Can you provide a GDB backtrace as well? $ gdb $(which azureus) > r ... bt $ file $(which azureus) /usr/bin/azureus: Bourne shell script text executable How can I run shell script under gdb ? It would be ideal if you could locally compile the package with debugging symbols for use with GDB: $ DEB_BUILD_OPTIONS=nostrip apt-get -b source azureus There is a number of problems with that. First of all, I got javac -source 1.4 -target 1.4.2 -encoding ISO-8859-1 -nowarn -classpath /usr/share/java/commons-cli-1.0.jar:/usr/share/java/log4j-1.2.jar:/usr/share/java/seda.jar:/usr/share/java/swt-gtk-3.1.jar `find . -name *.java` The system is out of resources. Consult the following stack trace for details. java.lang.OutOfMemoryError and that was funny since I have 4GB of physical memory plus 2GB of swap. I've managed to overcome this problem by manual adding option "-J-Xmx1024m" to javac commandline in Makefile and then running DEB_BUILD_OPTIONS=nostrip debuild But it immediately gave another error: javac -J-Xmx1024m -source 1.4 -target 1.4.2 -encoding ISO-8859-1 -nowarn -classpath /usr/share/java/commons-cli-1.0.jar:/usr/share/java/log4j-1.2.jar:/usr/share/java/seda.jar:/usr/share/java/swt-gtk-3.1.jar `find . -name *.java` ./org/gudy/azureus2/ui/web2/http/parser/HttpBodyDone.java:30: cannot access seda.sandStorm.lib.aSocket.ATcpConnection bad class file: /usr/share/java/seda.jar(seda/sandStorm/lib/aSocket/ATcpConnection.class) class file has wrong version 49.0, should be 48.0 Please remove or make sure it appears in the correct subdirectory of the classpath. import seda.sandStorm.lib.aSocket.ATcpConnection; ^ 1 error This one I do not know how to handle. Please advise. Thanks, Max -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Bug#322897: azureus: Unusable because of constant segmentation faults
On Sat, Aug 13, 2005 at 04:47:59AM -0700, Max wrote: > Package: azureus > Version: 2.3.0.4-1 > Severity: grave > Justification: renders package unusable > > Azuzeus crashes immediately after start, no GUI window appears or whatever. > > $ azureus > > Segmentation fault > $ > > The last thing I see in strace log is Can you provide a GDB backtrace as well? $ gdb $(which azureus) > r ... bt It would be ideal if you could locally compile the package with debugging symbols for use with GDB: $ DEB_BUILD_OPTIONS=nostrip apt-get -b source azureus Greetings, Justin -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Bug#322897: azureus: Unusable because of constant segmentation faults
Package: azureus Version: 2.3.0.4-1 Severity: grave Justification: renders package unusable Azuzeus crashes immediately after start, no GUI window appears or whatever. $ azureus Segmentation fault $ The last thing I see in strace log is 04:39:05 open("/usr/lib/libexpat.so.1", O_RDONLY) = 19 04:39:05 read(19, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\300>\0\0"..., 640) = 640 04:39:05 fstat(19, {st_mode=S_IFREG|0644, st_size=143232, ...}) = 0 04:39:05 mmap(NULL, 1190168, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 19, 0) = 0x2aaafa6ae000 04:39:05 mprotect(0x2aaafa6cc000, 1067288, PROT_NONE) = 0 04:39:05 mmap(0x2aaafa7cc000, 20480, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 19, 0x1e000) = 0x2aaafa7cc000 04:39:05 close(19) = 0 04:39:05 munmap(0x2aaaf876d000, 76009) = 0 04:39:05 --- SIGSEGV (Segmentation fault) @ 0 (0) --- 04:39:05 rt_sigaction(SIGSEGV, {0x2b440ff0, ~[RTMIN RT_1], SA_RESTORER|SA_RESTART|SA_SIGINFO, 0x2abcf770}, {0x2b43f560, ~[KILL STOP RTMIN RT_1], SA_RESTORER|SA_STACK|SA_RESTART|SA_SIGINFO, 0x2abcf770}, 8) = 0 04:39:05 write(1, "\n", 1) = 1 04:39:05 --- SIGSEGV (Segmentation fault) @ 0 (0) --- 04:39:05 +++ killed by SIGSEGV +++ -- System Information: Debian Release: testing/unstable APT prefers unstable APT policy: (500, 'unstable') Architecture: amd64 (x86_64) Shell: /bin/sh linked to /bin/bash Kernel: Linux 2.6.12.2.64 Locale: LANG=ru_RU.KOI8-R, LC_CTYPE=ru_RU.KOI8-R (charmap=KOI8-R) Versions of packages azureus depends on: ii j2re1.4 [java2-runtime] 1.4.2.02-1 Blackdown Java(TM) 2 Runtime Envir ii libcommons-cli-java 1.0-6 API for working with the command l ii liblog4j1.2-java 1.2.9-1 Logging library for java ii libseda-java 3.0-2 the Staged Event-Driven Architectu ii libswt-gtk-3.1-java 3.0+3.1M4-3 Standard Widget Toolkit for GTK Ja pn sun-j2sdk1.5 | java-virtual- (no description available) azureus recommends no packages. -- debconf-show failed -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]