Comment 3 for bug 920403

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

This change in apport modified the way that crash signatures are calculated for python crashes and subsequently we have some buckets that have use the old crash signature. For example:

https://errors.ubuntu.com/bucket/?id=/usr/share/unattended-upgrades/unattended-upgrade-shutdown%3AValueError%3A%3Cmodule%3E

I download an instance in this bucket:

PYTHONPATH=/home/bdmurray/source-trees/daisy/daisy tools/create_apport_report.py 658f7a70-4957-11e2-872a-e4115b0f8a4a unattended.crash

and resubmitted the crash and it appeared in a different bucket:

https://errors.ubuntu.com/bucket/?id=/usr/share/unattended-upgrades/unattended-upgrade-shutdown:ValueError:/usr/share/unattended-upgrades/unattended-upgrade-shutdown@34

This bucket is more specific than the previous one. This could also be confirmed via the following:

import apport
report = apport.Report()
crash_sig = report.load(open('/home/bdmurray/unattended.crash', 'rb'))
report.crash_signature()
u'/usr/share/unattended-upgrades/unattended-upgrade-shutdown:ValueError:/usr/share/unattended-upgrades/unattended-upgrade-shutdown@34'

It may be a good idea to look for oopses with a crash signature that has the string '<module>' in them and recreate the crash_signature and then rebucket those oopses.