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.

** Changed in: daisy
       Status: New => Triaged

** Changed in: daisy
   Importance: Undecided => Medium

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/920403

Title:
  <module> in Python crash signatures is too generic

To manage notifications about this bug go to:
https://bugs.launchpad.net/daisy/+bug/920403/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to