[zeromq-dev] zmq3 'make check' fails on rt-preempt kernel - test_pair_tcp hangs

Michael Haberler mail17 at mah.priv.at
Tue Aug 28 12:16:30 CEST 2012


Am 28.08.2012 um 11:57 schrieb Michael Haberler:

> I'm trying zmq2 and zmq3 on a 2.6.33.7.2-rt30-1-686-bigmem kernel (RT_PREEMPT patch), else ubuntu 10.04 LTS.
> 
> zmq2: commit 9b07de280107b3b1422e96e90402b7f2a60cf697
> zmq3: commit 3aaf1eb1523ffe53708f110ef72a1ed2ddc99ca5
> 
> zmq2: make check: "All 9 tests passed"
> zmq3: make check: hangs in
> 
> "test_pair_tcp running..."
> 
> An RT_PREEMPT kernel is an admittedly not-quite-mainstream-yet animal - still, I'm trying to get the combination going.
> 
> Any suggestions how to narrow this down?

sorry, I should have been more specific. test_pair_tcp hangs in the poll() systemcall called from zmq_term() in test_pair_tcp.cpp:51 .

0x4001d424 in __kernel_vsyscall ()
(gdb) bac
#0  0x4001d424 in __kernel_vsyscall ()
#1  0x402f9ac6 in poll () from /lib/tls/i686/cmov/libc.so.6
#2  0x4004929c in zmq::signaler_t::wait (this=0x9824948, timeout_=-1)
    at signaler.cpp:145
#3  0x4003544b in zmq::mailbox_t::recv (this=0x9824918, cmd_=0xbfbed860, 
    timeout_=-1) at mailbox.cpp:69
#4  0x4002b5eb in zmq::ctx_t::terminate (this=0x98248c8) at ctx.cpp:113
#5  0x4005d818 in zmq_ctx_destroy (ctx_=0x98248c8) at zmq.cpp:173
#6  0x4005d8bd in zmq_term (ctx_=0x98248c8) at zmq.cpp:234
#7  0x080489b3 in main (argc=1, argv=0xbfbed9d4) at test_pair_tcp.cpp:51
(gdb) 



> - Michael
> 
> _______________________________________________
> zeromq-dev mailing list
> zeromq-dev at lists.zeromq.org
> http://lists.zeromq.org/mailman/listinfo/zeromq-dev




More information about the zeromq-dev mailing list