Skip to content

Instantly share code, notes, and snippets.

@silas
Created May 15, 2009 20:43
Show Gist options
  • Save silas/112436 to your computer and use it in GitHub Desktop.
Save silas/112436 to your computer and use it in GitHub Desktop.
This GDB was configured as "x86_64-redhat-linux-gnu"...Using host libthread_db library "/lib64/libthread_db.so.1".
(gdb) run
Starting program: /usr/sbin/scribed
[Thread debugging using libthread_db enabled]
[Fri May 15 14:38:37 2009] "STATUS: STARTING"
[Fri May 15 14:38:37 2009] "STATUS: configuring"
[Fri May 15 14:38:37 2009] "got configuration data from file </usr/local/scribe/scribe.conf>"
[Fri May 15 14:38:37 2009] "CATEGORY : default"
[Fri May 15 14:38:37 2009] "Creating default store"
[Fri May 15 14:38:37 2009] "configured <1> stores"
[Fri May 15 14:38:37 2009] "STATUS: "
[Fri May 15 14:38:37 2009] "STATUS: ALIVE"
[Fri May 15 14:38:37 2009] "Starting scribe server on port 9103"
Thrift: Fri May 15 14:38:37 2009 libevent 1.4.4-stable method epoll
...
[Fri May 15 14:39:02 2009] "[apache.access] Changing state from <SENDING_BUFFER> to <STREAMING>"
[New Thread 47684111675008 (LWP 4468)]
[New Thread 1089902912 (LWP 4471)]
[New Thread 1112095040 (LWP 4472)]
[New Thread 1100392768 (LWP 4473)]
[New Thread 1122584896 (LWP 4495)]
Program received signal SIGABRT, Aborted.
[Switching to Thread 47684111675008 (LWP 4468)]
0x000000377d230155 in raise () from /lib64/libc.so.6
(gdb) bt
#0 0x000000377d230155 in raise () from /lib64/libc.so.6
#1 0x000000377d231bf0 in abort () from /lib64/libc.so.6
#2 0x000000377d26a3db in __libc_message () from /lib64/libc.so.6
#3 0x000000377d2e6c1f in __stack_chk_fail () from /lib64/libc.so.6
#4 0x0000003d7ce08596 in apache::thrift::server::TNonblockingServer::handleEvent (this=0x7fff58434ae0, fd=<value optimized out>, which=<value optimized out>) at src/server/TNonblockingServer.cpp:601
#5 0x00002b5e52683768 in event_base_loop () from /usr/lib64/libevent-1.4.so.2
#6 0x000000000043b3f1 in main (argc=1, argv=0x7fff58434ee8) at scribe_server.cpp:100
#7 0x000000377d21d8b4 in __libc_start_main () from /lib64/libc.so.6
#8 0x0000000000409e09 in _start ()
gdb) bt full
#0 0x000000377d230155 in raise () from /lib64/libc.so.6
No symbol table info available.
#1 0x000000377d231bf0 in abort () from /lib64/libc.so.6
No symbol table info available.
#2 0x000000377d26a3db in __libc_message () from /lib64/libc.so.6
No symbol table info available.
#3 0x000000377d2e6c1f in __stack_chk_fail () from /lib64/libc.so.6
No symbol table info available.
#4 0x0000003d7ce08596 in apache::thrift::server::TNonblockingServer::handleEvent (this=0x7fff58434ae0, fd=<value optimized out>, which=<value optimized out>) at src/server/TNonblockingServer.cpp:601
addrLen = 28
addr = {sa_family = 10, sa_data = "Ø6", '\0' <repeats 11 times>}
clientSocket = -1
__PRETTY_FUNCTION__ = "void apache::thrift::server::TNonblockingServer::handleEvent(int, short int)"
#5 0x00002b5e52683768 in event_base_loop () from /usr/lib64/libevent-1.4.so.2
No symbol table info available.
#6 0x000000000043b3f1 in main (argc=1, argv=0x7fff58434ee8) at scribe_server.cpp:100
binaryProtocolFactory = {px = 0x1c083d40, pn = {pi_ = 0x1c083fe0}}
server = {<apache::thrift::server::TServer> = {<apache::thrift::concurrency::Runnable> = {_vptr.Runnable = 0x66c590, thread_ = {px = 0x0, pn = {pi_ = 0x0}}}, processor_ = {px = 0x1c084820, pn = {pi_ = 0x1c082d10}},
serverTransport_ = {px = 0x0, pn = {pi_ = 0x0}}, inputTransportFactory_ = {px = 0x1c084990, pn = {pi_ = 0x1c0849b0}}, outputTransportFactory_ = {px = 0x1c0848b0, pn = {pi_ = 0x1c082d70}}, inputProtocolFactory_ = {px = 0x1c083d40,
pn = {pi_ = 0x1c083fe0}}, outputProtocolFactory_ = {px = 0x1c083d40, pn = {pi_ = 0x1c083fe0}}, eventHandler_ = {px = 0x0, pn = {pi_ = 0x0}}}, static LISTEN_BACKLOG = 1024, static CONNECTION_STACK_LIMIT = 1024,
static IDLE_BUFFER_MEM_LIMIT = 8192, serverSocket_ = 6, port_ = 9103, threadManager_ = {px = 0x0, pn = {pi_ = 0x0}}, threadPoolProcessing_ = false, eventBase_ = 0x1c084db0, serverEvent_ = {ev_next = {tqe_next = 0x1c085d20,
tqe_prev = 0x1c084f98}, ev_active_next = {tqe_next = 0x0, tqe_prev = 0x1c083df0}, ev_signal_next = {tqe_next = 0x7fff58434cc0, tqe_prev = 0x152672000}, ev_timeout_node = {rbe_left = 0x2b5effffffff, rbe_right = 0x1c084db0,
rbe_parent = 0x1200000006, rbe_color = 1480804958}, ev_base = 0x406ea7, ev_fd = 1382490976, ev_events = 0, ev_ncalls = 0, ev_pncalls = 0x7fff00000000, ev_timeout = {tv_sec = 264088110000, tv_usec = 140734674193120}, ev_pri = 2,
ev_callback = 0, ev_arg = 0x400, ev_res = 8192, ev_flags = 0}, numTConnections_ = 470302054, connectionStackLimit_ = 8, idleBufferMemLimit_ = 470305696, connectionStack_ = {
c = {<std::_Deque_base<apache::thrift::server::TConnection*,std::allocator<apache::thrift::server::TConnection*> >> = {
_M_impl = {<std::allocator<apache::thrift::server::TConnection*>> = {<__gnu_cxx::new_allocator<apache::thrift::server::TConnection*>> = {<No data fields>}, <No data fields>}, _M_map = 0x1c084ba0, _M_map_size = 470306208,
_M_start = {_M_cur = 0x1c083d78, _M_first = 0x1c084ba0, _M_last = 0x1c084ba0, _M_node = 0x1c084da0}, _M_finish = {_M_cur = 0x1c083d78, _M_first = 0xffffffff, _M_last = 0x7fff58434ef8,
_M_node = 0x66c270}}}, <No data fields>}}}
r_fd = {rlim_cur = 65535, rlim_max = 65535}
next_option = -1
short_options = 0x44fe5f "hp:c:"
port = 0
config_file = {static npos = 18446744073709551615, _M_dataplus = {<std::allocator<char>> = {<__gnu_cxx::new_allocator<char>> = {<No data fields>}, <No data fields>}, _M_p = 0x3595aefe18 ""}}
processor = {px = 0x1c084820, pn = {pi_ = 0x1c082d10}}
e = (const struct std::exception &) @0x0: <incomplete type>
now = 1
dbgtime = "øNCXÿ\177\000\000pÂf\000\000\000\000\000«»f\000\000\000\000\000øN"
long_options = {{name = 0x4500f0 "help", has_arg = 0, flag = 0x0, val = 104}, {name = 0x44f9a7 "port", has_arg = 0, flag = 0x0, val = 112}, {name = 0x4500f5 "config", has_arg = 0, flag = 0x0, val = 99}, {name = 0x0,
has_arg = 0, flag = 0x0, val = 111}}
#7 0x000000377d21d8b4 in __libc_start_main () from /lib64/libc.so.6
No symbol table info available.
#8 0x0000000000409e09 in _start ()
No symbol table info available.
(gdb) info registers
rax 0x0 0
rbx 0x7fff584340f0 140734674190576
rcx 0xffffffffffffffff -1
rdx 0x6 6
rsi 0x1174 4468
rdi 0x1174 4468
rbp 0x2b5e5289ae80 0x2b5e5289ae80
rsp 0x7fff58434048 0x7fff58434048
r8 0x0 0
r9 0x3e 62
r10 0x8 8
r11 0x206 518
r12 0x377d31f5cf 238323627471
r13 0x3 3
r14 0x7fff584341d0 140734674190800
r15 0x377d31f5a0 238323627424
rip 0x377d230155 0x377d230155 <raise+53>
eflags 0x206 [ PF IF ]
cs 0x33 51
ss 0x2b 43
ds 0x0 0
es 0x0 0
fs 0x0 0
gs 0x0 0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment