1833758 Members
2337 Online
110063 Solutions
New Discussion

No core dump generated

 
gonners
Occasional Contributor

No core dump generated

Hi Gurus,

I'm facing the following problem. One of our applications keeps crashing with the following error: /usr/sap/NMD/MDM/bin/mds[34]: 17320 Memory fault

However, no core dump is generated. In order to analyze this issue, we need a core dump.
We have set ulimit -c unlimited, but still no dump is generated. Is there some setting in HP-UX that could cause no dump is generated?

We are running HP-UX 11.11

Regards,
Mark
6 REPLIES 6
Dennis Handly
Acclaimed Contributor

Re: No core dump generated

There are a bunch of rules about setuid apps can't get corefiles. See core(4).

And of course if there is a directory called core in the current directory.
Fred Ruffet
Honored Contributor

Re: No core dump generated

I don't believe you can choose wether a core is generated or not. Some problems do cores, other not. In fact, I feel like core dump comes with segmentation fault, not with Memory fault.

Anyway, if it's a program you are coding, you should try a debugging solution.

Regards,

Fred
--

"Reality is just a point of view." (P. K. D.)
Dennis Handly
Acclaimed Contributor

Re: No core dump generated

>Fred: I don't believe you can choose whether a core is generated or not.

This maybe true in some cases. If you have a signal handler, you won't get a core. But if you got the shell message "Memory fault", that's not the case. There is a security barrier that is preventing the core file.
Dennis Handly
Acclaimed Contributor

Re: No core dump generated

>Fred: if it's a program you are coding, you should try a debugging solution.

This is still a good idea, if you own that executable and not SAP.

You could always attach to mds and if it does get a signal, you're in like Flint.
gonners
Occasional Contributor

Re: No core dump generated

Guys,

Thanks for the replies. Apparently the system just core dumped correctly.

Regards,
Mark
gonners
Occasional Contributor

Re: No core dump generated

problem solved.