apport-retrace with -g leaves core files

Bug #1692114 reported by Brian Murray on 2017-05-19
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Apport
Undecided
Unassigned

Bug Description

I've been using apport-retrace with the -g argument to launch gdb and test some stuff and I realized my disk was getting full. Lo and behold:

[ 1:54PM 10208 ] [ bdmurray@impulse:/tmp ]
 $ ls -lh apport_core*
-rw------- 1 bdmurray bdmurray 866M May 19 12:11 apport_core_1ati4pjm
-rw------- 1 bdmurray bdmurray 52M May 17 12:02 apport_core_6mptlmfq
-rw------- 1 bdmurray bdmurray 52M May 17 11:58 apport_core_6vwrwmep
-rw------- 1 bdmurray bdmurray 866M May 17 09:38 apport_core_9bfic10h
-rw------- 1 bdmurray bdmurray 866M May 19 13:32 apport_core_bhreqw9b
-rw------- 1 bdmurray bdmurray 866M May 17 09:57 apport_core_e0uvjrre
-rw------- 1 bdmurray bdmurray 866M May 18 14:34 apport_core_fhu4lng5
-rw------- 1 bdmurray bdmurray 63M May 18 07:25 apport_core_iviiyly5
-rw------- 1 bdmurray bdmurray 866M May 17 11:55 apport_core_l3dqujjq
-rw------- 1 bdmurray bdmurray 866M May 18 07:41 apport_core_mhe0icu9
-rw------- 1 bdmurray bdmurray 63M May 17 12:11 apport_core_y9dfd3gx

I'm guessing if you use apport-retrace with -g the core file gets left behind. It'd be nice if you didn't have manually clean up after apport.

To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers