Forum: Cfengine Help
Subject: Re: core files and AIX
Author: matter
Link to topic: https://cfengine.com/forum/read.php?3,18361,18463#msg-18463

Looks like you compiled this with gcc. dbx doesn't really like that. dbx reads 
the debugging information which is in XCOFF format. gcc by default won't 
generate the executable in xcoff format, to produce debugging information more 
compatible with AIX dbx, "-gxcoff" option should be used to compile in gcc 
compiler. Or you could use gcc's debugger.

Does the errpt have any entries about the core dump (errpt)? It should look 
something like:
40E9A4E1   0909185710 P S SYSPROC        SOFTWARE PROGRAM ABNORMALLY TERMINATED

Then something like errpt -aN SYSPROC to get the details:

CORE FILE NAME
/core
PROGRAM NAME
cf-serverd
STACK EXECUTION DISABLED
           0
COME FROM ADDRESS REGISTER
??
ADDITIONAL INFORMATION
strlen 0
sscanf 4C
PurgeOldC B4
StartServ 518
main 5C
__start 9C

what stuff is helpful, or at least I can tell if you are running out of heap.

_______________________________________________
Help-cfengine mailing list
Help-cfengine@cfengine.org
https://cfengine.org/mailman/listinfo/help-cfengine

Reply via email to