[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

Re: [Libevent-users] Debugging bufferevent_openssl (filtered)

> Maybe you can check if other events besides BEV_EVENT_ERROR are set?
> Like BEV_EVENT_EOF or BEV_EVENT_TIMEOUT? And are you sure the bufev
> ptr passed to bufferevent_write() is valid? Thats the most likely
> cause of generating segv's mostly.

I've already checked that EOF and TIMEOUT are not set. Your hypothesis
about an invalid ptr is likely correct -- however, the ptr is
invalidated in the event callback when I receive an error. What I'm
trying to figure out is why the error is happening in the first place.
These spurious errors only manifest them when I use bufferevents with

To unsubscribe, send an e-mail to majordomo@xxxxxxxxxxxxx with
unsubscribe libevent-users    in the body.