how to generate a core dump

Ernst Taumberger e.taumberger at centersystems.at
Wed Sep 14 15:18:56 UTC 2005


Hello

I am trying to get a core dump from a program, for example by sending it
SIGABRT, whose default action is to dump core and terminate the process.

... but I don't get any core files

for instance, the script 

------------------------
#!/bin/bash

kill -11 $$
-------------------------

should produce a core file, only it doesn't

sysinfo: Linux notabene 2.6.10-5-386 #1 Thu Aug 18 22:23:56 UTC 2005 i686 GNU/Linux
         Ubuntu 5.04 (Hoary Hedgehog)

and before you ask: ulimit is properly set (unlimited)
                    cat /proc/sys/kernel/core_uses_pid ..... 1
                    cat /proc/sys/kernel/core_pattern  ..... core

There must be a system-wide setting someplace that inhibits the generation of
core dumps (which are not a desirable thing for non-programmers).

Has anybody an idea what this is?

Any hint appreciated.

Regards
-- 
Ernst J. Taumberger
mailto: e.taumberger at centersystems.at
mobile: +43 664 230 8465
----------------------------------------
Please don't send Word attachments.
See: http://www.gnu.org/philosophy/no-word-attachments.html





More information about the ubuntu-users mailing list