OpenJDK 7 u4 and core dumped in 32bits mode
Henri Gomez
henri.gomez at gmail.com
Tue Apr 24 02:59:55 PDT 2012
Hi to all,
While experimenting OpenJDK 7 u4 for OSX, in 32bits mode (-d32) with a
Jenkins server as Java app, I encountered following Java core many
times (java.text.SimpleDateFormat.format(Ljava/util/Date;Ljava/lang/StringBuffer;Ljava/text/Format$FieldDelegate;)Ljava/lang/StringBuffer)
#
# A fatal error has been detected by the Java Runtime Environment:
#
# SIGBUS (0xa) at pc=0x0119d99a, pid=36885, tid=2967318528
#
# JRE version: 7.0
# Java VM: OpenJDK Server VM (23.0-b21 mixed mode bsd-x86 )
# Problematic frame:
# J java.text.SimpleDateFormat.format(Ljava/util/Date;Ljava/lang/StringBuffer;Ljava/text/Format$FieldDelegate;)Ljava/lang/StringBuffer;
#
# Failed to write core dump. Core dumps have been disabled. To enable
core dumping, try "ulimit -c unlimited" before starting Java again
#
# An error report file with more information is saved as:
# /Users/henri/Documents/jenkins/tomcat7/hs_err_pid36885.log
-------------
0 (0x2487e888) [b5|b4| 1]
[ 0x0ef7f900]
[ 0x00000008]
[ 0x78000000]
-------------
1 (0x2487e898) [00|b7| 2]
[ 0x240a12d0]
[ 0x00000000]
[ 0x80800001]
-------------
# [ timer expired, abort... ]
hs_err_pid contains :
#
# A fatal error has been detected by the Java Runtime Environment:
#
# SIGBUS (0xa) at pc=0x0119d99a, pid=36885, tid=2967318528
#
# JRE version: 7.0
# Java VM: OpenJDK Server VM (23.0-b21 mixed mode bsd-x86 )
# Problematic frame:
# J java.text.SimpleDateFormat.format(Ljava/util/Date;Ljava/lang/StringBuffer;Ljava/text/Format$FieldDelegate;)Ljava/lang/StringBuffer;
#
# Failed to write core dump. Core dumps have been disabled. To enable
core dumping, try "ulimit -c unlimited" before starting Java again
#
# If you would like to submit a bug report, please visit:
# http://bugreport.sun.com/bugreport/crash.jsp
#
--------------- T H R E A D ---------------
Current thread (0x6df14000): JavaThread "Loading job
sh4rewithme-parent" daemon [_thread_in_Java, id=-1327648768,
stack(0xb0d8b000,0xb0ddb000)]
siginfo:si_signo=SIGBUS: si_errno=0, si_code=2 (BUS_ADRERR), si_addr=0x0000002d
Registers:
EAX=0x6df14000, EBX=0x00000001, ECX=0xb0dda45c, EDX=0x2487e878
ESP=0xb0dda4c0, EBP=0x049c4ff8, ESI=0x0119da50, EDI=0x00000001
EIP=0x0119d99a, EFLAGS=0x00010246
Top of Stack: (sp=0xb0dda4c0)
0xb0dda4c0: 00000004 0efe56a8 049c4ff8 00000001
0xb0dda4d0: 00000004 00000001 00000001 005bbb78
0xb0dda4e0: b0dda4f8 00000006 00000004 0efe56a8
0xb0dda4f0: b0dda4f0 2487ddd8 b0dda548 00fe361a
0xb0dda500: 049c4ff8 0efe56a8 00000000 b0dda518
0xb0dda510: b0dda548 00fe361a 0efe56a8 049c4ff8
0xb0dda520: 049c4fe0 08500550 b0dda528 2477a441
0xb0dda530: b0dda55c 2477f250 00000000 2477a450
Instructions: (pc=0x0119d99a)
0x0119d97a: 24 8b 5c 24 10 89 5c 24 04 e8 d8 f9 e6 ff 8b 5c
0x0119d98a: 24 14 03 5c 24 10 85 3d 00 70 15 00 8b 7c 24 0c
0x0119d99a: 8b 57 2c 8b 4a 08 3b d9 0f 8d d5 00 00 00 89 6c
0x0119d9aa: 24 40 8b 7a 08 3b df 0f 83 0d 01 00 00 0f b7 74
Register to memory mapping:
EAX=0x6df14000 is a thread
EBX=0x00000001 is an unknown value
ECX=0xb0dda45c is pointing into the stack for thread: 0x6df14000
EDX=0x2487e878 is an oop
{constant pool cache}
- klass: {other class}
ESP=0xb0dda4c0 is pointing into the stack for thread: 0x6df14000
EBP=
If I select -d32 and -client, problem disappears.
Any ideas ?
More information about the jdk7u-dev
mailing list