You have been subscribed to a public bug:
I found no ways to get the a core file in 13.4
I tried on 12.4 where it's OK and compared both config
In order to limit investigation I use std C that throws a seg_fault
#include <stdio.h>
int main(int argc, char **argv)
{
char *ptr ;
ptr = "toto";
ptr[2]='T';
return 0;
}
compil with Geany (to get it as simple as possible) cmd:
gcc -Wall -g -c "%f"
gcc -Wall -g -o "%e" "%f"
executing does crash (as expected)
>./test
Erreur de segmentation (core dumped)
I did set and check the ulimit before executing
>ulimit -c unlimited
>ulimit -a
core file size (blocks, -c) unlimited
data seg size (kbytes, -d) unlimited
scheduling priority (-e) 0
file size (blocks, -f) unlimited
pending signals (-i) 63238
max locked memory (kbytes, -l) 64
max memory size (kbytes, -m) unlimited
open files (-n) 1024
pipe size (512 bytes, -p) 8
...
I have checked:
- no existing dir/file/link named core before exec
- directory is "drwxrwxr-x"
- exec file is "-rwxrwxr-x"
- config files in /proc/sys/kernel : core_pattern core_pipe_limit
core_uses_pid are set just like in v12.4 where it works
I have read again and again : Ubuntu manpage : core - core dump file
I believe that something changed and provoque a difference in behaviour
from 12.4 to 13.4
** Affects: apport (Ubuntu)
Importance: Undecided
Status: New
** Tags: bot-comment
--
cannot get core file on 13.04
https://bugs.launchpad.net/bugs/1194829
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to apport in Ubuntu.
--
Mailing list: https://launchpad.net/~desktop-packages
Post to : [email protected]
Unsubscribe : https://launchpad.net/~desktop-packages
More help : https://help.launchpad.net/ListHelp