[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: another mysterious segfault
From: |
Mark Burgess |
Subject: |
Re: another mysterious segfault |
Date: |
Sat, 27 Aug 2005 07:50:26 +0200 |
Lars - what version are you using? Is it a recent one? (2.1.15 or
later?). Segfault during malloc usually means one of two things:
1) a bug in libc (what OS is this? Some red hat linuxes have old libs
with problems)
2) a bug in the program somewhere else entirely which is hard to find.
Can you provide more info?
Mark
On Fri, 2005-08-26 at 15:57 -0700, Lars Damerow wrote:
> 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
> lars@pixar.com
>
> Strike while the irony's hot!
>
>
> _______________________________________________
> Help-cfengine mailing list
> Help-cfengine@gnu.org
> http://lists.gnu.org/mailman/listinfo/help-cfengine
- another mysterious segfault, Lars Damerow, 2005/08/26
- Re: another mysterious segfault,
Mark Burgess <=
- Re: another mysterious segfault, Lars Damerow, 2005/08/28
- Re: another mysterious segfault, Mark Burgess, 2005/08/28
- Re: another mysterious segfault, Lars Damerow, 2005/08/29
- Re: another mysterious segfault, Ed Brown, 2005/08/29
- Re: another mysterious segfault, Lars Damerow, 2005/08/29
- Re: another mysterious segfault, Frank Smith, 2005/08/29
- Re: another mysterious segfault, Chris Babcock, 2005/08/29
- Re: another mysterious segfault, Lars Damerow, 2005/08/30
- Re: another mysterious segfault, Mark Burgess, 2005/08/30
- Language functionality (was: Re: another mysterious segfault), Tim Nelson, 2005/08/30