Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 132704

Summary: Sun Java Crash in libapr
Product: Gentoo Linux Reporter: Kurt Guenther <kurtg>
Component: [OLD] DevelopmentAssignee: Java team <java>
Status: RESOLVED FIXED    
Severity: normal    
Priority: High    
Version: unspecified   
Hardware: x86   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Kurt Guenther 2006-05-08 12:22:16 UTC
I've gotten this error before running eclipse, but it was usually a
random thing.  Now, it's reproducible.  

> > #
> > # An unexpected error has been detected by HotSpot Virtual Machine:
> > #
> > #  SIGSEGV (0xb) at pc=0x98a5f94f, pid=21805, tid=442385
> > #
> > # Java VM: Java HotSpot(TM) Client VM (1.4.2_10-b03 mixed mode)
> > # Problematic frame:
> > # C  [libapr-0.so.0+0x1594f]  apr_threadkey_private_get+0x17
> > #
> > # An error report file with more information is saved as
> > hs_err_pid21805.log
> > #
> > # If you would like to submit a bug report, please visit:
> > #   http://java.sun.com/webapps/bugreport/crash.jsp
> > #

I have this version installed:

dev-libs/apr-0.9.12

nada in forums or bugs.

Portage 2.1_pre10-r4 (default-linux/x86/2005.0, gcc-3.3.6, glibc-2.3.6-r3, 2.6.16-gentoo-r3 i686)
=================================================================
System uname: 2.6.16-gentoo-r3 i686 Mobile Intel(R) Pentium(R) 4 - M CPU 2.50GHz
Gentoo Base System version 1.12.0_pre19
dev-lang/python:     2.3.5, 2.4.3
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     [Not Present]
dev-util/confcache:  [Not Present]
sys-apps/sandbox:    1.2.17
sys-devel/autoconf:  2.13, 2.59-r7
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2
sys-devel/binutils:  2.16.1-r2
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.11-r5
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-march=pentium4 -O3 -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.2/share/config /usr/kde/3.3/env /usr/kde/3.3/share/config /usr/kde/3.3/shutdown /usr/kde/3.4/env /usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/kde/3/share/config /usr/lib/mozilla/defaults/pref /usr/share/X11/xkb /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/eselect/compiler /etc/gconf /etc/revdep-rebuild /etc/terminfo /etc/texmf/web2c /etc/env.d"
CXXFLAGS="-march=pentium4 -O3 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks metadata-transfer sandbox sfperms strict"
GENTOO_MIRRORS="http://gentoo.chem.wisc.edu/gentoo"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude='/distfiles' --exclude='/local' --exclude='/packages'"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 X alsa apache2 apm arts avi berkdb bitmap-fonts cdr cli crypt cups dba dga doc dri dvd eds elibc_glibc emacs emboss encode foomaticdb fortran gd gdbm gif gnome gpm gstreamer gtk gtk2 hal howloss imlib ipv6 isdnlog ithreads java jpeg jpg libg++ libwww mad mikmod motif mozilla mp3 mpeg ncurses nls ogg oggvorbis opengl oss pam pcre pdflib perl png pppd python quicktime readline reflection scanner sdl session snmp spell spl ssl tcpd truetype truetype-fonts type1-fonts unicode usb vorbis xinerama xml2 xmms xorg xv zlib kernel_linux userland_GNU"
Unset:  ASFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, LINGUAS, MAKEOPTS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY
Comment 1 Kurt Guenther 2006-05-08 13:10:17 UTC
I reproduce the bug by importing a project. 

I tried emerging apr-0.9.7 without any change in behavior. 
Comment 2 Kurt Guenther 2006-05-09 12:24:30 UTC
Mystery solved.  The project that I was importing used subversion, so this triggered my subclipse plugin.  As subclipse was pre-1.0, this caused a conflict with subversion 1.3.1 resulting in the crash.