[Bug 414462] New: [Java:packages/java-1_6_0-openjdk]
https://bugzilla.novell.com/show_bug.cgi?id=414462 Summary: [Java:packages/java-1_6_0-openjdk] Product: openSUSE.org Version: unspecified Platform: i586 OS/Version: openSUSE 11.0 Status: NEW Severity: Normal Priority: P5 - None Component: 3rd party software AssignedTo: mvyskocil@novell.com ReportedBy: robermann@gmail.com QAContact: opensuse-communityscreening@forge.provo.novell.com Found By: --- When running the java process, I get the following error: linux:~/.eclipse # java -version Error occurred during initialization of VM Could not reserve enough space for object heap *** glibc detected *** java: free(): invalid pointer: 0xb7737254 *** ======= Backtrace: ========= /lib/libc.so.6[0xb7f86fc4] /lib/libc.so.6(cfree+0x9c)[0xb7f8895c] /usr/lib/jvm/java-1.6.0-openjdk-1.2_b09/jre/lib/i386/client/libjvm.so[0xb7a94fb1] /usr/lib/jvm/java-1.6.0-openjdk-1.2_b09/jre/lib/i386/client/libjvm.so[0xb7a580a2] /usr/lib/jvm/java-1.6.0-openjdk-1.2_b09/jre/lib/i386/client/libjvm.so[0xb7a59860] /usr/lib/jvm/java-1.6.0-openjdk-1.2_b09/jre/lib/i386/client/libjvm.so[0xb7a5dc85] /usr/lib/jvm/java-1.6.0-openjdk-1.2_b09/jre/lib/i386/client/libjvm.so(JNI_CreateJavaVM+0x5c)[0xb78faccc] java(JavaMain+0x9e)[0x804a4de] /lib/libpthread.so.0[0xb806e175] /lib/libc.so.6(clone+0x5e)[0xb7fe8dce] ======= Memory map: ======== 08048000-08050000 r-xp 00000000 08:01 1379425 /usr/lib/jvm/java-1.6.0-openjdk-1.2_b09/jre/bin/java 08050000-08051000 r--p 00008000 08:01 1379425 /usr/lib/jvm/java-1.6.0-openjdk-1.2_b09/jre/bin/java 08051000-08052000 rw-p 00009000 08:01 1379425 /usr/lib/jvm/java-1.6.0-openjdk-1.2_b09/jre/bin/java 08052000-08073000 rw-p 08052000 00:00 0 [heap] b5400000-b5421000 rw-p b5400000 00:00 0 b5421000-b5500000 ---p b5421000 00:00 0 b55ca000-b55cb000 rwxp b55ca000 00:00 0 b55cb000-b564a000 rwxp b55cb000 00:00 0 b564a000-b5672000 rwxp b564a000 00:00 0 b5672000-b764a000 rwxp b5672000 00:00 0 b764a000-b766e000 r-xp 00000000 08:01 3915 /usr/lib/jvm/java-1.6.0-openjdk-1.2_b09/jre/lib/i386/libjava.so b766e000-b766f000 r--p 00023000 08:01 3915 /usr/lib/jvm/java-1.6.0-openjdk-1.2_b09/jre/lib/i386/libjava.so b766f000-b7671000 rw-p 00024000 08:01 3915 /usr/lib/jvm/java-1.6.0-openjdk-1.2_b09/jre/lib/i386/libjava.so b7671000-b76a6000 r--s 00000000 08:01 4401 /var/run/nscd/passwd b76a6000-b76b9000 r-xp 00000000 08:01 1100751 /lib/libnsl-2.8.so b76b9000-b76ba000 r--p 00012000 08:01 1100751 /lib/libnsl-2.8.so b76ba000-b76bb000 rw-p 00013000 08:01 1100751 /lib/libnsl-2.8.so b76bb000-b76bd000 rw-p b76bb000 00:00 0 b76c7000-b76d3000 r-xp 00000000 08:01 24423 /lib/libgcc_s.so.1 b76d3000-b76d4000 r--p 0000b000 08:01 24423 /lib/libgcc_s.so.1 b76d4000-b76d5000 rw-p 0000c000 08:01 24423 /lib/libgcc_s.so.1 b76d5000-b76dc000 r-xp 00000000 08:01 3938 /usr/lib/jvm/java-1.6.0-openjdk-1.2_b09/jre/lib/i386/libzip.so b76dc000-b76dd000 r--p 00006000 08:01 3938 /usr/lib/jvm/java-1.6.0-openjdk-1.2_b09/jre/lib/i386/libzip.so b76dd000-b76de000 rw-p 00007000 08:01 3938 /usr/lib/jvm/java-1.6.0-openjdk-1.2_b09/jre/lib/i386/libzip.so b76de000-b76e5000 r-xp 00000000 08:01 1218520 /lib/librt-2.8.so b76e5000-b76e6000 r--p 00006000 08:01 1218520 /lib/librt-2.8.so b76e6000-b76e7000 rw-p 00007000 08:01 1218520 /lib/librt-2.8.so b76e7000-b76ea000 ---p b76e7000 00:00 0 b76ea000-b7738000 rw-p b76ea000 00:00 0 b7738000-b775c000 r-xp 00000000 08:01 1034658 /lib/libm-2.8.so b775c000-b775d000 r--p 00023000 08:01 1034658 /lib/libm-2.8.so b775d000-b775e000 rw-p 00024000 08:01 1034658 /lib/libm-2.8.so b775e000-b7adc000 r-xp 00000000 08:01 3898 /usr/lib/jvm/java-1.6.0-openjdk-1.2_b09/jre/lib/i386/client/libjvm.so b7adc000-b7aef000 r--p 0037e000 08:01 3898 /usr/lib/jvm/java-1.6.0-openjdk-1.2_b09/jre/lib/i386/client/libjvm.so b7aef000-b7afb000 rw-p 00391000 08:01 3898 /usr/lib/jvm/java-1.6.0-openjdk-1.2_b09/jre/lib/i386/client/libjvm.so b7afb000-b7f1b000 rw-p b7afb000 00:00 0 b7f1b000-b8058000 r-xp 00000000 08:01 145156 /lib/libc-2.8.so b8058000-b805a000 r--p 0013d000 08:01 145156 /lib/libc-2.8.so b805a000-b805b000 rw-p 0013f000 08:01 145156 /lib/libc-2.8.so b805b000-b805e000 rw-p b805b000 00:00 0 b805e000-b8060000 r-xp 00000000 08:01 996292 /lib/libdl-2.8.so b8060000-b8061000 r--p 00001000 08:01 996292 /lib/libdl-2.8.so b8061000-b8062000 rw-p 00002000 08:01 996292 /lib/libdl-2.8.so b8062000-b8066000 r-xp 00000000 08:01 3903 /usr/lib/jvm/java-1.6.0-openjdk-1.2_b09/jre/lib/i386/jli/libjli.so b8066000-b8067000 r--p 00003000 08:01 3903 /usr/lib/jvm/java-1.6.0-openjdk-1.2_b09/jre/lib/i386/jli/libjli.so b8067000-b8068000 rw-p 00004000 08:01 3903 /usr/lib/jvm/java-1.6.0-openjdk-1.2_b09/jre/lib/i386/jli/libjli.so b8068000-b807c000 r-xp 00000000 08:01 1100778 /lib/libpthread-2.8.so b807c000-b807d000 r--p 00013000 08:01 1100778 /lib/libpthread-2.8.so b807d000-b807e000 rw-p 00014000 08:01 1100778 /lib/libpthread-2.8.so b807e000-b8080000 rw-p b807e000 00:00 0 b8080000-b8092000 r-xp 00000000 08:01 146523 /lib/libz.so.1.2.3 b8092000-b8093000 r--p 00011000 08:01 146523 /lib/libz.so.1.2.3 b8093000-b8094000 rw-p 00012000 08:01 146523 /lib/libz.so.1.2.3 b8094000-b80a0000 r-xp 00000000 08:01 3937 /usr/lib/jvm/java-1.6.0-openjdk-1.2_b09/jre/lib/i386/libverify.so b80a0000-b80a1000 r--p 0000c000 08:01 3937 /usr/lib/jvm/java-1.6.0-openjdk-1.2_b09/jre/lib/i386/libverify.so b80a1000-b80a2000 rw-p 0000d000 08:01 3937 /usr/lib/jvm/java-1.6.0-openjdk-1.2_b09/jre/lib/i386/libverify.so b80a2000-b80aa000 rw-s 00000000 08:01 4291 /tmp/hsperfdata_root/5298 (deleted) b80aa000-b80b1000 r-xp 00000000 08:01 3940 /usr/lib/jvm/java-1.6.0-openjdk-1.2_b09/jre/lib/i386/native_threads/libhpi.so b80b1000-b80b2000 r--p 00006000 08:01 3940 /usr/lib/jvm/java-1.6.0-openjdk-1.2_b09/jre/lib/i386/native_threads/libhpi.so b80b2000-b80b3000 rw-p 00007000 08:01 3940 /usr/lib/jvm/java-1.6.0-openjdk-1.2_b09/jre/lib/i386/native_threads/libhpi.so b80b3000-b80b4000 rw-p b80b3000 00:00 0 b80b4000-b80b5000 r--p b80b4000 00:00 0 b80b5000-b80b6000 rw-p b80b5000 00:00 0 b80b6000-b80d1000 r-xp 00000000 08:01 115121 /lib/ld-2.8.so b80d1000-b80d2000 r--p 0001a000 08:01 115121 /lib/ld-2.8.so b80d2000-b80d3000 rw-p 0001b000 08:01 115121 /lib/ld-2.8.so bfebe000-bfed3000 rw-p bffeb000 00:00 0 [stack] ffffe000-fffff000 r-xp 00000000 00:00 0 [vdso] Aborted In order to work, I must set the Xmx option, for example: linux:~/.eclipse # java -Xmx1m -version java version "1.6.0" IcedTea Runtime Environment (build 1.6.0-b09) OpenJDK Client VM (build 1.6.0-b09, mixed mode) RPM version: linux:~/.eclipse # rpm -q java-1_6_0-openjdk java-1_6_0-openjdk-1.2_b09-9.1 Opensuse version: 11.0 Kernel version: linux:~/.eclipse # uname -r 2.6.25.11-0.1-pae -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=414462 Michal Vyskocil <mvyskocil@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- AssignedTo|mvyskocil@novell.com |bnc-team-java@forge.provo.novell.com Severity|Normal |Critical Component|3rd party software |Java Priority|P5 - None |P3 - Medium Product|openSUSE.org |openSUSE 11.0 Version|unspecified |Final -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=414462 User mvyskocil@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=414462#c1 Michal Vyskocil <mvyskocil@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |mvyskocil@novell.com Status|NEW |NEEDINFO Info Provider| |robermann@gmail.com --- Comment #1 from Michal Vyskocil <mvyskocil@novell.com> 2008-08-05 01:50:13 MDT --- Can you provide more informations? I cannot confirm this crash on none of my test machines. Could you check the environment variables (set), the alternatives links status (/usr/sbin/update-alternatives --display java) and add the output of the strace -f command? -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=414462 User robermann@gmail.com added comment https://bugzilla.novell.com/show_bug.cgi?id=414462#c2 --- Comment #2 from robermann79 robermann79 <robermann@gmail.com> 2008-08-05 02:25:52 MDT --- Created an attachment (id=231713) --> (https://bugzilla.novell.com/attachment.cgi?id=231713) "env" output "env" output -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=414462 User robermann@gmail.com added comment https://bugzilla.novell.com/show_bug.cgi?id=414462#c3 --- Comment #3 from robermann79 robermann79 <robermann@gmail.com> 2008-08-05 02:26:21 MDT --- Created an attachment (id=231714) --> (https://bugzilla.novell.com/attachment.cgi?id=231714) java alternatives java alternatives -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=414462 User robermann@gmail.com added comment https://bugzilla.novell.com/show_bug.cgi?id=414462#c4 robermann79 robermann79 <robermann@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEEDINFO |NEW Info Provider|robermann@gmail.com | --- Comment #4 from robermann79 robermann79 <robermann@gmail.com> 2008-08-05 02:27:18 MDT --- Created an attachment (id=231716) --> (https://bugzilla.novell.com/attachment.cgi?id=231716) strace -f java strace -f java -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=414462 User mvyskocil@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=414462#c5 Michal Vyskocil <mvyskocil@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |NEEDINFO Info Provider| |robermann@gmail.com --- Comment #5 from Michal Vyskocil <mvyskocil@novell.com> 2008-08-05 03:47:31 MDT --- Don't see nothing bad :-(. Do you have some limits on your system? ulimit -a tells more. And can you test this on default kernel (with no pae extension)? -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=414462 User robermann@gmail.com added comment https://bugzilla.novell.com/show_bug.cgi?id=414462#c6 --- Comment #6 from robermann79 robermann79 <robermann@gmail.com> 2008-08-05 05:25:52 MDT --- ulimit: root@linux:~# ulimit -a core file size (blocks, -c) 0 data seg size (kbytes, -d) unlimited scheduling priority (-e) 0 file size (blocks, -f) unlimited pending signals (-i) 4095 max locked memory (kbytes, -l) 32 max memory size (kbytes, -m) 437835 open files (-n) 1024 pipe size (512 bytes, -p) 8 POSIX message queues (bytes, -q) 819200 real-time priority (-r) 0 stack size (kbytes, -s) 8192 cpu time (seconds, -t) unlimited max user processes (-u) 4095 virtual memory (kbytes, -v) 516880 file locks (-x) unlimited root@linux:~# About the kernel version: I could try with the kernel-default (2.6.25.5) package. By the way, if I well remember it was the installer of opensuse 11 which installed the 'pae' kernel version, by default. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=414462 User anosek@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=414462#c7 Ales Nosek <anosek@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |anosek@novell.com --- Comment #7 from Ales Nosek <anosek@novell.com> 2008-08-05 06:01:26 MDT --- Well, I also cannot reproduce the bug. I searched for some config file where the heap size can be changed but with no luck. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=414462 User robermann@gmail.com added comment https://bugzilla.novell.com/show_bug.cgi?id=414462#c8 --- Comment #8 from robermann79 robermann79 <robermann@gmail.com> 2008-08-05 06:17:12 MDT --- Trying with the kernel: root@linux:~# uname -r 2.6.25.11-0.1-default root@linux:~# Getting the same error: root@linux:~# java -version Error occurred during initialization of VM Could not reserve enough space for object heap *** glibc detected *** java: free(): invalid pointer: 0xb75e7254 *** ======= Backtrace: ========= /lib/libc.so.6[0xb7e36fc4] /lib/libc.so.6(cfree+0x9c)[0xb7e3895c] /usr/lib/jvm/java-1.6.0-openjdk-1.2_b09/jre/lib/i386/client/libjvm.so[0xb7944fb1] /usr/lib/jvm/java-1.6.0-openjdk-1.2_b09/jre/lib/i386/client/libjvm.so[0xb79080a2] /usr/lib/jvm/java-1.6.0-openjdk-1.2_b09/jre/lib/i386/client/libjvm.so[0xb7909860] /usr/lib/jvm/java-1.6.0-openjdk-1.2_b09/jre/lib/i386/client/libjvm.so[0xb790dc85] /usr/lib/jvm/java-1.6.0-openjdk-1.2_b09/jre/lib/i386/client/libjvm.so(JNI_CreateJavaVM+0x5c)[0xb77aaccc] java(JavaMain+0x9e)[0x804a4de] /lib/libpthread.so.0[0xb7f1e175] /lib/libc.so.6(clone+0x5e)[0xb7e98dce] ======= Memory map: ======== 08048000-08050000 r-xp 00000000 08:01 1379425 /usr/lib/jvm/java-1.6.0-openjdk-1.2_b09/jre/bin/java 08050000-08051000 r--p 00008000 08:01 1379425 /usr/lib/jvm/java-1.6.0-openjdk-1.2_b09/jre/bin/java 08051000-08052000 rw-p 00009000 08:01 1379425 /usr/lib/jvm/java-1.6.0-openjdk-1.2_b09/jre/bin/java 08052000-08073000 rw-p 08052000 00:00 0 [heap] b5300000-b5321000 rw-p b5300000 00:00 0 b5321000-b5400000 ---p b5321000 00:00 0 b547a000-b547b000 rwxp b547a000 00:00 0 b547b000-b54fa000 rwxp b547b000 00:00 0 b54fa000-b5522000 rwxp b54fa000 00:00 0 b5522000-b74fa000 rwxp b5522000 00:00 0 b74fa000-b751e000 r-xp 00000000 08:01 3915 /usr/lib/jvm/java-1.6.0-openjdk-1.2_b09/jre/lib/i386/libjava.so b751e000-b751f000 r--p 00023000 08:01 3915 /usr/lib/jvm/java-1.6.0-openjdk-1.2_b09/jre/lib/i386/libjava.so b751f000-b7521000 rw-p 00024000 08:01 3915 /usr/lib/jvm/java-1.6.0-openjdk-1.2_b09/jre/lib/i386/libjava.so b7521000-b7556000 r--s 00000000 08:01 4458 /var/run/nscd/passwd b7556000-b7569000 r-xp 00000000 08:01 1100751 /lib/libnsl-2.8.so b7569000-b756a000 r--p 00012000 08:01 1100751 /lib/libnsl-2.8.so b756a000-b756b000 rw-p 00013000 08:01 1100751 /lib/libnsl-2.8.so b756b000-b756d000 rw-p b756b000 00:00 0 b7577000-b7583000 r-xp 00000000 08:01 24423 /lib/libgcc_s.so.1 b7583000-b7584000 r--p 0000b000 08:01 24423 /lib/libgcc_s.so.1 b7584000-b7585000 rw-p 0000c000 08:01 24423 /lib/libgcc_s.so.1 b7585000-b758c000 r-xp 00000000 08:01 3938 /usr/lib/jvm/java-1.6.0-openjdk-1.2_b09/jre/lib/i386/libzip.so b758c000-b758d000 r--p 00006000 08:01 3938 /usr/lib/jvm/java-1.6.0-openjdk-1.2_b09/jre/lib/i386/libzip.so b758d000-b758e000 rw-p 00007000 08:01 3938 /usr/lib/jvm/java-1.6.0-openjdk-1.2_b09/jre/lib/i386/libzip.so b758e000-b7595000 r-xp 00000000 08:01 1218520 /lib/librt-2.8.so b7595000-b7596000 r--p 00006000 08:01 1218520 /lib/librt-2.8.so b7596000-b7597000 rw-p 00007000 08:01 1218520 /lib/librt-2.8.so b7597000-b759a000 ---p b7597000 00:00 0 b759a000-b75e8000 rw-p b759a000 00:00 0 b75e8000-b760c000 r-xp 00000000 08:01 1034658 /lib/libm-2.8.so b760c000-b760d000 r--p 00023000 08:01 1034658 /lib/libm-2.8.so b760d000-b760e000 rw-p 00024000 08:01 1034658 /lib/libm-2.8.so b760e000-b798c000 r-xp 00000000 08:01 3898 /usr/lib/jvm/java-1.6.0-openjdk-1.2_b09/jre/lib/i386/client/libjvm.so b798c000-b799f000 r--p 0037e000 08:01 3898 /usr/lib/jvm/java-1.6.0-openjdk-1.2_b09/jre/lib/i386/client/libjvm.so b799f000-b79ab000 rw-p 00391000 08:01 3898 /usr/lib/jvm/java-1.6.0-openjdk-1.2_b09/jre/lib/i386/client/libjvm.so b79ab000-b7dcb000 rw-p b79ab000 00:00 0 b7dcb000-b7f08000 r-xp 00000000 08:01 145156 /lib/libc-2.8.so b7f08000-b7f0a000 r--p 0013d000 08:01 145156 /lib/libc-2.8.so b7f0a000-b7f0b000 rw-p 0013f000 08:01 145156 /lib/libc-2.8.so b7f0b000-b7f0e000 rw-p b7f0b000 00:00 0 b7f0e000-b7f10000 r-xp 00000000 08:01 996292 /lib/libdl-2.8.so b7f10000-b7f11000 r--p 00001000 08:01 996292 /lib/libdl-2.8.so b7f11000-b7f12000 rw-p 00002000 08:01 996292 /lib/libdl-2.8.so b7f12000-b7f16000 r-xp 00000000 08:01 3903 /usr/lib/jvm/java-1.6.0-openjdk-1.2_b09/jre/lib/i386/jli/libjli.so b7f16000-b7f17000 r--p 00003000 08:01 3903 /usr/lib/jvm/java-1.6.0-openjdk-1.2_b09/jre/lib/i386/jli/libjli.so b7f17000-b7f18000 rw-p 00004000 08:01 3903 /usr/lib/jvm/java-1.6.0-openjdk-1.2_b09/jre/lib/i386/jli/libjli.so b7f18000-b7f2c000 r-xp 00000000 08:01 1100778 /lib/libpthread-2.8.so b7f2c000-b7f2d000 r--p 00013000 08:01 1100778 /lib/libpthread-2.8.so b7f2d000-b7f2e000 rw-p 00014000 08:01 1100778 /lib/libpthread-2.8.so b7f2e000-b7f30000 rw-p b7f2e000 00:00 0 b7f30000-b7f42000 r-xp 00000000 08:01 146523 /lib/libz.so.1.2.3 b7f42000-b7f43000 r--p 00011000 08:01 146523 /lib/libz.so.1.2.3 b7f43000-b7f44000 rw-p 00012000 08:01 146523 /lib/libz.so.1.2.3 b7f44000-b7f50000 r-xp 00000000 08:01 3937 /usr/lib/jvm/java-1.6.0-openjdk-1.2_b09/jre/lib/i386/libverify.so b7f50000-b7f51000 r--p 0000c000 08:01 3937 /usr/lib/jvm/java-1.6.0-openjdk-1.2_b09/jre/lib/i386/libverify.so b7f51000-b7f52000 rw-p 0000d000 08:01 3937 /usr/lib/jvm/java-1.6.0-openjdk-1.2_b09/jre/lib/i386/libverify.so b7f52000-b7f5a000 rw-s 00000000 08:01 1445 /tmp/hsperfdata_root/3975 (deleted) b7f5a000-b7f61000 r-xp 00000000 08:01 3940 /usr/lib/jvm/java-1.6.0-openjdk-1.2_b09/jre/lib/i386/native_threads/libhpi.so b7f61000-b7f62000 r--p 00006000 08:01 3940 /usr/lib/jvm/java-1.6.0-openjdk-1.2_b09/jre/lib/i386/native_threads/libhpi.so b7f62000-b7f63000 rw-p 00007000 08:01 3940 /usr/lib/jvm/java-1.6.0-openjdk-1.2_b09/jre/lib/i386/native_threads/libhpi.so b7f63000-b7f64000 rw-p b7f63000 00:00 0 b7f64000-b7f65000 r--p b7f64000 00:00 0 b7f65000-b7f66000 rw-p b7f65000 00:00 0 b7f66000-b7f81000 r-xp 00000000 08:01 115121 /lib/ld-2.8.so b7f81000-b7f82000 r--p 0001a000 08:01 115121 /lib/ld-2.8.so b7f82000-b7f83000 rw-p 0001b000 08:01 115121 /lib/ld-2.8.so bfb6e000-bfb83000 rw-p bffeb000 00:00 0 [stack] ffffe000-fffff000 r-xp 00000000 00:00 0 [vdso] Aborted -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=414462 User robermann@gmail.com added comment https://bugzilla.novell.com/show_bug.cgi?id=414462#c9 robermann79 robermann79 <robermann@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEEDINFO |NEW Info Provider|robermann@gmail.com | --- Comment #9 from robermann79 robermann79 <robermann@gmail.com> 2008-08-05 06:20:26 MDT --- Created an attachment (id=231772) --> (https://bugzilla.novell.com/attachment.cgi?id=231772) strace with kernel-deault (not PAE) -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=414462 User robermann@gmail.com added comment https://bugzilla.novell.com/show_bug.cgi?id=414462#c10 --- Comment #10 from robermann79 robermann79 <robermann@gmail.com> 2008-08-09 02:01:32 MDT --- My suspect is that the default Xmx size is greater than my free available ram + swap (380 mega in this moment). I downloaded from: https://api.opensuse.org/build/openSUSE:Factory/standard/i586/java-1_6_0-ope... the last factory java version. If I'm not wrong, the Xmx setting is done into the file: openjdk-6-src-b09-11_apr_2008-fedora/openjdk/jdk/make/docs/Makefile Therefore the default size should be: MAX_VM_MEMORY = 512 That default value makes the process crash on my PC, which has 512 mb of RAM (java -Xmx512m -version crashes, too). I think the SUN default value was 384 - see: https://jdk-jrl-sources.dev.java.net/source/browse/jdk-jrl-sources/jdk6u3/tr... In my PC, I can run successfully: java -Xmx384m -version If this discussion of default value was correct, we could close the bug, however that would also mean that default openjdk / icedtea RPM versions will not work out of the box (without patches) on PCs with scarce RAM like mine. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=414462 User robermann@gmail.com added comment https://bugzilla.novell.com/show_bug.cgi?id=414462#c11 --- Comment #11 from robermann79 robermann79 <robermann@gmail.com> 2008-08-20 15:52:09 MDT --- Reporting the results of my debug, as requested by distro-pkg-dev@openjdk.java.net ML. I hope this can help. * File collectorPolicy.cpp:
From CollectorPolicy::initialize_size_info() I have: _max_heap_byte_size = align_size_up(MaxHeapSize, max_alignment()) = 512 mb. where max_alignment() = 2 mb MaxHeapSize = 512 mb
Then into TwoGenerationCollectorPolicy::initialize_size_info() I have: _max_heap_byte_size = 536870912 (512 mb) _max_gen0_size = 41287680 (39,375 mb) _max_gen1_size = _max_heap_byte_size - _max_gen0_size = 495583232 (472.625 mb) Then into MarkSweepPolicy::initialize_generations() I have: _generations[0] = new GenerationSpec(Generation::DefNew, _initial_gen0_size, _max_gen0_size); _generations[1] = new GenerationSpec(Generation::MarkSweepCompact, _initial_gen1_size, _max_gen1_size); * Going to the file genCollectedHeap.cpp: In the method GenCollectedHeap::allocate(), I have: total_reserved = 512 mb total_reserved += perm_gen_spec->max_size(); total_reserved = 576mb So adding the max size of PermGen sums up to 603979776 bytes. I found no call to os:: memory related functions from os_linux.cpp (os::available_memory() or os::physical_memory()). physical_memory is called by arguments.cpp only when there is a UseParallelGC or AggressiveHeap option. In conclusion: it seems to me that, running without the Xmx option, MaxHeapSize values 512 because is so defined in hotspot/src/share/vm/runtime/globals.hpp. Adding the max perm size to the two generations max sizes returns the value of 576 mb, which is greater of my RAM (512 mb). -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=414462 User mvyskocil@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=414462#c12 Michal Vyskocil <mvyskocil@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- URL| |http://mail.openjdk.java.net/pipermail/distro- | |pkg-dev/2008-August/002818.html Status|NEW |RESOLVED Resolution| |UPSTREAM --- Comment #12 from Michal Vyskocil <mvyskocil@novell.com> 2008-09-17 06:12:18 MDT --- Upstream know about this issue. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=414462 User robermann@gmail.com added comment https://bugzilla.novell.com/show_bug.cgi?id=414462#c13 --- Comment #13 from Roberto Mannai <robermann@gmail.com> 2009-02-24 16:19:35 MST --- In order to work, I have to change the default "virtual memory" limit: #ulimit -v 642451 #java -version java version "1.6.0_0" Now works. When is it set the "ulimit -v" value during the boot process? -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=414462 User robermann@gmail.com added comment https://bugzilla.novell.com/show_bug.cgi?id=414462#c14 --- Comment #14 from Roberto Mannai <robermann@gmail.com> 2009-02-24 16:49:20 MST --- I got: /etc/sysconfig/ulimit /etc/initscript ulimit -v is set to the 80% of physical ram + swap on my opensuse 11.1. So, given new defaults for Xmx in openjdk, if the total process allocation size is greater than ulimit max size, you get an error "Could not reserve enough space for object heap". -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
participants (1)
-
bugzilla_noreply@novell.com