Core dumps aren't generated in El Captain
The issue was missing sticky bit on the /cores directory permissions:

$ ls -lh /
...
drwxr-xr-x    2 root  admin    68B Jul 29 09:55 cores/
...


fixed by:

sudo chmod 1775 /cores