# gdb /var/cfengine/bin/cfexecd 22996 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/22996: No such file or directory. Attaching to program: /var/cfengine/bin/cfexecd, process 22996 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 22996)] Loaded symbols for /lib/i686/libpthread.so.0 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 0x40206661 in __libc_nanosleep () from /lib/i686/libc.so.6 (gdb) bt full #0 0x40206661 in __libc_nanosleep () from /lib/i686/libc.so.6 No locals. #1 0x402064e1 in __sleep (seconds=60) at ../sysdeps/unix/sysv/linux/sleep.c:85 seconds = 4294967292 ts = {tv_sec = 58, tv_nsec = 490000000} set = {__val = {65536, 0 }} oset = {__val = {2147483648, 0, 1076389600, 1076365600, 135603937, 1076362304, 0, 1074821528, 1076364544, 135668936, 3221146776, 1074785780, 1076365600, 1076383456, 3221146840, 1074785692, 400, 1076371508, 3221146824, 1075624055, 1076365584, 1076364544, 3221146824, 1075624024, 1076383456, 3221146888, 16, 1075650493, 135668872, 135668912, 135597313, 134571064}} result = 65536 ts = {tv_sec = 58, tv_nsec = 490000000} set = {__val = {65536, 0 }} oset = {__val = {2147483648, 0, 1076389600, 1076365600, 135603937, 1076362304, 0, 1074821528, 1076364544, 135668936, 3221146776, 1074785780, 1076365600, 1076383456, 3221146840, 1074785692, 400, 1076371508, 3221146824, 1075624055, 1076365584, 1076364544, 3221146824, 1075624024, 1076383456, 3221146888, 16, 1075650493, 135668872, 135668912, 135597313, 134571064}} #2 0x0804b403 in ScheduleRun () at cfexecd.c:538 now = 1107867195 timekey = "Tue Feb 8 06:53:15 2005\n\000\000\000\000\000?\000\000\000\000\000????????????\000\000\000\000??????????\004\b" ip = (struct Item *) 0xbffecde4 #3 0x0804ac55 in StartServer (argc=1, argv=0xbffece84) at cfexecd.c:324 nargv = (char **) 0x0 i = -1073820188 tid = 1076371508 argc = -1073820188 time_to_run = -4 now = 1107864225 #4 0x0804a6ee in main (argc=1, argv=0xbffece84) at cfexecd.c:124 argc = 1 argv = (char **) 0xbffece84 #5 0x40167687 in __libc_start_main (main=0x804a6d0
, argc=1, ubp_av=0xbffece84, init=0x8049c7c <_init>, fini=0x80dcf60 <_fini>, rtld_fini=0x4000dc54 <_dl_fini>, stack_end=0xbffece7c) at ../sysdeps/generic/libc-start.c:129 ubp_av = (char **) 0xbffece84 fini = (void (*)()) 0x40016aec <_dl_debug_mask> rtld_fini = (void (*)()) 0xbffecbb8 ubp_ev = (char **) 0xbffece8c (gdb) quit The program is running. Quit anyway (and detach it)? (y or n) y Detaching from program: /var/cfengine/bin/cfexecd, process 22996 [root@arapaho2 init.d]#