[zeromq-dev] OpenPGM & segfault - assertion failed

Steven McCoy steven.mccoy at miru.hk
Wed May 12 05:55:52 CEST 2010


I didn't see this one listed in  your crash reports,

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0x41439950 (LWP 9176)]
0x00007f37910300ec in zmq::pgm_receiver_t::tsi_comp::operator()
(this=0x60b088, ltsi=@0x3f930c0000000020, rtsi=@0x609568)
    at pgm_receiver.hpp:78
78                if (ltsi.sport < rtsi.sport)
Current language:  auto; currently c++
(gdb) bt
#0  0x00007f37910300ec in zmq::pgm_receiver_t::tsi_comp::operator()
(this=0x60b088, ltsi=@0x3f930c0000000020, rtsi=@0x609568)
    at pgm_receiver.hpp:78
#1  0x00007f3791030173 in std::_Rb_tree<pgm_tsi_t, std::pair<pgm_tsi_t
const, zmq::pgm_receiver_t::peer_info_t>,
std::_Select1st<std::pair<pgm_tsi_t const, zmq::pgm_receiver_t::peer_info_t>
>, zmq::pgm_receiver_t::tsi_comp, std::allocator<std::pair<pgm_tsi_t const,
zmq::pgm_receiver_t::peer_info_t> > >::find (this=0x60b088, __k=@0x609568)
    at /usr/include/c++/4.2/bits/stl_tree.h:1376
#2  0x00007f3791030227 in std::map<pgm_tsi_t,
zmq::pgm_receiver_t::peer_info_t, zmq::pgm_receiver_t::tsi_comp,
std::allocator<std::pair<pgm_tsi_t const, zmq::pgm_receiver_t::peer_info_t>
> >::find (this=0x60b088, __x=@0x609568)
    at /usr/include/c++/4.2/bits/stl_map.h:542
#3  0x00007f379102e76c in zmq::pgm_receiver_t::in_event (this=0x60b070) at
pgm_receiver.cpp:145
#4  0x00007f3791025cf3 in zmq::epoll_t::loop (this=0x608140) at
epoll.cpp:197
#5  0x00007f3791025da3 in zmq::epoll_t::worker_routine (arg_=0x608140) at
epoll.cpp:210
#6  0x00007f3791047b5d in zmq::thread_t::thread_routine (arg_=0x608180) at
thread.cpp:99
#7  0x00007f378f9ef3f7 in start_thread () from /lib/libpthread.so.0
#8  0x00007f37905adb4d in clone () from /lib/libc.so.6
#9  0x0000000000000000 in ?? ()
(gdb) print ltsi
$1 = (const pgm_tsi_t &) @0x3f930c0000000020: <error reading variable>
(gdb) print rtsi
$2 = (const pgm_tsi_t &) @0x609568: {gsi = {identifier = "^��)f�"}, sport =
1107}

-- 
Steve-o
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.zeromq.org/pipermail/zeromq-dev/attachments/20100512/49460f68/attachment.htm>


More information about the zeromq-dev mailing list