This is working for me. In one Terminal window I type:
$ ulimit -c unlimited
$ cat
In another I type:
$ killall -SEGV cat
And back in the first window I see this:
$ ulimit -c unlimited
$ cat
Segmentation fault: 11 (core dumped)
$
I also see the core show up in the expected place:
$ ls -lh /cores
total 1245648
-r-------- 1 quinn admin 608M Jul 29 02:29 core.715
This is all on a stock 10.11.5 machine (a freshly restored VM). If this is not working on your machine, there’s clearly something broken. Breaking core dumps at this level is tricky. The most obvious possibilities are:
something wrong, perhaps permissions, with the
/cores/
directoryrunning out of disk space
Share and Enjoy
—
Quinn “The Eskimo!”
Apple Developer Relations, Developer Technical Support, Core OS/Hardware
let myEmail = "eskimo" + "1" + "@apple.com"