nmathewson/Libevent — Issue #39: [error] bufferevent.c:611: Assertion bufev_private->refcnt > 0 failed in _bufferevent_decref_and_unlock
Author: ghazel
Created: 2012-02-17 03:43:06+00:00
State: open

```
[error] bufferevent.c:611: Assertion bufev_private->refcnt > 0 failed in _bufferevent_decref_and_unlock
(gdb) bt
#0 0x00007fff86b98ce2 in __pthread_kill ()
#1 0x00007fff876cc7d2 in pthread_kill ()
#2 0x00007fff876bda7a in abort ()
#3 0x0000000100030baf in event_exit ()
#4 0x00000001000313be in event_errx ()
#5 0x0000000100027335 in _bufferevent_decref_and_unlock ()
#6 0x0000000100028dc2 in bufferevent_connect_getaddrinfo_cb ()
#7 0x000000010005508d in evdns_getaddrinfo_gotresolve ()
#8 0x0000000100046374 in reply_run_callback ()
#9 0x0000000100014971 in event_process_deferred_callbacks ()
#10 0x0000000100014ae4 in event_process_active ()
#11 0x000000010001529f in event_base_loop ()
#12 0x0000000100014b4f in event_base_dispatch ()
```

Happened to me in gdb after I put a breakpoint in an event handler then continued about 15 seconds later. Probably rare in actual code.