studio 12: dbx: internal error: signal SIGSEGV (no mapping at the fault add

$dbx /usr/bin/dbx /tmp/core

For information about new features see `help changes'

To remove this message, put `dbxenv suppress_startup_message 7.6' in your .dbxrc

Reading dbx

core file header read successfully

Reading ld.so.1

Reading libintl.so.1

Reading libnsl.so.1

Reading libsocket.so.1

Reading libdl.so.1

Reading libgen.so.1

Reading libw.so.1

Reading libm.so.1

Reading libc.so.1

Reading libc_psr.so.1

Reading en_US.UTF-8.so.3

Reading methods_unicode.so.3

Reading iso_8859_1.so.3

Reading libcpc.so.1

Reading libpctx.so.1

Reading libnvpair.so.1

Reading libdevinfo.so.1

Reading libproc.so.1

Reading libsec.so.1

Reading librtld_db.so.1

Reading libelf.so.1

Reading libctf.so.1

Reading libavl.so.1

Reading libc_db.so.1

Reading ld.so.1

WARNING!!

A loadobject was found with an unexpected checksum value.

See `help core mismatch' for details, and run `proc -map'

to see what checksum values were expected and found.

dbx: warning: Some symbolic information might be incorrect.

program terminated by signal ABRT (Abort)

0xffffffff7e5ce968: __lwp_kill+0x0008: bcc,a,pt %icc,__lwp_kill+0x18 ! 0xffffffff7e5ce978

(dbx) where

=>[1] __lwp_kill(0x0, 0x6, 0x0, 0xffffffff7e6f1200, 0xffffffff7e902000, 0x5), at 0xffffffff7e5ce968

[2] raise(0x6, 0x0, 0xffffffff7e5b11b8, 0xffffffffffffffff, 0xffffffff7e6e6000, 0x0), at 0xffffffff7e56b454

[3] abort(0x1, 0x1b8, 0x0, 0x19d4c0, 0x0, 0x0), at 0xffffffff7e548c4c

[4] 0x1000bfd0c(0xb, 0x100400, 0x1, 0x1005104ec, 0x10051d110, 0x10061c000), at 0x1000bfd0c

[5] __sighndlr(0xb, 0xffffffff7fffae80, 0xffffffff7fffaba0, 0x1000bfa9c, 0x0, 0xa), at 0xffffffff7e5cd86c

- called from signal handler with signal 11 (SIGSEGV)

[6] strcmp(0x0, 0x10acaba20, 0xfffffffef53545e0, 0x0, 0x8080808080808080, 0x101010101010101), at 0xffffffff7e53952c

[7] 0x10016804c(0x10d2ad310, 0x0, 0x1066ec6b0, 0x10acab980, 0x0, 0x1066ec6b0), at 0x10016804c

[8] 0x1001682f8(0x0, 0x0, 0x0, 0xfffffffff586e366, 0x0, 0x0), at 0x1001682f8

[9] 0x1000d3d68(0x103f561a0, 0x10e88bac0, 0x10aefe1c0, 0x10668f7d0, 0x0, 0x0), at 0x1000d3d68

[10] 0x1000d4f08(0x103f561a0, 0x10e88bac0, 0x10aefe1c0, 0x10668f7d0, 0x0, 0x0), at 0x1000d4f08

[11] 0x1000d44d4(0x1027c8b80, 0x10e88bac0, 0x10aefe1c0, 0x10668f7d0, 0x0, 0x0), at 0x1000d44d4

[12] 0x1000d4504(0x107721b00, 0x10e88bac0, 0x10aefe1c0, 0x10668f7d0, 0x0, 0x0), at 0x1000d4504

[13] 0x1000d44d4(0x107721a70, 0x10e88bac0, 0x10aefe1c0, 0x10668f7d0, 0x0, 0x0), at 0x1000d44d4

[14] 0x1000d44d4(0x10668f7d0, 0x10e88bac0, 0x10aefe1c0, 0x10668f7d0, 0x0, 0x0), at 0x1000d44d4

[15] 0x100273900(0x0, 0x10668f7d0, 0x10e88bac0, 0x10aefe1c0, 0x10668f7d0, 0x0), at 0x100273900

[16] 0x10027c8c0(0x4, 0x10668f7d0, 0x10e88bac0, 0x10aefe1c0, 0x10668f7d0, 0x0), at 0x10027c8c0

[17] 0x10013c280(0x0, 0x10aecd060, 0x10e88bac0, 0x10aefe1c0, 0x10668f7d0, 0x0), at 0x10013c280

[18] 0x10013d390(0xffffffff7fffd198, 0x10052adb8, 0xffffffff7fffd30f, 0x10f120de0, 0x10f120dc0, 0x10061c470), at 0x10013d390

[19] 0x1001b1fe4(0x1023f00e0, 0x100400, 0x10051d110, 0x10051d000, 0x100547000, 0x100547), at 0x1001b1fe4

[20] 0x1000cc988(0x10c128730, 0x10061a, 0x10061a000, 0x1027eafa0, 0x0, 0x328), at 0x1000cc988

[21] 0x1000ca47c(0x1066ec770, 0x10ff2c500, 0x10ff2c500, 0x1027eafa0, 0x1, 0x0), at 0x1000ca47c

[22] 0x10016dec0(0x10ff2c500, 0x1066c1f50, 0xc03, 0x100400, 0x100537509, 0x1027eafa0), at 0x10016dec0

[23] 0x1001cae20(0x10ff2c500, 0x1066c1f50, 0x100400, 0x100537950, 0x100569bb8, 0x100569), at 0x1001cae20

[24] 0x1001cb3d0(0x10051d110, 0x1066c1f50, 0x1001ca098, 0x1, 0x0, 0x100631590), at 0x1001cb3d0

[25] 0x1001bc948(0x1066c1f50, 0x10ac5dbf0, 0x1005248b8, 0x100224a28, 0x10a778a38, 0x100628e00), at 0x1001bc948

[26] 0x1001bcae8(0x1066c1f50, 0x100563818, 0x100563818, 0x1002247b8, 0x100549300, 0x100563898), at 0x1001bcae8

[27] 0x1001bd294(0x1066c1f50, 0x1005638a0, 0x100400, 0x10c905fd0, 0x100549493, 0x100569cf8), at 0x1001bd294

[28] 0x1001bd934(0x1066c1f50, 0x1005638a0, 0x0, 0x0, 0x106e1c998, 0x10054963b), at 0x1001bd934

[29] 0x1001873b4(0x10051d110, 0x1005638a0, 0x0, 0x10020fd68, 0x1005618e8, 0x100400), at 0x1001873b4

[30] 0x100187b34(0x10051d110, 0x0, 0x100611000, 0x0, 0x0, 0x100621f60), at 0x100187b34

[31] 0x1001884b4(0x102592150, 0x2, 0x102592172, 0x1066ed0a0, 0x1, 0x10051d110), at 0x1001884b4

[32] 0x1002cc4d8(0x100648bb0, 0x400, 0x1027e98c0, 0x1066ed0a0, 0x0, 0x10061cfc0), at 0x1002cc4d8

[33] 0x1002cb2f0(0x0, 0x10699e080, 0x0, 0x100648bb0, 0x1002cb0e0, 0x1005365f8), at 0x1002cb2f0

[34] 0x1002b8494(0x100648bb0, 0x1067d0b40, 0x10061a778, 0x1005f7578, 0x10057a289, 0x10057a290), at 0x1002b8494

[35] 0x1002b7ef0(0x100648bb0, 0x10805db04, 0x0, 0x1, 0x100400, 0x1006ae570), at 0x1002b7ef0

[36] 0x100161460(0x10067aef0, 0x0, 0x0, 0x10805db04, 0x100535000, 0x10061ceb8), at 0x100161460

[37] 0x1002fa654(0x1002e2020, 0x1002e2020, 0xffffffff7fffe1f8, 0x7fc00, 0x100585688, 0x0), at 0x1002fa654

[38] 0x1002f6880(0x10067aef0, 0x0, 0xffffffff7fffe1f8, 0x1, 0x20ef7c, 0x1005365f8), at 0x1002f6880

[39] 0x1002f6584(0x10067aef0, 0x0, 0x7ec00, 0x20f290, 0x0, 0x100584384), at 0x1002f6584

[40] 0x1002e99f0(0xb, 0x7b7f3, 0x10067aef0, 0x21bdec, 0x100505748, 0x7b400), at 0x1002e99f0

[41] 0x1002e4c28(0x10063a900, 0xb, 0x1, 0x220bc4, 0x100505748, 0x10057f594), at 0x1002e4c28

[42] 0x1002e50dc(0x10067a1b0, 0xb, 0x1, 0x1002e4b80, 0x0, 0x100580008), at 0x1002e50dc

[43] 0x1002e5a20(0x10067a1b0, 0xb, 0x1, 0x10063a900, 0xffffffff7fffe9af, 0x1), at 0x1002e5a20

[44] 0x1002e6084(0x10067a1b0, 0xffffffff7fffe9af, 0xffffffff7fffe5b0, 0xffffffff7fffe5d0, 0xffffffff7fffe6f0, 0x3), at 0x1002e6084

[45] 0x1002e5bac(0x10067a1b0, 0xffffffff7fffe9af, 0x7f258, 0x1, 0x100505748, 0x10057fa69), at 0x1002e5bac

[46] 0x10015ed40(0x100648bb0, 0xffffffff7fffeabc, 0x100400, 0x100535a8f, 0x10051d110, 0x100535), at 0x10015ed40

[47] 0x1002bf754(0x100648bb0, 0x10061c468, 0x10057ad5e, 0x0, 0x1006ae570, 0x100648bce), at 0x1002bf754

[48] 0x1002bd828(0x100648bb0, 0xc, 0x0, 0x0, 0xffffffff7fffec4c, 0x100648df0), at 0x1002bd828

[49] 0x1002bb3b8(0x100648bb0, 0x100400, 0xffffffff7fffedc8, 0x10057ce29, 0x16, 0x1), at 0x1002bb3b8

[50] 0x1002bd4a4(0x100648bb0, 0x1006ae570, 0x0, 0x45, 0x100648d58, 0x1006ae5f8), at 0x1002bd4a4

[51] 0x1002b82c0(0x100648bb0, 0x1006ae570, 0x10061a778, 0x1005f7578, 0x10057a289, 0x10057a290), at 0x1002b82c0

[52] 0x1000c3b80(0x100648bb0, 0x10065df30, 0x1005f7590, 0x100569c20, 0x1005111a8, 0x0), at 0x1000c3b80

[53] 0x1000c4964(0x100400, 0x100510, 0x100648bb0, 0x1005111a8, 0x202, 0x1), at 0x1000c4964

[7074 byte] By [autohanda] at [2007-11-27 7:06:44]
# 1

This "unexpected checksum value" problem prevents dbx from displaying any useful data regarding the core file. Could you please try running

$ dbx - core

and let dbx find executable corresponding to the corefile itself? It looks like the core file is 64-bit, while /usr/bin/dbx is 32-bit.

MaximKartasheva at 2007-7-12 18:58:02 > top of Java-index,Development Tools,Solaris and Linux Development Tools...
# 2

$dbx - /tmp/core

Corefile specified executable: "/opt/SUNWspro/prod/bin/sparcv9/dbx"

For information about new features see `help changes'

To remove this message, put `dbxenv suppress_startup_message 7.6' in your .dbxrc

Reading dbx

core file header read successfully

Reading ld.so.1

Reading libintl.so.1

Reading libnsl.so.1

Reading libsocket.so.1

Reading libdl.so.1

Reading libgen.so.1

Reading libw.so.1

Reading libm.so.1

Reading libc.so.1

Reading libc_psr.so.1

Reading en_US.UTF-8.so.3

Reading methods_unicode.so.3

Reading iso_8859_1.so.3

Reading libcpc.so.1

Reading libpctx.so.1

Reading libnvpair.so.1

Reading libdevinfo.so.1

Reading libproc.so.1

Reading libsec.so.1

Reading librtld_db.so.1

Reading libelf.so.1

Reading libctf.so.1

Reading libavl.so.1

Reading libc_db.so.1

program terminated by signal ABRT (Abort)

0xffffffff7e5ce968: __lwp_kill+0x0008: bcc,a,pt %icc,__lwp_kill+0x18 ! 0xffffffff7e5ce978

(dbx) where

=>[1] __lwp_kill(0x0, 0x6, 0x0, 0xffffffff7e6f1200, 0xffffffff7e902000, 0x5), at 0xffffffff7e5ce968

[2] raise(0x6, 0x0, 0xffffffff7e5b11b8, 0xffffffffffffffff, 0xffffffff7e6e6000, 0x0), at 0xffffffff7e56b454

[3] abort(0x1, 0x1b8, 0x0, 0x19d4c0, 0x0, 0x0), at 0xffffffff7e548c4c

[4] 0x1000bfd0c(0xb, 0x100400, 0x1, 0x1005104ec, 0x10051d110, 0x10061c000), at 0x1000bfd0c

[5] __sighndlr(0xb, 0xffffffff7fffae80, 0xffffffff7fffaba0, 0x1000bfa9c, 0x0, 0xa), at 0xffffffff7e5cd86c

- called from signal handler with signal 11 (SIGSEGV)

[6] strcmp(0x0, 0x1073a0640, 0xfffffffef8c5f9c0, 0x0, 0x8080808080808080, 0x101010101010101), at 0xffffffff7e53952c

[7] VisitedFunc::contains(0x106d71f00, 0x0, 0x106d71d50, 0x106d0b010, 0x0, 0x106d71d50), at 0x10016804c

[8] VisitedFunc::is_open(0x0, 0x0, 0x0, 0xfffffffffb7b11e6, 0x0, 0x0), at 0x1001682f8

[9] 0x1000d3d68(0x103f561a0, 0x107488f00, 0x1027fb180, 0x102592350, 0x0, 0x0), at 0x1000d3d68

[10] cc_printval(0x103f561a0, 0x107488f00, 0x1027fb180, 0x102592350, 0x0, 0x0), at 0x1000d4f08

[11] cc_printval(0x1027c8b80, 0x107488f00, 0x1027fb180, 0x102592350, 0x0, 0x0), at 0x1000d44d4

[12] cc_printval(0x107721b00, 0x107488f00, 0x1027fb180, 0x102592350, 0x0, 0x0), at 0x1000d4504

[13] cc_printval(0x107721a70, 0x107488f00, 0x1027fb180, 0x102592350, 0x0, 0x0), at 0x1000d44d4

[14] cc_printval(0x102592350, 0x107488f00, 0x1027fb180, 0x102592350, 0x0, 0x0), at 0x1000d44d4

[15] LanguageC_like::printval(0x0, 0x102592350, 0x107488f00, 0x1027fb180, 0x102592350, 0x0), at 0x100273900

[16] printval(0x4, 0x102592350, 0x107488f00, 0x1027fb180, 0x102592350, 0x0), at 0x10027c8c0

[17] 0x10013c280(0x0, 0x10737fec0, 0x107488f00, 0x1027fb180, 0x102592350, 0x0), at 0x10013c280

[18] Expr::format(0xffffffff7fffd198, 0x10052adb8, 0xffffffff7fffd30f, 0x106d0b450, 0x106d0b0b0, 0x10061c470), at 0x10013d390

[19] printrtn(0x1023f00e0, 0x100400, 0x10051d110, 0x10051d000, 0x100547000, 0x100547), at 0x1001b1fe4

[20] 0x1000cc988(0x107488fb0, 0x10061a, 0x10061a000, 0x106dcabb0, 0x0, 0x328), at 0x1000cc988

[21] ActionList_execute(0x10665f550, 0x106cc71f0, 0x106cc71f0, 0x106dcabb0, 0x1, 0x0), at 0x1000ca47c

[22] Handler::decision_procedure(0x106cc71f0, 0x1006c65c0, 0xc03, 0x100400, 0x100537509, 0x106dcabb0), at 0x10016dec0

[23] Recognizer::trigger(0x106cc71f0, 0x1006c65c0, 0x100400, 0x100537950, 0x100569bb8, 0x100569), at 0x1001cae20

[24] Recognizer::dispatch(0x10051d110, 0x1006c65c0, 0x1001ca098, 0x1, 0x0, 0x100631590), at 0x1001cb3d0

[25] Proc::vcpu_dispatch(0x1006c65c0, 0x1028360e0, 0x1005248b8, 0x100224a28, 0x106644238, 0x100628e00), at 0x1001bc948

[26] Proc::pervcpu_dispatch(0x1006c65c0, 0x100563818, 0x100563818, 0x1002247b8, 0x100549300, 0x100563898), at 0x1001bcae8

[27] Proc::generic_dispatch(0x1006c65c0, 0x1005638a0, 0x100400, 0x1027f1b00, 0x100549493, 0x100569cf8), at 0x1001bd294

[28] Proc::go(0x1006c65c0, 0x1005638a0, 0x0, 0x0, 0x10732dc08, 0x10054963b), at 0x1001bd934

[29] 0x1001873b4(0x10051d110, 0x1005638a0, 0x0, 0x10020fd68, 0x1005618e8, 0x100400), at 0x1001873b4

[30] 0x100187b34(0x10051d110, 0x0, 0x100611000, 0x0, 0x0, 0x100621f60), at 0x100187b34

[31] DbxStepCmdProcessing::process(0x1066e2150, 0x2, 0x1066e2172, 0x10737fd50, 0x1, 0x10051d110), at 0x1001884b4

[32] 0x1002cc4d8(0x100648bb0, 0x400, 0x106dcaa50, 0x10737fd50, 0x0, 0x10061cfc0), at 0x1002cc4d8

[33] pdksh_execute(0x0, 0x1073bae30, 0x0, 0x100648bb0, 0x1002cb0e0, 0x1005365f8), at 0x1002cb2f0

[34] pdksh_shell(0x100648bb0, 0x1075500a0, 0x10061a778, 0x1005f7578, 0x10057a289, 0x10057a290), at 0x1002b8494

[35] pdksh_command(0x100648bb0, 0x107431a44, 0x0, 0x1, 0x100400, 0x1006ae570), at 0x1002b7ef0

[36] MyServantDbx::ksh_cmd(0x10067aef0, 0x0, 0x0, 0x107431a44, 0x100535000, 0x10061ceb8), at 0x100161460

[37] Dispatcher::dispatch(0x1002e2020, 0x1002e2020, 0xffffffff7fffe1f8, 0x7fc00, 0x100585688, 0x0), at 0x1002fa654

[38] Messenger::handle_message_help(0x10067aef0, 0x0, 0xffffffff7fffe1f8, 0x1, 0x20ef7c, 0x1005365f8), at 0x1002f6880

[39] Messenger::handle_message(0x10067aef0, 0x0, 0x7ec00, 0x20f290, 0x0, 0x100584384), at 0x1002f6584

[40] Servant::cb_message(0xb, 0x7b7f3, 0x10067aef0, 0x21bdec, 0x100505748, 0x7b400), at 0x1002e99f0

[41] CBInfo::dispatch(0x10063a900, 0xb, 0x1, 0x220bc4, 0x100505748, 0x10057f594), at 0x1002e4c28

[42] Notifier::invoke(0x10067a1b0, 0xb, 0x1, 0x1002e4b80, 0x0, 0x100580008), at 0x1002e50dc

[43] NotifierDirect::dispatch_help(0x10067a1b0, 0xb, 0x1, 0x10063a900, 0xffffffff7fffe9af, 0x1), at 0x1002e5a20

[44] NotifierPoll::dispatch(0x10067a1b0, 0xffffffff7fffe9af, 0xffffffff7fffe5b0, 0xffffffff7fffe5d0, 0xffffffff7fffe6f0, 0x3), at 0x1002e6084

[45] NotifierDirect::loop(0x10067a1b0, 0xffffffff7fffe9af, 0x7f258, 0x1, 0x100505748, 0x10057fa69), at 0x1002e5bac

[46] 0x10015ed40(0x100648bb0, 0xffffffff7fffeabc, 0x100400, 0x100535a8f, 0x10051d110, 0x100535), at 0x10015ed40

[47] 0x1002bf754(0x100648bb0, 0x10061c468, 0x10057ad5e, 0x0, 0x1006ae570, 0x100648bce), at 0x1002bf754

[48] yylex(0x100648bb0, 0xc, 0x0, 0x0, 0xffffffff7fffec4c, 0x100648df0), at 0x1002bd828

[49] yyparse(0x100648bb0, 0x100400, 0xffffffff7fffedc8, 0x10057ce29, 0x0, 0x1), at 0x1002bb3b8

[50] compile(0x100648bb0, 0x1006ae570, 0x0, 0x5f63625f70726f6d, 0x100648d58, 0x1006ae5f8), at 0x1002bd4a4

[51] pdksh_shell(0x100648bb0, 0x1006ae570, 0x10061a778, 0x1005f7578, 0x10057a289, 0x10057a290), at 0x1002b82c0

[52] main_cmd_loop(0x100648bb0, 0x10065df30, 0x1005f7590, 0x100569c20, 0x1005111a8, 0x0), at 0x1000c3b80

[53] main(0x100400, 0x100510, 0x100648bb0, 0x1005111a8, 0x202, 0x1), at 0x1000c4964

autohanda at 2007-7-12 18:58:02 > top of Java-index,Development Tools,Solaris and Linux Development Tools...
# 3
it is likely that these 2 dumps are not identical runs - i believe i ran it several times afterwards, with subsequent /tmp.core dumps, to skip past the fault. i'm guessing it doesn't matter, though.
autohanda at 2007-7-12 18:58:02 > top of Java-index,Development Tools,Solaris and Linux Development Tools...
# 4
Okay, thanks. This stack trace is not familiar to me, but I'll ask around if anyone have seen something like this before.
MaximKartasheva at 2007-7-12 18:58:02 > top of Java-index,Development Tools,Solaris and Linux Development Tools...
# 5

Forgot to ask: before I proceed, I need to have at least vague idea of what had caused dbx to crash. What application you were debugging (C, C++, Fortran)? What is your operating system version? What was the command that caused dbx to crash?

It would be great if you can create reasonably small testcase that can be used to reproduce the problem.

MaximKartasheva at 2007-7-12 18:58:02 > top of Java-index,Development Tools,Solaris and Linux Development Tools...
# 6

have no idea what caused it and why - i am running solaris 10 11/06 on a sunblade sparc - i was just stepping along when i did a step return, which prints something - maybe the value returned - and i was bitten, as long as i single step through the routine or step over it, i don't seem to have a problem. i don't have a test case, if it happens again - i'll look at making one - sorry.

autohanda at 2007-7-12 18:58:02 > top of Java-index,Development Tools,Solaris and Linux Development Tools...
# 7
oh - and it is a mixed c++ and c program - i was mostly likely stepping through the c++ code - it is an open source app from the nih called blastall: http://www.ncbi.nlm.nih.gov/IEB/ToolBox/index.cgiftp://ftp.ncbi.nih.gov/toolbox/ncbi_tools++/2007/Mar_12_2007
autohanda at 2007-7-12 18:58:02 > top of Java-index,Development Tools,Solaris and Linux Development Tools...
# 8
Okay, if it happens again, please send the name of the routing that you were returning and I'll try to reproduce the problem.
MaximKartasheva at 2007-7-12 18:58:02 > top of Java-index,Development Tools,Solaris and Linux Development Tools...