My code currently runs with libevent 1.4 While in the process of upgrading to libevent 2.0.6 I got a segfault.
Code sample is pretty basic event_set(&ev,fd,EV_READ,fd_handler,NULL) ; event_del(&ev) ; The reason for the crash is pretty simple as well. event_del calls EVBASE_ACQUIRE_LOCK which assume that ev->ev_base is non NULL. This code sample does skip the mandatory event_init, but event_del should be more cautious nevertheless. *********************************************************************** To unsubscribe, send an e-mail to majord...@freehaven.net with unsubscribe libevent-users in the body.