title: CoreDumpDirectory isn't working on ubuntu; getting segmentation fault with php
body: <p>I'm trying to solve a segmentation fault. This message appears in my apache-error.log:</p>
  
  <blockquote>
    <p>[notice] child pid 3979 exit signal
    Segmentation fault (11)</p>
  </blockquote>
  
  <p>I've tried disabling some apache and php modules but I'm still getting the same error.</p>
  
  <p>I've also tried putting this in apache2.conf:</p>
  
  <blockquote>
    <p>CoreDumpDirectory /tmp/apache2-gdb-dump</p>
  </blockquote>
  
  <p>and then chmod 777, chown www-data... so that the server can write.</p>
  
  <p>I can see no core-dump files to give me a hint on the error.</p>
  
  <p>Does anybody have an idea why CoreDumpDirectory isn't working on Ubuntu?</p>
  
  <blockquote>
    <p>answers: $ ulimit -a 
    core file size<br>
    (blocks, -c) unlimited data seg size<br>
    (kbytes, -d) unlimited scheduling
    priority             (-e) 0 file size 
    (blocks, -f) unlimited pending signals
    (-i) 15863 max locked memory<br>
    (kbytes, -l) 32 max memory size<br>
    (kbytes, -m) unlimited open files<br>
    (-n) 1024 pipe size            (512
    bytes, -p) 8 POSIX message queues<br>
    (bytes, -q) 819200 real-time priority 
    (-r) 0 stack size<br>
    (kbytes, -s) 8192 cpu time<br>
    (seconds, -t) unlimited max user
    processes              (-u) 15863
    virtual memory          (kbytes, -v)
    unlimited file locks<br>
    (-x) unlimited</p>
  </blockquote>