help-cfengine
[Top][All Lists]
Advanced

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

another mysterious segfault


From: Lars Damerow
Subject: another mysterious segfault
Date: Fri, 26 Aug 2005 15:57:33 -0700
User-agent: Mutt/1.5.6i

Hi folks,

I'm trying to track down another mysterious segfault in cfagent. It doesn't
happen every time I run cfagent, which makes it very frustrating. Here's the
backtrace:

    #0  0x00002aaaab3f04c8 in _int_malloc () from /lib64/libc.so.6
    #1  0x00002aaaab3f1d6b in malloc () from /lib64/libc.so.6
    #2  0x000000000041d99e in AppendItem (liststart=0x7fffffd8dbe8, 
itemstring=0x5ece80 "# To use this server type you should add -query host or 
-indirect host", classes=0x0)
        at item.c:316
    #3  0x000000000042274e in LoadItemList (liststart=0x7fffffd8dbe8, 
file=0x671a30 "/etc/X11/gdm/gdm.conf") at item-file.c:80
    #4  0x000000000042ed14 in DoEditFile (ptr=0x6719b0, filename=0x671a30 
"/etc/X11/gdm/gdm.conf") at edittools.c:393
    #5  0x0000000000430bf8 in WrapDoEditFile (ptr=0x6719b0, filename=0x671a30 
"/etc/X11/gdm/gdm.conf") at edittools.c:330
    #6  0x000000000040f75f in EditFiles () at do.c:2257
    #7  0x0000000000407805 in DoTree (passes=2, info=0x45f5a7 "Main Tree") at 
cfagent.c:1268
    #8  0x0000000000408110 in main (argc=4, argv=0x0) at cfagent.c:182
    #9  0x00002aaaab3a14cc in __libc_start_main () from /lib64/libc.so.6
    #10 0x00000000004044c9 in _start ()
    #11 0x00007fffffd8ff58 in ?? ()
    #12 0x0000000000000000 in ?? ()

I'm puzzled as to why it's segfaulting during a malloc while reading in that
file; the only thing of note for the particular line it's reading is that the
line appears twice in the file.

Does this sound familiar to anyone?

thanks,
lars

--
lars damerow
button pusher
pixar animation studios
address@hidden

Strike while the irony's hot!




reply via email to

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