From: Chandrasekhar Kalle (ckalle@nms.fnc.fujitsu.com)
Date: Thu Aug 08 2002 - 14:09:17 EDT
We have a small program that will incur a segmentation
fault (and dump core) when executed. The problem is
that, when I run it, the fault occurs and core file
is generated, but when another user runs it, no core
file is generated.
As far as I know, core file is not generated by the
OS if
1) user does not have permissions to write to
current working directory (false in our case) and
2) If coredumpsize is set to limit the size of core
dumps (false in our case because we made sure that
coredumpsize is set to unlimited)
3) The real UID is different from effective UID or
program is set-uid (which is false in our case)
What else could be the reason here ? The OS is
Solaris 8 and hardware is Ultra 30.
Output of coreadm on the system:
global core file pattern:
init core file pattern: core
global core dumps: disabled
per-process core dumps: enabled
global setid core dumps: disabled
per-process setid core dumps: disabled
global core dump logging: disabled
Thanks in advance,
Chandra
If you want to try, compile and run the following:
#include <stdio.h>
main() {
char *t = 0;
printf("Core test %s\n",t);
}
_______________________________________________
sunmanagers mailing list
sunmanagers@sunmanagers.org
http://www.sunmanagers.org/mailman/listinfo/sunmanagers
This archive was generated by hypermail 2.1.7 : Wed Apr 09 2008 - 23:24:44 EDT