[zeromq-dev] zeromq4-x: test failures in Fedora 19 x86_64

Jose Pedro Oliveira jpo at di.uminho.pt
Wed Oct 2 11:44:21 CEST 2013

On 2013/10/02 10:15 , Pieter Hintjens wrote:
> Is there any way to get a backtrace for the test_spec_rep failure? I'm
> unable to get a failure when running it, which makes diagnosing the
> problem impossible.
Here it is:

$ gdb tests/.libs/test_spec_rep core.12122
GNU gdb (GDB) Fedora 7.6.1-41.fc19
Reading symbols from 
[New LWP 12122]
[New LWP 12123]
[New LWP 12124]
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib64/libthread_db.so.1".
Core was generated by `tests/.libs/test_spec_rep'.
Program terminated with signal 6, Aborted.
#0  0x0000003e44235a19 in __GI_raise (sig=sig at entry=6)
     at ../nptl/sysdeps/unix/sysv/linux/raise.c:56
56      return INLINE_SYSCALL (tgkill, 3, pid, selftid, sig);

(gdb) backtrace
#0  0x0000003e44235a19 in __GI_raise (sig=sig at entry=6)
     at ../nptl/sysdeps/unix/sysv/linux/raise.c:56
#1  0x0000003e44237128 in __GI_abort () at abort.c:90
#2  0x0000003e4422e986 in __assert_fail_base (
     fmt=0x3e4437de88 "%s%s%s:%u: %s%sAssertion `%s' failed.\n%n",
     assertion=assertion at entry=0x401f00 "strcmp (data, (const char 
*)zmq_msg_data (&msg)) == 0", file=file at entry=0x401f70 "testutil.hpp", 
line=line at entry=221,
     function=function at entry=0x4020d0 <s_recv_seq(void*, 
...)::__PRETTY_FUNCTION__> "void s_recv_seq(void*, ...)") at assert.c:92
#3  0x0000003e4422ea32 in __GI___assert_fail (
     assertion=0x401f00 "strcmp (data, (const char *)zmq_msg_data 
(&msg)) == 0",
     file=0x401f70 "testutil.hpp", line=221,
     function=0x4020d0 <s_recv_seq(void*, ...)::__PRETTY_FUNCTION__> 
"void s_recv_seq(void*, ...)") at assert.c:101
#4  0x000000000040185f in s_recv_seq (socket=socket at entry=0x1a5ecd0) at 
#5  0x0000000000401ae5 in test_fair_queue_in (ctx=ctx at entry=0x1a5c010)
     at test_spec_rep.cpp:72
#6  0x0000000000400d62 in main () at test_spec_rep.cpp:137


Jose Pedro Oliveira
* jpo at di.uminho.pt *

More information about the zeromq-dev mailing list