Re: [Libevent-users] Re: help with debugging

2010-09-19 Thread Mihai Draghicioiu
My app is not using threads by itself. If there are any extra threads, they are made by libevent internally, as far as i know. See my other reply, i think i've figured the crash out. To answer your question, it seems a DNS timeout triggers the crash. On Sat, Sep 18, 2010 at 8:17 PM, Mark Ellzey w

Re: [Libevent-users] Re: help with debugging

2010-09-19 Thread Mihai Draghicioiu
Alright, i think i found the bug -- still not sure whether it's me or the library, but: Valgrind trace: ==8517== ==8517== Invalid read of size 4 ==8517==at 0x80A1AF1: evhttp_request_get_input_buffer (in /home/mihai/frogmod-justice/frogserv) ==8517==by 0x8071FE2: _ZN6serverL13http_event_cb