I run my program on a machine for which I do not have root privileges. The core file is supposed to be handled by abrt:
$ sysctl kernel.core_pattern
kernel.core_pattern = |/usr/libexec/abrt-hook-ccpp %s %c %p %u %g %t e %P %I %h
Now, how can I obtain the core file? It is not located anywhere in my $HOME, or in the folder where I ran my program. I tried many locations such as /var/spool, /var/cache, /var/tmp, etc.
According to the abrt documentation I made a configuration file $HOME/.config/abrt/settings/abrt-applet.conf containing:
AutoreportingEnabled = yes
ProcessUnpackaged = yes
DumpLocation = /path/to/existing/folder
(only the second variable is from the documentation, the other two are from other abrt files that do not seem understood here)
After creating this file, I did get the mention core dumped line when my program crashes, which was not the case previously, but no core file appeared.