[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

[Libevent-users] Re: Infinite loop in libevent-1.4.14b-stable



On Fri, Mar 2, 2012 at 12:27 AM, Daniel Janzon <janzon@xxxxxxxxx> wrote:
> Hi Guys,
>
> Sorry to bother you with a problem in an old release, but I'd
> appreciate any hints on this one. I've got a pretty large piece of
> software based on libevent-1.4.14b-stable, which usually is really
> solid. But in one load test I got stuck in the while loop in
> event.c:timeout_process():
>
> [...]
>
> What I don't understand is why it is removed from
> base->activequeues[ev->ev_pri] in event_del() / event_queue_remove().
> I would have imagined it should have been removed from base->timeheap.
> So maybe the bug is that EVLIST_TIMEOUT is not set in event_del?

I set the timeout flag in the debugger and the program got out of the
loop and continued. And it is responsive and not totally corrupt. I
wonder what happened...

/Daniel
***********************************************************************
To unsubscribe, send an e-mail to majordomo@xxxxxxxxxxxxx with
unsubscribe libevent-users    in the body.