Skip to content

Instantly share code, notes, and snippets.

@ptrmcrthr
Created January 29, 2015 22:23
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ptrmcrthr/05d4536af96b900c04fb to your computer and use it in GitHub Desktop.
Save ptrmcrthr/05d4536af96b900c04fb to your computer and use it in GitHub Desktop.
mcrouter gdb output
root@24dd59f67a40:/usr/local/mcrouter/repo/mcrouter/mcrouter/scripts# gdb --args /usr/local/mcrouter/install/bin/mcrouter -d -d -R /dc1/default/ -f /etc/mcrouter.conf -p 5000
GNU gdb (Ubuntu 7.7.1-0ubuntu5~14.04.2) 7.7.1
Copyright (C) 2014 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".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>.
Find the GDB manual and other documentation resources online at:
<http://www.gnu.org/software/gdb/documentation/>.
For help, type "help".
Type "apropos word" to search for commands related to "word"...
Reading symbols from /usr/local/mcrouter/install/bin/mcrouter...done.
(gdb) run
Starting program: /usr/local/mcrouter/install/bin/mcrouter -d -d -R /dc1/default/ -f /etc/mcrouter.conf -p 5000
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
I0129 22:22:45.151437 22842 main.cpp:467] /usr/local/mcrouter/install/bin/mcrouter -d -d -R /dc1/default/ -f /etc/mcrouter.conf -p 5000
I0129 22:22:45.151605 22842 main.cpp:597] mcrouter 1.0 startup (22842)
I0129 22:22:45.163365 22842 proxy.cpp:666] reconfigured 1 proxies with 2 clients (cab2d981963d047d07af3aca76cf65ae)
[New Thread 0x7ffff1090700 (LWP 22846)]
[New Thread 0x7ffff088f700 (LWP 22847)]
[New Thread 0x7fffebfff700 (LWP 22848)]
[New Thread 0x7fffeb7fd700 (LWP 22849)]
[New Thread 0x7fffeaffd700 (LWP 22850)]
I0129 22:22:45.180110 22842 server.cpp:153] Spawning AsyncMcServer
[New Thread 0x7fffea7fc700 (LWP 22851)]
140737127630592 [2015-01-29 22:22:45.183018 UTC] [ fentry] ( ) asox_timer.c:73 asox_add_timer event_base: 0xae4a80 time: 60000000 on_timer: 0x458120 arg:0xae23b0
140737127630592 [2015-01-29 22:22:45.183112 UTC] [ fexit] ( ) asox_timer.c:94 asox_add_timer event_base: 0xae4a80 time: 60000000 on_timer: 0x458120 arg:0xae23b0 => timer: 0x7fffdc0013a0
140737127630592 [2015-01-29 22:22:57.124495 UTC] [ fentry] ( ) ascii_client.rl:517 _on_ascii_rx parser=0x7fffdc0019b8 nbuf=38
140737127630592 [2015-01-29 22:22:57.124611 UTC] [ low] ( ) ascii_client.rl:579 _on_ascii_rx resid=38 msg=0x7fffdc003070 parser_state=parser-partial cs=583
140737127630592 [2015-01-29 22:22:57.124659 UTC] [ low] ( ) ascii_client.rl:579 _on_ascii_rx resid=7 msg=0x7fffdc0031d0 parser_state=parser-body cs=595
140737127630592 [2015-01-29 22:22:57.124684 UTC] [ low] ( ) ascii_client.rl:579 _on_ascii_rx resid=2 msg=0x7fffdc0031d0 parser_state=parser-partial cs=595
140737127630592 [2015-01-29 22:22:57.124764 UTC] [ fexit] ( ) ascii_client.rl:655 _on_ascii_rx 1 msgs finished. parser_state=parser-msg-header cs=750
I0129 22:22:57.125156 22851 ProxyDestination.cpp:192] server 127.0.0.1:5003:TCP:ascii-1000 up (1 of 2)
140737127630592 [2015-01-29 22:22:57.126899 UTC] [ fentry] ( ) ascii_client.rl:517 _on_ascii_rx parser=0x7fffdc007da8 nbuf=8
140737127630592 [2015-01-29 22:22:57.127079 UTC] [ low] ( ) ascii_client.rl:579 _on_ascii_rx resid=8 msg=0x7fffdc008f10 parser_state=parser-partial cs=369
140737127630592 [2015-01-29 22:22:57.127117 UTC] [ fexit] ( ) ascii_client.rl:655 _on_ascii_rx 1 msgs finished. parser_state=parser-msg-header cs=746
140737127630592 [2015-01-29 22:23:01.694625 UTC] [ fentry] ( ) ascii_client.rl:517 _on_ascii_rx parser=0x7fffdc0019b8 nbuf=23
140737127630592 [2015-01-29 22:23:01.694722 UTC] [ low] ( ) ascii_client.rl:579 _on_ascii_rx resid=23 msg=0x7fffdc008f10 parser_state=parser-partial cs=583
140737127630592 [2015-01-29 22:23:01.694784 UTC] [ fexit] ( ) ascii_client.rl:655 _on_ascii_rx 1 msgs finished. parser_state=parser-msg-header cs=750
140737127630592 [2015-01-29 22:23:01.695940 UTC] [ fentry] ( ) ascii_client.rl:517 _on_ascii_rx parser=0x7fffdc007da8 nbuf=29
140737127630592 [2015-01-29 22:23:01.696027 UTC] [ low] ( ) ascii_client.rl:579 _on_ascii_rx resid=29 msg=0x7fffdc008f10 parser_state=parser-partial cs=369
140737127630592 [2015-01-29 22:23:01.696050 UTC] [ low] ( ) ascii_client.rl:579 _on_ascii_rx resid=12 msg=0x7fffdc002f50 parser_state=parser-body cs=571
140737127630592 [2015-01-29 22:23:01.696066 UTC] [ low] ( ) ascii_client.rl:579 _on_ascii_rx resid=7 msg=0x7fffdc002f50 parser_state=parser-partial cs=571
140737127630592 [2015-01-29 22:23:01.696087 UTC] [ fexit] ( ) ascii_client.rl:655 _on_ascii_rx 1 msgs finished. parser_state=parser-msg-header cs=746
140737127630592 [2015-01-29 22:23:05.314962 UTC] [ fentry] ( ) ascii_client.rl:517 _on_ascii_rx parser=0x7fffdc0019b8 nbuf=6
140737127630592 [2015-01-29 22:23:05.315326 UTC] [ low] ( ) ascii_client.rl:579 _on_ascii_rx resid=6 msg=0x7fffdc008f10 parser_state=parser-partial cs=583
140737127630592 [2015-01-29 22:23:05.315589 UTC] [ fexit] ( ) ascii_client.rl:655 _on_ascii_rx 1 msgs finished. parser_state=parser-msg-header cs=750
140737127630592 [2015-01-29 22:23:12.368250 UTC] [ fentry] ( ) ascii_client.rl:517 _on_ascii_rx parser=0x7fffdc0019b8 nbuf=36
140737127630592 [2015-01-29 22:23:12.368377 UTC] [ low] ( ) ascii_client.rl:579 _on_ascii_rx resid=36 msg=0x7fffdc008f10 parser_state=parser-partial cs=583
140737127630592 [2015-01-29 22:23:12.368418 UTC] [ low] ( ) ascii_client.rl:579 _on_ascii_rx resid=7 msg=0x7fffdc002f50 parser_state=parser-body cs=595
140737127630592 [2015-01-29 22:23:12.368445 UTC] [ low] ( ) ascii_client.rl:579 _on_ascii_rx resid=2 msg=0x7fffdc002f50 parser_state=parser-partial cs=595
140737127630592 [2015-01-29 22:23:12.368491 UTC] [ fexit] ( ) ascii_client.rl:655 _on_ascii_rx 1 msgs finished. parser_state=parser-msg-header cs=750
Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0x7fffea7fc700 (LWP 22851)]
facebook::memcache::mcrouter::RootRoute::doRoute<facebook::memcache::McOperation<6>, facebook::memcache::mcrouter::ProxyMcRequest> (this=this@entry=0xaeb208, rh=..., req=...) at oss_include/mcrouter/routes/RootRoute.h:115
115 auto r = rh[i];
(gdb)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment