Summary: | dev-java/sun-jre-bin (?): Sun Java VM crashes with sys-libs/glibc-2.10.1 | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Matt Whitlock <gentoo> |
Component: | [OLD] Core system | Assignee: | Java team <java> |
Status: | RESOLVED FIXED | ||
Severity: | major | CC: | arttuv69 |
Priority: | High | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | |||
Bug Blocks: | 270353 |
Description
Matt Whitlock
2009-07-08 21:48:04 UTC
A friend told me how to get the file name and line number from the offset, so here it is: $ addr2line -e /usr/lib/debug/lib64/libc-2.10.1.so.debug 0x74170 /var/tmp/portage/sys-libs/glibc-2.10.1/work/glibc-2.10.1/malloc/hooks.c:160 Here's my emerge --info if it helps: Portage 2.2_rc33 (default/linux/amd64/2008.0/no-multilib, gcc-4.3.3, glibc-2.10.1-r0, 2.6.29-gentoo-r5 x86_64) ================================================================= System uname: Linux-2.6.29-gentoo-r5-x86_64-Intel-R-_Core-TM-2_Quad_CPU_Q6600_@_2.40GHz-with-gentoo-2.0.1 Timestamp of tree: Fri, 10 Jul 2009 10:00:19 +0000 app-shells/bash: 4.0_p24 dev-java/java-config: 2.1.8-r1 dev-lang/python: 2.6.2-r1 dev-util/cmake: 2.6.4 sys-apps/baselayout: 2.0.1 sys-apps/openrc: 0.4.3-r3 sys-apps/sandbox: 2.0 sys-devel/autoconf: 2.13, 2.63-r1 sys-devel/automake: 1.7.9-r1, 1.9.6-r2, 1.10.2, 1.11 sys-devel/binutils: 2.19.1-r1 sys-devel/gcc-config: 1.4.1 sys-devel/libtool: 2.2.6a virtual/os-headers: 2.6.30 ACCEPT_KEYWORDS="amd64 ~amd64" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-march=native -O3 -ggdb -pipe" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/share/config" CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dbus-1 /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/init.d /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/udev/rules.d" CXXFLAGS="-march=native -O3 -ggdb -pipe" DISTDIR="/usr/local/portage/distfiles" FEATURES="distlocks fixpackages parallel-fetch preserve-libs protect-owned sandbox sfperms splitdebug strict unmerge-orphans userfetch" GENTOO_MIRRORS="http://gentoo.chem.wisc.edu/gentoo http://open-systems.ufl.edu/mirrors/gentoo" LANG="en_US.UTF-8" LDFLAGS="-Wl,-O1" LINGUAS="en_US en" MAKEOPTS="-j5" PKGDIR="/usr/local/portage/packages" PORTAGE_CONFIGROOT="/" PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage/layman/java-overlay /usr/local/portage/layman/lcd-filtering /usr/local/portage/layman/sunrise /usr/local/portage/layman/kde-testing /usr/local/portage/overlay" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="X a52 aac acpi alsa amd64 berkdb bzip2 cairo cdparanoia cli cracklib crypt cups curl dbus dri dvd dvdr dvdread encode fam ffmpeg flac gdbm geoip gif gstreamer gtk hal iconv isdnlog java java5 java6 jpeg kde lame lirc mad matroska midi mjpeg mmx mmxext mng mp3 mpeg mudflap mysql ncurses nptl nptlonly nsplugin ogg opengl openmp pcre pdf perl phonon php png ppds pppd python qt4 quicktime rdesktop readline reflection sdl session spell spl sse sse2 ssl ssse3 startup-notification subversion svg sysfs theora threads tiff truetype unicode usb vdpau vnc vorbis webkit x264 xcb xcomposite xml xorg xv xvid yahoo zlib" ALSA_CARDS="hda-intel" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" ELIBC="glibc" INPUT_DEVICES="evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en_US en" LIRC_DEVICES="mceusb2" USERLAND="GNU" VIDEO_CARDS="nvidia" Unset: CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LC_ALL, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS Actually I'm using the JVM from dev-java/sun-jdk, but I would expect this problem to afflict dev-java/sun-jre-bin as well. Latest stable sun-jdk is 1.6.0.15 (stabilized just the other day for amd64), you were running 1.6.0.14? Maybe you can try the newest one? Also, is -O3 considered a sane optimization these days? http://www.gentoo.org/doc/en/gcc-optimization.xml "Using -O3 is not recommended for gcc 4.x." (In reply to comment #3) > Latest stable sun-jdk is 1.6.0.15 (stabilized just the other day for amd64), > you were running 1.6.0.14? Maybe you can try the newest one? I'm running 1.6.0.15 now, and I haven't seen this crash since upgrading. > Also, is -O3 considered a sane optimization these days? Computers only do what you tell them to. The trouble with -O3 is that many programmers don't understand what they're telling the computer to do. If you program correctly, -O3 is perfectly safe. If you make assumptions (for instance, about execution order or memory consistency) that are not strictly guaranteed by the programming language, -O3 will burn you. I assume my fellow programmers are competent until they prove themselves otherwise. (In reply to comment #4) > (In reply to comment #3) > > Latest stable sun-jdk is 1.6.0.15 (stabilized just the other day for amd64), > > you were running 1.6.0.14? Maybe you can try the newest one? > > I'm running 1.6.0.15 now, and I haven't seen this crash since upgrading. > Assuming this to be fixed by 1.6.0.15 then. Thanks for testing and reporting. Please reopen if you see it again. |