[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: 2.1.17 segfault near NothingLeftToDo
From: |
Mark Burgess |
Subject: |
Re: 2.1.17 segfault near NothingLeftToDo |
Date: |
Sat, 12 Nov 2005 08:38:20 +0100 |
Robert -I have looked at this and cannot see a good reason for it.
Can you do the same thing as before with gdb, then go "up" in the frames
until you reach
up
up
up
NothingLeftToDo () at cfagent.c:1396
Then find
print vtidy
print vtidy->path
for me?
thanks
M
On Fri, 2005-11-11 at 22:01 -0500, Robert Landsparger wrote:
> 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 -
> 2.1.17
> 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.
>
>
> laters,
> rel
>
> --
> Robert E. Landsparger * address@hidden * Dir. East Engineering Computing
> V. 906/487-1400 * F. 906/487-1620 * Michigan Technological University
>
>
>
> _______________________________________________
> Bug-cfengine mailing list
> address@hidden
> http://lists.gnu.org/mailman/listinfo/bug-cfengine