Skip to content

Instantly share code, notes, and snippets.

@silas
Created May 12, 2009 04:19
Show Gist options
  • Save silas/110309 to your computer and use it in GitHub Desktop.
Save silas/110309 to your computer and use it in GitHub Desktop.
GNU gdb Red Hat Linux (6.5-37.el5_2.2rh)
Copyright (C) 2006 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB. Type "show warranty" for details.
This GDB was configured as "x86_64-redhat-linux-gnu"...Using host libthread_db library "/lib64/libthread_db.so.1".
(gdb) handle SIG33 pass nostop noprint
Signal Stop Print Pass to program Description
SIG33 No No Yes Real-time event 33
(gdb) set pagination 0
(gdb) run
Starting program: /usr/sbin/scribed
[Thread debugging using libthread_db enabled]
[Mon May 11 22:12:52 2009] "STATUS: STARTING"
[Mon May 11 22:12:52 2009] "STATUS: configuring"
[Mon May 11 22:12:52 2009] "got configuration data from file </usr/local/scribe/scribe.conf>"
[Mon May 11 22:12:52 2009] "CATEGORY : default"
[Mon May 11 22:12:52 2009] "Creating default store"
[Mon May 11 22:12:52 2009] "configured <1> stores"
[Mon May 11 22:12:52 2009] "STATUS: "
[Mon May 11 22:12:52 2009] "STATUS: ALIVE"
[Mon May 11 22:12:52 2009] "Starting scribe server on port 9103"
Thrift: Mon May 11 22:12:52 2009 libevent 1.1a method epoll
[New Thread 47505498980304 (LWP 13876)]
Program received signal SIGABRT, Aborted.
[Switching to Thread 47505498980304 (LWP 13876)]
0x000000377d230155 in raise () from /lib64/libc.so.6
(gdb) backtrace 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=0x7fffee470dc0, fd=<value optimized out>, which=<value optimized out>) at src/server/TNonblockingServer.cpp:601
addrLen = 28
addr = {sa_family = 10, sa_data = "Ê.", '\0' <repeats 11 times>}
clientSocket = -1
__PRETTY_FUNCTION__ = "void apache::thrift::server::TNonblockingServer::handleEvent(int, short int)"
#5 0x0000003d7da03c15 in event_base_loop () from /usr/lib64/libevent-1.1a.so.1
No symbol table info available.
#6 0x000000000043b3f1 in main (argc=1, argv=0x7fffee4711d8) at scribe_server.cpp:100
binaryProtocolFactory = {px = 0x10ebed40, pn = {pi_ = 0x10ebefe0}}
server = {<apache::thrift::server::TServer> = {<apache::thrift::concurrency::Runnable> = {_vptr.Runnable = 0x66c590, thread_ = {px = 0x0, pn = {pi_ = 0x0}}}, processor_ = {px = 0x10ebf820, pn = {pi_ = 0x10ebdd10}}, serverTransport_ = {px = 0x0, pn = {pi_ = 0x0}}, inputTransportFactory_ = {px = 0x10ebf990, pn = {pi_ = 0x10ebf9b0}}, outputTransportFactory_ = {px = 0x10ebf8b0, pn = {pi_ = 0x10ebdd70}}, inputProtocolFactory_ = {px = 0x10ebed40, pn = {pi_ = 0x10ebefe0}}, outputProtocolFactory_ = {px = 0x10ebed40, pn = {pi_ = 0x10ebefe0}}, 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_ = 0x10ebf640, serverEvent_ = {ev_next = {tqe_next = 0x3d7dc08700, tqe_prev = 0x10ebf670}, ev_active_next = {tqe_next = 0x0, tqe_prev = 0x10ebf7f0}, ev_signal_next = {tqe_next = 0x2b34bc642918, tqe_prev = 0x0}, ev_timeout_node = {rbe_left = 0x7fffee470fb0, rbe_right = 0x1bc636000, rbe_parent = 0x2b34bc6428b8, rbe_color = -1134337184}, ev_base = 0x10ebf640, ev_fd = 6, ev_events = 18, ev_ncalls = 0, ev_pncalls = 0x7fffee470d3e, ev_timeout = {tv_sec = 3160630112, tv_usec = 140737191022384}, ev_pri = 0, ev_callback = 0x3d7ce0c3b0 <apache::thrift::server::TNonblockingServer::eventHandler(int, short, void*)>, ev_arg = 0x7fffee470dc0, ev_res = 2, ev_flags = 130}, numTConnections_ = 2, connectionStackLimit_ = 1024, idleBufferMemLimit_ = 8192, 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 = 0x10ebed60, _M_map_size = 8, _M_start = {_M_cur = 0x10ebfba0, _M_first = 0x10ebfba0, _M_last = 0x10ebfda0, _M_node = 0x10ebed78}, _M_finish = {_M_cur = 0x10ebfba0, _M_first = 0x10ebfba0, _M_last = 0x10ebfda0, _M_node = 0x10ebed78}}}, <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 = 0x10ebf820, pn = {pi_ = 0x10ebdd10}}
e = (const struct std::exception &) @0x0: <incomplete type>
now = 1
dbgtime = "Ë\021GÓˇ\177\000\000p¬f\000\000\000\000\000´ªf\000\000\000\000\000Ë\021"
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 0x7fffee4703d0 140737191019472
rcx 0xffffffffffffffff -1
rdx 0x6 6
rsi 0x3634 13876
rdi 0x3634 13876
rbp 0x2b34bc643fd0 0x2b34bc643fd0
rsp 0x7fffee470328 0x7fffee470328
r8 0x0 0
r9 0x3e 62
r10 0x8 8
r11 0x202 514
r12 0x377d31f5cf 238323627471
r13 0x3 3
r14 0x7fffee4704b0 140737191019696
r15 0x377d31f5a0 238323627424
rip 0x377d230155 0x377d230155 <raise+53>
eflags 0x202 [ IF ]
cs 0x33 51
ss 0x2b 43
ds 0x0 0
es 0x0 0
fs 0x0 0
gs 0x0 0
(gdb) thread apply all backtrace
Thread 1 (Thread 47505498980304 (LWP 13876)):
#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=0x7fffee470dc0, fd=<value optimized out>, which=<value optimized out>) at src/server/TNonblockingServer.cpp:601
#5 0x0000003d7da03c15 in event_base_loop () from /usr/lib64/libevent-1.1a.so.1
#6 0x000000000043b3f1 in main (argc=1, argv=0x7fffee4711d8) at scribe_server.cpp:100
#7 0x000000377d21d8b4 in __libc_start_main () from /lib64/libc.so.6
#8 0x0000000000409e09 in _start ()
(gdb) quit
The program is running. Exit anyway? (y or n)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment