active index mismatch in heap?
blblack at gmail.com
Tue Mar 8 16:29:51 CET 2011
On Sun, Feb 27, 2011 at 1:38 AM, Marc Lehmann <schmorp at schmorp.de> wrote:
> On Sat, Feb 26, 2011 at 11:27:10PM -0600, Brandon Black <blblack at gmail.com> wrote:
>> Assertion '("libev: active index mismatch in heap", ((W)((heap
>> [i]).w))->active == i)' failed in verify_heap() at ./libev/ev.c:1978
> Yes, but there are lots of possibilities. If you use threads, then a
> possibility would be that you stop the watcher in another thread. It could
> also be that you free an active watcher.
Just for the record, I was eventually able to track down my error, and
it was a corner case where I was failing to stop a timer watcher
before free()-ing it. Thanks for the help
More information about the libev