Apport doesn't overwrite existing core files
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
apport (Ubuntu) |
Confirmed
|
Low
|
Unassigned |
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
Changed in apport (Ubuntu): | |
assignee: | nobody → Martin Pitt (pitti) |
status: | Triaged → In Progress |
status: | In Progress → Triaged |
summary: |
- Apport doesn't conform to core(5) + Apport doesn't overwrite existing core files |
Changed in apport (Ubuntu): | |
assignee: | Martin Pitt (pitti) → nobody |
Changed in apport (Ubuntu): | |
status: | Triaged → Confirmed |
(I'm running Gutsy, BTW)