[zeromq-dev] 0MQ multicast message lost?
Steven McCoy
steven.mccoy at miru.hk
Fri Oct 8 15:52:35 CEST 2010
On 8 October 2010 21:29, <ntupel at googlemail.com> wrote:
> On Fri, Oct 8, 2010 at 3:02 PM, Steven McCoy <steven.mccoy at miru.hk> wrote:
> > Missing timer, or rather failure trying to cancel a cancelled timer, not
> > sure how this can occur. File a bug on github, a stack trace would be
> > pretty handy.
>
> Will do so. In the meantime here is the stack trace:
>
> #0 0x00002aaaabd45265 in raise () from /lib64/libc.so.6
> #1 0x00002aaaabd46d10 in abort () from /lib64/libc.so.6
> #2 0x00002aaaaacf6717 in zmq::poller_base_t::cancel_timer
> (this=<value optimized out>, sink_=0x607b40, id_=161) at
> poller_base.cpp:64
> #3 0x00002aaaaacf0d95 in zmq::pgm_receiver_t::in_event
> (this=0x607b40) at pgm_receiver.cpp:139
> #4 0x00002aaaaaceabca in zmq::epoll_t::loop (this=0x602190) at
> epoll.cpp:160
> #5 0x00002aaaaacffbb7 in zmq::thread_t::thread_routine
> (arg_=0x6021f8) at thread.cpp:79
> #6 0x00002aaaab36d73d in start_thread () from /lib64/libpthread.so.0
> #7 0x00002aaaabde8d1d in clone () from /lib64/libc.so.6
>
>
Oh ok, misunderstanding of timer events, they are canceled post call so I
shouldn't erase on callback.
// Trigger the timer.
it->second.sink->timer_event (it->second.id);
// Remove it from the list of active timers.
timers_t::iterator o = it;
++it;
timers.erase (o);
--
Steve-o
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.zeromq.org/pipermail/zeromq-dev/attachments/20101008/ca95d9c1/attachment.htm>
More information about the zeromq-dev
mailing list