summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDavid Malcolm <dmalcolm@redhat.com>2009-12-09 17:53:07 -0500
committerDavid Malcolm <dmalcolm@redhat.com>2009-12-09 17:53:07 -0500
commit2ff268c7eafbba9667df0d843d95cc8685115345 (patch)
treea011ad76400dcc51078aaa54dc8d6c8e514d71f4
parent05951574b3eadf31af3dffd67540fb717e2a122b (diff)
downloadtriage-2ff268c7eafbba9667df0d843d95cc8685115345.tar.gz
triage-2ff268c7eafbba9667df0d843d95cc8685115345.tar.xz
triage-2ff268c7eafbba9667df0d843d95cc8685115345.zip
Add "status" and "resolution"; detect dupes of two more bugs; handle some (apparently) dead software
-rwxr-xr-xabrt-triage.py29
1 files changed, 28 insertions, 1 deletions
diff --git a/abrt-triage.py b/abrt-triage.py
index 51e9af3..d4dfff1 100755
--- a/abrt-triage.py
+++ b/abrt-triage.py
@@ -78,6 +78,10 @@ def characterize_bt(bt, thread, script):
if function is None or function in ['??', 'vtable', '__kernel_vsyscall', 'raise', 'abort', 'g_log', 'g_logv']:
function = frame.function
+ if frame.function == 'gtk_style_realize':
+ if 'ClearlooksStyle' in frame.info:
+ return ('Crash in gtk_style_realize with "ClearlooksStyle"', None)
+
if frame.function == 'abort':
# print 'got abort!'
for j in range(i, len(thread.framelist)):
@@ -177,11 +181,15 @@ class Change(object):
newsummary=None,
newcomponent=None,
comment=None,
- duplicate_id=None):
+ duplicate_id=None,
+ status=None,
+ resolution=None):
self.comment = comment
self.newsummary = newsummary
self.newcomponent = newcomponent
self.duplicate_id = duplicate_id
+ self.status = status
+ self.resolution = resolution
def __str__(self):
result = ''
@@ -203,6 +211,12 @@ class Change(object):
if self.duplicate_id:
result += '---- MARK AS DUPLICATE OF: %i ----\n' % self.duplicate_id
+ if self.status:
+ result += '---- SET status: %s ----\n' % self.status
+
+ if self.resolution:
+ result += '---- SET resolution: %s ----\n' % self.resolution
+
return result
class Duplicate(Change):
@@ -240,6 +254,13 @@ def get_change(bz, bug_id):
(thread, frame) = bt.get_crash_site()
(newsummary, bt_blurb) = characterize_bt(bt, thread, script)
+ if script.endswith('ies4linux-gtk.py'):
+ return Change(newsummary='%s running %s' % (issue, 'ies4linux-gtk.py'),
+ comment=('''Thank you for your report. This bug is in the ies4linux script you are using to run Internet Explorer. Fedora does not provide or support this script. We would suggest that you report the problem to the upstream project at http://www.tatanka.com.br/ies4linux/ , but it does not seem to have been updated since February 2008, so the effort may be wasted. There is unfortunately nothing the Fedora project can do to help you with this problem.'''),
+ status='CLOSED', resolution='CANTFIX'
+ )
+ except Duplicate, d:
+ return d
except NoBacktrace, e:
return Change(newsummary='%s running %s' % (issue, script),
newcomponent = srpmname,
@@ -279,6 +300,12 @@ Reassigning component from "python" to "%(subpackage)s"
if newsummary == 'Fatal error in "_XError" in /usr/share/virt-manager/virt-manager.py':
return Duplicate(bz, 540810)
+ if newsummary == 'Fatal error in "XFreeColormap" in /usr/bin/hp-systray':
+ return Duplicate(bz, 543286)
+
+ if newsummary == 'Crash in gtk_style_realize with "ClearlooksStyle"':
+ return Duplicate(bz, 538799)
+
ch = Change(newsummary = newsummary,
newcomponent = srpmname,
comment = comment