bug-cfengine
[Top][All Lists]
Advanced

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

Segmentation fault in editfiles...


From: Nathan 'Nato' Uno
Subject: Segmentation fault in editfiles...
Date: 19 Feb 2003 13:22:20 -0600

I'm getting a segfault running 'cfagent -v -q -K' (cfengine version
2.0.4, built from source).  It appears to be dying in "editfiles". 
Here's what gdb tells me:

*********************************************************************
 Main Tree Sched: editfiles pass 1 @ Wed Feb 19 11:36:47 2003
*********************************************************************


Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 1024 (LWP 10028)]
0x40245625 in chunk_alloc (ar_ptr=0x402f7c20, nb=24) at malloc.c:2878
2878    malloc.c: No such file or directory.
        in malloc.c
(gdb) bt
#0  0x40245625 in chunk_alloc (ar_ptr=0x402f7c20, nb=24) at
malloc.c:2878
#1  0x40245424 in __libc_malloc (bytes=16) at malloc.c:2811
#2  0x0805c5f7 in AppendItem (liststart=0xbfffaa7c, itemstring=0x80faa80
"# the 
directives.", classes=0x0) at item.c:182
#3  0x080606ee in LoadItemList (liststart=0xbfffaa7c, file=0x810efd8
"/home/zope
/opt/apache_1.3.24/conf/httpd.conf") at item-file.c:83
#4  0x0806643b in DoEditFile (ptr=0x810ef98, filename=0x810efd8
"/home/zope/opt/
apache_1.3.24/conf/httpd.conf") at edittools.c:410
#5  0x080661e8 in WrapDoEditFile (ptr=0x810ef98, filename=0x810efd8
"/home/zope/
opt/apache_1.3.24/conf/httpd.conf") at edittools.c:331
#6  0x08052874 in EditFiles () at do.c:2149
#7  0x0804cfaf in DoTree (passes=2, info=0x808ea18 "Main Tree") at
cfagent.c:116
6
#8  0x0804afae in main (argc=4, argv=0xbffffd14) at cfagent.c:167
#9  0x401e5316 in __libc_start_main (main=0x804ad40 <main>, argc=4,
ubp_av=0xbff
ffd14, init=0x804a150 <_init>, fini=0x8088260 <_fini>,
rtld_fini=0x4000d2fc <_dl
_fini>, stack_end=0xbffffd0c)
    at ../sysdeps/generic/libc-start.c:129

I just noticed that 2.0.5 is available, so I'll give that a try and keep
poking around.  Any advice or pointers would be greatly appreciated.

Thanks,

Nathan 'Nato' Uno
Hostway Corporation





reply via email to

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