Skip to content

Instantly share code, notes, and snippets.

@silas
Created July 24, 2009 01:11
Show Gist options
  • Save silas/153770 to your computer and use it in GitHub Desktop.
Save silas/153770 to your computer and use it in GitHub Desktop.
GNU gdb (GDB) Fedora (6.8.50.20090302-33.fc11)
Copyright (C) 2009 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-redhat-linux-gnu".
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>...
warning: "/usr/lib/debug/usr/sbin/scribed.debug": The separate debug info file has no debug info
(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
warning: "/usr/lib/debug/usr/lib64/libfb303.so.debug": The separate debug info file has no debug info
[Thread debugging using libthread_db enabled]
warning: "/usr/lib/debug/usr/lib64/libscribe.so.debug": The separate debug info file has no debug info
[Thu Jul 23 19:07:06 2009] "STATUS: STARTING"
[Thu Jul 23 19:07:06 2009] "STATUS: configuring"
[Thu Jul 23 19:07:06 2009] "got configuration data from file </usr/local/scribe/scribe.conf>"
[Thu Jul 23 19:07:06 2009] "CATEGORY : default"
[Thu Jul 23 19:07:06 2009] "[default] choosing new retry interval <308> seconds"
[Thu Jul 23 19:07:06 2009] "Creating default store"
[Thu Jul 23 19:07:06 2009] "configured <1> stores"
[Thu Jul 23 19:07:06 2009] "STATUS: "
[Thu Jul 23 19:07:06 2009] "STATUS: ALIVE"
[Thu Jul 23 19:07:06 2009] "Starting scribe server on port 1463"
Thrift: Thu Jul 23 19:07:06 2009 libevent 1.4.5-stable method epoll
Program received signal SIGABRT, Aborted.
0x00000037c5c332f5 in *__GI_raise (sig=<value optimized out>) at ../nptl/sysdeps/unix/sysv/linux/raise.c:64
64 return INLINE_SYSCALL (tgkill, 3, pid, selftid, sig);
Current language: auto; currently minimal
(gdb) backtrace full
#0 0x00000037c5c332f5 in *__GI_raise (sig=<value optimized out>) at ../nptl/sysdeps/unix/sysv/linux/raise.c:64
pid = <value optimized out>
selftid = <value optimized out>
#1 0x00000037c5c34b20 in *__GI_abort () at abort.c:88
act = {__sigaction_handler = {sa_handler = 0xf00000007, sa_sigaction = 0xf00000007}, sa_mask = {__val = {140737488344880, 140737488344736, 140737488344928, 140737488349407, 17, 239542158184, 3, 140737488344938, 6, 239542158188, 2, 140737488344926, 2, 239542149425, 1, 239542158184}}, sa_flags = 3, sa_restorer = 0x7fffffffd766}
sigs = {__val = {32, 0 <repeats 15 times>}}
#2 0x00000037c5c7005d in __libc_message (do_abort=2, fmt=0x7fffffffd910 "7e29000-7ffff7ff1000 rw-p 7ffff7e29000 00:00 0 \n7ffff7ffc000-7ffff7ffe000 rw-p 7ffff7ffc000 00:00 0 \n7ffff7ffe000-7ffff7fff000 r-xp 7ffff7ffe000 00:00 0", ' ' <repeats 22 times>, "[vdso]\n7ffffffea000-7fffff"...) at ../sysdeps/unix/sysv/linux/libc_fatal.c:170
ap = {{gp_offset = 32, fp_offset = 48, overflow_arg_area = 0x7fffffffe040, reg_save_area = 0x7fffffffdf50}}
ap_copy = {{gp_offset = 16, fp_offset = 48, overflow_arg_area = 0x7fffffffe040, reg_save_area = 0x7fffffffdf50}}
fd = 15
on_2 = <value optimized out>
list = <value optimized out>
nlist = <value optimized out>
cp = <value optimized out>
written = 6
#3 0x00000037c5cf7537 in *__GI___fortify_fail (msg=0x37c5d34397 "stack smashing detected") at fortify_fail.c:32
No locals.
#4 0x00000037c5cf7500 in __stack_chk_fail () at stack_chk_fail.c:29
No locals.
#5 0x0000003433c080f5 in apache::thrift::server::TNonblockingServer::handleEvent (this=0x7fffffffe1a0, fd=<value optimized out>, which=<value optimized out>) at src/server/TNonblockingServer.cpp:601
No locals.
#6 0x00000034330065f1 in event_process_active (base=<value optimized out>) at event.c:370
ev = 0x7fffffffe250
activeq = 0x85f7f0
i = <value optimized out>
ncalls = 0
__PRETTY_FUNCTION__ = "event_process_active"
#7 event_base_loop (base=<value optimized out>) at event.c:519
evsel = 0x34332183a0
evbase = 0x85ec20
tv = {tv_sec = 140737488347552, tv_usec = 140737488348208}
tv_p = <value optimized out>
res = <value optimized out>
#8 0x0000000000436488 in main ()
No symbol table info available.
(gdb) info registers
rax 0x0 0
rbx 0x0 0
rcx 0xffffffffffffffff -1
rdx 0x6 6
rsi 0xc94 3220
rdi 0xc94 3220
rbp 0x7fffffffe030 0x7fffffffe030
rsp 0x7fffffffd678 0x7fffffffd678
r8 0x37c5d2bea0 239542124192
r9 0x6503e0 6620128
r10 0x8 8
r11 0x202 514
r12 0x10 16
r13 0x7fffffffd910 140737488345360
r14 0xf 15
r15 0x2 2
rip 0x37c5c332f5 0x37c5c332f5 <*__GI_raise+53>
eflags 0x202 [ IF ]
cs 0x33 51
ss 0x2b 43
ds 0x0 0
es 0x0 0
fs 0x0 0
gs 0x0 0
fctrl 0x37f 895
fstat 0x0 0
ftag 0xffff 65535
fiseg 0x0 0
fioff 0x0 0
foseg 0x0 0
fooff 0x0 0
fop 0x0 0
mxcsr 0x1f80 [ IM DM ZM OM UM PM ]
(gdb) thread apply all backtrace
Thread 1 (Thread 0x7ffff7fe9710 (LWP 3220)):
#0 0x00000037c5c332f5 in *__GI_raise (sig=<value optimized out>) at ../nptl/sysdeps/unix/sysv/linux/raise.c:64
#1 0x00000037c5c34b20 in *__GI_abort () at abort.c:88
#2 0x00000037c5c7005d in __libc_message (do_abort=2, fmt=0x7fffffffd910 "7e29000-7ffff7ff1000 rw-p 7ffff7e29000 00:00 0 \n7ffff7ffc000-7ffff7ffe000 rw-p 7ffff7ffc000 00:00 0 \n7ffff7ffe000-7ffff7fff000 r-xp 7ffff7ffe000 00:00 0", ' ' <repeats 22 times>, "[vdso]\n7ffffffea000-7fffff"...) at ../sysdeps/unix/sysv/linux/libc_fatal.c:170
#3 0x00000037c5cf7537 in *__GI___fortify_fail (msg=0x37c5d34397 "stack smashing detected") at fortify_fail.c:32
#4 0x00000037c5cf7500 in __stack_chk_fail () at stack_chk_fail.c:29
#5 0x0000003433c080f5 in apache::thrift::server::TNonblockingServer::handleEvent (this=0x7fffffffe1a0, fd=<value optimized out>, which=<value optimized out>) at src/server/TNonblockingServer.cpp:601
#6 0x00000034330065f1 in event_process_active (base=<value optimized out>) at event.c:370
#7 event_base_loop (base=<value optimized out>) at event.c:519
#8 0x0000000000436488 in main ()
(gdb) quit
The program is running. Quit anyway (and kill it)? (y or n)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment