libevent/libevent — pull request #60 by azat (2013-05-10 16:29:39+00:00)
Title: Missed lock acquire/release in event_base_cancel_single_callback_()

Call backtrace:
...
event_base_free()
event_base_free_()
event_callback_cancel_nolock_()
event_queue_remove_active()
...

Fix for e9ebef83

Maybe this acquire/release must be upper (at the begining/end of the event_base_cancel_single_callback_()), what you think?