apport-retrace creates a duplicate Stacktrace if the output file already exists
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Apport |
New
|
Undecided
|
Unassigned |
Bug Description
Using the following command:
PYTHONPATH=
If I run that two times in a row the Stacktrace, in the output file, ends up having duplicate information in it. For example:
Stacktrace:
#0 0xb6d6b116 in epoll_wait () at ../sysdeps/
No locals.
#1 0xb6ef1e88 in sd_event_wait (e=0xb8b0a5b0, timeout=<optimized out>) at ../src/
ev_queue = 0xbee06688
r = <optimized out>
m = <optimized out>
i = <optimized out>
#2 0xb6f00658 in sd_event_run (timeout=
r = <optimized out>
#3 sd_event_loop (e=0xb8b0a5b0) at ../src/
r = <optimized out>
#4 0xb6edf7b6 in run (cgroup=<optimized out>, fd_uevent=
manager = 0x0
r = 0
#5 main (argc=<optimized out>, argv=<optimized out>) at ../src/
cgroup = 0xb8afa170 "/lxc/t/
r = <optimized out>
fd_uevent = <optimized out>
__func__ = "main"
$7 = -99Found 0 new threads in iteration 0.
.
Thread 1 (Thread 0xb6ecb000 (LWP 5641)):
#0 0xb6d6b116 in epoll_wait () at ../sysdeps/
No locals.
#1 0xb6ef1e88 in sd_event_wait (e=0xb8b0a5b0, timeout=<optimized out>) at ../src/
ev_queue = 0xbee06688
r = <optimized out>
m = <optimized out>
i = <optimized out>
#2 0xb6f00658 in sd_event_run (timeout=
r = <optimized out>
#3 sd_event_loop (e=0xb8b0a5b0) at ../src/
r = <optimized out>
#4 0xb6edf7b6 in run (cgroup=<optimized out>, fd_uevent=
manager = 0x0
r = 0
#5 main (argc=<optimized out>, argv=<optimized out>) at ../src/
cgroup = 0xb8afa170 "/lxc/t/
r = <optimized out>
fd_uevent = <optimized out>
__func__ = "main"
This also ends up creating a strange SAS:
StacktraceAddre
This was observed with apport revision 3023.
Attached is the original crash report which I was retracing.