A Solaris 9 OE system was running a Java application with J2SE 1.4.2_04.
% java -server -verbose:gc -XX:+PrintGCTimeStamps -XX:+PrintGCDetails -Xms600m -Xmx600m -XX:MaxNewSize=32m -XX:NewSize=32m -XX:SurvivorRatio=1024 -XX:+UseParNewGC -XX:ParallelGCThreads=8 -XX:-UseAdaptiveSizePolicy -XX:+CMSParallelRemarkEnabled -XX:+UseConcMarkSweepGC -XX:CMSInitiatingOccupancyFraction=53 -Dfxplus.log.dir=/export/apps/prod/tplp1/fxplus/level_1/dbag/release/log
And then, the Java application dumped a core file with SIGBUS error.
For more information, here is the stack trace.
(dbx) where -l
current thread: t@33425
=>[1] libc.so.1:_lwp_kill(0x0, 0x6, 0x0, 0xff33c000, 0x0, 0x0), at 0xff31e42c
[2] libc.so.1:raise(0x6, 0x0, 0xb7d7eae8, 0x0, 0x23, 0xff00), at 0xff2ccd70
[3] libc.so.1:abort(0x0, 0xb7d7eb78, 0x0, 0xfffffff8, 0x0, 0xb7d7eba1), at 0xff2b5c60
[4] libjvm.so:os::abort(0x1, 0xff153722, 0xb7d7ec28, 0xfa38a288, 0xff1b78bc, 0x3db2e4), at 0xff098498
[5] libjvm.so:os::handle_unexpected_exception(0xa76130, 0xa, 0xfa38a974, 0xb7d7f990, 0xfedd87d8, 0x0), at 0xff0967ac
[6] libjvm.so:JVM_handle_solaris_signal(0xfa38a974, 0xb7d7f990, 0xb7d7f6d8, 0x3400, 0x35ec, 0x0), at 0xfedd90ac
[7] libthread.so.1:__sighndlr(0xa, 0xb7d7f990, 0xb7d7f6d8, 0xfedd875c, 0x0, 0x0), at 0xff3861a0
[8] libthread.so.1:call_user_handler(0xa, 0xb7d7f990, 0xb7d7f6d8, 0x0, 0x0, 0x0), at 0xff37fed0
[9] libthread.so.1:sigacthandler(0xa, 0xb7d7f990, 0xb7d7f6d8, 0x1, 0xf5843d68, 0xd21fb1b0), at 0xff380080
---- called from signal handler with signal 10 (SIGBUS) ------
[10] 0xfa38a974(0xd20850e0, 0xd2085109, 0xd20850d8, 0xd2221c80, 0xf5843d68, 0xd2222fc0), at 0xfa38a973
[11] 0xfa394d78(0xb7d7fb9c, 0x0, 0xf6819128, 0xfa00e660, 0x4, 0xb7d7fa90), at 0xfa394d77
[12] 0xfa00010c(0xb7d7fc28, 0xb7d7fe90, 0xa, 0xf5e1e1e0, 0x4, 0xb7d7fb40), at 0xfa00010b
[13] libjvm.so:JavaCalls::call_helper(0xb7d7fe88, 0xb7d7fcf0, 0xb7d7fda8, 0xa76130, 0xa76130, 0xb7d7fd00), at 0xfed5d48c
[14] libjvm.so:JavaCalls::call_virtual(0xff170000, 0xa790c8, 0xb7d7fd9c, 0xb7d7fd98, 0xb7d7fda8, 0xa76130), at 0xfee4b784
[15] libjvm.so:JavaCalls::call_virtual(0xb7d7fe88, 0xb7d7fe84, 0xb7d7fe7c, 0xb7d7fe74, 0xb7d7fe6c, 0xa76130), at 0xfee5e8dc
[16] libjvm.so:thread_entry(0xa76130, 0xa76130, 0x79afb0, 0xa790c8, 0x306d10, 0xfee69254), at 0xfee6fc74
[17] libjvm.so:JavaThread::run(0xa76130, 0x8291, 0x40, 0x0, 0x40, 0x0), at 0xfee6927c
[18] libjvm.so:_start(0xa76130, 0x0, 0x0, 0x0, 0x0, 0x0), at 0xfee6575c
(dbx) frame 10
0xfa38a974: ld [%o1 + 0x10], %g1
(dbx) regs
current thread: t@33425
current frame: [10]
g0-g3 0x00000000 0xb7d7fa84 0x00a76130 0x00000001
g4-g7 0x00000000 0x00a790e4 0x00000000 0xce9ba600
o0-o3 0xd2221c80 0xe359ae19 0xd220cdd0 0x00000001
^^^^^^^^^^
o4-o7 0xf5843d68 0xd21fb1b0 0xb7d7fa10 0xfa38ae08
l0-l3 0xe359ae28 0xd2221c80 0xd20850e8 0xd20850ec
l4-l7 0xd20850e4 0xd2085090 0xd2221c80 0xf581fa20
i0-i3 0xd20850e0 0xd2085109 0xd20850d8 0xd2221c80
i4-i7 0xf5843d68 0xd2222fc0 0xb7d7fa88 0xfa394d78
y 0x00000000
ccr 0x00000004
pc 0xfa38a974:0xfa38a974 ld [%o1 + 0x10], %g1
^^^^^^^^^^
0xe359ae29 is not aligned to 4 bytes.
npc 0xfa38a978:0xfa38a978 cmp %g1, %l7
(dbx) examine 0xfa38a974-0x20/20i
0xfa38a954: nop
0xfa38a958: bad opcode
0xfa38a95c: cmp %g1, %g4
0xfa38a960: bad opcode
0xfa38a964: ld [%l4], %l1
0xfa38a968: ld [%l0 + 0x4], %o1
0xfa38a96c: sethi %hi(0xf581f800), %l7
0xfa38a970: or %l7, 0x220, %l7
0xfa38a974: ld [%o1 + 0x10], %g1
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
0xfa38a978: cmp %g1, %l7
0xfa38a97c: bad opcode
0xfa38a980: nop
0xfa38a984: sethi %hi(0xf581f800), %g1
0xfa38a988: or %g1, 0x220, %g1
0xfa38a98c: cmp %o1, %g1
0xfa38a990: bad opcode
0xfa38a994: nop
0xfa38a998: sethi %hi(0xf581f800), %o2
0xfa38a99c: or %o2, 0x220, %o2
0xfa38a9a0: call 0xfa000800