Solaris JDK 1.2.2_13 crashes in what appears to be garbage collection code, with
the following error on Sol 2.6 system:
SIGBUS 10 bus error
si_signo [10]: BUS
si_errno [0]:
si_code [1]: BUS_ADRALN [addr: 0x1c5c19]
stackpointer=D8EC0B20
Native stack is as follows:
(attached file afc_crash_1016.tar.gz contains complete stack, core, showrev,
uname, error, etc)
dbx> threads t@48
t@48 (l@42) stopped in __sigprocmask at 0xef774c9c
0xef774c9c: __sigprocmask+0x0008: jmp %o7 + 0x8
dbx> where
current thread: t@48
=>[1] __sigprocmask(0x0, 0x6660d050, 0x0, 0xffffffff, 0xffffffff, 0x0), at 0xef774c9c
[2] _resetsig(0xef787824, 0xef786b70, 0x0, 0x0, 0xd9601e3c, 0xd9601e40), at 0xef76b9c8
[3] _sigon(0xef78bbf0, 0xef78b5f0, 0xd9601e38, 0xd9600484, 0x6, 0x30), at 0xef76b184
[4] _thrp_kill(0x0, 0x30, 0x6, 0xef786b70, 0xd9601dd0, 0x0), at 0xef76dec0
[5] abort(0xef3a58d8, 0x0, 0x0, 0x0, 0x0, 0x0), at 0xef33b310
[6] panicHandler(0x0, 0xd96009d0, 0xd9600718, 0xef734000, 0x6, 0x0), at 0xef63e6e0
[7] __sighndlr(0x6, 0xd96009d0, 0xd9600718, 0xef63d320, 0xd9601e48, 0xd9601e28), at 0xef7765b8
[8] sigacthandler(0x6, 0xd96009d0, 0xd9600718, 0xef786b70, 0x18, 0xd9601e38), at 0xef773a34
---- called from signal handler with signal 6 (SIGABRT) ------
[9] __sigprocmask(0x0, 0x6660d050, 0x0, 0xffffffff, 0xffffffff, 0x0), at 0xef774c9c
[10] _resetsig(0xef787824, 0xef786b70, 0x0, 0x0, 0xd9601e3c, 0xd9601e40), at 0xef76b9c8
[11] _sigon(0xef78bbf0, 0xef78b5f0, 0xd9601e38, 0xd9600bb4, 0x6, 0x30), at 0xef76b184
[12] _thrp_kill(0x0, 0x30, 0x6, 0xef786b70, 0xd9601dd0, 0x0), at 0xef76dec0
[13] abort(0xef3a58d8, 0x0, 0x0, 0x0, 0x0, 0x0), at 0xef33b2d4
[14] panicHandler(0x0, 0xd9601100, 0xd9600e48, 0xef734000, 0xa, 0x0), at 0xef63e6e0
[15] __sighndlr(0xa, 0xd9601100, 0xd9600e48, 0xef63d320, 0xd9601e48, 0xd9601e28), at 0xef7765b8
[16] sigacthandler(0xa, 0xd9601100, 0xd9600e48, 0xef786b70, 0x28, 0xd9601e58), at 0xef773a34
---- called from signal handler with signal 10 (SIGBUS) ------
[17] objToRefItWithClassesG(0xdecc5a81, 0xd9601578, 0xd9601578, 0xdd82f754, 0xdd82f758, 0x1), at 0xef65e180
[18] acspObjectsDo(0xd9601578, 0x0, 0xef65e16c, 0xdd82f918, 0x37dd8, 0xdd82f758), at 0xef646b24
[19] youngerAndOlderRefsDo(0xd9601578, 0x37b10, 0xef65e000, 0xef65e16c, 0x0, 0x0), at 0xef65e4a8
[20] genPreWork(0x3b0c8, 0xd9601578, 0xef65e550, 0x0, 0x0, 0x0), at 0xef65e598
[21] processRootsWork(0x3b0c8, 0xef58ab7c, 0x804, 0xd9601578, 0xd9601420, 0x0), at 0xef58ab98
[22] parallelDoDeg(0x3b078, 0x902a98, 0xef58ab7c, 0xd9601420, 0x0, 0x1), at 0xef60a564
[23] processRoots(0x1, 0xef71a74c, 0xef58a800, 0xef74e000, 0xef58afe4, 0x0), at 0xef58b170
[24] processStrongRoots(0x1, 0xef71a74c, 0xef65e550, 0xef65e5a8, 0x0, 0x0), at 0xef58b1d4
[25] processStrongRefsIntoGen(0xef734000, 0x1, 0xef71a74c, 0x1, 0x1, 0x1), at 0xef65e6f0
[26] markGeneration(0x37e98, 0x1, 0xde000000, 0x1, 0x1, 0x1), at 0xef65fd80
[27] mcCollect(0x37e98, 0xef734340, 0x1, 0x0, 0xef661944, 0xffffffff), at 0xef6619e8
[28] timedGC(0x37e98, 0xef74c000, 0x902c98, 0x0, 0xef750400, 0x1), at 0xef65c734
[29] specificGC(0x0, 0xef750400, 0x0, 0x0, 0xef734094, 0x1), at 0xef65ca14
[30] lockedGC(0xd9601904, 0xef732400, 0xef74dc00, 0x0, 0x1, 0x0), at 0xef58f4cc
[31] gc(0xef73261c, 0x1, 0x0, 0x902a98, 0xef733c00, 0x1), at 0xef58ff48
[32] JVM_GC(0x902a98, 0x902b18, 0x91b8b0, 0x8f18f2, 0xff00, 0x902a9b), at 0xef5d218c
[33] 0xdc416df0(0xde822398, 0x1, 0xeeef72c1, 0xffffffec, 0xffffffff, 0xd9601aa4), at 0xdc416def
[34] 0xdc4d5890(0xde8a1118, 0xd9601b18, 0x8f18f1, 0x8f18f0, 0x8f18d8, 0x8f18f1), at 0xdc4d588f
[35] 0xdc456f74(0xde8a1118, 0xde8a1118, 0x0, 0x0, 0x0, 0x0), at 0xdc456f73
[36] fastInvokeCompiledCode(0x902a98, 0xdc456edc, 0xd9601c0c, 0xd9601cdc, 0x0, 0x0), at 0xef743840
[37] do_execute_java_method_vararg_FAST(0x902a98, 0x26c29, 0x0, 0x49bba0, 0x91b880, 0xd9601cdc), at 0xef5a9b98
[38] do_execute_java_method(0x902a98, 0x902b60, 0x0, 0x49bba0, 0xef732000, 0xd9601e28), at 0xef5a9174
[39] ThreadRT0(0x902b60, 0x0, 0xef74dc00, 0x902a98, 0xff00, 0xff), at 0xef5d4ea4
[40] _start(0x0, 0x902a98, 0xef733c00, 0xd94, 0xef744000, 0xef74f400), at 0xef63a7d0
Debug jdk asserts as follows:
(more details on debug jdk asserts, core, stack, showrev, uname, etc in attached
file: /afc_crash_javag_1016.tar.gz)
*** panic: "../../../../src/share/javavm/runtime/stackwalk.c", line 287: assertion failure (recursive):
expression: (old_pc == ((void*)2)) || (csw->cFrame == 0) || (old_frame < ((uintptr_t)(csw->cFrame)))
first failure: "../../../../src/share/javavm/compilers/compiler.c", line 1237:
expression: ret == FALSE
Unfortunatley, the above asserts happen consistently during application startup and
not during application testing phase. Perhaps this is just the debug jdk asserts
being more strict, and not related to the actual jdk SIGBUS crash.
We have also seen a somewhat similar jdk crash on the same system, the stack for
which is as follows:
(attached file afc_crash_1014.tar.gz contains complete stack, core, showrev, uname,
error, etc)
---- called from signal handler with signal 11 (SIGSEGV) ------
[18] referencesInStackDo(0x44, 0xef74e0a8, 0x0, 0x0, 0xdc2d1630, 0x44), at 0xef5a7fd0
[19] processRootsWork(0x3b0c8, 0xef7455e0, 0xdc2d1508, 0xdc2d1630, 0xdc2d14d8, 0xb20698), at 0xef58acd4
[20] parallelDoDeg(0x3b078, 0x806458, 0xef58ab7c, 0xdc2d14d8, 0x0, 0x1), at 0xef60a564
[21] processRoots(0x1, 0xef71c380, 0xef58a800, 0xef74e000, 0xef58afe4, 0x0), at 0xef58b170
[22] processStrongRoots(0x1, 0xef71c380, 0xef65e550, 0xef65e5a8, 0x0, 0x0), at 0xef58b1d4
[23] processStrongRefsIntoGen(0xef734000, 0x1, 0xef71c380, 0x0, 0x2, 0x0), at 0xef65e6f0
[24] ssCollect(0x37b10, 0x272d4, 0xcc85ec83, 0xef671d74, 0x0, 0x1), at 0xef673b34
[25] timedGC(0x37b10, 0xef74c000, 0x806658, 0x0, 0xef750400, 0x10413070), at 0xef65c734
[26] specificGC(0x0, 0xef750400, 0x0, 0x0, 0xef734094, 0x1), at 0xef65ca14
[27] lockedGC(0xdc2d1904, 0xef732400, 0xef74dc00, 0x0, 0x0, 0x0), at 0xef58f4cc
[28] gc(0xef73261c, 0x1, 0x0, 0x806458, 0xef733c00, 0x1), at 0xef58ff48
[29] JVM_GC(0x806458, 0x8064d8, 0x801880, 0x81cb3a, 0xff00, 0x80645b), at 0xef5d218c
[30] 0xdc417270(0xde822c68, 0x1, 0xe53f5a36, 0xffffffef, 0xffffffff, 0xdc2d1aa4), at 0xdc41726f
[31] 0xdc4d5b10(0xde882620, 0xdc2d1b18, 0x81cb39, 0x81cb38, 0x81cb50, 0x81cb39), at 0xdc4d5b0f
[32] 0xdc4570f4(0xde882620, 0xde882620, 0x0, 0x0, 0x0, 0x0), at 0xdc4570f3
[33] fastInvokeCompiledCode(0x806458, 0xdc45705c, 0xdc2d1c0c, 0xdc2d1cdc, 0x0, 0x0), at 0xef743840
[34] do_execute_java_method_vararg_FAST(0x806458, 0x26c29, 0x0, 0x49e208, 0x801850, 0xdc2d1cdc), at 0xef5a9b98
[35] do_execute_java_method(0x806458, 0x806520, 0x0, 0x49e208, 0xef732000, 0xdc2d1e28), at 0xef5a9174
[36] ThreadRT0(0x806520, 0x0, 0xef74dc00, 0x806458, 0xff00, 0xff), at 0xef5d4ea4
[37] _start(0x0, 0x806458, 0xef733c00, 0xdc0, 0xef744000, 0xef74f400), at 0xef63a7d0
- relates to
-
JDK-4801616 Assertion failure: compiler.c, line 1247:expression: ret == FALSE
-
- Resolved
-