I've made a program with a segmentation fault and i want to get the core dump file but it seems that the file is not on the current directory. I've read and follow these instructions: core dumped - but core file is not in current directory? but I'm still unable to get the core file.
I've tried this:
ulimit -c unlimited  
ulimit -S -c unlimited
I've also edited /etc/security/limits.conf the line: 
*               soft    core            10000 
(it was 0 the default value)
And as my system runs apport so I've searched /var/crash and the file I wanted (that should've generated) wasn't in there.
More useful information:
$ cat /proc/sys/kernel/core_pattern 
|/usr/share/apport/apport %p %s %c
So what did I miss? I still don't get the core file after the segmentation fault or if I do I don't know where he is going to.
 
    