When I execute a program that I work on, it fails with the following message:
...
Aborted (core dumped)
However, no core dump is created. Core dumps were written previously, and I don't remember that I changed anything related to it.
When I run ulimit -a
I get back,
$ ulimit -a
core file size (blocks, -c) unlimited
...
Other points,
- I verified that my user can create files in the current directory.
- I read about
/proc/sys/fs/suid_dumpable
. Currently, it is set to 0 on my machine. I tried to change it to 1 or 2 but no difference. - I also tried to execute the program as root, but that did not make a difference either.
Unfortunately, I don't remember when I could produce the last successful core-dump.
sudo systemd-coredumpctl
shows all the missing core dumps. Your solution worked but only after a system reboot. – Philipp Claßen Feb 17 '13 at 20:08systemd
'ssystemd-sysctl.service
just runssysctl
at the proper point of boot, and handles rerunning it by hand on changes. And don't go creating/overwriting configuration files without investigating what they are for and their contents. – vonbrand Feb 17 '13 at 22:5150-coredump.conf
, in order to apply the settings in the current boot, I had to run change the sysctl setting manually, see http://stackoverflow.com/q/2065912/427545. – Lekensteyn Nov 15 '13 at 09:52sysctl -w kernel.core_pattern="core"
– Lekensteyn Nov 15 '13 at 10:05