summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDavid Malcolm <dmalcolm@redhat.com>2010-02-05 15:23:34 -0500
committerDavid Malcolm <dmalcolm@redhat.com>2010-02-05 15:23:34 -0500
commit80a1dc3b9068767f2d52b4863de049f3decb3337 (patch)
tree8892e042c943ae428a2a70129a0f1dc1e3e72ee2
parent364f649c1034401af4cda04a10b001332bc8c0f1 (diff)
downloadtriage-80a1dc3b9068767f2d52b4863de049f3decb3337.tar.gz
triage-80a1dc3b9068767f2d52b4863de049f3decb3337.tar.xz
triage-80a1dc3b9068767f2d52b4863de049f3decb3337.zip
Add some more pre-canned dups
-rwxr-xr-xabrt-triage.py74
1 files changed, 61 insertions, 13 deletions
diff --git a/abrt-triage.py b/abrt-triage.py
index 5e695cd..29b8e3b 100755
--- a/abrt-triage.py
+++ b/abrt-triage.py
@@ -20,7 +20,7 @@ class Bug(object):
a = self._get_backtrace_info()
if a is None:
raise NoBacktrace()
- return Backtrace(self.bz.openattachment(a['id']).read())
+ return Backtrace(self.bz.openattachment(a['attach_id']).read())
def _get_backtrace_info(self):
for a in self._bug.attachments:
@@ -98,7 +98,7 @@ def characterize_bt(bug, bt, thread, script):
# print 'got abort!'
for j in range(i, len(thread.framelist)):
if thread.framelist[j].function == 'gdk_x_error':
- return ('Fatal error in gdk_x_error running %s' % script,
+ return ('%s in gdk_x_error running %s' % (issue, script),
(bt_blurb + 'a fatal error happened in frame %(f_idx)s of %(thread)s inside gdk_x_error.'
% dict(thread = describe_thread(bt, thread),
f_idx = j)
@@ -279,15 +279,18 @@ def get_change(bz, bug_id):
except Duplicate, d:
return d
except NoBacktrace, e:
- return Change(bug,
- newsummary='%s running %s' % (issue, script),
- newcomponent = srpmname,
- comment=('''Thank you for the bug report.
+ comment = 'Thank you for the bug report.\n\n'
+ if signal == 'SIGABRT':
+ comment += 'How reproducible is this problem? If you run the program from a terminal, is an error message printed?\n\n'
-Unfortunately, without a stack trace from the crash it is impossible to determine what caused the crash. Please see http://fedoraproject.org/wiki/StackTraces for more information about getting a useful stack trace with debugging symbols. Even if you cannot reproduce this crash at will, you can prepare your system now to produce a good stack trace the next time you experience the crash.
+ comment += ('''Unfortunately, without a stack trace from the crash it is impossible to determine what caused the crash. Please see http://fedoraproject.org/wiki/StackTraces for more information about getting a useful stack trace with debugging symbols. Even if you cannot reproduce this crash at will, you can prepare your system now to produce a good stack trace the next time you experience the crash.
Thank you.
''')
+ return Change(bug,
+ newsummary='%s running %s' % (issue, script),
+ newcomponent = srpmname,
+ comment=comment
)
except UnsupportedComponent, e:
return Change(bug,
@@ -308,18 +311,22 @@ You may find assistance in the Fedora community support forums or mailing list,
How reproducible is this problem? If you run the program from a terminal, is an error message printed?
-What version of %(subpackage)s do you have installed?
+What is the output of running the following command?
+ rpm -q %(subpackage)s
%(bt_blurb)s
-Reassigning component from "python" to "%(subpackage)s"
+Reassigning component from "python" to "%(srpmname)s"; hopefully the %(srpmname)s maintainer will be able to figure this out further or reassign as necessary.
''' % dict(subpackage=subpackage,
- bt_blurb = bt_blurb)
+ bt_blurb = bt_blurb,
+ srpmname = srpmname)
- if newsummary == 'SIGABRT in "_XError" in /usr/share/virt-manager/virt-manager.py':
+ if newsummary in ('SIGABRT in "_XError" in /usr/share/virt-manager/virt-manager.py',
+ 'SIGABRT in gdk_x_error running /usr/share/virt-manager/virt-manager.py'):
return Duplicate(bug, 540810)
- if newsummary == 'SIGABRT in "_XError" in /usr/bin/istanbul':
+ if newsummary in ('SIGABRT in "_XError" in /usr/bin/istanbul',
+ 'SIGABRT in gdk_x_error running /usr/bin/istanbul'):
return Duplicate(bug, 543278)
if newsummary == 'SIGABRT in "_XError" in /usr/share/ibus/ui/gtk/main.py':
@@ -346,8 +353,49 @@ Reassigning component from "python" to "%(subpackage)s"
if newsummary == 'Incorrect thread usage in Connection_end_allow_threads running /usr/share/system-config-printer/system-config-printer.py':
return Duplicate(bug, 542866)
+ if newsummary == 'SIGSEGV in "SMBC_parse_path" in /usr/share/system-config-printer/system-config-printer.py':
+ return Duplicate(bug, 552658)
+
+ if newsummary == 'SIGABRT in "__fortify_fail" in /usr/bin/gwibber-daemon':
+ return Duplicate(bug, 539809)
+
+ if (newsummary == 'SIGABRT in "IA__g_logv" in /usr/lib/glipper/glipper'
+ or newsummary == 'SIGABRT in "IA__g_logv" in /usr/lib64/glipper/glipper'):
+ return Duplicate(bug, 544744)
+
+ if newsummary == 'SIGSEGV in "IA__gdk_cairo_set_source_pixbuf" in /usr/bin/gnochm':
+ return Duplicate(bug, 552417)
+
+ if script == 'ubuntu-tweak.py':
+ # Getting various SIGABRT and SIGSEGV from people running "ubuntu-tweak.py"
+ # See https://bugzilla.redhat.com/buglist.cgi?quicksearch=ubuntu-tweak
+ return Change(bug,
+ newsummary = newsummary,
+ status='CLOSED', resolution='UPSTREAM',
+ comment = ('''Thank you for the bug report. This problem appears to be related to the
+ubuntu-tweak.py script. This script is not yet packaged within Fedora. The
+best way to make sure your problem will get looked on is to report it to the
+authors of the program. Most upstream authors use a bug tracking system like
+Bugzilla, and more people who know the code will be looking at the bug report
+there.
+The upstream bug tracking system to use is:
+ https://bugs.launchpad.net/ubuntu-tweak/
+You are requested to add the bugzilla link here for tracking purposes. Please
+make sure the bug isn't already in the upstream bug tracker before filing it.
+
+If you would like to see this software packaged for Fedora, you might want to
+add it to the wishlist here:
+https://fedoraproject.org/wiki/Package_maintainers_wishlist if it isn't there
+already.''')
+ )
+
+ if (script == '/usr/share/system-config-printer/system-config-printer.py'
+ and signal == 'SIGSEGV'
+ and frame.info.endswith('libsmbclient.so.0')):
+ # bug 546891 - SIGSEGV inside /usr/lib/libsmbclient.so.0 in /usr/share/system-config-printer/system-config-printer.py
+ return Duplicate(bug, 546891)
+
# 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,