title: How to generate core dumps in Mac OS X?
body: <p>It seems like I can not generate core dumps in Mac OS X 10.6.8.</p>
  
  <pre><code>$ ulimit -c unlimited
  $ ./a.out 
  Hello world!
  Segmentation fault
  $ find ~/ -type f -name core 
  
  # ls -la /cores/
  total 0
  drwxrwxr-t@  2 root  admin    68 24 jui  2010 .
  drwxrwxr-t  31 root  admin  1122 17 oct 15:52 ..
  </code></pre>
  
  <p>My current directory, my HOME and /cores/ remain empty…</p>