You could try 'strace' David Masterson Symbol Technologies
>>> "Dan Gilbert" <[EMAIL PROTECTED]> 03/03/05 04:58PM >>> Kind folks of the list -- I've been trying to set up a new cfengine installation, now that I finally have time to do so (though I've needed it for months), I am running into a seg fault situation when running cfagent on a client machine. Both the client and master machines are running Red Hat EL3 with the 2.4.21-27.0.2 kernel and the binaries were built with gcc-3.2.3-49 and glibc-2.3.2-95.30. It looks like things run just fine as the process generates a return code of 0, but then cfagent seg faults and nothing seems to have happened. Any thoughts? My cursory scan of the list archives didn't find anything, though I may not have seen everything, either. Below is the gdb trace as prescribed on the cfwiki.org site (pruned to the area just before the seg fault): (gdb) bt #0 LastSeen (hostname=0xbfff1460 "macgyver", role=cf_connect) at ip.c:422 #1 0x0805cb57 in RemoteConnect (host=0xbfff1460 "macgyver", forceipv4=110 'n') at ip.c:192 #2 0x0805a828 in OpenServerConnection (ip=0x94e69c0) at client.c:57 #3 0x08055081 in MakeImages () at do.c:2425 #4 0x0804d8c8 in DoTree (passes=1, info=0x80a55f8 "Update") at cfagent.c:1284 #5 0x0804b32a in main (argc=-1218542592, argv=0xb75e8400) at cfagent.c:109 #6 0x004d679d in ?? () #7 0x00000002 in ?? () #8 0xbfffb614 in ?? () #9 0xbfffb620 in ?? () #10 0x00000000 in ?? () Thanks, Dan Gilbert, GCIH, MCSE, CCA Sr. Systems Engineer Advanced iTV Systems/Production Operations Digeo, Inc. [EMAIL PROTECTED] ________________________________________________________________________ This email has been scanned for computer viruses. _______________________________________________ Bug-cfengine mailing list [email protected] http://lists.gnu.org/mailman/listinfo/bug-cfengine
