I'm struggling to enable core dumps in Ubuntu 14.04 LTS (ARM) running on an nVidia Jetson TX1 SBC. I've done all of the usual stuff, including suggestions from here and here. There is plenty of space on the root filesystem, which is writable. The application does not have the suid bit set. I have also disabled ubuntu's "apport" service. Here's what I've set:
/etc/security/limits.conf:
* soft core unlimited
* hard core unlimited
Kernel core settings:
$ cat /proc/sys/kernel/core_pattern
core
$ cat /proc/sys/kernel/core_uses_pid
1
Output of ulimit:
$ ulimit -c
unlimited
And after starting my process:
$ egrep "Units|core" /proc/$(pgrep my_app_name)/limits
Limit Soft Limit Hard Limit Units
Max core file size unlimited unlimited bytes
But no cores are generated when the application segfaults, aborts, or has a floating point exception. What have I missed?