On Wed, Mar 10, 2010 at 2:39 PM, Niels Provos
<provos@xxxxxxxxx> wrote:
Next time, try the following:
On Wed, Mar 10, 2010 at 1:14 PM, David Titarenco
> Program received signal SIGSEGV, Segmentation fault.
> 0xb7bf49b4 in free () from /lib/libc.so.6
> (gdb) bt
> #0 0xb7bf49b4 in free () from /lib/libc.so.6
> #1 0xb7ed0798 in mm_free (ptr=0x31313932) at event.c:2407
> #2 0xb7ee6d76 in evhttp_response_code (req=0x3131392a, code=503,
> reason=0x813d288 "ERROR") at http.c:2179
> #3 0xb7eec023 in evhttp_send_reply (req=0x9f40570, code=503,
> reason=0x813d288 "ERROR", databuf=0x9f3f7a0) at http.c:2093
(gdb) frame 4
(gdb) p *req
BTW, you mentioned iterating over a STL hash table. Is it possible
that you are deleting elements from the hash table while iterating
over it? An erase invalidates the iterator.
Niels.
***********************************************************************
To unsubscribe, send an e-mail to
majordomo@xxxxxxxxxxxxx with
unsubscribe libevent-users in the body.