Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 61491 - segmentation fault in azureus 2.1.0.4 with jdk
Summary: segmentation fault in azureus 2.1.0.4 with jdk
Status: RESOLVED NEEDINFO
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: High critical
Assignee: Java team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-08-24 04:17 UTC by Zac Witte
Modified: 2004-12-18 12:59 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Zac Witte 2004-08-24 04:17:36 UTC
I've tried both blackdown jdk and sun jdk1.5.0 beta, both using ebuilds.

I get the following message:

zac@moebius ~ $ azureus
Attempting to start Azureus...
changeLocale: no message properties for Locale 'English (United States)' (en_US), using 'English (default)'
#
# An unexpected error has been detected by HotSpot Virtual Machine:
#
#  SIGBUS (0x7) at pc=0x0000002aeab2e365, pid=20797, tid=16384
#
# Java VM: Java HotSpot(TM) 64-Bit Server VM (1.5.0-beta2-b51 mixed mode)
# Problematic frame:
# C  [pango-hangul-fc.so+0x1365]
#
# An error report file with more information is saved as /tmp/hs_err_pid20797.log
/usr/bin/azureus: line 54: 20797 Segmentation fault      java -cp $CLASSPATH -Djava.library.path="${AZDIR}" org.gudy.azureus2.ui.swt.Main "$1"
If you recieved an error about a missing java class, you need to setup
your classpath correctly.
This should do the trick (as root):
java-config --add-system-classpath=junit,log4j,commons-cli,systray4j
env-update && source /etc/profile

Currently, your classpath (including azureus additions) is:
swt.jar:swt-pi.jar:swt-mozilla.jar:seda.jar:Azureus2.jar:.


Reproducible: Always
Steps to Reproduce:
1.
2.
3.




/tmp/hs_err_pid20797.log:
#
# An unexpected error has been detected by HotSpot Virtual Machine:
#
#  SIGBUS (0x7) at pc=0x0000002aeab2e365, pid=20797, tid=16384
#
# Java VM: Java HotSpot(TM) 64-Bit Server VM (1.5.0-beta2-b51 mixed mode)
# Problematic frame:
# C  [pango-hangul-fc.so+0x1365]
#

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

Current thread (0x0000000040115760):  JavaThread "main" [_thread_in_native,
id=20797]

siginfo:si_signo=7, si_errno=0, si_code=2, si_addr=0x0000002aeac28e60

Registers:
RAX=0xffffffffffffcd60, RBX=0x000000000000ae00, RCX=0x0000002aeac2f3a0,
RDX=0x0000002aeac2f3a0
RSP=0x0000007fbfffbe20, RBP=0x0000000000000000, RSI=0xffffffffffffef20,
RDI=0x0000000000000000
R8 =0x00000000407a2608, R9 =0x0000000000000000, R10=0x0000000000000096,
R11=0x0000000000000002
R12=0x0000007fbfffbebc, R13=0x0000000000000000, R14=0x0000000000000000,
R15=0x0000007fbfffbecc
RIP=0x0000002aeab2e365, EFL=0x0000000000010283, CSGSFS=0x0000000000008e00,
ERR=0x0000000000000004
  TRAPNO=0x000000000000000e

Top of Stack: (sp=0x0000007fbfffbe20)
0x0000007fbfffbe20:   00000000ffffef20 0000000300000001
0x0000007fbfffbe30:   000000004140ada0 00000001e816b7c6
0x0000007fbfffbe40:   00000000406fb1b0 0000000000000020
0x0000007fbfffbe50:   000000004139d86b 0000000000000004
0x0000007fbfffbe60:   0000007fbfffbec0 00000000413c9810
0x0000007fbfffbe70:   0000000000000003 0000002aeab2e758
0x0000007fbfffbe80:   000000004139d864 00000008e8e0151c
0x0000007fbfffbe90:   000000004139d867 00000003413eab50
0x0000007fbfffbea0:   000000004140ada0 000000004139d864
0x0000007fbfffbeb0:   00000000406fb1b0 000000024139d820
0x0000007fbfffbec0:   0000117300001100 00000020000011af
0x0000007fbfffbed0:   000000004140a670 0000000000000010
0x0000007fbfffbee0:   0000007fbfffc0e0 00000000413c41f0
0x0000007fbfffbef0:   00000000406fb1b0 00000000406fb1b0
0x0000007fbfffbf00:   000000004140ada0 00000000413c9810
0x0000007fbfffbf10:   000000004139d864 0000002ae6fac407
0x0000007fbfffbf20:   0000000000000003 0000002a95671c30
0x0000007fbfffbf30:   0000000700000003 000000004140ada0
0x0000007fbfffbf40:   00000000ffffffff 0000007fbfffbfe0
0x0000007fbfffbf50:   0000000000000000 0000000000000001
0x0000007fbfffbf60:   0000000000000003 0000002ae6fb7896
0x0000007fbfffbf70:   0000007fbfffc0e0 0000007fbfffbfd0
0x0000007fbfffbf80:   0000007fbfffc0e0 0000002ae6fb0e2b
0x0000007fbfffbf90:   00000000413a9b20 0000002a95b18a00
0x0000007fbfffbfa0:   00000000413ab0f0 00000000413c9800
0x0000007fbfffbfb0:   000000004139d89a 00000000413ab0f0
0x0000007fbfffbfc0:   000000004139d7a0 0000000095671c30
0x0000007fbfffbfd0:   0000000000000001 0000002a9596968a
0x0000007fbfffbfe0:   0000000000000000 0000000000000028
0x0000007fbfffbff0:   000000004139d820 0000007fbfffc0e0
0x0000007fbfffc000:   00000000413ab0f0 000000004139d7a0
0x0000007fbfffc010:   00000000413c9800 0000000000000001 

Instructions: (pc=0x0000002aeab2e365)
0x0000002aeab2e355:   89 c6 48 8d 04 40 48 8d 15 3e 10 10 00 48 89 d1
0x0000002aeab2e365:   66 83 3c 42 00 0f 84 9c 00 00 00 49 63 c5 48 8d 

Stack: [0x0000007fbfe00000,0x0000007fc0000000),  sp=0x0000007fbfffbe20,  free
space=2031k
Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)
C  [pango-hangul-fc.so+0x1365]

root@moebius /home/zac # emerge info
Portage 2.0.50-r10 (default-amd64-2004.2, gcc-3.3.4, glibc-2.3.3_pre20040529-r0,
2.6.7-gentoo-r12)
=================================================================
System uname: 2.6.7-gentoo-r12 x86_64 4
Gentoo Base System version 1.4.10
Autoconf: sys-devel/autoconf-2.59-r4
Automake: sys-devel/automake-1.8.3
ACCEPT_KEYWORDS="amd64 ~amd64"
AUTOCLEAN="yes"
CFLAGS="-O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
COMPILER="gcc3"
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config
/usr/kde/3.2/share/config /usr/kde/3/share/config /usr/lib/mozilla/defaults/pref
/usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs ccache"
GENTOO_MIRRORS="http://gentoo.osuosl.org
http://distro.ibiblio.org/pub/Linux/distributions/gentoo"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X alsa amd64 apm arts avi berkdb bonobo cdr crypt dvd encode esd foomaticdb
gdbm gif gnome gpm gtk gtk2 gtkhtml guile imlib java jpeg kde ldap libg++ libwww
mikmod motif mozilla mpeg multilib mysql ncurses nls nogcj oggvorbis opengl oss
pam pdflib perl php png python qt quicktime readline samba scanner sdl slang
spell ssl tcltk tcpd truetype xml2 xmms xv zlib"
Comment 1 Jason Toffaletti 2004-08-30 00:30:13 UTC
I have the same problem:

/usr/bin/azureus: line 54: 10208 Real-time signal 26     java -cp $CLASSPATH -Djava.library.path="${AZDIR}" org.gudy.azureus2.ui.swt.Main "$1"
If you recieved an error about a missing java class, you need to setup
your classpath correctly.
This should do the trick (as root):
java-config --add-system-classpath=junit,log4j,commons-cli,systray4j
env-update && source /etc/profile

Currently, your classpath (including azureus additions) is:
swt.jar:swt-pi.jar:swt-mozilla.jar:seda.jar:Azureus2.jar:.
Comment 2 Zac Witte 2004-08-30 00:36:49 UTC
It looks like a forgot to point out that when I do what it says with java-config I get the following error:

root@moebius /home/zac # java-config --add-system-classpath=junit,log4j,commons-cli,systray4j
Error reading classpath file [Errno 2] No such file or directory: '/etc/env.d/21java-classpath'
Comment 3 Karl Trygve Kalleberg (RETIRED) gentoo-dev 2004-09-02 05:53:45 UTC
Can this be a duplicate of #53244?
Comment 4 Zac Witte 2004-09-08 18:50:58 UTC
it says that bug #53244 is an invalid bug number
Comment 5 Martin Holzer (RETIRED) gentoo-dev 2004-11-03 15:19:37 UTC
could you try 2.2.0.0 ?
Comment 6 Zac Witte 2004-11-04 01:41:41 UTC
Actually, I stopped having this problem after I upgraded to sun java 1.5. But now I'm getting a new problem where azureus crashes (as in just dissappears) after it completes a download. I'll post a new bug report about this when I get a chance.

Thanks.
Comment 7 Karl Trygve Kalleberg (RETIRED) gentoo-dev 2004-12-18 12:59:54 UTC
It is highly recommended that you do not change the system classpath.

Please upgrade pango and gtk+, upgrade azureus and reopen the bug if it persists.