** Changed in: apport (Ubuntu)
       Status: Triaged => Confirmed

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to apport in Ubuntu.
https://bugs.launchpad.net/bugs/160999

Title:
  Apport doesn't overwrite existing core files

Status in apport package in Ubuntu:
  Confirmed

Bug description:
  While debugging some code, I noticed that existing core files aren't
  being overwritten when they should be.  According to core(5), the
  following file should be overwritten, but it's not:

  bam:/tmp$ id -un
  gerald
  bam:/tmp$ ls -l core
  -rw------- 1 gerald gerald 3407872 2007-10-30 21:22 core
  bam:/tmp$ date
  Thu Nov  8 09:36:23 PST 2007
  bam:/tmp$ ./coretst 
  Segmentation fault (core dumped)
  bam:/tmp$ ls -l core
  -rw------- 1 gerald gerald 3407872 2007-10-30 21:22 core

  Creating the initial core file works fine:

  bam:/tmp$ rm core
  bam:/tmp$ ./coretst 
  Segmentation fault (core dumped)
  bam:/tmp$ ls -l core
  -rw------- 1 gerald gerald 163840 2007-11-08 09:36 core
  bam:/tmp$ date
  Thu Nov  8 09:36:49 PST 2007

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

-- 
Mailing list: https://launchpad.net/~touch-packages
Post to     : touch-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~touch-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to