# # HotSpot Virtual Machine Error, assertion failure # Please report this error at # http://java.sun.com/cgi-bin/bugreport.cgi # # Java VM: Java HotSpot(TM) Client VM (1.4.1-gentoo-1051271029-debug mixed mode) # # assert(mark->is_unlocked(), "lock must record a good object header") # # Error ID: /var/tmp/portage/sun-j2sdk-1.4.1/work/j2sdk/hotspot/src/share/vm/runtime/synchronizer.cpp, 179 # # Problematic Thread: prio=1 tid=0x0x80650b0 nid=0x4e14 runnable # Current thread is 0x4000 Dumping core ... make[4]: *** [/var/tmp/portage/sun-j2sdk-1.4.1/work/j2sdk/control/build/linux-i586/tmp/sun/sun.awt/awt/obj_g/.class.headers.i586] Aborted make[4]: Leaving directory `/var/tmp/portage/sun-j2sdk-1.4.1/work/j2sdk/j2se/make/sun/awt' make[3]: *** [debug] Error 2 make[3]: Leaving directory `/var/tmp/portage/sun-j2sdk-1.4.1/work/j2sdk/j2se/make/sun/awt' make[2]: *** [all] Error 1 make[2]: Leaving directory `/var/tmp/portage/sun-j2sdk-1.4.1/work/j2sdk/j2se/make/sun' make[1]: *** [all] Error 1 make[1]: Leaving directory `/var/tmp/portage/sun-j2sdk-1.4.1/work/j2sdk/j2se/make' make: *** [j2se-build] Error 2 !!! ERROR: dev-java/sun-j2sdk-1.4.1 failed. !!! Function src_compile, Line 139, Exitcode 2 !!! (no error message) ------------------------------------------------------------------- Portage 2.0.47-r10 (default-x86-1.4, gcc-3.2.2, glibc-2.3.1-r4) ================================================================= System uname: 2.4.19-xfs-r2 i686 GENTOO_MIRRORS="http://ftp.snt.utwente.nl/pub/os/linux/gentoo/" CONFIG_PROTECT="/etc /var/qmail/control /usr/share/config /usr/kde/2/share/config /usr/kde/3/share/config /usr/X11R6/lib/X11/xkb" CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d" PORTDIR="/usr/portage" DISTDIR="/usr/portage/distfiles" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR_OVERLAY="" USE="x86 oss 3dnow apm avi crypt cups gif imlib jpeg libg++ libwww mikmod mmx motif mpeg ncurses nls pdflib png quicktime spell truetype xmms xv zlib gdbm berkdb slang readline svga java X sdl gpm tcpd ssl python oggvorbis gtk opengl gtk2 gnome -qt -qtmt -kde -arts xfs acl bonobo encode aalib dga dvd gd alsa esd gtkhtml guile imap -ldap leim mozilla moznomail moznocompose moznoirc mysql pam perl scanner sse tiff xface xml2 -doc matrox" COMPILER="gcc3" CHOST="i686-pc-linux-gnu" CFLAGS="-march=pentium2 -O2 -pipe" CXXFLAGS="-march=pentium2 -O2 -pipe" ACCEPT_KEYWORDS="x86" MAKEOPTS="-j3" AUTOCLEAN="yes" SYNC="rsync://rsync.gentoo.org/gentoo-portage" FEATURES="sandbox ccache"
*** Bug 19932 has been marked as a duplicate of this bug. ***
*** Bug 19931 has been marked as a duplicate of this bug. ***
Sorry for the dupes, the server did not respond. :-(
I tried to merge j2sdk several times and never did this error message again. However, the compilation process froze - every time on another place, either with 100% or with 0% CPU usage. I waited several hours and terminated it then. I tried it with MAKEOPTS="-j1", "-j2" and "-j3": no success. BTW, I could install the same package without any problems about 3-4 months ago. However, I used older versions of sun-jdk and probably gcc and other development tools to compile it.
I actually experienced the same thing. Turned out I didn't have enough HD space free, although I had at least 2 GB free. I freed up to 5 GB and didn't experience the error. Maybe the 2 GB in the ebuild should be raised to 2.5 GB. I think that's about right.
In my case there was more than 5 GB of free space. But I just emerged the recent ebuild (on another PC, however), and it went without any problem. So, it has been either fixed in the -r1 ebuild or there are some other important factors. I will try to emerge this ebuild on the other PC later.
I have tested this again, and again, and again, on 4 different machines and it worked for me, so reopen it if you have more information, or it happens again.