2012-11-19 23:48:06 |
Brian Murray |
bug |
|
|
added bug |
2012-11-19 23:48:31 |
Brian Murray |
nominated for series |
|
Ubuntu Quantal |
|
2012-11-19 23:48:31 |
Brian Murray |
bug task added |
|
apport (Ubuntu Quantal) |
|
2012-11-19 23:53:48 |
Brian Murray |
apport (Ubuntu Quantal): status |
New |
Triaged |
|
2012-11-19 23:53:51 |
Brian Murray |
apport (Ubuntu Quantal): importance |
Undecided |
High |
|
2012-11-19 23:53:55 |
Brian Murray |
apport (Ubuntu Quantal): milestone |
|
quantal-updates |
|
2012-11-20 01:05:52 |
Launchpad Janitor |
branch linked |
|
lp:~ubuntu-core-dev/ubuntu/raring/apport/ubuntu |
|
2012-11-20 01:15:35 |
Brian Murray |
apport (Ubuntu): status |
Triaged |
In Progress |
|
2012-11-20 01:15:37 |
Brian Murray |
apport (Ubuntu): assignee |
|
Brian Murray (brian-murray) |
|
2012-11-20 01:44:01 |
Launchpad Janitor |
branch linked |
|
lp:ubuntu/raring-proposed/apport |
|
2012-11-20 01:54:12 |
Launchpad Janitor |
apport (Ubuntu): status |
In Progress |
Fix Released |
|
2012-11-20 16:23:11 |
Brian Murray |
attachment added |
|
python3-lxml.0.crash https://bugs.launchpad.net/ubuntu/+source/apport/+bug/1080915/+attachment/3439579/+files/python3-lxml.0.crash |
|
2012-11-20 16:25:47 |
Brian Murray |
apport (Ubuntu Quantal): assignee |
|
Brian Murray (brian-murray) |
|
2012-11-20 16:25:52 |
Brian Murray |
apport (Ubuntu Quantal): status |
Triaged |
In Progress |
|
2012-11-20 16:29:46 |
Brian Murray |
description |
Some apport-package bug reports don't have a DuplicateSignature when they should. I was able to obtain a problematic crash file and running ubuntu-bug with I received the following traceback:
ERROR: hook /usr/share/apport/general-hooks/ubuntu.py crashed:
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/apport/report.py", line 197, in _run_hook
symb['add_info'](report, ui)
File "/usr/share/apport/general-hooks/ubuntu.py", line 62, in add_info
check_attachment_for_errors(report, attachment)
File "/usr/share/apport/general-hooks/ubuntu.py", line 171, in check_attachment_for_errors
trim_dpkg_log(report)
File "/usr/share/apport/general-hooks/ubuntu.py", line 428, in trim_dpkg_log
if start_re.match(line) or trim_re.match(line):
TypeError: can't use a bytes pattern on a string-like object |
[Impact]
Not all apport-package bug reports are having a DuplicateSignature created, which prevents the retracer from automatically marking duplicate bugs. Additionally, as the duplicate siganture is used to see whether or not a reporter has encountered the crash before (to prevent reporting) we may be receiving bug reports we do not want.
[Test Case]
1) Download python3-lxml.0.crash from this bug report
2) Copy python3-lxml.0.crash to /var/crash
3) Run 'ubuntu-bug /var/crash/python3-lxml.0.crash'
4) Observe a Traceback in the terminal in which you ran ubuntu-bug
Repeat steps 1-4 using the version of apport from quantal-proposed and you will not see a Traceback. Do not submit the crash to Launchpad.
= Orignal Description=
Some apport-package bug reports don't have a DuplicateSignature when they should. I was able to obtain a problematic crash file and running ubuntu-bug with I received the following traceback:
ERROR: hook /usr/share/apport/general-hooks/ubuntu.py crashed:
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/apport/report.py", line 197, in _run_hook
symb['add_info'](report, ui)
File "/usr/share/apport/general-hooks/ubuntu.py", line 62, in add_info
check_attachment_for_errors(report, attachment)
File "/usr/share/apport/general-hooks/ubuntu.py", line 171, in check_attachment_for_errors
trim_dpkg_log(report)
File "/usr/share/apport/general-hooks/ubuntu.py", line 428, in trim_dpkg_log
if start_re.match(line) or trim_re.match(line):
TypeError: can't use a bytes pattern on a string-like object |
|
2012-11-20 16:32:47 |
Brian Murray |
description |
[Impact]
Not all apport-package bug reports are having a DuplicateSignature created, which prevents the retracer from automatically marking duplicate bugs. Additionally, as the duplicate siganture is used to see whether or not a reporter has encountered the crash before (to prevent reporting) we may be receiving bug reports we do not want.
[Test Case]
1) Download python3-lxml.0.crash from this bug report
2) Copy python3-lxml.0.crash to /var/crash
3) Run 'ubuntu-bug /var/crash/python3-lxml.0.crash'
4) Observe a Traceback in the terminal in which you ran ubuntu-bug
Repeat steps 1-4 using the version of apport from quantal-proposed and you will not see a Traceback. Do not submit the crash to Launchpad.
= Orignal Description=
Some apport-package bug reports don't have a DuplicateSignature when they should. I was able to obtain a problematic crash file and running ubuntu-bug with I received the following traceback:
ERROR: hook /usr/share/apport/general-hooks/ubuntu.py crashed:
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/apport/report.py", line 197, in _run_hook
symb['add_info'](report, ui)
File "/usr/share/apport/general-hooks/ubuntu.py", line 62, in add_info
check_attachment_for_errors(report, attachment)
File "/usr/share/apport/general-hooks/ubuntu.py", line 171, in check_attachment_for_errors
trim_dpkg_log(report)
File "/usr/share/apport/general-hooks/ubuntu.py", line 428, in trim_dpkg_log
if start_re.match(line) or trim_re.match(line):
TypeError: can't use a bytes pattern on a string-like object |
[Impact]
Not all apport-package bug reports are having a DuplicateSignature created, which prevents the retracer from automatically marking duplicate bugs. Additionally, as the duplicate siganture is used to see whether or not a reporter has encountered the crash before (to prevent reporting) we may be receiving bug reports we do not want.
[Test Case]
1) Download python3-lxml.0.crash from this bug report
2) Copy python3-lxml.0.crash to /var/crash
3) Run 'ubuntu-bug /var/crash/python3-lxml.0.crash'
4) Observe a Traceback in the terminal in which you ran ubuntu-bug
Repeat steps 1-4 using the version of apport from quantal-proposed and you will not see a Traceback. Do not submit the crash to Launchpad.
[Regression Potential]
Apport carries on in the event that there is an exception in package or general hooks, which is why this went undiscovered for a while, subsequently regressions would only occur in the DuplicateSignature creation.
= Orignal Description=
Some apport-package bug reports don't have a DuplicateSignature when they should. I was able to obtain a problematic crash file and running ubuntu-bug with I received the following traceback:
ERROR: hook /usr/share/apport/general-hooks/ubuntu.py crashed:
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/apport/report.py", line 197, in _run_hook
symb['add_info'](report, ui)
File "/usr/share/apport/general-hooks/ubuntu.py", line 62, in add_info
check_attachment_for_errors(report, attachment)
File "/usr/share/apport/general-hooks/ubuntu.py", line 171, in check_attachment_for_errors
trim_dpkg_log(report)
File "/usr/share/apport/general-hooks/ubuntu.py", line 428, in trim_dpkg_log
if start_re.match(line) or trim_re.match(line):
TypeError: can't use a bytes pattern on a string-like object |
|
2012-11-27 23:20:48 |
Steve Langasek |
bug |
|
|
added subscriber Steve Langasek |
2012-11-30 08:57:37 |
Clint Byrum |
apport (Ubuntu Quantal): status |
In Progress |
Fix Committed |
|
2012-11-30 08:57:39 |
Clint Byrum |
bug |
|
|
added subscriber Ubuntu Stable Release Updates Team |
2012-11-30 08:57:41 |
Clint Byrum |
bug |
|
|
added subscriber SRU Verification |
2012-11-30 08:57:43 |
Clint Byrum |
tags |
quantal |
quantal verification-needed |
|
2012-12-04 10:39:21 |
Launchpad Janitor |
branch linked |
|
lp:~ubuntu-core-dev/ubuntu/quantal/apport/ubuntu |
|
2012-12-13 19:51:12 |
C de-Avillez |
tags |
quantal verification-needed |
quantal verification-done |
|
2012-12-13 22:45:44 |
Brian Murray |
removed subscriber Ubuntu Stable Release Updates Team |
|
|
|
2012-12-13 22:46:12 |
Launchpad Janitor |
apport (Ubuntu Quantal): status |
Fix Committed |
Fix Released |
|