diff options
author | David Malcolm <[email protected]> | 2009-12-22 14:54:31 -0500 |
---|---|---|
committer | David Malcolm <[email protected]> | 2009-12-22 14:54:31 -0500 |
commit | 364f649c1034401af4cda04a10b001332bc8c0f1 (patch) | |
tree | 547494fe50612932f363e6bd93c643465e3a32dc | |
parent | 8f91dc950e36af17e01cd0a340ed0cca7175ec3f (diff) | |
download | triage-364f649c1034401af4cda04a10b001332bc8c0f1.tar.gz triage-364f649c1034401af4cda04a10b001332bc8c0f1.tar.xz triage-364f649c1034401af4cda04a10b001332bc8c0f1.zip |
Various fixes that have accumulated
-rwxr-xr-x | abrt-triage.py | 58 |
1 files changed, 44 insertions, 14 deletions
diff --git a/abrt-triage.py b/abrt-triage.py index c2d6f39..5e695cd 100755 --- a/abrt-triage.py +++ b/abrt-triage.py @@ -74,10 +74,17 @@ def describe_thread(bt, thread): return "thread #%i" % thread.index -def characterize_bt(bt, thread, script): +def characterize_bt(bug, bt, thread, script): '''Get (newsubject, commentblurb)''' bt_blurb = 'Looking at the backtrace, it looks like ' function = None + + signal = bug.get_abrt_signal() + if signal: + issue = signal + else: + issue = 'Fatal error' + for (i, frame) in enumerate(thread.framelist): # Get function name for deepest point in stack that has one: if function is None or function in ['??', 'vtable', '__kernel_vsyscall', 'raise', 'abort', 'g_log', 'g_logv']: @@ -142,9 +149,9 @@ def characterize_bt(bt, thread, script): bt_blurb += '. However the short length of the backtrace suggests that there was a problem generating the backtrace, so that may not be the true location of the error.' if function: - summary = 'Fatal error in "%s" in %s' % (function, script) + summary = '%s in "%s" in %s' % (issue, function, script) else: - summary = 'Fatal error in %s' % script + summary = '%s in %s' % (issue, script) return (summary, bt_blurb) @@ -252,6 +259,14 @@ def get_change(bz, bug_id): if script: subpackage, srpmname = what_provides_file(script) + + if script and script.endswith('ies4linux-gtk.py'): + return Change(bug, + 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' + ) + if subpackage is None: subpackage = '(unknown)' if srpmname is None: @@ -260,14 +275,7 @@ def get_change(bz, bug_id): try: bt = bug.get_backtrace() (thread, frame) = bt.get_crash_site() - (newsummary, bt_blurb) = characterize_bt(bt, thread, script) - - if script and script.endswith('ies4linux-gtk.py'): - return Change(bug, - 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' - ) + (newsummary, bt_blurb) = characterize_bt(bug, bt, thread, script) except Duplicate, d: return d except NoBacktrace, e: @@ -308,10 +316,16 @@ Reassigning component from "python" to "%(subpackage)s" ''' % dict(subpackage=subpackage, bt_blurb = bt_blurb) - if newsummary == 'Fatal error in "_XError" in /usr/share/virt-manager/virt-manager.py': + if newsummary == 'SIGABRT in "_XError" in /usr/share/virt-manager/virt-manager.py': return Duplicate(bug, 540810) - if newsummary == 'Fatal error in "XFreeColormap" in /usr/bin/hp-systray': + if newsummary == 'SIGABRT in "_XError" in /usr/bin/istanbul': + return Duplicate(bug, 543278) + + if newsummary == 'SIGABRT in "_XError" in /usr/share/ibus/ui/gtk/main.py': + return Duplicate(bug, 546159) + + if newsummary == 'SIGSEGV in "XFreeColormap" in /usr/bin/hp-systray': return Duplicate(bug, 543286) if newsummary == 'Crash in gtk_style_realize with "ClearlooksStyle"': @@ -320,6 +334,22 @@ Reassigning component from "python" to "%(subpackage)s" if newsummary == 'Fatal error in "IA__gtk_accel_groups_activate" in gajim.py': return Duplicate(bug, 544828) + if newsummary == 'SIGSEGV in "Py_DecRef" in /usr/bin/blueman-applet': + return Duplicate(bug, 541002) + + if newsummary == 'Assertion failure in cs_gem_write_reloc inside radeon_cs_write_reloc running /usr/bin/elisa': + return Duplicate(bug, 546034) + + if newsummary =='SIGSEGV in "setup_primary_label_font" in /usr/bin/scribes': + return Duplicate(bug, 547971) + + if newsummary == 'Incorrect thread usage in Connection_end_allow_threads running /usr/share/system-config-printer/system-config-printer.py': + return Duplicate(bug, 542866) + + # Other possible dups: + # bug 546891 - SIGSEGV inside /usr/lib/libsmbclient.so.0 in /usr/share/system-config-printer/system-config-printer.py + # bug 548849 - SIGSEGV in yumex due to infinite recursion in "temporary_disable_extension_events" in gdk_window_ensure_native called by /usr/lib/gtk-2.0/2.10.0/immodules/im-xim.so + ch = Change(bug, newsummary = newsummary, newcomponent = srpmname, @@ -333,7 +363,7 @@ Reassigning component from "python" to "%(subpackage)s" addr = hex(f.address) else: addr = None - print '#%i %s %s' % (id, addr, f.function) + print '#%i %s %s %s' % (id, addr, f.function, f.info[:100]) print '---- END THREAD ----' return ch |