Skip to content

Instantly share code, notes, and snippets.

@methodmissing
Created May 29, 2012 23:09
Show Gist options
  • Save methodmissing/2831352 to your computer and use it in GitHub Desktop.
Save methodmissing/2831352 to your computer and use it in GitHub Desktop.
methodmissing-2:tests lourens$ glibtool --mode=execute gdb test_shutdown_stress
GNU gdb 6.3.50-20050815 (Apple version gdb-1705) (Fri Jul 1 10:50:06 UTC 2011)
Copyright 2004 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB. Type "show warranty" for details.
This GDB was configured as "x86_64-apple-darwin"...Reading symbols for shared libraries .... done
(gdb) run
Starting program: /Users/lourens/projects/libzmq/tests/.libs/test_shutdown_stress
Reading symbols for shared libraries +++......................... done
test_shutdown_stress running...
Assertion failed: s != retired_fd (tcp_connecter.cpp:282)
Program received signal SIGABRT, Aborted.
[Switching to process 3464 thread 0x10f]
0x00007fff899a4ce2 in __pthread_kill ()
(gdb) bt
#0 0x00007fff899a4ce2 in __pthread_kill ()
#1 0x00007fff8aed57d2 in pthread_kill ()
#2 0x00007fff8aec6a7a in abort ()
#3 0x000000010000a729 in zmq::zmq_abort (errmsg_=<value temporarily unavailable, due to optimizations>) at err.cpp:75
#4 0x0000000100021678 in zmq::tcp_connecter_t::close (this=0x1018079b0) at tcp_connecter.cpp:282
#5 0x00000001000219cc in zmq::tcp_connecter_t::start_connecting (this=0x1018079b0) at tcp_connecter.cpp:156
#6 0x00000001000118a9 in zmq::object_t::process_command (this=0x1018079b0, cmd_=<value temporarily unavailable, due to optimizations>) at object.cpp:76
#7 0x000000010000b29c in zmq::io_thread_t::in_event (this=<value temporarily unavailable, due to optimizations>) at io_thread.cpp:82
#8 0x000000010000daf6 in zmq::kqueue_t::loop (this=0x100300590) at kqueue.cpp:184
#9 0x0000000100022f07 in thread_routine (arg_=0x100300600) at thread.cpp:83
#10 0x00007fff8aed38bf in _pthread_start ()
#11 0x00007fff8aed6b75 in thread_start ()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment