Public bug reported: 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: ubuntu Importance: Undecided Status: New ** Description changed: - 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; + 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 sheck the ulimit before executing + 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" + - 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 -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1194829 Title: cannot get core file on 13.04 To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+bug/1194829/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs