Created
December 20, 2010 18:48
-
-
Save lfittl/748804 to your computer and use it in GitHub Desktop.
GDB output for http://mongrel2.org/tktview?name=248c4a2502
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Program received signal SIGSEGV, Segmentation fault. | |
bstr2cstr (b=0x1, z=0 '\0') at src/bstr/bstrlib.c:281 | |
281 if (b == NULL || b->slen < 0 || b->data == NULL) return NULL; | |
(gdb) bt | |
#0 bstr2cstr (b=0x1, z=0 '\0') at src/bstr/bstrlib.c:281 | |
#1 0x00000000004285a3 in connection_http_to_handler (conn=0x1e3e078) at src/connection.c:217 | |
#2 0x000000000042910a in State_exec (state=0x1e3e0a0, event=0, conn=0x1e3e078) at src/state.rl:58 | |
#3 0x00000000004277f0 in Connection_task (v=<value optimized out>) at src/connection.c:567 | |
#4 0x000000000040c54f in taskstart (y=<value optimized out>, x=<value optimized out>) at src/task/task.c:35 | |
#5 0x00007f90447e97b0 in ?? () from /lib/libc.so.6 | |
#6 0x0000000000000000 in ?? () | |
(gdb) up | |
#1 0x00000000004285a3 in connection_http_to_handler (conn=0x1e3e078) at src/connection.c:217 | |
217 log_info("CONN HTTP TO HANDLER, SEND UUID %s", bstr2cstr(handler->send_ident, '\0')); | |
(gdb) print handler->send_ident | |
$1 = (bstring) 0x1 | |
(gdb) print conn->req->action->target.handler | |
$5 = (Handler *) 0x1d40150 | |
(gdb) print conn->req->action->target.handler->send_ident | |
$6 = (bstring) 0x1 | |
(gdb) print conn->req->action->target.handler->recv_ident | |
$7 = (bstring) 0x7f9044fafb20 | |
(gdb) print conn->req->action->target.handler->recv_ident->data | |
$8 = (unsigned char *) 0x7f9044d8d220 "H\203???\nf.\017\037\204" | |
(gdb) print conn->req->action->target.handler->send_spec | |
$17 = (bstring) 0x7f9000000001 | |
(gdb) print conn->req->action->target.handler->send_spec->data | |
Cannot access memory at address 0x7f9000000009 | |
(gdb) print conn->req->action->target.handler->recv_spec | |
$18 = (bstring) 0x7f9044fafb70 | |
(gdb) print conn->req->action->target.handler->recv_spec->data | |
$19 = (unsigned char *) 0x7f9044d8d210 "H\203???\032f.\017\037\204" | |
(gdb) print conn->req->action->target.handler->recv_spec->slen | |
$20 = 32656 | |
(gdb) print conn->req->action->target.handler->recv_spec->mlen | |
$21 = 1155059984 | |
(gdb) print conn->req->action->target.handler->send_spec->slen | |
Cannot access memory at address 0x7f9000000005 | |
(gdb) print conn->req->action->target.handler->send_spec->mlen | |
Cannot access memory at address 0x7f9000000001 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment