hq
tokuhirom@bbq% hok_foo ./src/hq --port 1192 [~/dev/hq] Mon 16 12:54
GNU gdb (GDB) 7.2-ubuntu
Copyright (C) 2010 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law. Type "show copying"
and "show warranty" for details.
This GDB was configured as "x86_64-linux-gnu".
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>...
Reading symbols from /home/tokuhirom/dev/hq/src/hq...done.
(gdb) run
Starting program: /home/tokuhirom/dev/hq/src/hq --port 1192
[Thread debugging using libthread_db enabled]
16/May/2011:12:54:44 +0900 [ERROR] could not handle GET /, timeout occured
16/May/2011:12:54:46 +0900 [ERROR] could not handle put /foo, timeout occured
16/May/2011:12:54:51 +0900 [ERROR] could not handle GET /foo, timeout occured
16/May/2011:12:54:54 +0900 [ERROR] could not handle GET /, timeout occured
16/May/2011:12:55:24 +0900 [ERROR] could not handle GET /, timeout occured
Program received signal SIGPIPE, Broken pipe.
0x00007ffff7bcdb10 in __write_nocancel ()
at ../sysdeps/unix/syscall-template.S:82
82 ../sysdeps/unix/syscall-template.S: No such file or directory.
in ../sysdeps/unix/syscall-template.S
(gdb) bt
#0 0x00007ffff7bcdb10 in __write_nocancel ()
at ../sysdeps/unix/syscall-template.S:82
#1 0x000000000040aa56 in hq_client::_write_sendbuf (this=0x6294e0,
disactivate_poll_when_empty=<value optimized out>) at hq.cc:673
#2 0x000000000040afd4 in hq_client::close_response (this=0x6294e0)
at hq.cc:466
#3 0x0000000000407586 in hq_handler::send_error (req=<value optimized out>,
res_sender=0x6294e0, status=<value optimized out>, msg=...) at hq.cc:309
#4 0x0000000000408565 in hq_worker::handler::trash_idle_connections (
this=<value optimized out>) at hq.cc:803
#5 0x00000000004089ea in trash_idle_connections (this=<value optimized out>)
at hq.hh:616
#6 hq_loop::run_loop (this=<value optimized out>) at hq.cc:1437
#7 0x0000000000408b4a in loop_main () at hq.cc:1724
#8 0x0000000000408d7f in main (argc=3, argv=0x7fffffffe038) at hq.cc:1757
(gdb) c
Continuing.
16/May/2011:12:56:31 +0900 [ERROR] fd=7 write(2) failed while sending response,
Program received signal SIGSEGV, Segmentation fault.
hq_client::_finalize_response (this=<value optimized out>, success=false)
at hq.cc:582
582 delete this;
(gdb) bt
#0 hq_client::_finalize_response (this=<value optimized out>, success=false)
at hq.cc:582
#1 0x00000000006ca598 in ?? ()
#2 0x00000000006ca6d8 in ?? ()
#3 0x00000000006ca5b0 in ?? ()
#4 0x00000000006ca5b0 in ?? ()
#5 0x00000000006ca6d8 in ?? ()
#6 0x000000000041279b in ?? ()
#7 0x00000000006ca598 in ?? ()
#8 0x00007fffffffde2f in ?? ()
#9 0x00007fffffffde10 in ?? ()
#10 0x00000000006294f8 in ?? ()
#11 0x0000000000619458 in ?? ()
#12 0x00000000006294e0 in ?? ()
#13 0x00007fffffffde10 in ?? ()
#14 0x000000004dd0a02c in ?? ()
#15 0x00007fffffffde20 in ?? ()
#16 0x0000000000408565 in hq_worker::handler::trash_idle_connections (
this=<value optimized out>) at hq.cc:803
#17 0x00000000004089ea in trash_idle_connections (this=<value optimized out>)
at hq.hh:616
#18 hq_loop::run_loop (this=<value optimized out>) at hq.cc:1437
#19 0x0000000000408b4a in loop_main () at hq.cc:1724
#20 0x0000000000408d7f in main (argc=3, argv=0x7fffffffe038) at hq.cc:1757