[Bug 1194829] Re: cannot get core file on 13.04

Marcus Tomlinson marcus.tomlinson at canonical.com
Thu Mar 5 13:08:28 UTC 2020


This release of Ubuntu is no longer receiving maintenance updates. If
this is still an issue on a maintained version of Ubuntu please let us
know.

** Changed in: apport (Ubuntu)
       Status: New => Incomplete

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to apport in Ubuntu.
https://bugs.launchpad.net/bugs/1194829

Title:
  cannot get core file on 13.04

Status in apport package in Ubuntu:
  Incomplete

Bug description:
  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

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/apport/+bug/1194829/+subscriptions



More information about the foundations-bugs mailing list