[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: cfengine 2.x segfaults on redhat 7.2
From: |
Mark . Burgess |
Subject: |
Re: cfengine 2.x segfaults on redhat 7.2 |
Date: |
Sun, 23 Jun 2002 18:34:13 +0200 (MET DST) |
Hi - I have not been able to reproduce this error, but based on this
trace I have made a couple of changes which might help, or at least
reveal more. Please let me know if the problem persists in version
2.0.3 (released soon).
thanks,
Mark
On 7 Apr, Ben F wrote:
> Hello,
>
> I'm setting up cfengine 2.0.1 on a bunch of redhat 7.2 boxes I recently
> built using kickstart. I'm seeing semi-frequent segfaults during the
> copy actionsequence, but not at the same place during the runs.
> Seems to be associated with having to work on directories that
> have lots of stuff in them - like /etc, /usr/local, etc.
>
> This is a 7.2 box with a stock 2.4.9-31 kernel and latest RPMs. Latest
> berkeley DB installed.
>
> I was using 2.0.0 but upgraded to 2.0.1 when I started seeing this problem.
> It was intermittent, but on this one system I am seeing it every time,
> presumably because I'm running in 'dryrun' mode.
>
> The segfault is happening in the first part of the copy actionsequence
> where basically it is going over most of /etc:
> systems.!cf_server::
> /etc
> dest=/etc/
> action=fix
> server=$(cf_server)
> recurse=inf
> purge=on
> # This is where local dhcp client info is
> ignore=dhcpc
> # Systems with raid have this!
> ignore=raidtab
> ignore=rc.d
> ignore=init.d
> ignore=sysconfig
> ignore=resolv.conf
> ignore=RCS/resolv.conf,v
> ignore=redhat-release
> ignore=redhat-kickstart-date
> ignore=adjtime
> ignore=fstab
> ignore=RCS/fstab,v
> ignore=exports
> ignore=RCS/exports,v
> ignore=ioctl.save
> ignore=/etc/tripwire
> ignore=ssh
> ignore=xinetd.d
> ignore=xinetd.conf
> ignore=RCS/xinetd.conf,v
> ignore=sound
> ignore=CORBA
> ignore=modules.conf
> ignore=RCS/modules.conf,v
> ignore=lilo.conf
> ignore=passwd
> ignore=shadow
> ignore=group
> ignore=gshadow
> ignore=hosts
> ignore=RCS/hosts,v
> ignore=mtab
> ignore=mail
> ignore=X11
> ignore=gnome
> ignore=gtk
> ignore=kde
> ignore=snmp
> ignore=samba
> ignore=cron.d
> ignore=httpd
> ignore=syslog.conf
> ignore=RCS/syslog.conf,v
> ignore=rc?.d
> ignore=.pwd.lock
> ignore=ld.so.cache
> #NOTE what about the keys file?
> ignore=ntp/drift
> ignore=ntp.conf
> ignore=RCS/ntp.conf,v
> ignore=ntp/step-tickers
> ignore=ntp/RCS/step-tickers,v
> ignore=aliases.db
>
>
> %cfagent -nvd1
> ...
> cf_rstat(/etc/vfontcap.ja)
> GetCachedStatData(/etc/vfontcap.ja)
> Did not find in cache
> Transaction Send[t 38][Packed text]
> SendSocketStream, sent 46
> RecvSocketStream(8)
> (Concatenated 8 from stream)
> Transaction Receive [t 64][]
> RecvSocketStream(64)
> (Concatenated 64 from stream)
> Mode = 420,511
> OK: type=0
> mode=644
> lmode=777
> uid=0
> gid=0
> size=3916
> atime=999638878
> mtime=999638878 ino=409790 nlnk=1
> RecvSocketStream(8)
> (Concatenated 8 from stream)
> Transaction Receive [t 40][]
> RecvSocketStream(40)
> (Concatenated 40 from stream)
> Linkbuffer: OK:../usr/share/VFlib/2.25.1/vfontcap.ja
> Segmentation fault
>
> I haven't looked much at the code, but from scanning the debug
> output it appears that normally a call to IgnoreFile() is
> done first before the cf_rstat(). For this file(which is actually
> a symlink), that was not done.
>
> ################################
> Here is the gdb with full backtrace:
> Program received signal SIGSEGV, Segmentation fault.
> [Switching to Thread 1024 (LWP 5462)]
> 0x0805bdbe in AppendItem (liststart=0xbfff9e8c, itemstring=0x80a42a4
> "vfontcap.ja", classes=0x0) at item.c:170
> 170 for (lp = *liststart; lp->next != NULL; lp=lp->next)
> (gdb) backtrace full
> #0 0x0805bdbe in AppendItem (liststart=0xbfff9e8c, itemstring=0x80a42a4
> "vfontcap.ja", classes=0x0) at item.c:170
> ip = (struct Item *) 0x811f7e8
> lp = (struct Item *) 0x6168732f
> sp = 0x811f800 "\210+/@\210+/@"
> spe = 0x0
> #1 0x08059196 in RecursiveImage (ip=0x812ba80, from=0xbfffdf90 "/etc",
> to=0xbfffcf90 "/etc", maxrecurse=-99) at image.c:101
> statbuf = {st_dev = 0, __pad1 = 0, st_ino = 409785, st_mode = 41471,
> st_nlink = 1, st_uid = 0, st_gid = 0, st_rdev = 0,
> __pad2 = 0, st_size = 32322, st_blksize = 135445120, st_blocks =
> 134906720, st_atime = 999638878, __unused1 = 3221217168,
> st_mtime = 999638878, __unused2 = 134809803, st_ctime = 1017705597,
> __unused3 = 1076840116, __unused4 = 3221213072,
> __unused5 = 3221217168}
> deststatbuf = {st_dev = 769, __pad1 = 0, st_ino = 1632112, st_mode =
> 16877, st_nlink = 4, st_uid = 0, st_gid = 0,
> st_rdev = 0, __pad2 = 0, st_size = 4096, st_blksize = 4096, st_blocks = 8,
> st_atime = 1018163358, __unused1 = 0,
> st_mtime = 1017451915, __unused2 = 0, st_ctime = 1017451915, __unused3 =
> 0, __unused4 = 0, __unused5 = 0}
> newfrom = "/etc/vfontcap\000local", '\000' <repeats 125 times>,
> "SYNCH 1018163359 STAT /etc", '\000' <repeats 23 times>,
> "etc\000ine.dzap.com", '\000' <repeats 2059 times>,
> ",address@hidden@address@hidden
> 0>", '\000' <repeats 19 times>,
> "´F/@>address@hidden@\001\000\000\000\000\200\001@>\000\00
> 0\000>¨#@", '\000' <repeats 12 times>,
> "´F/@à&/@address@hidden@à&/@"...
> newto =
> "/etc/vfontcap\000local\000Ð\236ÿ¿\b\000\000\000Ø\001\000\000\220\215/@",
> '\000' <repeats 24 times>, "\216", '\000' <repeats 15 times>,
> "\001\000\000\000n\000\000\000\200\211\020\b\216\000\000\000\224¢4@/°_+GÞð\2
> 36àyQªø)Y`\215/@0\237ÿ¿#\000\000\000
> °ÿ¿\000\004\000\000\000\004\000\000\000\000\000\000\000\000\000\000OK:",
> '\000' <repeats 3948 times>
> save_uid = -1073766768
> save_gid = -1
> namecache = (struct Item *) 0x8129da0
> dirp = (struct cfdirent *) 0x80a42a0
> dirh = (CFDIR *) 0x812f760
> #2 0x08052d1f in MakeImages () at do.c:2372
> ip = (struct Image *) 0x812ba80
> svp = (struct Item *) 0x81259b8
> statbuf = {st_dev = 135322456, __pad1 = 56152, st_ino = 212993,
> st_mode = 16877, st_nlink = 68, st_uid = 0, st_gid = 0,
> st_rdev = 581205524009779152, __pad2 = 0, st_size = 8192, st_blksize =
> 135215520, st_blocks = 4096, st_atime = 1018163144,
> __unused1 = 135319632, st_mtime = 1018161751, __unused2 = 135215521,
> st_ctime = 1018161751, __unused3 = 134549062,
> __unused4 = 135322456, __unused5 = 4096}
> serverent = (struct servent *) 0x6168732f
> savesilent = 0
> path = "/etc\000\000\b\b¸ßÿ¿\001\000\000\000!cf_server", '\000'
> <repeats 54 times>, "copy", '\000' <repeats 1928 times>, "\016²#@", '\000'
> <repeats 12 times>, "´F/@address@hidden@
> address@hidden@", '\000' <repeats 12 times>, "\001",
> '\000' <repeats 15 times>, "\016²#@", '\000' <repeats 12 times>,
> "address@hidden/@address@hidden@pêÿ¿\000\000\000\000\001\000\000\0
> 00,address@hidden@(èÿ¿,address@hidden@8èÿ¿²"...
> destination = "/etc", '\000' <repeats 76 times>, "copy", '\000'
> <repeats 3976 times>, "\202Ð\020\b ßÿ¿«ßÿ¿¸ïÿ¿Ôa\a\b
> ßÿ¿\000\000\000\000\210\023\022\b \022\b"
> server = "cfengine.dzap.com", '\000' <repeats 63 times>, "copy",
> '\000' <repeats 1944 times>,
> ",address@hidden@address@hidden
> 0\e", '\000' <repeats 19 times>,
> "´F/@address@hidden@address@hidden
> 000\000>¨#@", '\000' <repeats 12 times>,
> "´F/@à&/@address@hidden@à&/@address@hidden@",
> '\000' <repeats 12 times>,
> "´F/@à&/@address@hidden&/@\000\200\001@"...
> #3 0x0804ce94 in DoTree (passes=2, info=0x808bb0a "Main Tree") at
> cfagent.c:1146
> info = 0x808bb0a "Main Tree"
> pass = 1
> action = (struct Item *) 0x810d050
> #4 0x0804af0e in main (argc=3, argv=0xbffff0b4) at cfagent.c:155
> argc = 3
> argv = (char **) 0xbffff0b4
> ip = (struct Item *) 0xbffff0b4
> #5 0x401da627 in __libc_start_main (main=0x804ad00 <main>, argc=3,
> ubp_av=0xbffff0b4, init=0x804a124 <_init>,
> fini=0x8085410 <_fini>, rtld_fini=0x4000dcc4 <_dl_fini>,
> stack_end=0xbffff0ac) at ../sysdeps/generic/libc-start.c:129
> ubp_av = (char **) 0xbffff0b4
> fini = (void (*)()) 0x40016b4c <_dl_debug_mask>
> rtld_fini = (void (*)()) 0
> ubp_ev = (char **) 0xbffff0c4
>
> As a test, I eliminated most of the ignore directives in
> the conf file, and the segfault still occurred, but at a
> different point:
> ...
> cfengine: image file is up to date: /etc/pgsql/odbcinst.ini
> PurgeFiles(/etc/pgsql)
> Filename /etc/pgsql/. is classified as ignorable
> Filename /etc/pgsql/.. is classified as ignorable
> cfclosedir()
> Segmentation fault
>
> ################################
> In addition, before I got to the point above, I saw it was
> dying on a file called '/etc/p' that somehow got created.
> Once I deleted that file, things changed to the above mentioned
> version. The backtrace for that segfault was:
>
>
> Program received signal SIGSEGV, Segmentation fault.
> [Switching to Thread 1024 (LWP 5073)]
> 0x4023f090 in chunk_free (ar_ptr=0x402f2b80, p=0x811eb98) at malloc.c:3231
> 3231 malloc.c: No such file or directory.
> in malloc.c
> (gdb) bac^G^G^Ghelp trace
> Set a tracepoint at a specified line or function or address.
> Argument may be a line number, function name, or '*' plus an address.
> For a line number or function, trace at the start of its code.
> If an address is specified, trace at that exact address.
>
> Do "help tracepoints" for info on other tracepoint commands.
> (gdb) backtrace full
> #0 0x4023f090 in chunk_free (ar_ptr=0x402f2b80, p=0x811eb98) at
> malloc.c:3231
> hd = 1
> sz = 24
> idx = 1919364980
> next = 0x811ebb0
> nextsz = 1919364980
> prevsz = 1
> bck = 0x402f2b98
> fwd = 0x811ebb0
> islr = 0
> sz = 24
> next = 0x811ebb0
> bck = 0x402f2b98
> islr = 0
> #1 0x4023eff4 in __libc_free (mem=0x811eba0) at malloc.c:3154
> mem = (void *) 0x811ebb0
> ar_ptr = (arena *) 0x402f2b80
> p = 0x811eb98
> hook = (void (*)()) 0x1
> #2 0x0805be95 in DeleteItemList (item=0x811eb88) at item.c:214
> item = (struct Item *) 0x811eb88
> #3 0x0805be7b in DeleteItemList (item=0x811eb58) at item.c:209
> item = (struct Item *) 0x811eb58
> #4 0x0805be7b in DeleteItemList (item=0x811eac8) at item.c:209
> item = (struct Item *) 0x811eac8
> #5 0x0805be7b in DeleteItemList (item=0x811ea98) at item.c:209
> item = (struct Item *) 0x811ea98
> #6 0x0805be7b in DeleteItemList (item=0x811ea50) at item.c:209
> item = (struct Item *) 0x811ea50
> #7 0x0805be7b in DeleteItemList (item=0x811e9f0) at item.c:209
> item = (struct Item *) 0x811e9f0
> #8 0x0805be7b in DeleteItemList (item=0x811e948) at item.c:209
> item = (struct Item *) 0x811e948
> #9 0x0805be7b in DeleteItemList (item=0x811e8f0) at item.c:209
> item = (struct Item *) 0x811e8f0
> #10 0x0805be7b in DeleteItemList (item=0x811e890) at item.c:209
> item = (struct Item *) 0x811e890
> #11 0x0805be7b in DeleteItemList (item=0x811e818) at item.c:209
> item = (struct Item *) 0x811e818
> #12 0x0805be7b in DeleteItemList (item=0x811e760) at item.c:209
> item = (struct Item *) 0x811e760
> #13 0x0805be7b in DeleteItemList (item=0x811e700) at item.c:209
> item = (struct Item *) 0x811e700
> #14 0x0805be7b in DeleteItemList (item=0x81195e0) at item.c:209
> item = (struct Item *) 0x81195e0
> #15 0x0805be7b in DeleteItemList (item=0x81195b0) at item.c:209
> item = (struct Item *) 0x81195b0
> #16 0x0805be7b in DeleteItemList (item=0x8119558) at item.c:209
> item = (struct Item *) 0x8119558
> #17 0x0805be7b in DeleteItemList (item=0x8119528) at item.c:209
> item = (struct Item *) 0x8119528
> ---Type <return> to continue, or q <return> to quit---
> #18 0x0805be7b in DeleteItemList (item=0x8119480) at item.c:209
> item = (struct Item *) 0x8119480
> #19 0x0805be7b in DeleteItemList (item=0x8119218) at item.c:209
> item = (struct Item *) 0x8119218
> #20 0x0805be7b in DeleteItemList (item=0x81191b8) at item.c:209
> item = (struct Item *) 0x81191b8
> #21 0x0805be7b in DeleteItemList (item=0x8119188) at item.c:209
> item = (struct Item *) 0x8119188
> #22 0x0805be7b in DeleteItemList (item=0x8119128) at item.c:209
> item = (struct Item *) 0x8119128
> #23 0x0805be7b in DeleteItemList (item=0x81190e0) at item.c:209
> item = (struct Item *) 0x81190e0
> #24 0x0805be7b in DeleteItemList (item=0x8118ac0) at item.c:209
> item = (struct Item *) 0x8118ac0
> #25 0x0805be7b in DeleteItemList (item=0x81182f0) at item.c:209
> item = (struct Item *) 0x81182f0
> #26 0x0805be7b in DeleteItemList (item=0x81182c0) at item.c:209
> item = (struct Item *) 0x81182c0
> #27 0x0805be7b in DeleteItemList (item=0x8118088) at item.c:209
> item = (struct Item *) 0x8118088
> #28 0x0805be7b in DeleteItemList (item=0x8116b90) at item.c:209
> item = (struct Item *) 0x8116b90
> #29 0x0805be7b in DeleteItemList (item=0x8114508) at item.c:209
> item = (struct Item *) 0x8114508
> #30 0x0805be7b in DeleteItemList (item=0x81144b0) at item.c:209
> item = (struct Item *) 0x81144b0
> #31 0x0805be7b in DeleteItemList (item=0x8114498) at item.c:209
> item = (struct Item *) 0x8114498
> #32 0x0805be7b in DeleteItemList (item=0x8114438) at item.c:209
> item = (struct Item *) 0x8114438
> #33 0x0805be7b in DeleteItemList (item=0x8114408) at item.c:209
> item = (struct Item *) 0x8114408
> #34 0x0805be7b in DeleteItemList (item=0x8114380) at item.c:209
> item = (struct Item *) 0x8114380
> #35 0x0805be7b in DeleteItemList (item=0x8114350) at item.c:209
> item = (struct Item *) 0x8114350
> #36 0x0805be7b in DeleteItemList (item=0x81142b8) at item.c:209
> item = (struct Item *) 0x81142b8
> #37 0x0805be7b in DeleteItemList (item=0x8114288) at item.c:209
> item = (struct Item *) 0x8114288
> #38 0x0805be7b in DeleteItemList (item=0x8114228) at item.c:209
> item = (struct Item *) 0x8114228
> #39 0x0805be7b in DeleteItemList (item=0x8114198) at item.c:209
> item = (struct Item *) 0x8114198
> #40 0x0805be7b in DeleteItemList (item=0x8114138) at item.c:209
> item = (struct Item *) 0x8114138
> #41 0x0805be7b in DeleteItemList (item=0x8113260) at item.c:209
> item = (struct Item *) 0x8113260
> #42 0x0805be7b in DeleteItemList (item=0x8113230) at item.c:209
> item = (struct Item *) 0x8113230
> #43 0x0805be7b in DeleteItemList (item=0x81124a0) at item.c:209
> ---Type <return> to continue, or q <return> to quit---
> item = (struct Item *) 0x81124a0
> #44 0x0805be7b in DeleteItemList (item=0x8112458) at item.c:209
> item = (struct Item *) 0x8112458
> #45 0x0805be7b in DeleteItemList (item=0x81123b8) at item.c:209
> item = (struct Item *) 0x81123b8
> #46 0x0805be7b in DeleteItemList (item=0x81115a8) at item.c:209
> item = (struct Item *) 0x81115a8
> #47 0x0805be7b in DeleteItemList (item=0x8111130) at item.c:209
> item = (struct Item *) 0x8111130
> #48 0x0805be7b in DeleteItemList (item=0x81110d0) at item.c:209
> item = (struct Item *) 0x81110d0
> #49 0x0805be7b in DeleteItemList (item=0x81109e0) at item.c:209
> item = (struct Item *) 0x81109e0
> #50 0x0805be7b in DeleteItemList (item=0x81107e8) at item.c:209
> item = (struct Item *) 0x81107e8
> #51 0x0805be7b in DeleteItemList (item=0x8110668) at item.c:209
> item = (struct Item *) 0x8110668
> #52 0x0805be7b in DeleteItemList (item=0x81103d8) at item.c:209
> item = (struct Item *) 0x81103d8
> #53 0x0805be7b in DeleteItemList (item=0x810f9f0) at item.c:209
> item = (struct Item *) 0x810f9f0
> #54 0x0805be7b in DeleteItemList (item=0x810f990) at item.c:209
> item = (struct Item *) 0x810f990
> #55 0x0805be7b in DeleteItemList (item=0x810f8b8) at item.c:209
> item = (struct Item *) 0x810f8b8
> #56 0x0805be7b in DeleteItemList (item=0x810f670) at item.c:209
> item = (struct Item *) 0x810f670
> #57 0x0805be7b in DeleteItemList (item=0x810f358) at item.c:209
> item = (struct Item *) 0x810f358
> #58 0x0805be7b in DeleteItemList (item=0x810f328) at item.c:209
> item = (struct Item *) 0x810f328
> #59 0x0805be7b in DeleteItemList (item=0x810f280) at item.c:209
> item = (struct Item *) 0x810f280
> #60 0x0805be7b in DeleteItemList (item=0x810f1d0) at item.c:209
> item = (struct Item *) 0x810f1d0
> #61 0x0805be7b in DeleteItemList (item=0x810f120) at item.c:209
> item = (struct Item *) 0x810f120
> #62 0x0805be7b in DeleteItemList (item=0x810f070) at item.c:209
> item = (struct Item *) 0x810f070
> #63 0x0805be7b in DeleteItemList (item=0x810efc0) at item.c:209
> item = (struct Item *) 0x810efc0
> #64 0x0805be7b in DeleteItemList (item=0x810ef10) at item.c:209
> item = (struct Item *) 0x810ef10
> #65 0x0805be7b in DeleteItemList (item=0x810ee60) at item.c:209
> item = (struct Item *) 0x810ee60
> #66 0x0805be7b in DeleteItemList (item=0x810edb0) at item.c:209
> item = (struct Item *) 0x810edb0
> #67 0x0805be7b in DeleteItemList (item=0x810ed48) at item.c:209
> item = (struct Item *) 0x810ed48
> #68 0x0805be7b in DeleteItemList (item=0x810eca0) at item.c:209
> item = (struct Item *) 0x810eca0
> ---Type <return> to continue, or q <return> to quit---
> #69 0x0805be7b in DeleteItemList (item=0x810ebd8) at item.c:209
> item = (struct Item *) 0x810ebd8
> #70 0x0805be7b in DeleteItemList (item=0x810ebb0) at item.c:209
> item = (struct Item *) 0x810ebb0
> #71 0x0805be7b in DeleteItemList (item=0x810eb28) at item.c:209
> item = (struct Item *) 0x810eb28
> #72 0x0805be7b in DeleteItemList (item=0x810eaf8) at item.c:209
> item = (struct Item *) 0x810eaf8
> #73 0x0805be7b in DeleteItemList (item=0x810ea90) at item.c:209
> item = (struct Item *) 0x810ea90
> #74 0x0805be7b in DeleteItemList (item=0x810e9e8) at item.c:209
> item = (struct Item *) 0x810e9e8
> #75 0x0805be7b in DeleteItemList (item=0x810e918) at item.c:209
> item = (struct Item *) 0x810e918
> #76 0x0805be7b in DeleteItemList (item=0x810e8b8) at item.c:209
> item = (struct Item *) 0x810e8b8
> #77 0x0805be7b in DeleteItemList (item=0x810e858) at item.c:209
> item = (struct Item *) 0x810e858
> #78 0x0805be7b in DeleteItemList (item=0x810e7f8) at item.c:209
> item = (struct Item *) 0x810e7f8
> #79 0x0805be7b in DeleteItemList (item=0x810dfe8) at item.c:209
> item = (struct Item *) 0x810dfe8
> #80 0x0805be7b in DeleteItemList (item=0x810df98) at item.c:209
> item = (struct Item *) 0x810df98
> #81 0x0805be7b in DeleteItemList (item=0x810df38) at item.c:209
> item = (struct Item *) 0x810df38
> #82 0x0805be7b in DeleteItemList (item=0x810ded8) at item.c:209
> item = (struct Item *) 0x810ded8
> #83 0x0805be7b in DeleteItemList (item=0x810dea8) at item.c:209
> item = (struct Item *) 0x810dea8
> #84 0x0805be7b in DeleteItemList (item=0x810de78) at item.c:209
> item = (struct Item *) 0x810de78
> #85 0x0805be7b in DeleteItemList (item=0x810de18) at item.c:209
> item = (struct Item *) 0x810de18
> #86 0x0805be7b in DeleteItemList (item=0x810dde8) at item.c:209
> item = (struct Item *) 0x810dde8
> #87 0x0805be7b in DeleteItemList (item=0x810dd88) at item.c:209
> item = (struct Item *) 0x810dd88
> #88 0x0805be7b in DeleteItemList (item=0x810dd28) at item.c:209
> item = (struct Item *) 0x810dd28
> #89 0x0805be7b in DeleteItemList (item=0x810dcc8) at item.c:209
> item = (struct Item *) 0x810dcc8
> #90 0x0805be7b in DeleteItemList (item=0x810dc68) at item.c:209
> item = (struct Item *) 0x810dc68
> #91 0x0805be7b in DeleteItemList (item=0x810dc38) at item.c:209
> item = (struct Item *) 0x810dc38
> #92 0x0805be7b in DeleteItemList (item=0x8130848) at item.c:209
> item = (struct Item *) 0x8130848
> #93 0x0805be7b in DeleteItemList (item=0x8126240) at item.c:209
> item = (struct Item *) 0x8126240
> #94 0x0805be7b in DeleteItemList (item=0x8126210) at item.c:209
> ---Type <return> to continue, or q <return> to quit---
> item = (struct Item *) 0x8126210
> #95 0x0805be7b in DeleteItemList (item=0x8126180) at item.c:209
> item = (struct Item *) 0x8126180
> #96 0x0805be7b in DeleteItemList (item=0x8126150) at item.c:209
> item = (struct Item *) 0x8126150
> #97 0x0805be7b in DeleteItemList (item=0x8126928) at item.c:209
> item = (struct Item *) 0x8126928
> #98 0x0805be7b in DeleteItemList (item=0x8129ec8) at item.c:209
> item = (struct Item *) 0x8129ec8
> #99 0x0805be7b in DeleteItemList (item=0x8129e98) at item.c:209
> item = (struct Item *) 0x8129e98
> #100 0x0805be7b in DeleteItemList (item=0x8129df0) at item.c:209
> item = (struct Item *) 0x8129df0
> #101 0x0805be7b in DeleteItemList (item=0x8129dc8) at item.c:209
> item = (struct Item *) 0x8129dc8
> #102 0x0805be7b in DeleteItemList (item=0x8129d98) at item.c:209
> item = (struct Item *) 0x8129d98
> #103 0x0805949d in RecursiveImage (ip=0x812ba80, from=0xbfffe180 "/etc",
> to=0xbfffd180 "/etc", maxrecurse=-99) at image.c:202
> statbuf = {st_dev = 0, __pad1 = 0, st_ino = 214544, st_mode = 33060,
> st_nlink = 1, st_uid = 0, st_gid = 0, st_rdev = 0,
> __pad2 = 0, st_size = 328, st_blksize = 135445120, st_blocks = 134906720,
> st_atime = 1018156010, __unused1 = 3221217664,
> st_mtime = 1018025155, __unused2 = 134809803, st_ctime = 1018025155,
> __unused3 = 1076840116, __unused4 = 3221213568,
> __unused5 = 3221217664}
> deststatbuf = {st_dev = 769, __pad1 = 0, st_ino = 718305, st_mode =
> 16877, st_nlink = 2, st_uid = 0, st_gid = 0,
> st_rdev = 0, __pad2 = 0, st_size = 4096, st_blksize = 4096, st_blocks = 8,
> st_atime = 1018160716, __unused1 = 0,
> st_mtime = 1017625103, __unused2 = 0, st_ctime = 1017625103, __unused3 =
> 0, __unused4 = 0, __unused5 = 0}
> newfrom = "/etc/dhcpd.conf\000.sv\000nda\000c", '\000' <repeats 119
> times>, "SYNCH 1018160716 STAT /etc", '\000' <repeats 23
> times>, "etc\000ine.dzap.com", '\000' <repeats 2059 times>,
> ",address@hidden@address@hidden
> 0\000\000>", '\000' <repeats 19 times>,
> "´F/@>address@hidden@\001\000\000\000\000\200\001@>\000\00
> 0\000>¨#@", '\00
> 0' <repeats 12 times>, "´F/@à&/@address@hidden"...
> newto =
> "/etc/dhcpd.conf\000.sv\000nda\000c\000\000\000Ø\001\000\000\220\215/@",
> '\000' <repeats 24 times>, "\216", '\000' <
> repeats 15 times>,
> "address@hidden"_÷\
> 216ÒWî\003W{Ðü`\215/@ ¡ÿ¿#\000\000\00
> 0\220²ÿ¿\000\004\000\000\000\004\000\000\000\000\000\000\000\000\000\000OK:"
> , '\000' <repeats 3948 times>
> save_uid = -1073766272
> save_gid = -1
> namecache = (struct Item *) 0x8129d98
> dirp = (struct cfdirent *) 0x0
> dirh = (CFDIR *) 0x81308a8
> #104 0x08052d1f in MakeImages () at do.c:2372
> ip = (struct Image *) 0x812ba80
> svp = (struct Item *) 0x8125988
> statbuf = {st_dev = 135322408, __pad1 = 56104, st_ino = 212993,
> st_mode = 16877, st_nlink = 68, st_uid = 0, st_gid = 0,
> st_rdev = 581205317851348944, __pad2 = 0, st_size = 8192, st_blksize =
> 135215520, st_blocks = 4096, st_atime = 1018160510,
> __unused1 = 135319640, st_mtime = 1018158660, __unused2 = 135215521,
> st_ctime = 1018158660, __unused3 = 134549062,
> __unused4 = 135322408, __unused5 = 4096}
> serverent = (struct servent *) 0x1
> savesilent = 0
> path = "/etc\000\000\b\b¨áÿ¿\001\000\000\000!cf_server", '\000'
> <repeats 54 times>, "copy", '\000' <repeats 1928 times>, "\0
> 16²#@", '\000' <repeats 12 times>,
> "´F/@address@hidden@address@hidden
> @", '\000' <repeats 1
> 2 times>, "\002", '\000' <repeats 15 times>, "\016²#@", '\000' <repeats 12
> times>, "address@hidden/@address@hidden@`ìÿ¿\000\0
> 00\000\000\001\000\000\000,address@hidden@\030êÿ¿,address@hidden
> 00\000\000ا\031@(êÿ¿²"...
> destination = "/etc", '\000' <repeats 76 times>, "copy", '\000'
> <repeats 3976 times>, "\212Ð\020\b\220áÿ¿\233áÿ¿¨ñÿ¿Ôa\a\b\2
> ---Type <return> to continue, or q <return> to quit---
> 20áÿ¿\000\000\000\000\200áÿ¿¨\022\b"
> server = "cfengine.dzap.com", '\000' <repeats 63 times>, "copy",
> '\000' <repeats 1944 times>, ",address@hidden
> @address@hidden", '\000' <repeats 19
> times>, "´F/@address@hidden@\001\000\000\
> address@hidden>¨#@", '\000' <repeats 12 times>,
> "´F/@à&/@address@hidden@à&/@address@hidden@",
> '\000' <repeats 12 times>,
> "´F/@à&/@address@hidden&/@\000\200\001@"...
> #105 0x0804ce94 in DoTree (passes=2, info=0x808bb0a "Main Tree") at
> cfagent.c:1146
> info = 0x808bb0a "Main Tree"
> pass = 1
> action = (struct Item *) 0x810d058
> #106 0x0804af0e in main (argc=3, argv=0xbffff2a4) at cfagent.c:155
> argc = 3
> argv = (char **) 0xbffff2a4
> ip = (struct Item *) 0xbffff2a4
> #107 0x401da627 in __libc_start_main (main=0x804ad00 <main>, argc=3,
> ubp_av=0xbffff2a4, init=0x804a124 <_init>,
> fini=0x8085410 <_fini>, rtld_fini=0x4000dcc4 <_dl_fini>,
> stack_end=0xbffff29c) at ../sysdeps/generic/libc-start.c:129
> ubp_av = (char **) 0xbffff2a4
> fini = (void (*)()) 0x40016b4c <_dl_debug_mask>
> rtld_fini = (void (*)()) 0x402f2b80 <main_arena>
> ubp_ev = (char **) 0xbffff2b4
> (gdb) quit
>
> thanks for any help,
> edgar
>
>
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Work: +47 22453272 Email: address@hidden
Fax : +47 22453205 WWW : http://www.iu.hio.no/~mark
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- Re: cfengine 2.x segfaults on redhat 7.2,
Mark . Burgess <=