Eclipse has a crashing bug on 1.6.0_05. See http://blog.gleamynode.net/2008/03/workarounds-for-eclipse-crash-with-jdk.html Without that .hotspot_compiler tweak, it crashes as soon as it's starting to update the workspace after launching. Reproducible: Always Steps to Reproduce: 1. Update to 1.6.0_05 2. Start eclipse 3.3 (subversive may be necessary to trigger the crash; not sure) 3. Watch it crash
Have same problem. It is related to compiling code. It started to happen as of 1.6.0_04 (with 1.6.0_03 and 1.5.* worked just fine)
I've submitted a bug with Sun for this crash.
linky please so we can monitor it.
This isn't actually my submitted bug but it's the same problem as my bug, and has a lot more activity: http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=6614100
*** Bug 215301 has been marked as a duplicate of this bug. ***
*** Bug 215680 has been marked as a duplicate of this bug. ***
me too, Eclipse 3.3.1.1 ('basic' download from the eclipse site, I keep plug-ins in /opt) Fires up and works mostly OK, but about 1 in every 4 saves it crashes. a gnome bug report and hotspot dump are attached
Created attachment 148071 [details] Generated by gnome
Created attachment 148073 [details] hostspot dump
Created attachment 148074 [details] repeated crashing in workspace/.metadata/.log
(In reply to comment #8) > Created an attachment (id=148071) [edit] > Generated by gnome > That's bug 215318.
Petteri Räty: I do not have crashing on startup - I get crashing when saving (may be building). The fix mentioned by the initial reporter at: http://blog.gleamynode.net/2008/03/workarounds-for-eclipse-crash-with-jdk.html appears to have stopped my crashing. FYI, the gnome bug buddy thing does not always appear when my eclipse crashes out, and often it appears *before* eclipse crashes out --- I can see output in the eclipse console scrolling by when the gnome bug window pops up. Also, I am running x11-libs/gtk+-2.12.8 :-) Portage 2.1.4.4 (default-linux/amd64/2007.0, gcc-4.1.2, glibc-2.6.1-r0, 2.6.23-tuxonice-r11-11 x86_64) ================================================================= System uname: 2.6.23-tuxonice-r11-11 x86_64 Intel(R) Core(TM)2 Quad CPU Q6600 @ 2.40GHz Timestamp of tree: Wed, 02 Apr 2008 12:16:01 +0000 ccache version 2.4 [enabled] app-shells/bash: 3.2_p17-r1 dev-java/java-config: 1.3.7, 2.1.4 dev-lang/python: 2.4.4-r9 dev-python/pycrypto: 2.0.1-r6 dev-util/ccache: 2.4-r7 sys-apps/baselayout: 1.12.11.1 sys-apps/sandbox: 1.2.18.1-r2 sys-devel/autoconf: 2.13, 2.61-r1 sys-devel/automake: 1.4_p6, 1.5, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10 sys-devel/binutils: 2.18-r1 sys-devel/gcc-config: 1.4.0-r4 sys-devel/libtool: 1.5.26 virtual/os-headers: 2.6.23-r3 ACCEPT_KEYWORDS="amd64" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-march=nocona -O2 -pipe" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/config" CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/terminfo /etc/texmf/web2c /etc/udev/rules.d" CXXFLAGS="-march=nocona -O2 -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="ccache distlocks fixpackages metadata-transfer parallel-fetch sandbox sfperms strict unmerge-orphans userfetch" GENTOO_MIRRORS="ftp://ftp.uni-erlangen.de/pub/mirrors/gentoo ftp://ftp.tu-clausthal.de/pub/linux/gentoo/ ftp://pandemonium.tiscali.de/pub/gentoo/" LANG="en_GB.UTF-8" LINGUAS="en_GB" MAKEOPTS="-j6" PKGDIR="/usr/portage/packages" 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" SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage" USE="X a52 aac acl alsa amd64 apache2 avahi bash-completion berkdb bogofilter branding bzip2 cddb cdr cli cracklib crypt css cups dbus divx dri dvd dvdr dvdread encode esd fam fat ffmpeg flac fortran gd gdbm gimp gmedia gnome gpm gstreamer gtk hal hfs howl iconv imagemagick ipod ipv6 isdnlog java javascript jpeg latex lm_sensors mad midi mmx mp3 mp4 mpeg mudflap mysql mysqli ncurses nls nptl nptlonly nsplugin ntfs ogg opengl openmp pam pcre pdf perl plotutils png postgres postscript pppd python quicktime readline realmedia reflection samba session spamassassin spell spl sse sse2 ssl stream tcpd tetex tiff tk truetype type1 unicode usb vim-syntax vorbis wddx wmp wxwindows x264 xorg xv xvmci zip zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic auth_digest authn_anon authn_dbd 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 dbd deflate dir disk_cache env expires ext_filter file_cache filter headers ident imagemap include info log_config logio mem_cache mime mime_magic negotiation proxy proxy_ajp proxy_balancer proxy_connect proxy_http rewrite setenvif so speling status unique_id userdir usertrack vhost_alias" ELIBC="glibc" FOO2ZJS_DEVICES="hp1020" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en_GB" USERLAND="GNU" VIDEO_CARDS="nvidia" Unset: CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, LDFLAGS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS CompilerOracle: exclude org/eclipse/core/internal/dtree/DataTreeNode.forwardDeltaWith java version "1.6.0_05" Java(TM) SE Runtime Environment (build 1.6.0_05-b13) Java HotSpot(TM) 64-Bit Server VM (build 10.0-b19, mixed mode)
I can't seem to reproduce it. Is there a specific project which building triggers it? Using the eclipse-sdk-3.3.1.1 package from portage? Where should the hotspot file go for the package, to /usr/lib/eclipse-3.3/ ? Note that this is probably the only thing we can do about this - workaround in our eclipse ebuild. If you are just reporting crashes with manually downloaded eclipse from their web, then you have to workaround it yourself. Only upstream can fix the JDK...
The subversive plugin seems to increase the frequency of the problem, so try installing that (and checking out a big project).
.hotspot_compiler needs to be in the current working directory when you call java I think. Putting it on the classpath doesn't work for me. Not that I've found any documentation, but it's easy to test: My previous posting shows the output from java -version when the file is found. I read somewhere that it is a sun 1.6.0.05 on amd64 problem. I have put the hotspot file in ~/.hotspot_compiler so my gnome launcher picks it up, or seems to, the difference is night and day. I do run the subversion plug in, and I would tend to believe it is something to do with file monitoring of some kind. The following explains some of the incantation: http://www.jguru.com/faq/view.jsp?EID=710838 http://java.sun.com/javase/6/webnotes/trouble/TSG-VM/html/gbyzo.html
(In reply to comment #13) > I can't seem to reproduce it. Is there a specific project which building > triggers it? Using the eclipse-sdk-3.3.1.1 package from portage? Where should > the hotspot file go for the package, to /usr/lib/eclipse-3.3/ ? > A better workaround is probably to put -XX:CompileCommand=exclude,org/eclipse/core/internal/dtree/DataTreeNode,forwardDeltaWith into eclipse.ini
Created attachment 148182 [details] fix I believe this may be the answer: http://forum.java.sun.com/thread.jspa?threadID=417123&messageID=4273845 so in eclipse.ini add -XX:CompileCommandFile=/usr/lib/eclipse-3.3/.hotspot_compiler after -vmargs with /usr/lib/eclipse-3.3/.hotspot_compiler being the attached file.
(In reply to comment #16) > (In reply to comment #13) > > I can't seem to reproduce it. Is there a specific project which building > > triggers it? Using the eclipse-sdk-3.3.1.1 package from portage? Where should > > the hotspot file go for the package, to /usr/lib/eclipse-3.3/ ? > > > > A better workaround is probably to put > > -XX:CompileCommand=exclude,org/eclipse/core/internal/dtree/DataTreeNode,forwardDeltaWith > > into eclipse.ini > Tested this option on eclipse.ini. Seems to work :)
Created attachment 148198 [details] /usr/bin/eclipse-3.3 fix candidate Please try replacing your /usr/bin/eclipse-3.3 with this and report if it fixes the issue. Tries to apply the workaround only for JVM's that really need it.
Vlastimil Babka (Caster)'s fix works for me :-) (Note that this crash also happens for me on Eclipse 3.2.1 which is the latest stable for AMD64 so might need backporting...)
Revbumped 3.2.1 with the workaround. Arches please stabilize: (no 30 days wait, as 1.6.0.05 had to go stable immediately for security reasons) dev-util/eclipse-sdk-3.2.1-r3 That it works should be indicated the following when using sun-jdk-1.6.0.05 (or sun-jre-bin) and not appear if using other JDK $ eclipse-3.2 Performing workaround for bug #215150 CompilerOracle: exclude org/eclipse/core/internal/dtree/DataTreeNode.forwardDeltaWith You don't need to verify that -r2 crashes and -r3 not. I myself couldn't reproduce the crash.
3.3 is fixed in 3.3.1.1-r1 in CVS. This slot is not yet stable, so no stabilization here.
amd64/x86 stable
1.6.0.06 was released which AFAIK is not yet fixed, so I updated the scripts to detect also this version. Decided not to do another revbump, please just remerge eclipse-sdk if you hit the bug. Removing stabilization request for ppc, realized there's no sun-jdk anyway.
(In reply to comment #18) > (In reply to comment #16) > > (In reply to comment #13) > > > I can't seem to reproduce it. Is there a specific project which building > > > triggers it? Using the eclipse-sdk-3.3.1.1 package from portage? Where should > > > the hotspot file go for the package, to /usr/lib/eclipse-3.3/ ? > > > > > > > A better workaround is probably to put > > > > -XX:CompileCommand=exclude,org/eclipse/core/internal/dtree/DataTreeNode,forwardDeltaWith > > > > into eclipse.ini > > > > Tested this option on eclipse.ini. > Seems to work :) > Worked for me as well. I am using subclipse. Eclipse crashed on about every third saving action _AFTER_ saving the file and on every second program execution. On my projects I use subclipse, checkstyle and maven. All may execute some actions on saving or execution.
I'm experiencing crashes, with the proposed workaround: amit0 eclipse-3.2 # java-config -L The following VMs are available for generation-2: 1) Blackdown JDK 1.4.2.03 [blackdown-jdk-1.4.2] 2) Sun JDK 1.5.0.15 [sun-jdk-1.5] *) Sun JDK 1.6.0.06 [sun-jdk-1.6] amit0 eclipse-3.2 # equery l eclipse-sdk [ Searching for package 'eclipse-sdk' in all categories among: ] * installed packages [I--] [ ] dev-util/eclipse-sdk-3.2.1-r3 (3.2) amit0 workspace # /usr/lib/eclipse-3.2/eclipse -debug .eclipse/debug_options -consoleLog -vmargs -XX:CompileCommand=exclude,org/eclipse/core/internal/dtree/DataTreeNode,forwardDeltaWith Start VM: /usr/bin/java -XX:CompileCommand=exclude,org/eclipse/core/internal/dtree/DataTreeNode,forwardDeltaWith -jar /usr/lib/eclipse-3.2/startup.jar -os linux -ws gtk -arch x86_64 -launcher /usr/lib/eclipse-3.2/eclipse -name Eclipse -showsplash 600 -exitdata 300006 -debug .eclipse/debug_options -consoleLog -vm /usr/bin/java -vmargs -XX:CompileCommand=exclude,org/eclipse/core/internal/dtree/DataTreeNode,forwardDeltaWith -jar /usr/lib/eclipse-3.2/startup.jar CompilerOracle: exclude org/eclipse/core/internal/dtree/DataTreeNode.forwardDeltaWith Install location: file:/usr/lib64/eclipse-3.2/ Configuration file: file:/usr/lib64/eclipse-3.2/configuration/config.ini loaded Configuration location: file:/usr/lib64/eclipse-3.2/configuration/ Framework located: file:/usr/lib64/eclipse-3.2/plugins/org.eclipse.osgi_3.2.1.R32x_v20060919.jar Framework classpath: file:/usr/lib64/eclipse-3.2/plugins/org.eclipse.osgi_3.2.1.R32x_v20060919.jar Splash location: /usr/lib64/eclipse-3.2/plugins/org.eclipse.platform_3.2.0.v20060601/splash.bmp runCommand: </usr/lib/eclipse-3.2/eclipse><-name><Eclipse><-showsplash><600></usr/lib64/eclipse-3.2/plugins/org.eclipse.platform_3.2.0.v20060601/splash.bmp> Debug options: file:/root/workspace/.eclipse/debug_options not found Time to load bundles: 21 Starting application: 3277 !SESSION 2008-05-27 09:02:23.475 ----------------------------------------------- ... <BLA, BLA, BLA, takes some time till it actually crashes> ... !ENTRY org.eclipse.core.jobs 4 2 2008-05-27 13:06:52.153 !MESSAGE An internal error occurred during: "Synchronizing". !STACK 0 java.lang.OutOfMemoryError: PermGen space Java HotSpot(TM) 64-Bit Server VM warning: Exception java.lang.OutOfMemoryError occurred dispatching signal SIGTERM to handler- the VM may need to be forcibly terminated java.lang.OutOfMemoryError: PermGen space
(In reply to comment #26) > java.lang.OutOfMemoryError: PermGen space > Java HotSpot(TM) 64-Bit Server VM warning: Exception java.lang.OutOfMemoryError > occurred dispatching signal SIGTERM to handler- the VM may need to be forcibly > terminated > java.lang.OutOfMemoryError: PermGen space This is a totally unrelated problem. You are simply running out of PermGen space. Please check the SUN documentation (watch out for the -XX:MaxPermSize option).
(In reply to comment #27) > (In reply to comment #26) > > java.lang.OutOfMemoryError: PermGen space > > Java HotSpot(TM) 64-Bit Server VM warning: Exception java.lang.OutOfMemoryError > > occurred dispatching signal SIGTERM to handler- the VM may need to be forcibly > > terminated > > java.lang.OutOfMemoryError: PermGen space > > This is a totally unrelated problem. You are simply running out of PermGen > space. Please check the SUN documentation (watch out for the -XX:MaxPermSize > option). > Perhaps. Yet I wouldn't be 100% sure about this. Running out of PermGen space is the terminal symptom indeed. I'm trying to ascertain the cause, based on the symptom. Many paths can lead to such a crash. I'm suggesting that this specific path is related to this bug. I didn't experience such crashes with java 1.5. Since crashes happen variably, I can't say for-certain. I'd be happy to further investigate this, pending the right tools. I'm not very familar with eclipse debugging. Whatever logs I managed to concoct weren't very helpful.
(In reply to comment #28) > (In reply to comment #27) > > (In reply to comment #26) > > > java.lang.OutOfMemoryError: PermGen space > > > Java HotSpot(TM) 64-Bit Server VM warning: Exception java.lang.OutOfMemoryError > > > occurred dispatching signal SIGTERM to handler- the VM may need to be forcibly > > > terminated > > > java.lang.OutOfMemoryError: PermGen space > > > > This is a totally unrelated problem. You are simply running out of PermGen > > space. Please check the SUN documentation (watch out for the -XX:MaxPermSize > > option). > > > > Perhaps. Yet I wouldn't be 100% sure about this. Running out of PermGen space > is the terminal symptom indeed. I'm trying to ascertain the cause, based on > the symptom. Many paths can lead to such a crash. I'm suggesting that this > specific path is related to this bug. I didn't experience such crashes with > java 1.5. Since crashes happen variably, I can't say for-certain. > I'd be happy to further investigate this, pending the right tools. I'm not very > familar with eclipse debugging. Whatever logs I managed to concoct weren't very > helpful. > No, Heinrich is right. This is an unrelated problem. Running out of memory is not the same as having the JVM itself crash from an internal bug. Increase your permgen space as Heinrich suggested.
Created attachment 159860 [details] java log while crash I have the same problem too. It happens more or less always after a few seconds of runtime, mostly directly after SVN syncing.
az@macbook ~ $ emerge --info Portage 2.1.4.4 (default-linux/x86/2007.0, gcc-4.1.2, glibc-2.6.1-r0, 2.6.24-gentoo-r8 i686) ================================================================= System uname: 2.6.24-gentoo-r8 i686 Intel(R) Core(TM)2 CPU T7400 @ 2.16GHz Timestamp of tree: Sun, 06 Jul 2008 23:00:02 +0000 distcc 2.18.3 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled] app-shells/bash: 3.2_p33 dev-java/java-config: 1.3.7, 2.1.6 dev-lang/python: 2.4.4-r13 dev-python/pycrypto: 2.0.1-r6 sys-apps/baselayout: 1.12.11.1 sys-apps/sandbox: 1.2.18.1-r2 sys-devel/autoconf: 2.13, 2.61-r1 sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.1 sys-devel/binutils: 2.18-r1 sys-devel/gcc-config: 1.4.0-r4 sys-devel/libtool: 1.5.26 virtual/os-headers: 2.6.23-r3 ACCEPT_KEYWORDS="x86" CBUILD="i686-pc-linux-gnu" CFLAGS="-O2 -march=nocona -pipe -ggdb" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/config" CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/terminfo /etc/texmf/web2c /etc/udev/rules.d" CXXFLAGS="-O2 -march=nocona -pipe -ggdb" DISTDIR="/usr/portage/distfiles" FEATURES="distlocks metadata-transfer parallel-fetch sandbox sfperms splitdebug unmerge-orphans userfetch" GENTOO_MIRRORS="http://linux.rz.ruhr-uni-bochum.de/download/gentoo-mirror/ ftp:///ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/ ftp://ftp6.uni-erlangen.de/pub/mirrors/gentoo ftp://vlaai.snt.ipv6.utwente.nl/pub/os/linux/gentoo/ ftp://mirror.nutsmaas.nl/gentoo/" LANG="en_US.UTF-8" LC_ALL="en_US.UTF-8" LINGUAS="de" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" 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/portage/local/layman/sunrise /usr/portage/local/private" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="7zip X a52 aac acl acpi alsa altenburgcards amarok amr amuled apm applet async asyncns atm automount avahi bash-completion berkdb bluetooth bonjour bookmarks bzip2 cairo cdr cisco cli cracklib crypt cups d dbus dedicated deskbar dga dhcp divx dri dv dvd dvdr dvdread dvi eap-tls enblend encode evo exif extra-algorithms fam fasttrack ffmpeg flac ftp galago gd gdbm german gif glib glitz gmedia gnome gnutella gnutls gphoto2 gpm gsf gtk h323 hal haskell hddtemp hfs iconv icu id3 id3tag ieee1394 imlib injection inkjar ipv6 irda isdnlog isight jabber java javascript jit joystick jpeg jpeg2k kde kig-scripting kqemu latex lcms libnotify lirc lm_sensors lua lzo macbook mad madwifi maps mdnsresponder-compat midi mmap mmx mng mozdevelop mp2 mp3 mp4 mpeg mplayer mtp mudflap music musicbrainz nautilus ncurses net network networking networkmanager njb nls nntp nptl nptlonly nsplugin ntfs ogg opengl openmp oss pam pascal pch pcre pdf perl pidgin plotutils pmu png pnm posix postgres postscript pptp ps pth pulseaudio python qt3support qt4 quicktime rar rc5 rdesktop readline real realmedia reflection reiser4 reiserfs rtc samba screen sdl sdl-image sdl-sound sdlaudio server session sftp sharedmem sift slp smp sockets socks5 solver sourceview speex spell spl sse sse2 ssl ssse3 startup-notification subversion svg tetex theora threads threadsafe tiff timidity tk trayicon truetype unicode unzip usb v4l2 valgrind vcd video voice vorbis weak-algorithms wifi win32codecs wma wmp wxwindows x264 x86 xanim xattr xcomposite xext xface xine xml xmlreader xorg xrandr xscreensaver xulrunner xv xvid zip zlib zsh-completion" ALSA_CARDS="hda-intel" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter 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" CAMERAS="sony_dscf1 sony_dscf55" ELIBC="glibc" INPUT_DEVICES="keyboard mouse synaptics evdev wacom" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="de" LIRC_DEVICES="inputlirc macmini" USERLAND="GNU" VIDEO_CARDS="i810 vesa" Unset: CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LDFLAGS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
But I have the problem with Eclipse 3.2.1-r3.
Created attachment 159862 [details] java crash log with fix It crashes also with Vlastimil Babka's fix (which I modified slightly to run with Eclipse 3.2). az@macbook ~ $ eclipse-3.2 # # An unexpected error has been detected by Java Runtime Environment: # # SIGSEGV (0xb) at pc=0x0625665c, pid=15603, tid=2433293200 # # Java VM: Java HotSpot(TM) Server VM (10.0-b22 mixed mode linux-x86) # Problematic frame: # V [libjvm.so+0x25665c] # # An error report file with more information is saved as: # /home/az/hs_err_pid15603.log # # If you would like to submit a bug report, please visit: # http://java.sun.com/webapps/bugreport/crash.jsp # The crash happened outside the Java Virtual Machine in native code. # See problematic frame for where to report the bug. #
Created attachment 159886 [details] eclipse 3.3 crash log with fix I tried with Eclipse 3.3 now and I get again a crash. az@macbook ~/Programmierung/EclipseWorkspace/Ilias $ eclipse-3.3.fixed # # An unexpected error has been detected by Java Runtime Environment: # # SIGSEGV (0xb) at pc=0x0625665c, pid=11331, tid=2690390928 # # Java VM: Java HotSpot(TM) Server VM (10.0-b22 mixed mode linux-x86) # Problematic frame: # V [libjvm.so+0x25665c] # # An error report file with more information is saved as: # /home/az/Programmierung/EclipseWorkspace/Ilias/hs_err_pid11331.log # # If you would like to submit a bug report, please visit: # http://java.sun.com/webapps/bugreport/crash.jsp # The crash happened outside the Java Virtual Machine in native code. # See problematic frame for where to report the bug. #
1.6.0.07 is available now, and still has the same problem. This version also needs to be added to the startup script.
After emerging, (and re-emerging java and eclipse) this problem is back again for me :-( emerge --info Portage 2.1.4.4 (default-linux/amd64/2007.0, gcc-4.1.2, glibc-2.6.1-r0, 2.6.25-gentoo-r7 x86_64) ================================================================= System uname: 2.6.25-gentoo-r7 x86_64 AMD Athlon(tm) 64 X2 Dual Core Processor 5600+ Timestamp of tree: Sat, 26 Jul 2008 06:15:01 +0000 app-shells/bash: 3.2_p33 dev-java/java-config: 1.3.7, 2.1.6 dev-lang/python: 2.4.4-r13, 2.5.2-r5 dev-python/pycrypto: 2.0.1-r6 sys-apps/baselayout: 1.12.11.1 sys-apps/sandbox: 1.2.18.1-r2 sys-devel/autoconf: 2.13, 2.61-r2 sys-devel/automake: 1.4_p6, 1.5, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.1 sys-devel/binutils: 2.18-r3 sys-devel/gcc-config: 1.4.0-r4 sys-devel/libtool: 1.5.26 virtual/os-headers: 2.6.23-r3 ACCEPT_KEYWORDS="amd64" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-march=athlon64 -O2 -pipe" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc /var/lib/hsqldb" CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/revdep-rebuild /etc/terminfo /etc/udev/rules.d" CXXFLAGS="-march=athlon64 -O2 -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="distlocks metadata-transfer sandbox sfperms strict unmerge-orphans userfetch" GENTOO_MIRRORS="http://gentoo.virginmedia.com/ " LANG="C" MAKEOPTS="-j3" PKGDIR="/usr/portage/packages" 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" SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage" USE="3dnow 3dnowext X a52 aac aalib acl alsa amd64 apache2 audacious avah avi berkdb bitmap-fonts cdparanoia cdr cli cracklib crypt cups dbus divxlinux dri dv dvd dvdr dvdread encode ffmpeg flac fortran gdbm gnome gpm gtk gtk2 hal iconv ipv6 isdnlog java jpeg lame live mad midi mjpeg mmx mmxext mudflap ncurses nls nptl nptlonly nvidia ogg opengl openmp pam pcre pdf perl png pppd python quicktime read readline reflection session spl sse sse2 ssl symlink tcpd theora truetype-fonts type1-fonts unicode vcd vorbix xine xorg xv xvid xvmc zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic auth_digest authn_anon authn_dbd 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 dbd deflate dir disk_cache env expires ext_filter file_cache filter headers ident imagemap include info log_config logio mem_cache mime mime_magic negotiation proxy proxy_ajp proxy_balancer proxy_connect proxy_http rewrite setenvif so speling status unique_id userdir usertrack vhost_alias" ELIBC="glibc" INPUT_DEVICES="keyboard mouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" USERLAND="GNU" VIDEO_CARDS="nvidia" Unset: CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, LDFLAGS, LINGUAS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY
Created attachment 161397 [details] Eclipse crash report
Created attachment 161398 [details] Eclipse crash log
Vlastimil Babka's fix does not work for me either. dev-java/sun-jdk-1.6.0.07 dev-util/eclipse-sdk-3.3.1.1-r1 Portage 2.2_rc3 (default/linux/amd64/2008.0, gcc-4.3.1, glibc-2.8_p20080602-r0, 2.6.25-gentoo-r4 x86_64) ================================================================= System uname: Linux-2.6.25-gentoo-r4-x86_64-AMD_Phenom-tm-_9600_Quad-Core_Processor-with-glibc2.2.5 Timestamp of tree: Sun, 27 Jul 2008 01:00:01 +0000 distcc 2.18.3 x86_64-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled] ccache version 2.4 [enabled] app-shells/bash: 3.2_p39 dev-java/java-config: 1.3.7, 2.1.6-r1 dev-lang/python: 2.5.2-r5 dev-python/pycrypto: 2.0.1-r6 dev-util/ccache: 2.4-r7 sys-apps/baselayout: 2.0.0 sys-apps/openrc: 0.2.5 sys-apps/sandbox: 1.2.18.1-r3 sys-devel/autoconf: 2.13, 2.62-r1 sys-devel/automake: 1.5, 1.7.9-r1, 1.9.6-r2, 1.10.1-r1 sys-devel/binutils: 2.18-r3 sys-devel/gcc-config: 1.4.0-r4 sys-devel/libtool: 2.2.4 virtual/os-headers: 2.6.25-r4 ACCEPT_KEYWORDS="amd64 ~amd64" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-march=athlon64 -Os -pipe -msse3" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/config" CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/terminfo /etc/udev/rules.d" CXXFLAGS="-march=athlon64 -Os -pipe -msse3" DISTDIR="/usr/portage/distfiles" FEATURES="ccache distlocks installsources parallel-fetch preserve-libs sandbox sfperms splitstrip strict unmerge-orphans userfetch" GENTOO_MIRRORS="ftp.port80.se/gentoo/ " LC_ALL="sv_SE.utf8" LDFLAGS="-Wl,-O1" LINGUAS="sv SE sv_SE en" MAKEOPTS="-j5" PKGDIR="/usr/portage/packages" 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" SYNC="rsync://192.168.42.254/gentoo-portage" USE="3dnow X aalib acl alsa amd64 bash-completion berkdb bzip2 cjk cli cracklib crypt cups dbus debug dri emacs exif ffmpeg firefox fortran gdbm gif glitz gpm gtk iconv ipv6 isdnlog java5 java6 jpeg jpeg2k latex lcms midi mmx mmxext mp3 mplayer mudflap multilib ncurses nls nptl nptlonly ogg opengl openmp pam paste64 pcre perl png pppd python readline reflection session spell spl sse sse2 ssl startup-notification svg tcpd threads tiff truetype unicode wmf xml xorg xpm xv zeroconf zlib zsh-completion" ALSA_CARDS="hda-intel" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter 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 auth_digest ident imagemap log_forensic" CAMERAS="canon ptp2" ELIBC="glibc" INPUT_DEVICES="mouse keyboard" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="sv SE sv_SE en" USERLAND="GNU" VIDEO_CARDS="nvidia" Unset: CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Updating the fix to include sun-jdk-1.6.0.07 solves the problem for me.
Created attachment 161501 [details] updated fix
Some hints by Theuns Cloete which received me by mail: Hi, I had the same problem discussed here: http://bugs.gentoo.org/show_bug.cgi?id=215150 except that I needed more exclusions: VM_ARGS="${VM_ARGS} -XX:CompileCommand=exclude,org/eclipse/core/internal/dtree/DataTreeNode,forwardDeltaWith -XX:CompileCommand=exclude,org/eclipse/jdt/internal/compiler/lookup/ParameterizedTypeBinding,<init> -XX:CompileCommand=exclude,org/eclipse/jdt/internal/compiler/lookup/ParameterizedMethodBinding,<init>" I then read http://java.sun.com/javase/6/webnotes/trouble/TSG-VM/html/gbyzo.html which states that one can run the VM with the -client argument. Therefore, in /etc/eclipserc or $HOME/.gentoo/.eclipserc add: VM_ARGS="${VM_ARGS} -client" And run Eclipse in the normal way. Alternatively, the /usr/bin/eclipse-3.4 script can be updated to use the -client argument, although it might give slower performance than with -server Hope this helps -- Theuns Cloete
Again a hint I received via mail from Wiehann Matthysen: Hallo, I found a fix for the eclipse-3.4 bug as discussed in http://bugs.gentoo.org/show_bug.cgi?id=215150. I modified my path environment variable to only point to the latest java libraries and I also explicitly specified the virtual machine with the -vm command line argument. ### Script to call eclipse-3.4 ### #!/bin/bash NEW_PATH=/usr/kde/3.5/bin:/usr/local/bin:/usr/bin:/bin:/opt/bin:/opt/sun-jdk-1.6.0.07/bin:/opt/sun-jdk-1.6.0.07/jre/bin:/opt/sun-jdk-1.6.0.07/jre/javaws:/usr/qt/3/bin export PATH=$NEW_PATH eclipse-3.4 -vm `java-config-2 -o`/bin -Xms256m -Xmx1000m This seems to work on a couple of machines that I tested on. Regards Wiehann Matthysen
I'm not sure if this is going to help, but this bug appeared for me only after I added another GB of ram to my machine (totaling 2GB). If I remove that extra GB, all is well again. And no, the ram is not faulty.
JFYI, jdk6u10 build26 has the fix, see: http://bugs.sun.com/view_bug.do?bug_id=6712328 The experimental rc2(build32) ebuild hidden as beta32 can be found here: https://overlays.gentoo.org/proj/java/export/7091/java-experimental/dev-java/sun-jdk/sun-jdk-1.6.0.10_beta32.ebuild
Closing now that sun-jdk-1.6.0.10+ is stable.