On 2014-05-28 11:19, Andre wrote:
Hello
I just cloned your official git repo updating libevent and everything
works fine until I changed something that I can not figure out
anymore.
Libevent exits the program with the code 141 every time at the same
code line.
In this line I call evbuffer_add. The buffer have to be valid because
the evbuffer_add I call one line before works fine. The pointer is
valid too.
The fatal callback defined by event_set_fatal_callback is not called.
Thanks in advance.
Hey Andre,
It may be exiting after receiving SIGPIPE. Can you run it in gdb & see
if it catches it?
If that's the case, you may want to add:
signal( SIGPIPE, SIG_IGN );
Cheers,
Aaron
***********************************************************************
To unsubscribe, send an e-mail to [email protected] with
unsubscribe libevent-users in the body.