[Bug 160999] Re: Apport doesn't overwrite existing core files
Michi Henning
michi at triodia.com
Tue Feb 18 13:26:41 UTC 2020
And nearly 13 years later, we are still here.
If I have a core file in the Current directory and another run of the
program encounters a fault, the old core (possibly months old) prevents
the current core file from being written. Outstanding!
--
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/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
More information about the foundations-bugs
mailing list