Hi--
On Jan 20, 2010, at 12:46 PM, Doug Poland wrote:
> Thanks for the suggestion and the pointer to man 5 core. I
> implemented your suggestions but still get no core dump. Very
> strange...
Check your default resource limits (shell startup files & /etc/login.conf) and
see whether coredumpsize is set to 0, maybe? If you build and run:
% cat crash.c
#include <stdlib.h>
main()
{
char *bad = NULL;
bad[0] = '1';
}
% cc -o crash crash.c
% ./crash
[1] 16550 segmentation fault (core dumped) ./crash
% ls /cores
crash.16550.core
...do you get this trivial program to dump core?
Regards,
--
-Chuck
_______________________________________________
[email protected] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[email protected]"