FULL PRODUCT VERSION :
java version "1.6.0_01"
Java(TM) SE Runtime Environment (build 1.6.0_01-b06)
Java HotSpot(TM) Client VM (build 1.6.0_01-b06, mixed mode, sharing)
ADDITIONAL OS VERSION INFORMATION :
Linux version 2.6.17-11-server (debuild@build32-dapper) (gcc version 4.0.3 (Ubuntu 4.0.3-1ubuntu5)) #1 SMP Fri Oct 27 12:19:26 CEST 2006
A DESCRIPTION OF THE PROBLEM :
Java dies with a SIGBUS when the temp directory gets full. The last action in strace is an attempt to access /tmp/hsperfdata.
STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
Fill up your temp directory
Start java -version
EXPECTED VERSUS ACTUAL BEHAVIOR :
EXPECTED -
Get version
ACTUAL -
SIGBUS
ERROR MESSAGES/STACK TRACES THAT OCCUR :
/opt/Java/Base/jre1.6.0_01/bin/java -version
#
# An unexpected error has been detected by Java Runtime Environment:
#
# SIGBUS (0x7) at pc=0xb7ec54c7, pid=11868, tid=3085134768
#
# Java VM: Java HotSpot(TM) Client VM (1.6.0_01-b06 mixed mode, sharing)
# Problematic frame:
#
[error occurred during error reporting, step 60, id 0xb]
# An error report file with more information is saved as hs_err_pid11868.log
#
# If you would like to submit a bug report, please visit:
# http://java.sun.com/webapps/bugreport/crash.jsp
#
Aborted
#
# An unexpected error has been detected by Java Runtime Environment:
#
# SIGBUS (0x7) at pc=0xb7ec54c7, pid=11868, tid=3085134768
#
# Java VM: Java HotSpot(TM) Client VM (1.6.0_01-b06 mixed mode, sharing)
# Problematic frame:
#
[error occurred during error reporting, step 60, id 0xb]
# If you would like to submit a bug report, please visit:
# http://java.sun.com/webapps/bugreport/crash.jsp
#
--------------- T H R E A D ---------------
Current thread is native thread
siginfo:si_signo=7, si_errno=0, si_code=2, si_addr=0xb7d99000
Registers:
EAX=0x00000000, EBX=0x00000003, ECX=0x00002000, EDX=0x00000000
ESP=0xb7e36228, EBP=0xb7e36258, ESI=0xb7d99000, EDI=0xb7d99000
EIP=0xb7ec54c7, CR2=0xb7d99000, EFLAGS=0x00200246
Top of Stack: (sp=0xb7e36228)
0xb7e36228: 08056f18 06313691 b7d99000 00000000
0xb7e36238: 00008000 00000001 08056e58 080582d8
0xb7e36248: 00002e5c 00008000 00008000 b7e3639b
0xb7e36258: b7e36278 063132ea 00008000 b7e3639b
0xb7e36268: b7e36288 060b8e83 00008000 b7e36434
0xb7e36278: b7e36298 063130c1 00008000 00000000
0xb7e36288: b7e36298 063130b0 08056ee0 00000000
0xb7e36298: b7e36378 063834f3 00000000 00000000
Instructions: (pc=0xb7ec54c7)
0xb7ec54b7: aa 49 89 ca c1 e9 02 83 e2 03 69 c0 01 01 01 01
0xb7ec54c7: f3 ab 89 d1 f3 aa 8b 44 24 08 5f c3 90 90 90 90
Stack: [0xb7de6000,0xb7e37000), sp=0xb7e36228, free space=320k
Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)
[error occurred during error reporting, step 120, id 0xb]
--------------- P R O C E S S ---------------
Java Threads: ( => current thread )
Other Threads:
VM state:not at safepoint (not fully initilizated)
VM Mutex/Monitor currently owned by a thread: None
Heap
[error occurred during error reporting, step 190, id 0xb]
Dynamic libraries:
06000000-06412000 r-xp 00000000 08:11 954986 /opt/Java/Base/jre1.6.0_01/lib/i386/client/libjvm.so
06412000-0642b000 rwxp 00412000 08:11 954986 /opt/Java/Base/jre1.6.0_01/lib/i386/client/libjvm.so
0642b000-0684a000 rwxp 0642b000 00:00 0
08048000-08052000 r-xp 00000000 08:11 938853 /opt/Java/Base/jre1.6.0_01/bin/java
08052000-08053000 rwxp 00009000 08:11 938853 /opt/Java/Base/jre1.6.0_01/bin/java
08053000-08074000 rwxp 08053000 00:00 0 [heap]
b7d99000-b7da1000 rwxs 00000000 00:12 51778 /tmp/hsperfdata_javaservice/11868
b7da1000-b7daa000 r-xp 00000000 08:11 903052 /lib/tls/i686/cmov/libnss_files-2.3.6.so
b7daa000-b7dab000 rwxp 00008000 08:11 903052 /lib/tls/i686/cmov/libnss_files-2.3.6.so
b7dab000-b7db3000 r-xp 00000000 08:11 903056 /lib/tls/i686/cmov/libnss_nis-2.3.6.so
b7db3000-b7db4000 rwxp 00007000 08:11 903056 /lib/tls/i686/cmov/libnss_nis-2.3.6.so
b7db4000-b7dbc000 r-xp 00000000 08:11 903048 /lib/tls/i686/cmov/libnss_compat-2.3.6.so
b7dbc000-b7dbd000 rwxp 00007000 08:11 903048 /lib/tls/i686/cmov/libnss_compat-2.3.6.so
b7dbd000-b7dcf000 r-xp 00000000 08:11 903046 /lib/tls/i686/cmov/libnsl-2.3.6.so
b7dcf000-b7dd0000 rwxp 00012000 08:11 903046 /lib/tls/i686/cmov/libnsl-2.3.6.so
b7dd0000-b7dd2000 rwxp b7dd0000 00:00 0
b7dd7000-b7ddd000 r-xp 00000000 08:11 938877 /opt/Java/Base/jre1.6.0_01/lib/i386/native_threads/libhpi.so
b7ddd000-b7dde000 rwxp 00006000 08:11 938877 /opt/Java/Base/jre1.6.0_01/lib/i386/native_threads/libhpi.so
b7dde000-b7de5000 r-xp 00000000 08:11 903065 /lib/tls/i686/cmov/librt-2.3.6.so
b7de5000-b7de6000 rwxp 00006000 08:11 903065 /lib/tls/i686/cmov/librt-2.3.6.so
b7de6000-b7de7000 ---p b7de6000 00:00 0
b7de7000-b7e37000 rwxp b7de7000 00:00 0
b7e37000-b7e58000 r-xp 00000000 08:11 903043 /lib/tls/i686/cmov/libm-2.3.6.so
b7e58000-b7e59000 rwxp 00020000 08:11 903043 /lib/tls/i686/cmov/libm-2.3.6.so
b7e59000-b7e5a000 rwxp b7e59000 00:00 0
b7e5a000-b7f7f000 r-xp 00000000 08:11 903035 /lib/tls/i686/cmov/libc-2.3.6.so
b7f7f000-b7f86000 rwxp 00125000 08:11 903035 /lib/tls/i686/cmov/libc-2.3.6.so
b7f86000-b7f89000 rwxp b7f86000 00:00 0
b7f89000-b7f8b000 r-xp 00000000 08:11 903041 /lib/tls/i686/cmov/libdl-2.3.6.so
b7f8b000-b7f8c000 rwxp 00001000 08:11 903041 /lib/tls/i686/cmov/libdl-2.3.6.so
b7f8c000-b7f93000 r-xp 00000000 08:11 986719 /opt/Java/Base/jre1.6.0_01/lib/i386/jli/libjli.so
b7f93000-b7f95000 rwxp 00006000 08:11 986719 /opt/Java/Base/jre1.6.0_01/lib/i386/jli/libjli.so
b7f95000-b7fa4000 r-xp 00000000 08:11 903061 /lib/tls/i686/cmov/libpthread-2.3.6.so
b7fa4000-b7fa5000 rwxp 0000e000 08:11 903061 /lib/tls/i686/cmov/libpthread-2.3.6.so
b7fa5000-b7fa8000 rwxp b7fa5000 00:00 0
b7fab000-b7fac000 rwxp b7fab000 00:00 0
b7fac000-b7fad000 r-xp b7fac000 00:00 0
b7fad000-b7fb0000 rwxp b7fad000 00:00 0
b7fb0000-b7fc5000 r-xp 00000000 08:11 902829 /lib/ld-2.3.6.so
b7fc5000-b7fc6000 rwxp 00014000 08:11 902829 /lib/ld-2.3.6.so
bf8f3000-bf909000 rwxp bf8f3000 00:00 0 [stack]
ffffe000-fffff000 ---p 00000000 00:00 0 [vdso]
VM Arguments:
java_command: <unknown>
Launcher Type: SUN_STANDARD
Environment Variables:
PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/bin/X11:/usr/games
LD_LIBRARY_PATH=/opt/Java/Base/jre1.6.0_01/lib/i386/client:/opt/Java/Base/jre1.6.0_01/lib/i386:/opt/Java/Base/jre1.6.0_01/../lib/i386
SHELL=/bin/bash
Signal Handlers:
SIGSEGV: [libjvm.so+0x3aeee0], sa_mask[0]=0x7ffbfeff, sa_flags=0x10000004
SIGBUS: [libjvm.so+0x3aeee0], sa_mask[0]=0x7ffbfeff, sa_flags=0x10000004
SIGFPE: [libjvm.so+0x305260], sa_mask[0]=0x7ffbfeff, sa_flags=0x10000004
SIGPIPE: [libjvm.so+0x305260], sa_mask[0]=0x7ffbfeff, sa_flags=0x10000004
SIGILL: [libjvm.so+0x305260], sa_mask[0]=0x7ffbfeff, sa_flags=0x10000004
SIGUSR1: SIG_DFL, sa_mask[0]=0x00000000, sa_flags=0x00000000
SIGUSR2: [libjvm.so+0x307270], sa_mask[0]=0x00000000, sa_flags=0x10000004
SIGHUP: SIG_DFL, sa_mask[0]=0x00000000, sa_flags=0x00000000
SIGINT: SIG_DFL, sa_mask[0]=0x00000000, sa_flags=0x00000000
SIGQUIT: SIG_DFL, sa_mask[0]=0x00000000, sa_flags=0x00000000
SIGTERM: SIG_DFL, sa_mask[0]=0x00000000, sa_flags=0x00000000
SIGUSR2: [libjvm.so+0x307270], sa_mask[0]=0x00000000, sa_flags=0x10000004
--------------- S Y S T E M ---------------
OS:testing/unstable
uname:Linux 2.6.17-11-server #1 SMP Fri Oct 27 12:19:26 CEST 2006 i686
libc:glibc 2.3.6 NPTL 2.3.6
rlimit: STACK 8192k, CORE 0k, NPROC infinity, NOFILE 1024, AS infinity
load average:0.10 0.03 0.01
CPU:total 1
Memory: 4k page, physical 515712k(135216k free), swap 514072k(512960k free)
vm_info: Java HotSpot(TM) Client VM (1.6.0_01-b06) for linux-x86, built on Mar 14 2007 01:00:53 by "java_re" with gcc 3.2.1-7a (J2SE release)
REPRODUCIBILITY :
This bug can be reproduced always.