I am using Ubuntu 12.04 LTS. I wrote a simple program as follows to create crash
// null.c #include int main() { int *p = NULL; int k=*p;
you do not need to use core pattern. its just dumps in that format %e.%p
what you need to do is #ulimit -c unlimited
and check #ulimit -a
and confirm if core file size is set properly. You will get the core as core.pid after that.