[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

2.1.17 segfault near NothingLeftToDo

From: Robert Landsparger
Subject: 2.1.17 segfault near NothingLeftToDo
Date: Fri, 11 Nov 2005 22:01:41 -0500

I spent the longest time figuring there was an issue with one of my rules,
but after putting 2.1.15 back in place, the error went away.  

Platform: sparc
cfengine version: 2.1.17
seg fault application/args: cfagent -v -q

no seg fault if I left the "-v" flag off.

Here are some snippets from a gdb run:

(gdb) file /usr/local/sbin/cfagent
Reading symbols from /usr/local/sbin/cfagent...done.
(gdb) run -q -v
Starting program: /usr/local/sbin/cfagent -q -v
warning: Lowest section in /lib/libthread.so.1 is .dynamic at 00000074
warning: Lowest section in /lib/libpthread.so.1 is .dynamic at 00000074
warning: Lowest section in /lib/libdl.so.1 is .dynamic at 00000094
Setting cfengine new port to 5308
Setting cfengine old port to 5308
Reference time set to Fri Nov 11 21:35:33 2005

GNU Configuration Engine -
Free Software Foundation 1994-
Donated by Mark Burgess, Faculty of Engineering,
Oslo University College, 0254 Oslo, Norway

[.... lots deleted ....]

No home patterns to search
Defined Edit + / !(login_gn|login_oz|login_all)
Defined Edit ^$ / solaris
Defined Edit ^$ / solaris
Defined Edit ^$ / solaris
Defined Edit SunPowerSwitch / solaris

Program received signal SIGSEGV, Segmentation fault.
0xfeeaea90 in strlen () from /lib/libc.so.1
(gdb) where
#0  0xfeeaea90 in strlen () from /lib/libc.so.1
#1  0xfef135ec in _ndoprnt () from /lib/libc.so.1
#2  0xfef15748 in printf () from /lib/libc.so.1
#3  0x0001ffb4 in NothingLeftToDo () at cfagent.c:1396
#4  0x0001f7bc in DoTree (passes=4, info=0x7f170 "Main Tree")
    at cfagent.c:1143
#5  0x0001d1f4 in main (argc=746496, argv=0xffbffdf4) at cfagent.c:180
(gdb) stop
(gdb) quit
The program is running.  Exit anyway? (y or n) y


Not sure what else I need to provide at this time.


Robert E. Landsparger * address@hidden * Dir. East Engineering Computing
V. 906/487-1400 * F. 906/487-1620 * Michigan Technological University

reply via email to

[Prev in Thread] Current Thread [Next in Thread]