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

Re: [Libevent-users] More Segfaulting



On Thu, Mar 25, 2010 at 3:00 PM, David Titarenco
<david.titarenco@xxxxxxxxx> wrote:
> Somewhere between 2 and 3 the request is prematurely freed. Any ideas? Is
> there a libevent request kill capability that could be "cleaning up"
> requests without me knowing?
>
> Also, is there any way I can verify whether or not a request exists before I
> try to mess with it. At least to avoid the SIGSEGV.

Without seeing your source code, it's very difficult to see what's
going wrong here.   It seems that memory gets corrupted somewhere or
that you are working on a freed pointer.   You could hook the memory
functions and check if any pointer gets freed that you believe that
still points to an active http request object.   That might get you a
little bit further.

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