Trying 'dbx' to get a backtrace Core generated by '/export/home/pb2/test/sb_0-784310-1254400942.04/mysql-5.4.5-beta-solaris10-sparc-test/libexec/mysqld' Output from dbx follows. Stack trace is printed for all threads in order, above this you should see info about which thread was the failing one. ---------------------------- For information about new features see `help changes' To remove this message, put `dbxenv suppress_startup_message 7.6' in your .dbxrc Reading mysqld core file header read successfully Reading ld.so.1 Reading libpthread.so.1 Reading libthread.so.1 Reading libdl.so.1 Reading librt.so.1 Reading libresolv.so.2 Reading libsocket.so.1 Reading libnsl.so.1 Reading libm.so.2 Reading libCstd.so.1 Reading libCrun.so.1 Reading libc.so.1 Reading libaio.so.1 Reading libmd.so.1 Reading libc_psr.so.1 t@1 (l@1) terminated by signal ABRT (Abort) 0xffffffff7dfd80d4: __lwp_kill+0x0008: bcc,a,pt %icc,__lwp_kill+0x18 ! 0xffffffff7dfd80e4 Current function is my_write_core (optimized) dbx: warning: can't find file "/export/home/pb2/build/sb_0-784155-1254397827.68/mysql-5.4.5-beta/mysys/stacktrace.c" dbx: warning: see `help finding-files' current thread: t@1 [1] __lwp_kill(0x0, 0x6, 0xffffffff7e146180, 0x100cfc9cc, 0xffffffff7f300200, 0x4), at 0xffffffff7dfd80d4 =>[2] my_write_core(sig = ???) (optimized), at 0x100882040 (line ~310) in "stacktrace.c" [3] handle_segfault(sig = ???) (optimized), at 0x1002c0394 (line ~2568) in "mysqld.cc" [4] __sighndlr(0x6, 0x0, 0xffffffff7fff8a40, 0x1002c00ec, 0x0, 0x0), at 0xffffffff7dfd418c ---- called from signal handler with signal 6 (SIGABRT) ------ [5] __pollsys(0x4, 0x2, 0x0, 0x0, 0x0, 0x0), at 0xffffffff7dfd7cb0 [6] _pollsys(0xffffffff7fff8e80, 0x2, 0x0, 0x0, 0x0, 0x0), at 0xffffffff7dfc6a7c [7] _pselect(0x2, 0xffffffff7fff8e80, 0xffffffff7e1427d0, 0xffffffff7e1427d0, 0x0, 0x0), at 0xffffffff7df73c50 [8] _select(0xf, 0xffffffff7fff90a8, 0x0, 0x0, 0x0, 0xffffffff7fff90b0), at 0xffffffff7df73ff4 [9] handle_connections_sockets(arg = ???) (optimized), at 0x1002c3e9c (line ~5083) in "mysqld.cc" [10] main(argc = ???, argv = ???) (optimized), at 0x1002c3634 (line ~4567) in "mysqld.cc" current thread: t@1 [1] __lwp_kill(0x0, 0x6, 0xffffffff7e146180, 0x100cfc9cc, 0xffffffff7f300200, 0x4), at 0xffffffff7dfd80d4 =>[2] my_write_core(sig = ???) (optimized), at 0x100882040 (line ~310) in "stacktrace.c" [3] handle_segfault(sig = ???) (optimized), at 0x1002c0394 (line ~2568) in "mysqld.cc" [4] __sighndlr(0x6, 0x0, 0xffffffff7fff8a40, 0x1002c00ec, 0x0, 0x0), at 0xffffffff7dfd418c ---- called from signal handler with signal 6 (SIGABRT) ------ [5] __pollsys(0x4, 0x2, 0x0, 0x0, 0x0, 0x0), at 0xffffffff7dfd7cb0 [6] _pollsys(0xffffffff7fff8e80, 0x2, 0x0, 0x0, 0x0, 0x0), at 0xffffffff7dfc6a7c [7] _pselect(0x2, 0xffffffff7fff8e80, 0xffffffff7e1427d0, 0xffffffff7e1427d0, 0x0, 0x0), at 0xffffffff7df73c50 [8] _select(0xf, 0xffffffff7fff90a8, 0x0, 0x0, 0x0, 0xffffffff7fff90b0), at 0xffffffff7df73ff4 [9] handle_connections_sockets(arg = ???) (optimized), at 0x1002c3e9c (line ~5083) in "mysqld.cc" [10] main(argc = ???, argv = ???) (optimized), at 0x1002c3634 (line ~4567) in "mysqld.cc" current thread: t@2 =>[1] __lwp_park(0x4, 0x0, 0x0, 0x1, 0x0, 0xffffffff7f300a00), at 0xffffffff7dfd4104 [2] cond_sleep_queue(0x101364198, 0x101364170, 0x0, 0x4, 0x16ca60, 0xffffffff7da0d5c0), at 0xffffffff7dfcd6bc [3] cond_wait_queue(0x101364198, 0x101364170, 0x0, 0x0, 0xffffffff7e147f08, 0x0), at 0xffffffff7dfcd8a8 [4] cond_wait(0x101364198, 0x101364170, 0x0, 0x1004c38e0, 0x0, 0xffffffff7e146180), at 0xffffffff7dfcde2c [5] _pthread_cond_wait(0x101364198, 0x101364170, 0xff000000, 0x0, 0x0, 0x100bc1000), at 0xffffffff7dfcde68 [6] os_event_wait_low(event = ???, reset_sig_count = ???) (optimized), at 0x1004c38e0 (line ~396) in "os0sync.c" [7] os_aio_simulated_handle(global_segment = ???, message1 = ???, message2 = ???, type = ???) (optimized), at 0x1004c0b8c (line ~3997) in "os0file.c" [8] fil_aio_wait(segment = ???) (optimized), at 0x100719868 (line ~4413) in "fil0fil.c" [9] io_handler_thread(arg = ???) (optimized), at 0x1005b0484 (line ~490) in "srv0start.c" current thread: t@3 =>[1] __lwp_park(0x4, 0x0, 0x0, 0x1, 0x0, 0xffffffff7f301200), at 0xffffffff7dfd4104 [2] cond_sleep_queue(0x1013641f8, 0x1013641d0, 0x0, 0x4, 0x16ca60, 0xffffffff7da0d6c0), at 0xffffffff7dfcd6bc [3] cond_wait_queue(0x1013641f8, 0x1013641d0, 0x0, 0x0, 0xffffffff7e147f08, 0x0), at 0xffffffff7dfcd8a8 [4] cond_wait(0x1013641f8, 0x1013641d0, 0x0, 0x0, 0x0, 0xffffffff7e146180), at 0xffffffff7dfcde2c [5] _pthread_cond_wait(0x1013641f8, 0x1013641d0, 0x100bc0000, 0x0, 0x0, 0x100bc1000), at 0xffffffff7dfcde68 [6] os_event_wait_low(event = ???, reset_sig_count = ???) (optimized), at 0x1004c38e0 (line ~396) in "os0sync.c" [7] os_aio_simulated_handle(global_segment = ???, message1 = ???, message2 = ???, type = ???) (optimized), at 0x1004c0b8c (line ~3997) in "os0file.c" [8] fil_aio_wait(segment = ???) (optimized), at 0x100719868 (line ~4413) in "fil0fil.c" [9] io_handler_thread(arg = ???) (optimized), at 0x1005b0484 (line ~490) in "srv0start.c" current thread: t@4 =>[1] __lwp_park(0x4, 0x0, 0x0, 0x1, 0x0, 0xffffffff7f301a00), at 0xffffffff7dfd4104 [2] cond_sleep_queue(0x101364258, 0x101364230, 0x0, 0x4, 0x16ca60, 0xffffffff7da0cbc0), at 0xffffffff7dfcd6bc [3] cond_wait_queue(0x101364258, 0x101364230, 0x0, 0x0, 0xffffffff7e147f08, 0x0), at 0xffffffff7dfcd8a8 [4] cond_wait(0x101364258, 0x101364230, 0x0, 0x0, 0x0, 0xffffffff7e146180), at 0xffffffff7dfcde2c [5] _pthread_cond_wait(0x101364258, 0x101364230, 0x100800, 0x0, 0x0, 0x100bc1000), at 0xffffffff7dfcde68 [6] os_event_wait_low(event = ???, reset_sig_count = ???) (optimized), at 0x1004c38e0 (line ~396) in "os0sync.c" [7] os_aio_simulated_handle(global_segment = ???, message1 = ???, message2 = ???, type = ???) (optimized), at 0x1004c0b8c (line ~3997) in "os0file.c" [8] fil_aio_wait(segment = ???) (optimized), at 0x100719868 (line ~4413) in "fil0fil.c" [9] io_handler_thread(arg = ???) (optimized), at 0x1005b0484 (line ~490) in "srv0start.c" current thread: t@5 =>[1] __lwp_park(0x4, 0x0, 0x0, 0x1, 0x0, 0xffffffff7f302200), at 0xffffffff7dfd4104 [2] cond_sleep_queue(0x1013642b8, 0x101364290, 0x0, 0x4, 0x16ca60, 0xffffffff7da0ccc0), at 0xffffffff7dfcd6bc [3] cond_wait_queue(0x1013642b8, 0x101364290, 0x0, 0x0, 0xffffffff7e147f08, 0x0), at 0xffffffff7dfcd8a8 [4] cond_wait(0x1013642b8, 0x101364290, 0x0, 0x0, 0x0, 0xffffffff7e146180), at 0xffffffff7dfcde2c [5] _pthread_cond_wait(0x1013642b8, 0x101364290, 0x100800, 0x0, 0x0, 0x100bc1000), at 0xffffffff7dfcde68 [6] os_event_wait_low(event = ???, reset_sig_count = ???) (optimized), at 0x1004c38e0 (line ~396) in "os0sync.c" [7] os_aio_simulated_handle(global_segment = ???, message1 = ???, message2 = ???, type = ???) (optimized), at 0x1004c0b8c (line ~3997) in "os0file.c" [8] fil_aio_wait(segment = ???) (optimized), at 0x100719868 (line ~4413) in "fil0fil.c" [9] io_handler_thread(arg = ???) (optimized), at 0x1005b0484 (line ~490) in "srv0start.c" current thread: t@6 =>[1] __lwp_park(0x4, 0x0, 0x0, 0x1, 0x0, 0xffffffff7f302a00), at 0xffffffff7dfd4104 [2] cond_sleep_queue(0x101364318, 0x1013642f0, 0x0, 0x4, 0x16ca60, 0xffffffff7da0c1c0), at 0xffffffff7dfcd6bc [3] cond_wait_queue(0x101364318, 0x1013642f0, 0x0, 0x0, 0xffffffff7e147f08, 0x0), at 0xffffffff7dfcd8a8 [4] cond_wait(0x101364318, 0x1013642f0, 0x0, 0x0, 0x0, 0xffffffff7e146180), at 0xffffffff7dfcde2c [5] _pthread_cond_wait(0x101364318, 0x1013642f0, 0x100800, 0x0, 0x0, 0x100bc1000), at 0xffffffff7dfcde68 [6] os_event_wait_low(event = ???, reset_sig_count = ???) (optimized), at 0x1004c38e0 (line ~396) in "os0sync.c" [7] os_aio_simulated_handle(global_segment = ???, message1 = ???, message2 = ???, type = ???) (optimized), at 0x1004c0b8c (line ~3997) in "os0file.c" [8] fil_aio_wait(segment = ???) (optimized), at 0x100719868 (line ~4413) in "fil0fil.c" [9] io_handler_thread(arg = ???) (optimized), at 0x1005b0484 (line ~490) in "srv0start.c" current thread: t@7 =>[1] __lwp_park(0x4, 0x0, 0x0, 0x1, 0x0, 0xffffffff7f303200), at 0xffffffff7dfd4104 [2] cond_sleep_queue(0x101364378, 0x101364350, 0x0, 0x4, 0x16ca60, 0xffffffff7da0c2c0), at 0xffffffff7dfcd6bc [3] cond_wait_queue(0x101364378, 0x101364350, 0x0, 0x0, 0xffffffff7e147f08, 0x0), at 0xffffffff7dfcd8a8 [4] cond_wait(0x101364378, 0x101364350, 0x0, 0x0, 0x0, 0xffffffff7e146180), at 0xffffffff7dfcde2c [5] _pthread_cond_wait(0x101364378, 0x101364350, 0x100800, 0x0, 0x0, 0x100bc1000), at 0xffffffff7dfcde68 [6] os_event_wait_low(event = ???, reset_sig_count = ???) (optimized), at 0x1004c38e0 (line ~396) in "os0sync.c" [7] os_aio_simulated_handle(global_segment = ???, message1 = ???, message2 = ???, type = ???) (optimized), at 0x1004c0b8c (line ~3997) in "os0file.c" [8] fil_aio_wait(segment = ???) (optimized), at 0x100719868 (line ~4413) in "fil0fil.c" [9] io_handler_thread(arg = ???) (optimized), at 0x1005b0484 (line ~490) in "srv0start.c" current thread: t@8 =>[1] __pollsys(0x4, 0x0, 0xffffffff7c3fbdc0, 0x0, 0x0, 0x0), at 0xffffffff7dfd7cb0 [2] _pollsys(0xffffffff7c3fbd00, 0x0, 0xffffffff7c3fbdc0, 0x0, 0x0, 0x0), at 0xffffffff7dfc6a7c [3] _pselect(0x0, 0xffffffff7c3fbd00, 0xffffffff7e1427d0, 0xffffffff7e1427d0, 0xffffffff7c3fbdc0, 0x0), at 0xffffffff7df73c50 [4] _select(0x0, 0x0, 0x0, 0x0, 0xffffffff7c3fbe80, 0x0), at 0xffffffff7df73ff4 [5] os_thread_sleep(tm = ???) (optimized), at 0x1004c745c (line ~294) in "os0thread.c" [6] srv_lock_timeout_and_monitor_thread(arg = ???) (optimized), at 0x1005a32c8 (line ~1978) in "srv0srv.c" current thread: t@9 =>[1] __pollsys(0x4, 0x0, 0xffffffff7c1fbdd0, 0x0, 0xffffffff7f304200, 0x0), at 0xffffffff7dfd7cb0 [2] _pollsys(0xffffffff7c1fbd10, 0x0, 0xffffffff7c1fbdd0, 0x0, 0x0, 0xfffc00), at 0xffffffff7dfc6a7c [3] _pselect(0x0, 0xffffffff7c1fbd10, 0xffffffff7e1427d0, 0xffffffff7e1427d0, 0xffffffff7c1fbdd0, 0x0), at 0xffffffff7df73c50 [4] _select(0x0, 0x0, 0x0, 0x0, 0xffffffff7c1fbe90, 0x4), at 0xffffffff7df73ff4 [5] os_thread_sleep(tm = ???) (optimized), at 0x1004c745c (line ~294) in "os0thread.c" [6] srv_error_monitor_thread(arg = ???) (optimized), at 0x1005a37f8 (line ~2214) in "srv0srv.c" current thread: t@10 =>[1] __lwp_park(0x4, 0x0, 0x0, 0x1, 0x0, 0xffffffff7f304a00), at 0xffffffff7dfd4104 [2] cond_sleep_queue(0x100e5d098, 0x100e5d070, 0x0, 0x4, 0x16ca60, 0xffffffff7da09380), at 0xffffffff7dfcd6bc [3] cond_wait_queue(0x100e5d098, 0x100e5d070, 0x0, 0x0, 0xffffffff7e147f08, 0x0), at 0xffffffff7dfcd8a8 [4] cond_wait(0x100e5d098, 0x100e5d070, 0x0, 0x0, 0x0, 0xffffffff7e146180), at 0xffffffff7dfcde2c [5] _pthread_cond_wait(0x100e5d098, 0x100e5d070, 0x100e5d070, 0x0, 0x100bc1000, 0x1009a26f0), at 0xffffffff7dfcde68 [6] os_event_wait_low(event = ???, reset_sig_count = ???) (optimized), at 0x1004c38e0 (line ~396) in "os0sync.c" [7] srv_master_thread(arg = ???) (optimized), at 0x1005a46d0 (line ~2736) in "srv0srv.c" current thread: t@11 =>[1] ___sigtimedwait(0x4, 0xffffffff7bd3fcb0, 0x0, 0x0, 0x807007, 0x0), at 0xffffffff7dfd7358 [2] __sigtimedwait(0x1, 0x0, 0x0, 0x0, 0x0, 0x0), at 0xffffffff7dfc6b68 [3] __posix_sigwait(0xffffffff7bd3ff38, 0xffffffff7bd3ff34, 0x100c00, 0x1, 0x0, 0x100cfe000), at 0xffffffff7dfbe538 [4] signal_hand(arg = ???) (optimized), at 0x1002c099c (line ~2770) in "mysqld.cc"