crash signature for Python Tracebacks can be too generic

Bug #1693040 reported by Brian Murray
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Apport
New
Undecided
Unassigned

Bug Description

This bucket, https://errors.ubuntu.com/problem/bc249affe50a221622d55a34ecfe5223704c012c, has a signature which looks like:

/usr/bin/software-properties-gtk:FileNotFoundError:on_driver_restart_clicked:call:__init__:_execute_child

However, in this case this is too generic as there have been two iterations of this specific crash.

One traceback ends with:

FileNotFoundError: [Errno 2] Aucun fichier ou dossier de ce type: 'gnome-session-quit'

Another with:

FileNotFoundError: [Errno 2] Arquivo ou diretório não encontrado: '/usr/lib/indicator-session/gtk-logout-helper'

These are two separate issues and they should not be bucketed together.

Revision history for this message
Brian Murray (brian-murray) wrote :

This signature is created in apport's report.py in the function crash_signature. The doc strings includes the following:

1274 For Python crashes, this concatenates the ExecutablePath, exception
1275 name, and Traceback function names, again separated by a colon.

Perhaps if the exception name includes "FileNotFoundError" we should include what the file is.

Revision history for this message
Brian Murray (brian-murray) wrote :

Some research should be done into the scope of the problem and how possible it is to clean up any incorrect duplication / consolidation.

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

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.