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

Re: [Libevent-users] Segfault under specific conditions



I also forgot to list the pointer contents of frame 4 (but it's the same as frame 3 so it looks like it's propagating):

(gdb) frame 4
#4Â 0x081190ef in long_polling_bead (it={_M_node = 0xb7d9d170}) at eve.new.cpp:394
394ÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂ evhttp_send_reply((*it).first,503,"ERROR",evb);
Current language:Â auto; currently c++
(gdb) p *(*it).first
$6 = {next = {tqe_next = 0x1, tqe_prev = 0x11}, evcon = 0x96aa2f8, flags = -1210461832, input_headers = 0x10, output_headers = 0x20,
 remote_host = 0xb7f90088 "\fïïï\216ï\237ïB\237ïï\236ïB\236ïï\235ïP\235ïï\234ïh\234ï\002\234ï\233ïï\230ï\230ïP\230ïï\227ïz\227ï<\227ï\226ï^\226ï\006\226ï\234\220ï\217ï\024\b\200Wï0ïï",
 remote_port = 33016, kind = EVHTTP_RESPONSE, type = 157751600, headers_size = 157751696, body_size = 157950352, uri = 0x1 <Address 0x1 out of bounds>, major = 33 '!', minor = 0 '\0', response_code = 503,
 response_code_line = 0x746f746f <Address 0x746f746f out of bounds>, input_buffer = 0x2d657079, ntoread = 31084746137298262, chunked = 0, userdone = 0, output_buffer = 0x20, cb = 0x21, cb_arg = 0x96967c8, chunk_cb = 0xa}
(gdb)

Sorry for all these posts, just trying to get the most information out of gdb, as I have to reboot the server and who knows when it will crash next :P

- David