# gdb /var/cfengine/bin/cfexecd 12166 GNU gdb Red Hat Linux (5.1-1) Copyright 2001 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 "i386-redhat-linux"... /etc/rc.d/init.d/12166: No such file or directory. Attaching to program: /var/cfengine/bin/cfexecd, process 12166 Reading symbols from /lib/libcrypto.so.2...done. Loaded symbols for /lib/libcrypto.so.2 Reading symbols from /lib/libnss_nis.so.2...done. Loaded symbols for /lib/libnss_nis.so.2 Reading symbols from /lib/i686/libpthread.so.0...done. [New Thread 8192 (LWP 12166)] [New Thread 16385 (LWP 17251)] Error while reading shared library symbols: Can't attach LWP 17251: No such process Reading symbols from /lib/i686/libm.so.6...done. Loaded symbols for /lib/i686/libm.so.6 Reading symbols from /lib/i686/libc.so.6...done. Loaded symbols for /lib/i686/libc.so.6 Reading symbols from /lib/libdl.so.2...done. Loaded symbols for /lib/libdl.so.2 Reading symbols from /lib/libnsl.so.1...done. Loaded symbols for /lib/libnsl.so.1 Reading symbols from /lib/libnss_files.so.2...done. Loaded symbols for /lib/libnss_files.so.2 Reading symbols from /lib/ld-linux.so.2...done. Loaded symbols for /lib/ld-linux.so.2 0x40179be5 in __sigsuspend (set=0xbffec800) at ../sysdeps/unix/sysv/linux/sigsuspend.c:45 45 ../sysdeps/unix/sysv/linux/sigsuspend.c: No such file or directory. in ../sysdeps/unix/sysv/linux/sigsuspend.c (gdb) bt full #0 0x40179be5 in __sigsuspend (set=0xbffec800) at ../sysdeps/unix/sysv/linux/sigsuspend.c:45 set = (sigset_t *) 0x40282034 resultvar = 3221145600 #1 0x401002a9 in __pthread_wait_for_restart_signal (self=0x40105000) at pthread.c:1027 mask = {__val = {16386, 0, 3221145656, 1074798110, 0, 1076364544, 0, 1074785780, 1076365600, 1076365016, 3221145688, 1076365600, 135698928, 1076365584, 3221145704, 1074821528, 1074785680, 1076364544, 3221145704, 1074785780, 1076365600, 1076365160, 1076365160, 1074785692, 135700312, 1076371508, 3221145752, 1075627069, 1076365584, 1076364544, 3221145752, 1075627044}} #2 0x40101afc in __pthread_lock (lock=0x816a178, self=0x40105000) at spinlock.c:149 oldstatus = 8 newstatus = 1076371508 successful_seizure = 0 spurious_wakeup_count = 0 spin_count = 0 spurious_wakeup_count = 0 #3 0x400fed46 in __pthread_mutex_lock (mutex=0x816a168) at mutex.c:109 mutex = (pthread_mutex_t *) 0x816a168 self = 0x40105000 #4 0x401010d2 in __flockfile (stream=0x816a0d0) at lockfile.c:39 stream = (FILE *) 0xfffffffc #5 0x401c8a49 in _IO_flush_all () at genops.c:825 _buffer = {__routine = 0x401c98e0 , __arg = 0x0, __canceltype = 0, __prev = 0xbffeceb0} result = 0 fp = (struct _IO_FILE *) 0x816a0d0 last_stamp = 254 #6 0x401c9739 in _IO_cleanup () at genops.c:903 fp = (struct _IO_FILE *) 0x402811bc result = 0 #7 0x4017c5c2 in exit (status=0) at exit.c:74 status = 0 old = (struct exit_function_list *) 0x40282034 #8 0x0804b532 in ExitCleanly () at cfexecd.c:574 No locals. #9 0x40100b95 in pthread_sighandler (signo=2, ctx= {gs = 7, __gsh = 0, fs = 0, __fsh = 0, es = 43, __esh = 0, ds = 43, __dsh = 0, edi = 1074813000, esi = 3221146976, ebp = 3221146952, esp = 3221146944, ebx = 3221146976, edx = 1076371508, ecx = 8, eax = 4294967292, trapno = 0, err = 0, eip = 1075289061, cs = 35, __csh = 0, eflags = 530, esp_at_signal = 3221146944, ss = 43, __ssh = 0, fpstate = 0x0, oldmask = 2147500032, cr2 = 0}) at signals.c:97 signo = 1076371508 __value = 0xfffffffc
#10 No locals. #11 0x40179be5 in __sigsuspend (set=0xbffecd60) at ../sysdeps/unix/sysv/linux/sigsuspend.c:45 set = (sigset_t *) 0x40282034 resultvar = 3221146976 #12 0x401002a9 in __pthread_wait_for_restart_signal (self=0x40105000) at pthread.c:1027 mask = {__val = {16384, 0, 3221147000, 1075289080, 1074821528, 3221147024, 3221147176, 1074791081, 3221147024, 32, 3221147024, 1074798526, 16384, 0, 3221094402, 1074810880, 1074785680, 1076364544, 3221147080, 1, 0, 16815265, 0, 1074798110, 0, 1075144116, 0, 1076367572, 134520548, 1076371508, 2147483648, 1075864105}} #13 0x40101afc in __pthread_lock (lock=0x816a178, self=0x40105000) at spinlock.c:149 oldstatus = 8 newstatus = 1076371508 successful_seizure = 0 spurious_wakeup_count = 0 spin_count = 0 spurious_wakeup_count = 0 #14 0x400fed46 in __pthread_mutex_lock (mutex=0x816a168) at mutex.c:109 mutex = (pthread_mutex_t *) 0x816a168 self = 0x40105000 #15 0x401010d2 in __flockfile (stream=0x816a0d0) at lockfile.c:39 stream = (FILE *) 0xfffffffc #16 0x401c8a49 in _IO_flush_all () at genops.c:825 _buffer = {__routine = 0x401c98e0 , __arg = 0x0, __canceltype = 0, __prev = 0x0} result = 0 fp = (struct _IO_FILE *) 0x816a0d0 ---Type to continue, or q to quit--- last_stamp = 240 #17 0x401c9739 in _IO_cleanup () at genops.c:903 fp = (struct _IO_FILE *) 0x402811bc result = 0 #18 0x4017c5c2 in exit (status=0) at exit.c:74 status = 0 old = (struct exit_function_list *) 0x40282034 #19 0x0804b532 in ExitCleanly () at cfexecd.c:574 No locals. #20 0x40100b95 in pthread_sighandler (signo=15, ctx= {gs = 7, __gsh = 0, fs = 0, __fsh = 0, es = 43, __esh = 0, ds = 43, __dsh = 0, edi = 65536, esi = 3221148344, ebp = 3221148776, esp = 3221148316, ebx = 3221148344, edx = 1076371508, ecx = 3221148344, eax = 4294967292, trapno = 0, err = 0, eip = 1075865185, cs = 35, __csh = 0, eflags = 642, esp_at_signal = 3221148316, ss = 43, __ssh = 0, fpstate = 0x0, oldmask = 2147483648, cr2 = 0}) at signals.c:97 signo = 1076371508 __value = 0xfffffffc
#21 No locals. #22 0x40206661 in __libc_nanosleep () from /lib/i686/libc.so.6 No locals. #23 0x402064e1 in __sleep (seconds=60) at ../sysdeps/unix/sysv/linux/sleep.c:85 seconds = 4294967292 ts = {tv_sec = 19, tv_nsec = 60000000} set = {__val = {65536, 0 }} oset = {__val = {2147483648, 0 }} result = 65536 ts = {tv_sec = 19, tv_nsec = 60000000} set = {__val = {65536, 0 }} oset = {__val = {2147483648, 0 }} #24 0x0804b403 in ScheduleRun () at cfexecd.c:538 now = 0 timekey = '\000' , "?\000\000\000\000\000????????????\000\000\000\000??????????\004\b" ip = (struct Item *) 0xbffed4e4 #25 0x0804ac55 in StartServer (argc=1, argv=0xbffed584) at cfexecd.c:324 nargv = (char **) 0x0 i = -1073818396 tid = 8194 argc = -1073818396 time_to_run = -4 now = 1107813880 #26 0x0804a6ee in main (argc=1, argv=0xbffed584) at cfexecd.c:124 argc = 1 argv = (char **) 0xbffed584 #27 0x40167687 in __libc_start_main (main=0x804a6d0
, argc=1, ubp_av=0xbffed584, init=0x8049c7c <_init>, fini=0x80dcf60 <_fini>, rtld_fini=0x4000dc54 <_dl_fini>, stack_end=0xbffed57c) at ../sysdeps/generic/libc-start.c:129 ubp_av = (char **) 0xbffed584 fini = (void (*)()) 0x40016aec <_dl_debug_mask> rtld_fini = (void (*)()) 0x8 ubp_ev = (char **) 0xbffed58c (gdb) quit