← Back to team overview

apport-hackers team mailing list archive

[Merge] lp:~roignac/apport/bugpattern-711221 into lp:apport

 

Vadim Rutkovsky has proposed merging lp:~roignac/apport/bugpattern-711221 into lp:apport.

Requested reviews:
  Apport upstream developers (apport-hackers)

For more details, see:
https://code.launchpad.net/~roignac/apport/bugpattern-711221/+merge/74432

Bugpattern for ubuntuone-client bug 711221
-- 
https://code.launchpad.net/~roignac/apport/bugpattern-711221/+merge/74432
Your team Apport upstream developers is requested to review the proposed merge of lp:~roignac/apport/bugpattern-711221 into lp:apport.
=== added file 'README'
--- README	1970-01-01 00:00:00 +0000
+++ README	2011-09-07 13:50:14 +0000
@@ -0,0 +1,81 @@
+Apport bug patterns for Ubuntu
+==============================
+
+Purpose
+-------
+
+Sometimes a high-visibility crash bug or package installation failure causes a
+tremendous amount of duplicate bugs filed through apport, because
+Launchpad is not insistant enough to guide people to already existing
+similar bugs.
+
+Thus Apport supports patterns which can be matched against a crash (or bug)
+report, and directly guide the user to the existing bug instead of
+filing a new one first.
+
+Most useful fields are certainly Stacktrace, Package/Dependencies (for
+checking particular versions), and ProcCmdline, but in general you can
+match any field that seems useful.
+
+To avoid inventing a new file format and to be able to extend the
+functionality in the future (e. g. other operators than just regexp matching)
+the bug patterns are stored in an XML file, currently on [1].
+
+Syntax
+------
+The general syntax is:
+
+    root element := <patterns>
+    patterns := <pattern url="http://bug.url";> *
+    pattern := <re key="report_key">regular expression*</re> +
+
+For example:
+
+    <?xml version="1.0"?>
+    <patterns>
+        <pattern url="https://launchpad.net/bugs/1";>
+            <re key="Package">^foo </re>
+            <re key="Foo">ba.*r</re>
+        </pattern>
+        <pattern url="https://launchpad.net/bugs/2";>
+            <re key="Package">^bar 1-2$</re> <!-- test for a particular version -->
+            <re key="Foo">write_(hello|goodbye)</re>
+        </pattern>
+    </patterns>
+
+The existing bug patterns should provide sufficient examples to
+understand real-world applications.  The patterns for gnome-alsamixer and linux
+both contain good examples.
+
+Testing
+-------
+To test that apport is seeing your modified or new bug pattern, you can run
+"./test-local" on a .crash file or a Launchpad bug number. This will match the
+report against all local bug patterns and give the result. Once this is
+working, commit and push them.
+
+Already Reported Bugs
+---------------------
+In the event that there are bugs already reported in Launchpad that match your
+bug pattern you can run "./search-bugs --package linux" to find these bug reports.
+
+For example to search for bugs matching an apport kernel oops:
+
+./search-bugs --package linux --tags apport-kerneloops
+
+These bugs can also automatically consolidated using:
+
+./search-bugs --package linux --tags apport-kerneloops --consolidate
+
+They will then be marked as a duplicate of the bug number in the pattern url.
+
+Rollout
+-------
+Commits to the Launchpad branch are rolled out to
+http://people.canonical.com/~pitti/bugpatterns (where apport will look
+for them) every 15 minutes.
+
+Please double and triple check new patterns here. Badly written
+patterns can easily lead to unifying *all* possible crashes to one
+existing bug!
+

=== renamed file 'README' => 'README.moved'
=== added file 'bugpatterns.xml'
--- bugpatterns.xml	1970-01-01 00:00:00 +0000
+++ bugpatterns.xml	2011-09-07 13:50:14 +0000
@@ -0,0 +1,2031 @@
+<?xml version="1.0"?>
+
+<patterns>
+
+<!-- General apport package patterns that apply to any package -->
+
+    <pattern url="https://launchpad.net/bugs/349469";>
+        <re key="ProblemType">^Package</re>
+        <re key="DpkgTerminalLog">debconf: DbDriver "config": /var/cache/debconf/config.dat is locked by another process</re>
+    </pattern>
+    <pattern url="https://launchpad.net/bugs/349469";>
+        <re key="ProblemType">^Package</re>
+        <re key="VarLogDistupgradeApttermlog">debconf: DbDriver "config": /var/cache/debconf/config.dat is locked by another process</re>
+    </pattern>
+    <pattern url="https://wiki.ubuntu.com/Bugs/InitramfsLiveMedia";>
+        <re key="ProblemType">^Package</re>
+        <re key="OriginalTitle">exit status 1</re>
+        <re key="DpkgTerminalLog">cp:.*`/vmlinuz'</re>
+        <re key="LiveMediaBuild">Ubuntu</re>
+    </pattern>
+    <pattern url="https://launchpad.net/bugs/545790";>
+        <re key="ProblemType">^Package</re>
+        <re key="ErrorMessage">error writing to ..standard output..: Success</re>
+        <re key="OriginalTitle">package .* failed to install\/upgrade: error writing to ..standard output..: Success</re>
+    </pattern>
+    <!-- <pattern url="https://launchpad.net/bugs/541595";>
+        <re key="ProblemType">^Package</re>
+        <re key="ErrorMessage">package.*is already installed and configured</re>
+    </pattern> -->
+    <pattern url="https://launchpad.net/bugs/541595";>
+        <re key="ProblemType">^Package</re>
+        <re key="ErrorMessage">Paket.*ist schon installiert und konfiguriert</re>
+    </pattern>
+    <pattern url="https://launchpad.net/bugs/541595";>
+        <re key="ProblemType">^Package</re>
+        <re key="ErrorMessage">el paquet.*ja està instaŀlat i configurat</re>
+    </pattern>
+    <pattern url="https://launchpad.net/bugs/541595";>
+        <re key="ProblemType">^Package</re>
+        <re key="ErrorMessage">pakken.*er allerede installeret og konfigureret</re>
+    </pattern>
+    <pattern url="https://launchpad.net/bugs/541595";>
+        <re key="ProblemType">^Package</re>
+        <re key="ErrorMessage">la pako.*jam estas instalita kaj akomodita</re>
+    </pattern>
+    <pattern url="https://launchpad.net/bugs/541595";>
+        <re key="ProblemType">^Package</re>
+        <re key="ErrorMessage">el paquete.*ya está instalado y configurado</re>
+    </pattern>
+    <pattern url="https://launchpad.net/bugs/541595";>
+        <re key="ProblemType">^Package</re>
+        <re key="ErrorMessage">le paquet.*est déjà installé et configuré</re>
+    </pattern>
+    <pattern url="https://launchpad.net/bugs/541595";>
+        <re key="ProblemType">^Package</re>
+        <re key="ErrorMessage">il pacchetto.*è già installato e configurato</re>
+    </pattern>
+    <pattern url="https://launchpad.net/bugs/541595";>
+        <re key="ProblemType">^Package</re>
+        <re key="ErrorMessage">pacote.*já está instalado e configurado</re>
+    </pattern>
+    <pattern url="http://launchpad.net/bugs/442941";>
+        <re key="ProblemType">^Package</re>
+        <re key="DpkgTerminalLog">Use of uninitialized value \$reply in scalar chomp at \/usr\/share\/perl5\/Debconf\/FrontEnd\/Passthrough.pm line 66</re>
+        <re key="DpkgTerminalLog">installation script returned error exit status 128</re>
+    </pattern>
+    <pattern url="http://launchpad.net/bugs/825786";>
+        <re key="ProblemType">^Package</re>
+        <re key="DpkgTerminalLog">trying to overwrite '\/usr\/lib\/gstreamer-0.10\/libgstcamerabin.so', which is also in package gstreamer0.10-plugins-bad 0.10.22-2ubuntu1</re>
+    </pattern>
+    <pattern url="http://launchpad.net/bugs/386763";>
+        <re key="ProblemType">^Package</re>
+        <re key="DpkgTerminalLog">E: \/var\/lib\/defoma\/locked exists</re>
+    </pattern>
+
+
+
+    <pattern url="https://launchpad.net/bugs/523896";>
+        <re key="ProblemType">^Package</re>
+        <re key="VarLogDistupgradeTermlog">useradd: cannot lock .* try again later</re>
+    </pattern>
+
+    <pattern url="https://launchpad.net/bugs/523896";>
+        <re key="ProblemType">^Package</re>
+        <re key="DpkgTerminalLog">(group|user)add: cannot lock .* try again later</re>
+    </pattern>
+
+    <pattern url="https://launchpad.net/bugs/805717";>
+        <re key="ProblemType">^Package</re>
+        <re key="DpkgTerminalLog">Unhandled Exception: System.TypeLoadException: Could not load type</re>
+        <re key="Dependencies">modified: usr/lib/mono/2.0/mscorlib.dll</re>
+    </pattern>
+
+<!-- acpid -->
+
+    <pattern url ="http://launchpad.net/bugs/368857";>
+        <re key="Package">^acpid </re>
+        <re key="ProblemType">^Package</re>
+        <re key="DpkgTerminalLog">initscript hal, action .*start" failed</re>
+    </pattern>
+    <pattern url ="http://launchpad.net/bugs/368857";>
+        <re key="Package">^acpid </re>
+        <re key="ProblemType">^Package</re>
+        <re key="VarLogDistupgradeApttermlog">initscript hal, action .*start" failed</re>
+    </pattern>
+
+<!-- Converted from alacarte.xml -->
+
+    <pattern url="http://launchpad.net/bugs/205463";>
+        <re key="Package">^alacarte </re>
+        <re key="Traceback">in copyItem</re>
+        <re key="Traceback">IOError: \[Errno 2\] No such file or directory</re>
+    </pattern>
+    
+    <pattern url="http://launchpad.net/bugs/349350";>
+	<re key="Package">^alacarte </re>
+	<re key="Traceback">in __addUndo</re>
+    </pattern>
+    
+    <pattern url="http://launchpad.net/bugs/187919";>
+	<re key="Package">^alacarte </re>
+	<re key="Title">alacarte crashed with AttributeError in split()</re>
+	<re key="Traceback">AttributeError: 'NoneType' object has no attribute 'rfind'</re>
+    </pattern>
+
+<!-- Converted from amavisd-new.xml -->
+
+    <pattern url="http://launchpad.net/bugs/801338";>
+        <re key="Package">^amavisd-new-postfix </re>
+        <re key="DpkgTerminalLog">Starting amavisd: .*/etc/mailname.*</re>
+    </pattern>
+
+<!-- Converted from amsn.xml -->
+
+    <pattern url="http://launchpad.net/bugs/420613";>
+        <re key="Package">^amsn </re>
+        <re key="Title">infosongbird crashed with DBusException in call_blocking</re>
+        <re key="Traceback">DBusException: org.freedesktop.DBus.Error.ServiceUnknown: The name org.mozilla.songbird was not provided by any .service files</re>
+    </pattern>
+
+<!-- Converted from apport.xml -->
+
+    <pattern url="http://launchpad.net/bugs/408255";>
+        <re key="Package">^apport </re>
+        <re key="Traceback">IOError: \[Errno 21\] Is a directory:</re>
+    </pattern>
+    <pattern url="http://launchpad.net/bugs/707971";>
+        <re key="Package">^apport </re>
+        <re key="Package">1.17.1-0ubuntu3</re>
+        <re key="DpkgTerminalLog">Job is already running: apport</re>
+    </pattern>
+    <pattern url="http://launchpad.net/bugs/737799";>
+	<re key="Package">^apport</re>
+	<re key="Traceback">ui_present_crash(.|\n)*UnicodeEncodeError:</re>
+    </pattern>
+    <pattern url="http://launchpad.net/bugs/767498";>
+        <re key="Package">^apport</re>
+        <re key="Package">1.20.1-0ubuntu3</re>
+        <re key="DpkgTerminalLog">start: Job failed to start</re>
+    </pattern>
+    <pattern url="http://launchpad.net/bugs/767829";>
+        <re key="Package">^apport</re>
+        <re key="Package">1.20.1-0ubuntu[4|5]</re>
+        <re key="DpkgTerminalLog">start: Job failed to start</re>
+    </pattern>
+    <pattern url="http://launchpad.net/bugs/767829";>
+        <re key="Package">^apport</re>
+        <re key="Package">1.20.1-0ubuntu[4|5]</re>
+        <re key="VarLogDistupgradeApttermlog">start: Job failed to start</re>
+    </pattern>
+
+<!-- Patterns regarding apt-clone -->
+
+    <pattern url="http://launchpad.net/bugs/758013";>
+        <re key="Package">^apt-clone </re>
+        <re key="Traceback">SystemError: E:Unable to correct problems, you have held broken packages.</re>
+        <re key="Traceback">in _restore_package_selection_in_cache</re>
+    </pattern>
+
+<!-- Converted from apt-xapian-index.xml -->
+
+    <pattern url="http://launchpad.net/bugs/267330";>
+        <re key="Package">^apt-xapian-index </re>
+        <re key="Traceback">OSError: \[Errno 2\] No such file or directory: '\/var\/cache\/apt\/pkgcache.bin'</re>
+    </pattern>
+    <pattern url="http://launchpad.net/bugs/378075";>
+        <re key="Package">^apt-xapian-index </re>
+        <re key="Title">crashed with KeyError in iter_paragraphs</re>
+        <re key="Traceback">for key in parser.Section.keys</re>
+        <re key="Traceback">in iter_paragraphs</re>
+    </pattern>
+    <pattern url="http://launchpad.net/bugs/424857";>
+        <re key="Package">^apt-xapian-index </re>
+        <re key="Traceback">E:The package lists or status file could not be parsed or opened.</re>
+        <re key="Traceback">SystemError: E:read.*but none left</re>
+    </pattern>
+    <pattern url="http://launchpad.net/bugs/590998";>
+        <re key="Package">^apt-xapian-index </re>
+        <re key="Traceback">DatabaseLockError: Unable to acquire database write lock</re>
+    </pattern>
+    <pattern url="http://launchpad.net/bugs/752195";>
+        <re key="Package">^apt-xapian-index </re>
+        <re key="Traceback">File "\/usr\/share\/apt-xapian-index\/plugins\/app-install.py", line 92, in info</re>
+        <re key="Traceback">ts = os.path.getmtime\(os.path.join\(APPINSTALLDIR, f\)\)</re>
+    </pattern>
+
+<!-- Converted from aptdaemon.xml -->
+
+    <pattern url="https://launchpad.net/bugs/702217";>
+        <re key="Package">^aptdaemon </re>
+        <re key="TraceBack">'dbus.Struct' object does not support item assignment</re>
+    </pattern>
+    <pattern url="https://launchpad.net/bugs/450662";>
+        <re key="Package">^aptdaemon </re>
+        <re key="Traceback">call_blocking</re>
+        <re key="Traceback">DBusException: org.freedesktop.DBus.Error.AccessDenied: Connection &quot;:....&quot; is not allowed to own the service &quot;org.debian.apt&quot; due to security policies in the configuration file</re>
+    </pattern>
+    <pattern url="https://launchpad.net/bugs/764883";>
+        <re key="TraceBack">NameError: global name 'trans' is not defined</re>
+        <re key="Package">^aptdaemon </re>
+    </pattern>
+    <pattern url="https://launchpad.net/bugs/659438";>
+        <re key="TraceBack">pm.get_archives</re>
+        <re key="TraceBack">I wasn't able to locate file for the.*package.</re>
+        <re key="Package">^aptdaemon </re>
+    </pattern>
+    <pattern url="https://launchpad.net/bugs/781874";>
+        <re key="TraceBack">TypeError: __init__\(\) takes exactly 2 arguments \(1 given\)</re>
+        <re key="TraceBack">raise TransactionCancelled\(\)</re>
+        <re key="Package">^aptdaemon </re>
+    </pattern>
+
+
+<!-- Converted from aptitude.xml -->
+
+    <pattern url="http://launchpad.net/bugs/515525";>
+        <re key="Package">^aptitude </re>
+        <re key="Signal">6</re>
+        <re key="Title">aptitude assert failure.*double free or corruption</re>
+        <re key="Stacktrace">download_signal_log::Complete</re>
+    </pattern>
+
+<!-- Converted from at-spi.xml -->
+
+    <pattern url="http://launchpad.net/bugs/418743";>
+        <re key="Package">^at-spi </re>
+        <re key="Stacktrace">#1  0x.*in _SmcProcessMessage</re>
+        <re key="Stacktrace">#2  0x.*in IceProcessMessages</re>
+        <re key="Stacktrace">#3  0x.*in process_ice_messages</re>
+        <re key="Stacktrace">#8  0x.*in main</re>
+    </pattern>
+    <pattern url="http://launchpad.net/bugs/420053";>
+        <re key="Package">^at-spi </re>
+        <re key="Stacktrace">#1  0x........ in IceProcessMessages</re>
+        <re key="Stacktrace">#2  0x........ in process_ice_messages</re>
+        <re key="Stacktrace">#8  0x........ in main.*at registry-main\.c</re>
+    </pattern>
+
+<!-- Converted from b43-fwcutter.xml -->
+
+    <pattern url="https://wiki.ubuntu.com/Bugs/InitramfsLiveMedia";>
+        <re key="SourcePackage">^b43-fwcutter</re>
+        <re key="DpkgTerminalLog">cp: cannot stat `/vmlinuz': No such file or directory</re>
+        <re key="LiveMediaBuild">Ubuntu</re>
+    </pattern>
+    <pattern url="https://launchpad.net/bugs/711397";>
+        <re key="SourcePackage">^b43-fwcutter</re>
+        <re key="VarLogDistupgradeApttermlog">Not supported (card here|low-power chip)</re>
+    </pattern>
+    <pattern url="https://launchpad.net/bugs/711397";>
+        <re key="SourcePackage">^b43-fwcutter</re>
+        <re key="DpkgTerminalLog">Not supported (card here|low-power chip)</re>
+    </pattern>
+
+<!-- Converted from batmand.xml -->
+
+    <pattern url="https://launchpad.net/bugs/789259";>
+        <re key="Package">^batmand-gateway-dkms </re>
+        <re key="DKMSBuildLog">unknown field .*ioctl.* specified in initializer</re>
+    </pattern>
+
+<!-- Converted from bcmwl.xml -->
+
+    <pattern url="https://wiki.ubuntu.com/Bugs/InitramfsLiveMedia";>
+        <re key="SourcePackage">^bcmwl</re>
+        <re key="DpkgTerminalLog">cp: cannot stat `/vmlinuz': No such file or directory</re>
+        <re key="LiveMediaBuild">Ubuntu</re>
+    </pattern>
+
+<!-- Converted from blcr.xml -->
+
+    <pattern url="https://launchpad.net/bugs/555729";>
+        <re key="Package">^blcr-dkms</re>
+        <re key="DKMSBuildLog">DKMS make.log for.* kernel 2.6.3[345]</re>
+        <re key="DKMSBuildLog">configure: error: Could not find a directory containing a Linux kernel 2.6.3[345][^ ]* build</re>
+    </pattern>
+    <pattern url="https://launchpad.net/bugs/700036";>
+        <re key="Package">^blcr-dkms</re>
+        <re key="DKMSBuildLog">vmadump_common.c:1092:38: error: .*struct signal_struct.* has no member named .*count.*</re>
+    </pattern>
+    <pattern url="https://launchpad.net/bugs/762996";>
+        <re key="Package">^blcr-dkms</re>
+        <re key="DKMSBuildLog">configure: error: Failed to locate kernel symbol table.</re>
+    </pattern>
+
+<!-- Converted from brother-cups-wrapper-common.xml -->
+
+    <pattern url="http://launchpad.net/bugs/423817";>
+        <re key="Package">^brother-cups-wrapper-common </re>
+        <re key="Stacktrace">0x.* in \*__GI_abort</re>
+        <re key="Stacktrace">0x.* in \*__GI___fortify_fail</re>
+        <re key="Stacktrace">0x.* in divide_media_token ()</re>
+    </pattern>
+
+<!-- Converted from compiz.xml -->
+
+    <pattern url="https://launchpad.net/bugs/711916";>
+        <re key="Package">^compiz</re>
+        <!-- some failed retraces don't have this -->
+        <!-- <re key="Stacktrace">std::_List_node_base::_M_hook</re> -->
+        <re key="Stacktrace">nux::InputArea::OnEvent</re>
+        <re key="Stacktrace">InputArea.cpp:59</re>
+    </pattern>
+    <pattern url="https://launchpad.net/bugs/710588";>
+        <re key="Package">^compiz</re>
+        <re key="AssertionMessage">compiz: nv50_pc_emit.c ?:863 ?: emit_flop</re>
+        <re key="StacktraceTop">__assert_fail</re>
+        <re key="StacktraceTop">nouveau_dri.so</re>
+    </pattern>
+    <pattern url="https://launchpad.net/bugs/721907";>
+        <re key="Package">^compiz</re>
+        <re key="StacktraceTop">IconTexture::~IconTexture</re>
+        <re key="StacktraceTop">libunityshell.so</re>
+        <re key="StacktraceTop">nux::Object::Destroy</re>
+    </pattern>
+    <pattern url="https://launchpad.net/bugs/741652";>
+        <re key="Package">(unity|libnux)</re>
+        <re key="ProcCmdline">^compiz</re>
+        <re key="StacktraceTop">SimpleLauncherIcon::OnIconThemeChange.*libunityshell.so</re>
+    </pattern>
+
+    <pattern url="https://launchpad.net/bugs/827642";>
+	<re key="Package">^unity</re>
+	<re key="ProcCmdline">^compiz</re>
+	<re key="StacktraceTop">CompWindow::id</re>
+	<re key="StacktraceTop">UnityScreen::getWindowPaintList</re>
+	<re key="StacktraceTop">CompositeScreen::getWindowPaintList</re>
+    </pattern>
+
+    <pattern url="https://launchpad.net/bugs/834001";>
+	<re key="Package">^unity-2d-panel </re>
+	<re key="Title">unity-2d-panel crashed with SIGSEGV in QConf::notify()</re>
+	<re key="StacktraceTop">QConf::notify</re>
+    </pattern>
+
+    <pattern url="https://launchpad.net/bugs/834045";>
+	<re key="Package">^unity-2d-panel </re>
+	<re key="Title">unity-2d-panel crashed with SIGSEGV in QConfSchema::findKey()</re>
+	<re key="StacktraceTop">QConfSchema::findKey</re>
+    </pattern>
+
+    <pattern url="https://launchpad.net/bugs/835259";>
+	<re key="Package">^unity </re>
+	<re key="Signal">11</re>
+	<re key="Title">compiz crashed with SIGSEGV in PluginClassHandler&lt;UnityWindow, CompWindow, 0&gt;::get\(\)</re>
+	<re key="StacktraceTop">PluginClassHandler&lt;UnityWindow, CompWindow, 0&gt;::get\(CompWindow\*\) \(\) from /usr/lib/compiz/libunityshell.so</re>
+    </pattern>
+
+<!-- compizconfig-settings-manager -->
+
+    <pattern url="https://launchpad.net/bugs/832458";>
+	<re key="Package">^compizconfig-settings-manager </re>
+	<re key="Title">ccsm crashed with KeyError in compizconfig.Plugin.ApplyStringExtensions</re>
+	<re key="Traceback">in ParseSettings</re>
+	<re key="Traceback">plugin.Update ()</re>
+    </pattern>
+
+<!-- Converted from computer-janitor.xml -->
+
+    <pattern url="https://launchpad.net/bugs/503727";>
+        <re key="Package">^computer-janitor </re>
+        <re key="Title">computer-janitor-gtk crashed with KeyError in create_column()</re>
+        <re key="Traceback">KeyError: 'unused_treeview'</re>
+    </pattern>
+
+<!-- Converted from computertemp.xml -->
+
+    <pattern url="http://launchpad.net/bugs/318791";>
+        <re key="Package">^computertemp </re>
+        <re key="Title">crashed with ValueError in parseloginfo</re>
+        <re key="Traceback">loginfo.replace\('\{temp\}'</re>
+        <re key="Traceback">ValueError: invalid literal for int\(\) with base 10: 'XX'</re>
+    </pattern>
+
+<!-- Converted from control-center.xml -->
+
+    <pattern url="https://launchpad.net/bugs/81923";>
+        <re key="Package">^control-center </re>
+        <re key="Stacktrace">gnome_theme_details_reread_themes_from_disk</re>    
+    </pattern>
+
+<!-- Converted from cron.xml -->
+
+    <pattern url="https://launchpad.net/bugs/447080";>
+        <re key="Package">^cron </re>
+        <re key="Stacktrace">pam_vsyslog</re>
+        <re key="Stacktrace">_pam_load_module</re>
+        <re key="Stacktrace">_pam_parse_conf_file</re>
+    </pattern>
+    <pattern url="https://launchpad.net/bugs/518161";>
+        <re key="Package">^cron </re>
+        <re key="Stacktrace">pam_strerror</re>
+        <re key="Stacktrace">pam_get_authtok_internal</re>
+        <re key="Stacktrace">_pam_parse_conf_file</re>
+    </pattern>
+    <pattern url="https://launchpad.net/bugs/508083";>
+        <re key="Package">^cron </re>
+        <re key="Stacktrace">in __pthread_initialize_minimal_internal</re>
+    </pattern>
+
+<!-- Converted from desktopcouch.xml -->
+
+    <pattern url="http://launchpad.net/bugs/465216";>
+        <re key="Package">^desktopcouch </re>
+        <re key="Title">desktopcouch-service crashed with RuntimeError in find_port__linux</re>
+        <re key="Traceback">RuntimeError: Unable to find listening port</re>
+    </pattern>
+    <pattern url="http://launchpad.net/bugs/451767";>
+        <re key="Package">^desktopcouch </re>
+        <re key="Title">desktopcouch-service crashed with ServerError in _request</re>
+        <re key="Traceback">ServerError: \(401</re>
+    </pattern>
+    <pattern url="http://launchpad.net/bugs/530541";>
+        <re key="Package">^desktopcouch </re>
+        <re key="Title">desktopcouch-service crashed with RuntimeError in run_couchdb</re>
+        <re key="Traceback">raise RuntimeError\(&quot;Couchdb PID%d exited.  Permissions\?&quot;</re>
+    </pattern>
+    <pattern url="http://launchpad.net/bugs/707321";>
+        <re key="Package">^desktopcouch </re>
+        <re key="OriginalTitle">desktopcouch-service crashed with PreconditionFailed in request\(\): \('file_exists', 'The database could not be created, the file already exists.'\)</re>
+        <re key="Traceback">PreconditionFailed: \('file_exists', 'The database could not be created, the file already exists.'\)</re>
+    </pattern>
+
+
+<!-- Converted from devicekit-disks.xml -->
+
+    <pattern url="https://launchpad.net/bugs/452208";>
+        <re key="Package">^devicekit-disks </re>
+        <re key="StacktraceTop">dbus_g_method_return_error</re>    
+    </pattern>
+    <pattern url="https://launchpad.net/bugs/419662";>
+        <re key="Package">^devicekit-disks </re>
+        <re key="AssertionMessage">sk_disk_get_blob: Assertion.*size_t.*uint8_t</re>    
+    </pattern>
+    <pattern url="https://launchpad.net/bugs/419663";>
+        <re key="Package">^devicekit-disks </re>
+        <re key="AssertionMessage">sk_disk_set_blob: Assertion `blob' failed</re>    
+    </pattern>
+
+<!-- eglibc -->
+
+    <pattern url="https://launchpad.net/bugs/652876";>
+        <re key="Package">^nscd </re>
+        <re key="DpkgTerminalLog">initscript nscd, action "start" failed</re>
+    </pattern>
+
+<!-- empathy -->
+    <pattern url="http://launchpad.net/bugs/829861";>
+        <re key="Package">^empathy</re>
+        <re key="Stacktrace">_tp_base_client_handle_channels</re>
+        <re key="Stacktrace">_tp_marshal_VOID__BOXED_BOXED_BOXED_BOXED_UINT64_BOXED_POINTER</re>
+        <re key="Signal">11</re>
+    </pattern>
+
+<!-- eog -->
+    <pattern url="http://launchpad.net/bugs/830640";>
+	<re key="Package">^eog </re>
+	<re key="Stacktrace">geis_dispatch_events</re>
+	<re key="Stacktrace">geis_event_dispatch</re>
+    </pattern>
+
+<!-- Converted from fglrx-installer.xml -->
+
+    <pattern url="https://launchpad.net/bugs/573748";>
+        <re key="Package">^fglrx-installer </re>
+        <re key="DKMSBuildLog">DKMS make.log for.* kernel 2.6.3[345]</re>
+        <re key="DKMSBuildLog">utsrelease.h: No such file or directory</re>
+    </pattern>
+    <pattern url="https://launchpad.net/bugs/642518";>
+        <re key="Package">^fglrx-installer </re>
+        <re key="DKMSBuildLog">/var/lib/dkms/fglrx/8.723.1/build/2.6.x/kcl_ioctl.c: In function ‘KCL_IOCTL_AllocUserSpace32’:</re>
+        <re key="DKMSBuildLog">/var/lib/dkms/fglrx/8.723.1/build/2.6.x/kcl_ioctl.c:196: error: implicit declaration of function ‘compat_alloc_user_space’</re>
+        <re key="Tags">lucid</re>
+    </pattern>
+    <pattern url="https://wiki.ubuntu.com/Bugs/InitramfsLiveMedia";>
+        <re key="SourcePackage">^fglrx-installer</re>
+        <re key="DpkgTerminalLog">cp: cannot stat `/vmlinuz': No such file or directory</re>
+        <re key="LiveMediaBuild">Ubuntu</re>
+    </pattern>
+    <pattern url="https://launchpad.net/bugs/776895";>
+        <re key="SourcePackage">^fglrx-installer</re>
+        <re key="DKMSBuildLog">2.6.39</re>
+        <re key="DKMSBuildLog">linux/smp_lock.h</re>
+    </pattern>
+    <pattern url="https://launchpad.net/bugs/807347";>
+        <re key="SourcePackage">^fglrx-installer</re>
+        <re key="DpkgTerminalLog">update-alternatives: error: unable to make /usr/lib/dri/fglrx_dri.so.dpkg-tmp a symlink to /etc/alternatives/x86_64-linux-gnu_fglrx_dri: No such file or directory</re>
+    </pattern>
+
+<!-- Converted from firefox-3.0.xml -->
+
+    <pattern url="https://launchpad.net/bugs/192888";>
+        <re key="Package">^firefox-3.0 </re>
+	<re key="ExecutablePath">/usr/lib/firefox-.*/firefox</re>
+	<re key="ProcMaps">libflashsupport.so</re>
+    </pattern>
+    <pattern url="https://launchpad.net/bugs/278095";>
+        <re key="Package">^firefox-3.0 </re>
+	<re key="ExecutablePath">/usr/lib/firefox-.*/firefox</re>
+	<re key="ProcMaps">libspi.so</re>
+    <re key="Stacktrace">#0  0x........ in getenv</re>
+    <re key="Stacktrace">#3  0x........ in exit</re>
+    </pattern>
+
+<!-- Converted from firefox.xml -->
+
+    <pattern url="https://launchpad.net/bugs/69003";>
+        <re key="Package">^firefox </re>
+	<re key="ExecutablePath">/usr/lib/firefox/firefox-bin</re>
+	<re key="Stacktrace">#10000.*</re>
+    </pattern>
+    <pattern url="https://launchpad.net/bugs/14911";>
+        <re key="Package">^firefox </re>
+	<re key="ExecutablePath">/usr/lib/firefox/firefox-bin</re>
+	<re key="ProcMaps">libflashplayer.so</re>
+	<re key="Signal">11</re>
+	<re key="Registers">ip.*0xffffe410</re>
+	<re key="Stacktrace">#5 0x00000000</re>
+    </pattern>
+    <pattern url="https://launchpad.net/bugs/192888";>
+        <re key="Package">^firefox </re>
+	<re key="ExecutablePath">/usr/lib/firefox/firefox-bin</re>
+	<re key="ProcMaps">libflashsupport.so</re>
+    </pattern>
+
+<!-- Patterns regarding flashplugin-nonfree -->
+
+    <pattern url="http://launchpad.net/bugs/762968";>
+        <re key="Package">^flashplugin-installer 10.[23].*</re>
+        <re key="DpkgTerminalLog">nspluginwrapper: no appropriate viewer found for \/usr\/lib\/flashplugin-installer\/libflashplayer.so</re>
+    </pattern>
+    <pattern url="http://launchpad.net/bugs/762968";>
+        <re key="Package">^flashplugin-installer 10.[23].*</re>
+        <re key="VarLogDistupgradeTermlog">nspluginwrapper: no appropriate viewer found for \/usr\/lib\/flashplugin-installer\/libflashplayer.so</re>
+    </pattern>
+
+<!-- Converted from foomatic-filters.xml -->
+
+    <pattern url="http://launchpad.net/bugs/440426";>
+        <re key="Package">^foomatic-filters </re>
+        <re key="Stacktrace">#0.*_nl_intern_locale_data</re>
+        <re key="Stacktrace">#1  0x.* in _nl_load_locale</re>
+        <re key="Stacktrace">#2  0x.* in _nl_find_locale</re>
+    </pattern>
+
+<!-- Converted from freevo.xml -->
+    <pattern url="https://bugs.launchpad.net/bugs/758821";>
+        <re key="Package">^freevo </re>
+        <re key="DpkgTerminalLog">No such file or directory. ./usr/lib/pymodules/python2.5/freevo/version.py.</re>
+    </pattern>
+
+<!-- Converted from g15daemon.xml -->
+
+    <pattern url="https://launchpad.net/bugs/617101";>
+        <re key="Package">^g15daemon </re>
+        <re key="DpkgTerminalLog">uinput not found</re>
+    </pattern>
+
+<!-- Converted from gaim.xml -->
+
+    <pattern url="https://launchpad.net/bugs/85069";>
+        <re key="Package">^gaim </re>
+        <re key="Traceback">self\._connection.send_message_with_reply_and_block</re>
+    </pattern>
+    <pattern url="https://launchpad.net/bugs/72204";>
+        <re key="Package">^gaim </re>
+        <re key="Stacktrace">#1.*msn_session_find_slplink</re>    
+    </pattern>
+
+<!-- Converted from glunarclock.xml -->
+
+    <pattern url="http://launchpad.net/bugs/459389";>
+        <re key="Package">^glunarclock </re>
+        <re key="Title">glunarclock-applet-2 crashed with SIGSEGV in strcmp</re>
+        <re key="Stacktrace">strcmp</re>
+        <re key="Stacktrace">glunarclock_applet_factory</re>
+    </pattern>
+
+<!-- Converted from gnome-alsamixer.xml -->
+
+    <pattern url="http://launchpad.net/bugs/448180";>
+        <re key="Package">^gnome-alsamixer </re>
+        <re key="Stacktrace">#0  .*gam_mixer_show_props_dialog .*\s*at gam-mixer\.c:596</re>
+        <re key="Stacktrace">#(26|32) 0x.* in main .* at gam-main\.c:56</re>
+    </pattern>
+
+<!-- Converted from gnome-bluetooth.xml -->
+
+    <pattern url="https://launchpad.net/bugs/456200";>
+        <re key="Package">^gnome-bluetooth </re>
+        <re key="Signal">11</re>
+        <re key="Title">bluetooth-sendto crashed with SIGSEGV in strcmp</re>
+        <re key="Stacktrace">in obex_agent_request</re>
+    </pattern>
+
+<!-- Converted from gnome-disk-utility.xml -->
+
+    <pattern url="https://launchpad.net/bugs/418300";>
+        <re key="Package">^gnome-disk-utility </re>
+        <re key="StacktraceTop">gdu_pool_get_devices</re>
+    </pattern>
+
+<!-- Converted from gnome-keyring.xml -->
+
+    <pattern url="https://launchpad.net/bugs/405667";>
+        <re key="Package">^gnome-keyring </re>
+    <re key="Signal">5</re>
+    <re key="Title">gnome-keyring-daemon crashed with signal 5 in g_thread_join()</re>
+    </pattern>
+
+<!-- Converted from gnome-menus.xml -->
+
+    <pattern url="http://launchpad.net/bugs/503983";>
+        <re key="Package">^gnome-menus </re>
+        <re key="Title">update-gnome-menus-cache crashed with Error in setlocale</re>
+        <re key="Traceback">unsupported locale setting</re>
+    </pattern>
+    <pattern url="http://launchpad.net/bugs/504785";>
+        <re key="Package">^gnome-menus </re>
+        <re key="Title">update-gnome-menus-cache crashed with IndexError in _parse</re>
+        <re key="Traceback">plural = v\[1\].split\('plural='\)\[1\]</re>
+        <re key="Traceback">IndexError: list index out of range</re>
+    </pattern>
+
+<!-- Converted from gnome-mount.xml -->
+
+    <pattern url="https://launchpad.net/bugs/122673";>
+        <re key="Package">^gnome-mount </re>
+    <re key="Signal">11</re>
+    <re key="Stacktrace">g_datalist_id_set_data_full</re>
+    </pattern>
+
+<!-- Converted from gnome-settings-daemon.xml -->
+
+    <pattern url="http://launchpad.net/bugs/509478";>
+        <re key="Package">^gnome-settings-daemon </re>
+        <re key="Title">gnome-settings-daemon crashed with signal 5 in xkl_process_error</re>
+        <re key="Signal">5</re>
+        <re key="Stacktrace">configure_crtc</re>
+    </pattern>
+    
+    <pattern url="http://launchpad.net/bugs/804221";>
+    	<re key="Package">^gnome-settings-daemon </re>
+      	<re key="Stacktrace">!dpy->xcb->reply_data</re>
+	<re key="Signal">6</re>
+    </pattern>
+
+    <pattern url="http://launchpad.net/bugs/804896";>
+      	<re key="Package">^gnome-settings-daemon </re>
+      	<re key="Stacktrace">req == dpy->xcb->pending_requests</re>
+	<re key="Signal">6</re>
+    </pattern>
+    
+    <pattern url="http://launchpad.net/bugs/804472";>
+      	<re key="Package">^gnome-settings-daemon </re>
+      	<re key="Stacktrace">\(\(\(long\) \(req-&gt;sequence\) - \(long\) \(dpy-&gt;request\)\) &lt;= 0\)</re>
+	<re key="Signal">6</re>
+    </pattern> 
+   
+    <pattern url="http://launchpad.net/bugs/825553";>
+	<re key="Package">^gnome-settings-daemon </re>
+	<re key="Stacktrace">!xcb_xlib_unknown_req_in_deq</re>
+	<re key="Signal">6</re>
+    </pattern>
+    
+    <pattern url="http://launchpad.net/bugs/832513";>
+	<re key="Package">^gnome-settings-daemon </re>
+	<re key="Stacktrace">!xcb_xlib_extra_reply_data_left</re>
+	<re key="Signal">6</re>
+    </pattern>
+
+    <pattern url="https://launchpad.net/bugs/833151";>
+	<re key="Package">^gnome-settings-daemon </re>
+	<re key="Title">gnome-settings-daemon crashed with SIGSEGV in gcm_profile_store_search()</re>
+	<re key="Signal">11</re>
+	<re key="StacktraceTop">gcm_profile_store_search</re>
+    </pattern>
+
+    <pattern url="https://launchpad.net/bugs/832603";>
+	<re key="Package">^gnome-settings-daemon </re>
+	<re key="Signal">11</re>
+	<re key="Stacktrace">on_bus_gotten</re>
+	<re key="Stacktrace">g_simple_async_result_complete</re>
+    </pattern>
+
+    <pattern url="https://launchpad.net/bugs/833595";>
+	<re key="Package">^gnome-settings-daemon </re>
+	<re key="Signal">8</re>
+	<re key="Stacktrace">backlight_get_percentage</re>
+    </pattern>
+
+    <pattern url="https://launchpad.net/bugs/839649";>
+	<re key="Package">^gnome-settings-daemon </re>
+	<re key="Signal">11</re>
+	<re key="Title">gnome-settings-daemon crashed with SIGSEGV in g_simple_async_result_new_error()</re>
+	<re key="Stacktrace">on_bus_gotten</re>
+	<re key="Stacktrace">g_simple_async_result_new_error</re>
+    </pattern>
+
+    <pattern url="https://launchpad.net/bugs/839178";>
+	<re key="Package">^gnome-control-center </re>
+	<re key="Signal">11</re>
+	<re key="Title">gnome-control-center crashed with SIGSEGV in g_closure_invoke()</re>
+	<re key="Stacktrace">dialog_toplevel_focus_changed</re>
+	<re key="Stacktrace">g_closure_invoke</re>
+    </pattern>
+
+    <pattern url="https://launchpad.net/bugs/842072";>
+	<re key="Package">^gnome-control-center</re>
+	<re key="ProblemType">^Package</re>
+	<re key="ErrorMessage">trying to overwrite '/usr/share/icons/hicolor/16x16/apps/gnome-power-manager.png', which is also in package gnome-power-manager</re>
+    </pattern> 
+<!-- gnome-terminal -->
+
+    <pattern url="https://launchpad.net/bugs/810681";>
+	<re key="Package">^gnome-terminal </re>
+	<re key="Title">gnome-terminal crashed with SIGABRT in raise()</re>
+	<re key="Stacktrace">(app->default_profile_id != NULL)</re>
+	<re key="Signal">6</re>
+    </pattern>
+    
+<!-- Converted from gnome-utils.xml -->
+
+    <pattern url="https://launchpad.net/bugs/335432";>
+        <re key="Package">^gnome-utils </re>
+        <re key="Signal">5</re>
+        <re key="Stacktrace">BadWindow \(invalid Window parameter\)</re>
+        <re key="Title">gnome-screenshot crashed with signal 5 in gdk_x_error</re>
+    </pattern>
+
+<!-- Converted from grub.xml -->
+
+    <pattern url="https://launchpad.net/bugs/511463";>
+        <re key="ProblemType">^Package</re>
+        <re key="Package">^grub-pc </re>
+        <re key="DpkgTerminalLog">Fatal IO error.*X.*server</re>
+    </pattern>
+    <pattern url="https://launchpad.net/bugs/537123";>
+        <re key="ProblemType">^Package</re>
+        <re key="SourcePackage">^grub2</re>
+        <re key="DpkgTerminalLog">/etc/grub.d/README: 2: All: not found</re>
+    </pattern>
+    <pattern url="https://launchpad.net/bugs/495123";>
+        <re key="ProblemType">^Package</re>
+        <re key="SourcePackage">^grub2</re>
+        <re key="DpkgTerminalLog">grub-probe: error: not a directory</re>
+    </pattern>
+
+<!-- gst-plugins-good0.10  -->
+    <pattern url="http://launchpad.net/bugs/831897";>
+	<re key="ProblemType">^Package</re>
+	<re key="Package">^gstreamer0.10-plugins-good</re>
+	<re key="ErrorMessage">/usr/lib/gstreamer-0.10/libgstjpegformat.so</re>
+	<re key="ErrorMessage">gstreamer0.10-plugins-bad</re>
+   </pattern>
+<!-- Converted from gvfs.xml -->
+
+    <pattern url="https://launchpad.net/bugs/252174";>
+        <re key="Package">^gvfs </re>
+        <re key="Signal">11</re>
+        <re key="Title">gvfsd-trash crashed with SIGSEGV in g_main_context_.*</re>
+    </pattern>
+    <pattern url="https://launchpad.net/bugs/251910";>
+        <re key="Package">^gvfs </re>
+        <re key="Signal">11</re>
+        <re key="Title">gvfsd-trash crashed with SIGSEGV in g_idle_funcs()</re>
+    </pattern>
+    <pattern url="https://launchpad.net/bugs/436871";>
+        <re key="Package">^gvfs </re>
+        <re key="Signal">11</re>
+        <re key="Stacktrace">#0  gdu_pool_get_presentables.*at gdu-pool\.c</re>
+    </pattern>
+
+    <pattern url="https://launchpad.net/bugs/811049";>
+	<re key="Package">^gvfs</re>
+	<re key="Signal">11</re>
+	<re key="Title">crashed with SIGSEGV in g_vfs_job_try()</re>
+	<re key="Stacktrace">g_vfs_job_try</re>
+	<re key="Stacktrace">g_vfs_daemon_queue_job</re>
+    </pattern>
+
+    <pattern url="https://launchpad.net/bugs/811761";>
+        <re key="Package">^gvfs</re>
+        <re key="Signal">11</re>
+        <re key="Stacktrace">g_vfs_backend_get_daemon</re>
+    </pattern>
+
+    <pattern url="https://launchpad.net/bugs/832533";>
+	<re key="Package">^gvfs</re>
+	<re key="ExecutablePath">/usr/lib/gvfs/gvfs-fuse-daemon</re>
+	<re key="Signal">11</re>
+	<re key="Stacktrace">g_daemon_vfs_get_async_bus</re>
+	<re key="Stacktrace">g_daemon_volume_monitor_init</re>
+	<re key="Stacktrace">g_type_create_instance</re>
+    </pattern>
+
+<!-- Converted from gwibber.xml -->
+
+    <pattern url="https://bugs.launchpad.net/ubuntu/+source/gwibber/+bug/522538";>
+        <re key="Package">^gwibber </re>
+        <re key="Traceback">File &quot;/usr/lib/pymodules/python2.6/httplib2/__init__.py&quot;, line 750, in connect</re>
+        <re key="Title">gwibber-service crashed with error in connect</re>
+    </pattern>
+    <pattern url="https://bugs.launchpad.net/ubuntu/+source/gwibber/+bug/552227";>
+        <re key="Package">^gwibber </re>
+        <re key="Traceback">KeyError: 'username'</re>
+        <re key="Traceback">in get_account_data</re>
+    </pattern>
+    <pattern url="https://bugs.launchpad.net/ubuntu/+source/gwibber/+bug/444654";>
+        <re key="Package">^gwibber </re>
+        <re key="Title">gwibber crashed with AttributeError in action</re>
+        <re key="Traceback">AttributeError: '(dbus.String|dict)' object has no attribute '(get_client|text)'</re>
+    </pattern>
+   
+    <pattern url="https://launchpad.net/bugs/814259";>
+	<re key="Package">^gwibber</re>
+	<re key="Title">gwibber-accounts crashed with TypeError in __init__(): Gtk.Window.set_icon_from_file()</re>
+	<re key="Traceback">TypeError: Gtk.Window.set_icon_from_file() argument 1 must be string</re>
+    </pattern>
+    
+    <pattern url="https://launchpad.net/bugs/835385";>
+	<re key="Package">^unity-lens-gwibber </re>
+	<re key="Title">unity-gwibber-daemon crashed with SIGSEGV in gwibber_streams_messages()</re>
+	<re key="StacktraceTop">gwibber_streams_messages</re>
+    </pattern>
+
+<!-- Converted from initramfs-tools.xml -->
+
+    <pattern url="https://wiki.ubuntu.com/Bugs/InitramfsLiveMedia";>
+        <re key="Package">^initramfs-tools </re>
+        <re key="DpkgTerminalLog">cp: cannot stat `/vmlinuz': No such file or directory</re>
+        <re key="LiveMediaBuild">Ubuntu</re>
+    </pattern>
+    <pattern url="https://launchpad.net/bugs/798414";>
+        <re key="SourcePackage">^initramfs-tools</re>
+        <re key="DpkgTerminalLog">gzip: stdout: No space left on device</re>
+    </pattern>
+    <pattern url="https://launchpad.net/bugs/798462";>
+        <re key="SourcePackage">^initramfs-tools</re>
+        <re key="VarLogDistupgradeTermlog">gzip: stdout: No space left on device</re>
+    </pattern>
+    <pattern url="https://launchpad.net/bugs/798462";>
+        <re key="SourcePackage">^initramfs-tools</re>
+        <re key="VarLogDistupgradeApttermlog">gzip: stdout: No space left on device</re>
+    </pattern>
+
+<!-- Converted from iscsitarget.xml -->
+
+    <pattern url="https://bugs.launchpad.net/bugs/782076";>
+        <re key="Package">^iscsitarget-dkms </re>
+        <re key="DKMSBuildLog">implicit declaration of function ‘copy_io_context’</re>
+    </pattern>
+
+<!-- Converted from jockey.xml -->
+
+    <pattern url="http://launchpad.net/bugs/403955";>
+        <re key="Package">^jockey </re>
+        <re key="Traceback">org.freedesktop.DBus.Error.NoReply: Did not receive a reply.</re>
+    </pattern>
+    <pattern url="http://launchpad.net/bugs/275659";>
+        <re key="Package">^jockey </re>
+        <re key="Traceback">org.freedesktop.DBus.Error.TimedOut: Activation of com.ubuntu.DeviceDriver timed out</re>
+    </pattern>
+    <pattern url="http://launchpad.net/bugs/706193";>
+        <re key="Package">^jockey </re>
+        <re key="Traceback">AttributeError: 'gi.repository.Gtk' object has no attribute 'ICON_LOOKUP_USE_BUILTIN'</re>
+    </pattern>
+    <pattern url="http://launchpad.net/bugs/804709";>
+        <re key="Package">^jockey-common </re>
+        <re key=".var.log.jockey.log">jockey\/detection.py", line 947</re>
+        <re key=".var.log.jockey.log">__init__\(\) takes exactly 3 arguments</re>
+    </pattern>
+    <pattern url="http://launchpad.net/bugs/760883";>
+	<re key="Package">^jockey-common </re>
+ 	<re key="Title">jockey-text crashed with UnicodeEncodeError in write()</re>
+	<re key="Traceback">UnicodeEncodeError: \'ascii\' codec can\'t encode</re>
+	<re key="Traceback">ordinal not in range\(128\)</re> 
+    </pattern>
+    <pattern url="http://launchpad.net/bugs/657829";>
+        <re key="Package">^jockey</re>
+        <re key="Traceback">in _check_repositories</re>
+        <re key="Traceback">DBusException: org.freedesktop.DBus.Error.ServiceUnknown</re>
+    </pattern>
+    <pattern url="http://launchpad.net/bugs/689323";>
+        <re key="Package">^jockey-common </re>
+	<re key="Traceback">GLib.MainLoop()</re>
+	<re key="Traceback">MemoryError</re>
+    </pattern>
+    <pattern url="http://launchpad.net/bugs/837495";>
+        <re key="Package">^jockey-common </re>
+	<re key="Traceback">self.properties.__getitem__</re>
+	<re key="Traceback">KeyError</re>
+    </pattern>
+
+<!-- Converted from landscape-client.xml -->
+
+    <pattern url="http://launchpad.net/bugs/649997";>
+        <re key="Package">^landscape-client </re>
+        <re key="Traceback">Read-only file system: '/var/log/landscape/sysinfo.log'</re>
+    </pattern>
+
+<!-- Converted from libflickrnet2.1.5-cil.xml -->
+
+    <pattern url="https://launchpad.net/bugs/182130";>
+        <re key="Package">^libflickrnet2.1.5-cil </re>
+	<re key="DpkgTerminalLog">Assembly.*policy.2.1.FlickrNet.dll does not exist</re>
+    </pattern>
+
+<!-- libreoffice -->
+    <pattern url="https://launchpad.net/bugs/832516";>
+        <re key="Package">^libreoffice</re>
+        <re key="Signal">11</re>
+        <re key="StacktraceTop">xcb_writev</re>
+        <re key="StacktraceTop">splash_draw_progress</re>
+    </pattern>
+   
+    <pattern url="https://launchpad.net/bugs/835153";>
+	<re key="Package">^libreoffice</re>
+	<re key="Signal">11</re>
+	<re key="Title">oosplash.bin crashed with SIGSEGV in XSetForeground()</re>
+	<re key="StacktraceTop">XSetForeground</re>
+	<re key="StacktraceTop">splash_draw_progress</re>
+    </pattern>
+
+<!-- Converted from liferea.xml -->
+
+    <pattern url="https://launchpad.net/bugs/4732";>
+        <re key="Package">^liferea </re>
+	<re key="ExecutablePath">/usr/bin/liferea-bin</re>
+	<re key="Signal">11</re>
+	<re key="Stacktrace">#1.*_gdk_x11_convert_to_format</re>
+    </pattern>
+    <pattern url="https://launchpad.net/bugs/4732";>
+        <re key="Package">^liferea </re>
+	<re key="ExecutablePath">/usr/bin/liferea-bin</re>
+	<re key="Signal">11</re>
+	<re key="Stacktrace">#1.*gtk_cell_renderer_pixbuf_new</re>
+    </pattern>
+
+<!-- Converted from linux.xml -->
+
+    <pattern url="https://launchpad.net/bugs/292159";>
+        <re key="Package">^linux </re>
+        <re key="DpkgTerminalLog">\nupdate-initramfs is disabled</re>
+    </pattern>
+    <pattern url="https://launchpad.net/bugs/252900";>
+        <re key="Package">^linux </re>
+        <re key="ProcCmdLine">loop=/hostname/disks/home/username.disk</re>
+        <re key="ErrorMessage">^unable to make backup link of.*before installing new version: Operation not permitted$</re>
+    </pattern>
+    <pattern url="https://launchpad.net/bugs/269539";>
+        <re key="Package">^linux </re>
+        <re key="DpkgTerminalLog">The file `/var/run/grub/menu.lst.ucf-new' has a record of the failed merge of the configuration file.</re>
+    </pattern>
+    <pattern url="https://wiki.ubuntu.com/KernelTeam/DebuggingUpdateErrors";>
+        <re key="Package">^linux </re>
+        <re key="DpkgTerminalLog">\n short read in buffer_copy</re>
+    </pattern>
+    <pattern url="https://wiki.ubuntu.com/KernelTeam/DebuggingUpdateErrors";>
+        <re key="Package">^linux </re>
+        <re key="Tags">apport-package</re>
+        <re key="DpkgTerminalLog">\n foi lido um short em buffer_copy</re>
+    </pattern>
+    <pattern url="https://wiki.ubuntu.com/KernelTeam/DebuggingUpdateErrors";>
+        <re key="Package">^linux </re>
+        <re key="Tags">apport-package</re>
+        <re key="DpkgTerminalLog">\n lecture courte (short read) dans « buffer_copy » </re>
+    </pattern>
+    <pattern url="https://wiki.ubuntu.com/KernelTeam/DebuggingUpdateErrors";>
+        <re key="Package">^linux </re>
+        <re key="Tags">apport-package</re>
+        <re key="DpkgTerminalLog">\n lectura insuficiente en buffer_copy</re>
+    </pattern>
+    <pattern url="https://wiki.ubuntu.com/KernelTeam/DebuggingUpdateErrors";>
+        <re key="Package">^linux </re>
+        <re key="Tags">apport-package</re>
+        <re key="DpkgTerminalLog">\n nicht vollständig gelesen in buffer_copy</re>
+    </pattern>
+    <pattern url="https://bugs.launchpad.net/bugs/386042";>
+        <re key="Package">^linux </re>
+        <re key="DpkgTerminalLog">/usr/share/debconf/confmodule: line 42: printf: write error: Broken pipe</re>
+    </pattern>
+    <pattern url="https://bugs.launchpad.net/bugs/407420";>
+        <re key="Package">^linux </re>
+        <re key="DpkgTerminalLog">Running depmod.\nFailed to run depmod</re>
+    </pattern>
+    <pattern url="https://bugs.launchpad.net/bugs/417222";>
+        <re key="Package">^linux </re>
+        <re key="DpkgTerminalLog">/boot/grub/menu.lst: Operation not supported</re>
+    </pattern>
+    <pattern url="https://bugs.launchpad.net/bugs/422536";>
+        <re key="Package">^linux </re>
+        <re key="OopsText">EDAC amd64: WARNING: ECC is NOT currently enabled by the BIOS. Module will NOT be loaded.</re>
+    </pattern>
+    <pattern url="https://bugs.launchpad.net/bugs/433365";>
+        <re key="Package">^linux </re>
+        <re key="OopsText">mark_buffer_dirty</re>
+        <re key="OopsText">ext2_sync_fs</re>
+    </pattern>
+    <pattern url="https://bugs.launchpad.net/bugs/432860";>
+        <re key="Package">^linux </re>
+        <re key="OopsText">inotify_remove_from_idr</re>
+    </pattern>
+    <pattern url="https://bugs.launchpad.net/bugs/437258";>
+        <re key="Package">^linux </re>
+        <re key="OopsText">NULL pointer dereference</re>
+        <re key="OopsText">apparmor_bprm_set_creds</re>
+    </pattern>
+    <pattern url="https://bugs.launchpad.net/bugs/452814";>
+        <re key="Package">^linux </re>
+        <re key="OopsText">WARNING: at /build/buildd/linux-2.6.31/net/ipv4/tcp.c:1408 tcp_recvmsg</re>
+    </pattern>
+    <pattern url="https://bugs.launchpad.net/bugs/452814";>
+        <re key="Package">^linux </re>
+        <re key="CurrentDmesg">option: option_instat_callback: error -108</re>
+    </pattern>
+    <pattern url="https://bugs.launchpad.net/bugs/442053";>
+        <re key="Package">^linux </re>
+        <re key="OopsText">ipaq_open\+0x1fd/0x570</re>
+    </pattern>
+    <pattern url="https://bugs.launchpad.net/bugs/429662";>
+        <re key="Package">^linux </re>
+        <re key="OopsText">_request_firmware\+0x1f3/0x250</re>
+    </pattern>
+    <pattern url="https://bugs.launchpad.net/bugs/430011";>
+        <re key="Package">^linux </re>
+        <re key="OopsText">__ticket_spin_lock\+0x8/0x20</re>
+    </pattern>
+    <pattern url="https://bugs.launchpad.net/bugs/430361";>
+        <re key="SourcePackage">^linux</re>
+        <re key="OopsText">WARNING: sysfs attribute hotkey_enable is deprecated and will be removed</re>
+    </pattern>
+    <pattern url="https://wiki.ubuntu.com/Bugs/InitramfsLiveMedia";>
+        <re key="SourcePackage">^linux</re>
+        <re key="DpkgTerminalLog">cp: cannot stat `.*/vmlinuz': No such file or directory</re>
+        <re key="LiveMediaBuild">Ubuntu</re>
+    </pattern>
+    <pattern url="https://launchpad.net/bugs/322433";>
+        <re key="SourcePackage">^linux-</re>
+        <re key="DpkgTerminalLog">Purging configuration files</re>
+        <re key="DpkgTerminalLog">FATAL: Could not open</re>
+    </pattern>
+    <pattern url="https://launchpad.net/bugs/798414";>
+        <re key="SourcePackage">^linux</re>
+        <re key="DpkgTerminalLog">gzip: stdout: No space left on device</re>
+    </pattern>
+    <pattern url="https://launchpad.net/bugs/798462";>
+        <re key="SourcePackage">^linux</re>
+        <re key="VarLogDistupgradeTermlog">gzip: stdout: No space left on device</re>
+    </pattern>
+
+<!-- Converted from mail-notification.xml -->
+
+    <pattern url="http://launchpad.net/bugs/351260";>
+        <re key="Package">^mail-notification </re>
+        <re key="Stacktrace">#0  0x.* in mn_mail_icon_set_tip</re>
+        <re key="Stacktrace">#1  0x.* in mn_shell_update_tooltip</re>
+    </pattern>
+
+
+    <pattern url="https://launchpad.net/bugs/746912";>
+        <re key="ProblemType">^Package</re>
+        <re key="Package">^man-db </re>
+        <re key="DpkgTerminalLog">debconf: DbDriver "config": /var/cache/debconf/config.dat is locked by another process</re>
+    </pattern>
+    <pattern url="https://launchpad.net/bugs/746912";>
+        <re key="ProblemType">^Package</re>
+        <re key="Package">^man-db </re>
+        <re key="VarLogDistupgradeApttermlog">debconf: DbDriver "config": /var/cache/debconf/config.dat is locked by another process</re>
+    </pattern>
+
+<!-- Converted from msttcorefonts.xml -->
+
+    <pattern url="https://launchpad.net/bugs/431217";>
+        <re key="SourcePackage">^msttcorefonts</re>
+        <re key="DpkgTerminalLog">sourceforge\.net.*failed: Connection timed out</re>
+    </pattern>
+    <pattern url="http://launchpad.net/bugs/722049";>
+        <re key="ProblemType">^Package</re>
+        <re key="SourcePackage">^msttcorefonts</re>
+        <re key="DpkgTerminalLog">Use of uninitialized value \$reply in scalar chomp at \/usr\/share\/perl5\/Debconf\/FrontEnd\/Passthrough.pm line 66</re>
+        <re key="DpkgTerminalLog">installation script returned error exit status 128</re>
+    </pattern>
+    <pattern url="https://launchpad.net/bugs/694913";>
+        <re key="SourcePackage">^msttcorefonts</re>
+        <re key="DpkgTerminalLog">Fatal IO error.*X.*server</re>
+    </pattern>
+    <pattern url="https://launchpad.net/bugs/710046";>
+        <re key="SourcePackage">^msttcorefonts</re>
+        <re key="DpkgTerminalLog">Another defoma process seems running</re>
+    </pattern>
+    <pattern url="https://launchpad.net/bugs/710046";>
+        <re key="SourcePackage">^msttcorefonts</re>
+        <re key="VarLogDistupgradeApttermlog">Another defoma process seems running</re>
+    </pattern>
+    <pattern url="https://launchpad.net/bugs/274421";>
+        <re key="SourcePackage">^msttcorefonts</re>
+        <re key="DpkgTerminalLog">Error parsing proxy URL http:\/\/:8080\/: Invalid host name.</re>
+    </pattern>
+    <pattern url="https://launchpad.net/bugs/274421";>
+        <re key="SourcePackage">^msttcorefonts</re>
+        <re key="DpkgTerminalLog">proxy.*http:\/\/:8080\/:</re>
+    </pattern>
+    <pattern url="https://launchpad.net/bugs/633570";>
+        <re key="SourcePackage">^msttcorefonts</re>
+        <re key="DpkgTerminalLog">wget: unable to resolve host address</re>
+    </pattern>
+    <pattern url="https://launchpad.net/bugs/633570";>
+        <re key="SourcePackage">^msttcorefonts</re>
+        <re key="VarLogDistupgradeTermlog">wget: unable to resolve host address</re>
+    </pattern>
+
+
+<!-- Converted from nautilus.xml -->
+
+    <pattern url="https://launchpad.net/bugs/362342";>
+        <re key="Package">^nautilus </re>
+        <re key="Stacktrace">#0  .*g_list_remove.*\n.*glist\.c:338</re>
+        <re key="Title">nautilus crashed with SIGSEGV in g_list_remove()</re>
+    </pattern>
+
+    <pattern url="http://launchpad.net/bugs/804891";>
+	<re key="Package">^nautilus </re>
+	<re key="Title">nautilus crashed with SIGSEGV in g_timer_stop()</re>
+	<re key="Stacktrace">g_timer_stop</re>
+    </pattern>
+
+    <pattern url="https://launchpad.net/bugs/804133";>
+	<re key="Package">^nautilus </re>
+	<re key="Signal">11</re>
+	<re key="Stacktrace">nautilus_icon_container_search_entry_flush_timeout</re>
+    </pattern>
+    
+    <pattern url="https://launchpad.net/bugs/795708";>
+	<re key="Package">^nautilus </re>
+	<re key="Signal">11</re>
+	<re key="Stacktrace">nautilus_window_slot_get_current_uri</re>
+	<re key="Stacktrace">update_places</re>
+    </pattern>
+
+<!-- Converted from network-manager.xml -->
+
+    <pattern url="https://launchpad.net/bugs/85113";>
+        <re key="Package">^network-manager </re>
+        <re key="Signal">^5</re>
+        <re key="Stacktrace">#0.*main</re>    
+    </pattern>
+
+<!-- Converted from notification-daemon.xml -->
+
+    <pattern url="https://launchpad.net/bugs/122637";>
+        <re key="Package">^notification-daemon </re>
+    <re key="Signal">5</re>
+    <re key="Stacktrace">g_logv</re>
+    </pattern>
+
+<!-- Converted from nspluginwrapper.xml -->
+
+    <pattern url="https://launchpad.net/bugs/192888";>
+        <re key="Package">^nspluginwrapper </re>
+	<re key="ExecutablePath">/usr/lib/nspluginwrapper.*npviewer.bin</re>
+	<re key="ProcMaps">libflashsupport.so</re>
+    </pattern>
+    <pattern url="http://launchpad.net/bugs/798459";>
+        <re key="Package">^nspluginwrapper</re>
+        <re key="ProblemType">Package</re>
+        <re key="DpkgTerminalLog">nspluginwrapper: double free or corruption \(out\)</re>
+    </pattern>
+
+<!-- Converted from ntfs-config.xml -->
+
+    <pattern url="http://launchpad.net/bugs/529403";>
+        <re key="Package">^ntfs-config </re>
+        <re key="Title">ntfs-config crashed with AttributeError in add_section</re>
+        <re key="Traceback">in on_close_clicked</re>
+    </pattern>
+    <pattern url="http://launchpad.net/bugs/516826";>
+        <re key="Package">^ntfs-config </re>
+        <re key="Title">ntfs-config crashed with AttributeError in add_section</re>
+        <re key="Traceback">in on_ok_clicked</re>
+    </pattern>
+    <pattern url="http://launchpad.net/bugs/507831";>
+        <re key="Package">^ntfs-config </re>
+        <re key="Title">ntfs-config crashed with AttributeError in add_section</re>
+        <re key="Traceback">in on_auto_clicked</re>
+    </pattern>
+
+<!-- Converted from nvidia-graphics-drivers-173.xml -->
+
+    <pattern url="https://wiki.ubuntu.com/Bugs/InitramfsLiveMedia";>
+        <re key="Package">^nvidia-graphics-drivers-173 </re>
+        <re key="DpkgTerminalLog">cp: cannot stat `/vmlinuz': No such file or directory</re>
+        <re key="LiveMediaBuild">Ubuntu</re>
+    </pattern>
+
+<!-- Converted from nvidia-graphics-drivers.xml -->
+
+    <pattern url="https://wiki.ubuntu.com/Bugs/InitramfsLiveMedia";>
+        <re key="Package">^nvidia-graphics-drivers </re>
+        <re key="DpkgTerminalLog">cp: cannot stat `/vmlinuz': No such file or directory</re>
+        <re key="LiveMediaBuild">Ubuntu</re>
+    </pattern>
+
+    <pattern url="https://wiki.ubuntu.com/Bugs/InitramfsLiveMedia";>
+        <re key="Package">^nvidia-current </re>
+        <re key="DpkgTerminalLog">cp: cannot stat `/vmlinuz': No such file or directory</re>
+        <re key="LiveMediaBuild">Ubuntu</re>
+    </pattern>
+
+<!-- nvidia-common -->
+    
+    <pattern url="https://launchpad.net/bugs/825350";>
+	<re key="Package">^nvidia-common </re>
+	<re key="Title">nvidia-detector crashed with ValueError in __get_value_from_name()</re>
+	<re key="Traceback">ValueError: invalid literal for int\(\) with base 10: \'173-updates\'</re>
+    </pattern>
+
+<!-- metacity -->
+
+    <pattern url="http://launchpad.net/bugs/797078";>
+        <re key="Package">^metacity </re>
+        <re key="Title">metacity crashed with SIGABRT in raise()</re>
+        <re key="Signal">6</re>
+        <re key="Stacktrace">BadWindow \(invalid Window parameter\)</re>
+    </pattern>
+
+
+<!-- oneconf -->
+    <pattern url="https://launchpad.net/bugs/829570";>
+        <re key="Package">^oneconf</re>
+        <re key="Traceback">oneconf\/hosts.py.*_get_current_wallpaper_data</re>
+        <re key="Traceback">OSError: \[Errno 2\]</re>
+    </pattern>
+
+    <pattern url="https://launchpad.net/bugs/839286";>
+	<re key="Package">^oneconf</re>
+	<re key="Title">oneconf-query crashed with DBusException in call_blocking()</re>
+	<re key="Traceback">DBusException: org.freedesktop.DBus.Error.ServiceUnknown: The name :1.\d+ was not provided by any .service files</re>
+    </pattern>
+
+<!-- Converted from openswan.xml -->
+    <pattern url="https://launchpad.net/bugs/739001";>
+        <re key="Package">^openswan-modules-dkms </re>
+        <re key="DKMSBuildLog">fatal error\: linux\/config.h\: No such file or directory</re>
+    </pattern>
+
+<!-- Converted from pitivi.xml -->
+
+    <pattern url="http://launchpad.net/bugs/537619";>
+        <re key="Package">^pitivi </re>
+        <re key="Title">pitivi crashed with TypeError in do_simple_paint()</re>
+        <re key="Traceback">TypeError: Required argument 'cr' \(pos 1\) not found</re>
+    </pattern>
+
+<!-- Converted from playonlinux.xml -->
+
+    <pattern url="http://launchpad.net/bugs/392513";>
+        <re key="Package">^playonlinux </re>
+        <re key="Title">guiv3.py crashed with IndexError in AutoReload()</re>
+        <re key="Traceback">IndexError: list index out of range</re>
+    </pattern>
+
+<!-- Converted from plymouth.xml -->
+
+    <pattern url="https://launchpad.net/bugs/537262";>
+        <re key="Package">^plymouth </re>
+	<re key="ExecutablePath">/sbin/plymouthd</re>
+	<re key="Tags">shutdown-hang</re>
+    </pattern>
+    <pattern url="https://launchpad.net/bugs/553745";>
+        <re key="Package">^plymouth </re>
+	<re key="Title">plymouthd crashed with SIGSEGV in ply_event_loop_process_pending_events()</re>
+    </pattern>
+    <pattern url="https://launchpad.net/bugs/743730";>
+        <re key="Package">^plymouth </re>
+        <re key="Stacktrace">ply_list_get_first_node</re>
+        <re key="Stacktrace">ply_event_loop_run</re>
+    </pattern>
+    <pattern url="https://launchpad.net/bugs/708517";>
+        <re key="Package">^plymouth </re>
+        <re key="Title">plymouthd assert failure: plymouthd: ./plugin.c:540: map_to_device: Assertion `head->size > 0' failed.</re>
+    </pattern>
+
+<!-- Converted from policykit-1-gnome.xml -->
+
+    <pattern url="https://launchpad.net/bugs/697095";>
+        <re key="Package">^policykit-1-gnome </re>
+        <re key="StacktraceTop">g_datalist_id_set_data_full</re>
+    </pattern>
+
+<!-- Converted from postgresql-8.4.xml -->
+
+    <pattern url="https://launchpad.net/bugs/264336";>
+        <re key="Package">^postgresql-8.4 </re>
+        <re key="DpkgTerminalLog">The PostgreSQL server failed to start. Please check the log output</re>
+        <re key="DpkgTerminalLog">FATAL:</re>
+        <re key="DpkgTerminalLog">shmget\(key=.*\)\.</re>
+        <re key="Tags">apport-package</re>
+    </pattern>
+
+<!-- Converted from pymsn.xml -->
+
+    <pattern url="http://launchpad.net/bugs/343233";>
+        <re key="Package">^pymsn </re>
+        <re key="Title">crashed with ValueError in parse</re>
+        <re key="Traceback">ValueError: need more than 1 value to unpack</re>
+        <re key="Traceback">msnp2p</re>
+    </pattern>
+
+<!-- Converted from python-central.xml -->
+
+    <pattern url="https://launchpad.net/bugs/192992";>
+        <re key="Package">^python-central </re>
+        <re key="Traceback">ValueError: error parsing Python-Version attribute</re>
+    </pattern>
+    <pattern url="https://launchpad.net/bugs/192992";>
+        <re key="Package">^python-central </re>
+        <re key="Traceback">pycentral.*byte_compile</re>
+    </pattern>
+    <pattern url="https://launchpad.net/bugs/192992";>
+        <re key="Package">^python-central </re>
+        <re key="DpkgTerminalLog">pycentral.*byte_compile</re>
+    </pattern>
+
+<!-- Converted from qemulator.xml -->
+
+    <pattern url="http://launchpad.net/bugs/321955";>
+        <re key="Package">^qemulator </re>
+        <re key="Traceback">IndexError: could not find tree path</re>
+        <re key="Traceback">in on_comboboxCDromdrive_changed</re>
+    </pattern>
+
+<!-- Converted from rhythmbox-ubuntuone-music-store.xml -->
+
+    <pattern url="http://launchpad.net/bugs/608341";>
+        <re key="Package">^rhythmbox-ubuntuone-music-store </re>
+        <re key="Package">0\.1\.1-0ubuntu1$</re>
+    </pattern>
+
+<!-- Applies to samba4 -->
+
+    <pattern url="http://launchpad.net/bugs/728840";>
+        <re key="Package">^samba4 </re>
+        <re key="Package">4.0.0~alpha15~git20110124.dfsg1-2ubuntu1$</re>
+        <re key="Traceback">LdbError: \(80, 'Failed to load modules from: \/usr\/lib\/samba\/ldb</re>
+    </pattern>
+    <pattern url="http://launchpad.net/bugs/728840";>
+        <re key="Package">^samba4 </re>
+        <re key="Package">4.0.0~alpha15~git20110124.dfsg1-2ubuntu1$</re>
+        <re key="DpkgTerminalLog">LdbError: \(80, 'Failed to load modules from: \/usr\/lib\/samba\/ldb</re>
+    </pattern>
+    <pattern url="http://launchpad.net/bugs/728840";>
+        <re key="Package">^samba4 </re>
+        <re key="Package">4.0.0~alpha15~git20110124.dfsg1-2ubuntu1$</re>
+        <re key="VarLogDistupgradeTermlog">LdbError: \(80, 'Failed to load modules from: \/usr\/lib\/samba\/ldb</re>
+    </pattern>
+    <pattern url="http://launchpad.net/bugs/728840";>
+        <re key="Package">^samba4 </re>
+        <re key="Package">4.0.0~alpha15~git20110124.dfsg1-2ubuntu1$</re>
+        <re key="VarLogDistupgradeTermlog">unable to stat module /usr/lib/samba/ldb/modules/samba</re>
+    </pattern>
+    <pattern url="http://launchpad.net/bugs/728840";>
+        <re key="Package">^samba4 </re>
+        <re key="Package">4.0.0~alpha15~git20110124.dfsg1-2ubuntu1$</re>
+        <re key="VarLogDistupgradeApttermlog">unable to stat module /usr/lib/samba/ldb/modules/samba</re>
+    </pattern>
+    <pattern url="http://launchpad.net/bugs/728840";>
+        <re key="Package">^samba4 </re>
+        <re key="Package">4.0.0~alpha15~git20110124.dfsg1-2ubuntu1$</re>
+        <re key="DpkgTerminalLog">unable to stat module /usr/lib/samba/ldb/modules/samba</re>
+    </pattern>
+
+
+<!-- Converted from sbackup.xml -->
+
+    <pattern url="https://launchpad.net/bugs/311429";>
+        <re key="Package">^sbackup </re>
+	<re key="Title">simple-backup-config.py crashed with NoOptionError in get</re>
+	<re key="Traceback">NoOptionError: No option 'stop_if_no_target' in section: 'general'</re>
+    </pattern>
+
+<!-- Converted from screenlets.xml -->
+
+    <pattern url="http://launchpad.net/bugs/238841";>
+        <re key="Package">^screenlets </re>
+        <re key="Traceback">line 461, in on_draw</re>
+    </pattern>
+
+<!-- Converted from seahorse-plugins.xml -->
+
+    <pattern url="http://launchpad.net/bugs/429322";>
+        <re key="Package">^seahorse-plugins </re>
+        <re key="AssertionMessage">ERROR:iop-profiles.c:606:IOP_generate_profiles: assertion failed:</re>
+        </pattern>
+
+<!-- Converted from software-center.xml -->
+
+    <pattern url="http://launchpad.net/bugs/455861";>
+        <re key="Package">^software-center </re>
+        <re key="Traceback">aptdaemon\/debconf.py&quot;, line 109, in _accept_connection</re>
+        <re key="Traceback">error: \[Errno 9\] Bad file descriptor</re>
+    </pattern>
+    <pattern url="http://launchpad.net/bugs/494899";>
+        <re key="Package">^software-center </re>
+        <re key="Title">software-center crashed with NoSectionError in set</re>
+        <re key="Traceback">ConfigParser.py&quot;, line 377, in set</re>
+    </pattern>
+    <pattern url="http://launchpad.net/bugs/499392";>
+        <re key="Package">^software-center </re>
+        <re key="Title">software-center crashed with TypeError in call_async</re>
+        <re key="Traceback">TypeError: Don't know how which D-Bus type to use to encode type &quot;NoneType&quot;</re>
+    </pattern>
+    <pattern url="http://launchpad.net/bugs/506050";>
+        <re key="Package">^software-center </re>
+        <re key="Traceback">TypeError: can't convert return value to desired type</re>
+    </pattern>
+    <pattern url="http://launchpad.net/bugs/508436";>
+        <re key="Package">^software-center </re>
+        <re key="Traceback">in getEffectiveLevel</re>
+        <re key="Traceback">ImportError: PyGI support not enabled</re>
+    </pattern>
+    <pattern url="http://launchpad.net/bugs/496058";>
+        <re key="Package">^software-center </re>
+        <re key="Traceback">got an unexpected keyword argument 'exit_handler'</re>
+        <re key="Traceback">on_menuitem_software_sources_activate</re>
+    </pattern>
+    <pattern url="http://launchpad.net/bugs/523341";>
+        <re key="Package">^software-center </re>
+        <re key="Traceback">in do_render</re>
+        <re key="Traceback">AttributeError: 'NoneType' object has no attribute 'get_animation_len'</re>
+    </pattern>
+    <pattern url="http://launchpad.net/bugs/523420";>
+        <re key="Package">^software-center </re>
+        <re key="Title">ValueError in on_transactions_changed</re>
+        <re key="Traceback">ValueError: row sequence has wrong length</re>
+    </pattern>
+    <pattern url="http://launchpad.net/bugs/531780";>
+        <re key="Package">^software-center </re>
+        <re key="Title">crashed with AttributeError in __str__</re>
+        <re key="Traceback">AttributeError: 'NoneType' object has no attribute 'name'</re>
+        <re key="Traceback">navhistory.py</re>
+        <re key="Traceback">details.append</re>
+    </pattern>
+    <pattern url="http://launchpad.net/bugs/507836";>
+        <re key="Package">^software-center </re>
+        <re key="Title">software\-center crashed with DatabaseModifiedError in _database_gen_postlist_iter\(\)</re>
+        <re key="Traceback">DatabaseModifiedError: The revision being read has been discarded</re>
+    </pattern>
+    <pattern url="https://launchpad.net/bugs/625189";>
+        <re key="Package">^software-center </re>
+        <re key="Title">DatabaseLockError in __init__\(\): Unable to get write lock </re>
+    </pattern>
+    <pattern url="https://launchpad.net/bugs/657494";>
+        <re key="Package">^software-center </re>
+        <re key="Traceback">update_xapian_index.*\n.*axi.update_async\(True, True\)</re>
+        <re key="Traceback">DBusException: org.freedesktop.DBus.Python.PermissionDeniedError:</re>
+    </pattern>
+
+<!-- Applies to software-center -->
+
+    <pattern url="https://launchpad.net/bugs/721704";>
+        <re key="Package">^software-center </re>
+        <re key="Traceback">File "/usr/share/software-center/softwarecenter/view/catview_gtk.py".*in _on_expose</re>
+        <re key="Traceback">AttributeError: 'NoneType' object has no attribute 'allocation'</re>
+    </pattern>
+    <pattern url="https://launchpad.net/bugs/717645";>
+        <re key="Package">^software-center </re>
+        <re key="Traceback">ValueError\("Need either appname or pkgname or request"\)</re>
+        <re key="Traceback">application.py</re>
+    </pattern>
+    
+    <pattern url="https://launchpad.net/bugs/823428";>
+	<re key="Package">^software-center </re>
+	<re key="Traceback">TypeError: character mapping must return integer, None or unicode</re>
+	<re key="Title">software-center crashed with TypeError in normalize()</re>
+    </pattern>
+    
+    <pattern url="https://launchpad.net/bugs/831865";>
+	<re key="Package">^software-center </re>
+	<re key="Title">software-center-gtk3 crashed with UnicodeDecodeError in __str__()</re>
+	<re key="Traceback">UnicodeDecodeError: 'ascii' codec can't decode byte</re>
+    </pattern>
+
+    <pattern url="https://launchpad.net/bugs/834196";>
+	<re key="Package">^software-center </re>
+	<re key="Title">software-center-gtk3 crashed with AttributeError in copy()</re>
+	<re key="Traceback">AttributeError: 'NoneType' object has no attribute 'copy'</re>
+    </pattern>
+
+    <pattern url="https://launchpad.net/bugs/828553";>
+	<re key="Package">^software-center </re>
+	<re key="Title">software-center-gtk3 crashed with UnicodeDecodeError in show_add_to_launcher_panel()</re>
+	<re key="Traceback">UnicodeDecodeError: 'ascii' codec can't decode byte</re>
+    </pattern>
+
+    <pattern url="https://launchpad.net/bugs/811068";>
+	<re key="Package">^software-center </re>
+	<re key="Title">software-center crashed with GError in __init__()</re>
+	<re key="Traceback">gtk-zoom-in</re>
+    </pattern>
+    
+    <pattern url="https://launchpad.net/bugs/834260";>
+	<re key="Package">^software-center </re>
+	<re key="Title">software-center-gtk3 crashed with AttributeError in rebuild_categorised_view()</re>
+	<re key="Traceback">AttributeError: 'NoneType' object has no attribute 'query'</re>
+    </pattern>
+
+    <pattern url="https://launchpad.net/bugs/827495";>
+	<re key="Package">^software-center </re>
+	<re key="Title">software-center-gtk3 crashed with UnicodeDecodeError in _render_status_text()</re>
+	<re key="Traceback">UnicodeDecodeError: 'ascii' codec can't decode byte</re>
+    </pattern>
+
+    <pattern url="https://launchpad.net/bugs/827615";>
+	<re key="Package">^software-center </re>
+	<re key="Title">software-center crashed with TypeError in show_available_packages()</re>
+	<re key="Traceback">TypeError: this constructor takes no arguments</re>
+    </pattern>
+
+    <pattern url="https://launchpad.net/bugs/834038";>
+	<re key="Package">^software-center </re>
+	<re key="Title">software-center-gtk3 crashed with DBusException in _convert_dbus_exception()</re>
+	<re key="Traceback">DBusException: org.freedesktop.DBus.Error.UnknownMethod: Method "GetAll" with signature "s" on interface "org.freedesktop.DBus.Properties" doesn't exist</re>
+    </pattern>
+
+    <pattern url="https://launchpad.net/bugs/835129";>
+	<re key="Package">^software-center </re>
+	<re key="Title">software-center-gtk3 crashed with AttributeError in _append_new()</re>
+	<re key="Traceback">AttributeError: 'NoneType' object has no attribute 'query'</re>
+    </pattern>
+
+<!-- Applies to software-properties -->
+
+    <pattern url="https://launchpad.net/bugs/721778";>
+        <re key="Package">^software-properties</re>
+        <re key="Traceback">UnicodeDecodeError: 'ascii' codec can't decode byte 0xc2 in position 2</re>
+    </pattern>
+    
+    <pattern url="https://launchpad.net/bugs/831652";>
+	<re key="Package">^software-properties</re>
+	<re key="Title">software-properties-gtk crashed with UnicodeEncodeError in ToggleSourceUse()</re>
+	<re key="Traceback">UnicodeEncodeError: 'ascii' codec can't encode character</re>
+    </pattern>
+
+<!-- Patterns for speakup.xml -->
+
+    <pattern url="https://launchpad.net/bugs/726144";>
+        <re key="Package">^speakup</re>
+        <re key="DKMSBuildLog">buffers.c:33:46: error: .*struct vc_data.* has no member named .*vc_tty.*</re>
+    </pattern>
+
+<!-- Converted from splashy.xml -->
+
+    <pattern url="https://launchpad.net/bugs/328089";>
+        <re key="Package">^splashy </re>
+        <re key="Title">failed to install/upgrade:.*/etc/lsb-base-logging.sh.*lsb-base</re>
+    </pattern>
+
+<!-- Converted from sun-java6-bin.xml -->
+
+    <pattern url="https://launchpad.net/bugs/303609";>
+        <re key="Package">^sun-java6-bin </re>
+        <re key="DpkgTerminalLog">user did not accept the sun-dlj-v1-1 license</re>
+    </pattern>
+    <pattern url="https://launchpad.net/bugs/522383";>
+        <re key="Package">^sun-java6-bin </re>
+        <re key="DpkgTerminalLog">debconf: \(Cannot connect to /tmp/aptdaemon-[0-9a-zA-Z]{6}/debconf.socket</re>
+    </pattern>
+
+<!-- Converted from sun-java6-doc.xml -->
+
+    <pattern url="https://launchpad.net/bugs/85969";>
+        <re key="Package">^sun-java6-doc </re>
+        <re key="DpkgTerminalLog">Abort installation of JDK documentation</re>
+    </pattern>
+
+<!-- Converted from sun-java6-jre.xml -->
+
+    <pattern url="https://launchpad.net/bugs/303609";>
+        <re key="Package">^sun-java6-jre </re>
+        <re key="DpkgTerminalLog">user did not accept the sun-dlj-v1-1 license</re>
+    </pattern>
+    <pattern url="https://launchpad.net/bugs/522383";>
+        <re key="Package">^sun-java6-jre </re>
+        <re key="DpkgTerminalLog">debconf: \(Cannot connect to /tmp/aptdaemon-[0-9a-zA-Z]{6}/debconf.socket</re>
+    </pattern>
+
+<!-- Converted from system-config-printer.xml -->
+
+    <pattern url="https://launchpad.net/bugs/438793";>
+        <re key="Package">^system-config-printer </re>
+        <re key="Title">system-config-printer.py crashed with GError in populateList</re>
+        <re key="Traceback">GError: Icon 'emblem-default' not present in theme</re>
+    </pattern>
+    <pattern url="https://launchpad.net/bugs/520466";>
+        <re key="Package">^system-config-printer </re>
+        <re key="Title">system-config-printer.py crashed with AttributeError in send_reply</re>
+        <re key="Traceback">asyncipp.py</re>
+        <re key="Traceback">AttributeError: '_IPPConnectionThread' object has no attribute '_reply_handler'</re>
+    </pattern>
+
+<!-- Converted from system-config-samba.xml -->
+
+    <pattern url="https://launchpad.net/bugs/224599";>
+        <re key="Package">^system-config-samba </re>
+        <re key="Traceback">SystemError:.*/etc/libuser.conf</re>    
+    </pattern>
+
+<!-- Converted from telepathy-butterfly.xml -->
+
+    <pattern url="http://launchpad.net/bugs/401028";>
+        <re key="Package">^telepathy-butterfly </re>
+        <re key="Traceback">in b64decode</re>
+        <re key="Traceback">raise TypeError\(msg\)</re>
+        <re key="Traceback">TypeError: Incorrect padding</re>
+    </pattern>
+    <pattern url="http://launchpad.net/bugs/391912";>
+        <re key="Package">^telepathy-butterfly </re>
+        <re key="Traceback">in _dispatch_command</re>
+        <re key="Traceback">ParseError: Invalid MSNObject</re>
+    </pattern>
+    <pattern url="http://launchpad.net/bugs/194494";>
+        <re key="Package">^telepathy-butterfly </re>
+        <re key="Traceback">switchboard_manager.py.*__on_message_undelivered</re>
+        <re key="Traceback">NotImplementedError</re>
+    </pattern>
+    <pattern url="http://launchpad.net/bugs/459366";>
+        <re key="Package">^telepathy-butterfly </re>
+	<re key="Traceback">TypeError: Expected a string or unicode object</re>
+	<re key="Traceback">emit_signal</re>
+    </pattern>
+    <pattern url="http://launchpad.net/bugs/430768";>
+        <re key="Package">^telepathy-butterfly </re>
+	<re key="Traceback">self._status == IoStatus.OPEN</re>
+	<re key="Traceback">AssertionError: 1</re>
+    </pattern>
+    <pattern url="http://launchpad.net/bugs/343233";>
+        <re key="Package">^telepathy-butterfly </re>
+        <re key="Title">crashed with ValueError in parse</re>
+        <re key="Traceback">ValueError: need more than 1 value to unpack</re>
+        <re key="Traceback">msnp2p</re>
+    </pattern>
+    <pattern url="http://launchpad.net/bugs/464902";>
+        <re key="Package">^telepathy-butterfly </re>
+	<re key="Traceback">NotImplementedError</re>
+	<re key="Traceback">switchboard_manager.py.*__on_user_invitation_failed</re>
+    </pattern>
+    <pattern url="http://launchpad.net/bugs/450951";>
+        <re key="Package">^telepathy-butterfly </re>
+        <re key="Title">telepathy-butterfly crashed with KeyError in __getitem__\(\)</re>
+        <re key="Traceback">session = self\._sessions\[session_id\]</re>
+        <re key="Traceback">KeyError: \d+</re>
+    </pattern>
+    <pattern url="http://launchpad.net/bugs/628748";>
+        <re key="Package">^telepathy-butterfly </re>
+        <re key="Title">telepathy\-butterfly crashed with KeyError in parse\(\)</re>
+        <re key="Traceback">KeyError: 'Location'</re>
+    </pattern>
+
+<!-- Converted from tex-common.xml -->
+
+    <pattern url="https://launchpad.net/bugs/581145";>
+        <re key="Package">^tex-common </re>
+        <re key="DpkgTerminalLog">No packages found matching texlive-base</re>
+    </pattern>
+
+    <pattern url="http://launchpad.net/bugs/816740";>
+	<re key="Package">^totem </re>
+	<re key="Title">totem crashed with SIGSEGV in g_type_name()</re>
+	<re key="Stacktrace">g_type_name</re>
+	<re key="Stacktrace">peas_gi_get_method_info</re>
+    </pattern>
+<!-- Converted from ubiquity.xml -->
+
+    <pattern url="http://launchpad.net/bugs/398614";>
+        <re key="Package">^ubiquity </re>
+        <re key="Traceback">XStartupError: X server exited with return code 1</re>
+    </pattern>
+    <pattern url="http://launchpad.net/bugs/234835";>
+        <re key="Package">^ubiquity </re>
+        <re key="OriginalTitle">ubiquity crashed with InstallStepError in configure_ma</re>
+        <re key="Traceback">InstallStepError: MigrationAssistantApply failed with code 2</re>
+    </pattern>
+    <pattern url="http://launchpad.net/bugs/649895";>
+        <re key="Package">^ubiquity </re>
+        <re key="OriginalTitle">ubiquity crashed with AttributeError in reset_locale\(\)</re>
+        <re key="Traceback">di_locale = frontend.db.get\('debian-installer/locale'\)</re>
+        <re key="Traceback">AttributeError: 'NoneType' object has no attribute 'get'</re>
+    </pattern>
+    <pattern url="http://launchpad.net/bugs/792652";>
+        <re key="Package">^ubiquity </re>
+        <re key="Traceback">debconf.py</re>
+        <re key="Traceback">self.write.write\("%s %s\\n" % \(command, ' '.join\(map\(str, params\)\)\)\)</re>
+        <re key="Traceback">ValueError: I/O operation on closed file</re>
+    </pattern>
+    <pattern url="http://launchpad.net/bugs/743359";>
+        <re key="Package">^ubiquity </re>
+        <re key="UbiquitySyslog">in _fetch_archives</re>
+        <re key="UbiquitySyslog">plugininstall.py: LockFailedException: Failed to lock \/target\/var\/cache\/apt\/archives\/lock</re>
+    </pattern>
+    <pattern url="http://launchpad.net/bugs/220961";>
+        <re key="Package">^ubiquity </re>
+        <re key="UbiquitySyslog">No space left on device</re>
+    </pattern>
+
+<!-- Converted from ubuntuone-client.xml -->
+
+    <pattern url="http://launchpad.net/bugs/368626";>
+        <re key="Package">^ubuntuone-client </re>
+        <re key="UbuntuOneSyncdaemonExceptionsLog">UnicodeDecodeError</re>
+    </pattern>
+    <pattern url="http://launchpad.net/bugs/467397";>
+        <re key="Package">^ubuntuone-client </re>
+        <re key="UbuntuOneOAuthLoginLog">KeyError: 'ROUND_CEiLiNG'</re>
+    </pattern>
+    <pattern url="http://launchpad.net/bugs/387308";>
+        <re key="Package">^ubuntuone-client </re>
+        <re key="UbuntuOneOAuthLoginLog">\[Errno socket error\] \[Errno (1|8)\] _ssl.c</re>
+    </pattern>
+    <pattern url="http://launchpad.net/bugs/455544";>
+        <re key="Package">^ubuntuone-client </re>
+        <re key="UbuntuOneUserSyncdaemonConfig">on = True</re>
+        <re key="UbuntuOneUserSyncdaemonConfig">(read|write)_limit = -1</re>
+    </pattern>
+    <pattern url="http://launchpad.net/bugs/480069";>
+        <re key="Package">^ubuntuone-client </re>
+        <re key="UbuntuOneSyncdaemonExceptionsLog">AttributeError: 'WaitForCondition' object has no attribute 'share_id'</re>
+    </pattern>
+    <pattern url="http://launchpad.net/bugs/517505";>
+        <re key="Package">^ubuntuone-client </re>
+        <re key="UbuntuOneSyncdaemonExceptionsLog">AttributeError:.*object has no attribute '_upgrade_metadata_6'</re>
+    </pattern>
+    <pattern url="http://launchpad.net/bugs/457147";>
+        <re key="Package">^ubuntuone-client </re>
+        <re key="UbuntuOneSyncdaemonExceptionsLog">BadTransition: State.* can't handle the SYS_CONNECTION_MADE event</re>
+    </pattern>
+    <pattern url="http://launchpad.net/bugs/458393";>
+        <re key="Package">^ubuntuone-client </re>
+        <re key="UbuntuOneSyncdaemonExceptionsLog">BadTransition: State.*can't handle the SYS_SERVER_RESCAN_DONE event</re>
+    </pattern>
+    <pattern url="http://launchpad.net/bugs/478653";>
+        <re key="Package">^ubuntuone-client </re>
+        <re key="UbuntuOneSyncdaemonExceptionsLog">BadTransition: State.*can't handle the SYS_OAUTH_ERROR event</re>
+    </pattern>
+    <pattern url="http://launchpad.net/bugs/414371";>
+        <re key="Package">^ubuntuone-client </re>
+        <re key="UbuntuOneSyncdaemonExceptionsLog">IOError: \[Errno 13\].*'.*syncdaemon/(fsm|metadata).*'</re>
+    </pattern>
+    <pattern url="http://launchpad.net/bugs/522030";>
+        <re key="Package">^ubuntuone-client </re>
+        <re key="UbuntuOneSyncdaemonExceptionsLog">OSError: \[Errno 1\].*'.*ubuntuone/shares'</re>
+    </pattern>
+    <pattern url="http://launchpad.net/bugs/462828";>
+        <re key="Package">^ubuntuone-client </re>
+        <re key="Package">ubuntuone-client 1.0.2-0ubuntu1</re>
+    </pattern>
+    <pattern url="http://launchpad.net/bugs/528203";>
+        <re key="Package">^ubuntuone-client </re>
+        <re key="Title">failed to install/upgrade: trying to overwrite '/usr/lib/ubuntuone-client/ubuntuone-login', which is also in package ubuntuone-client</re>
+    </pattern>
+    <pattern url="http://launchpad.net/bugs/537610";>
+        <re key="Package">^ubuntuone-client </re>
+        <re key="UbuntuOneSyncdaemonExceptionsLog">ValueError: (Read|Write) limit must be greater than 0</re>
+        <re key="UbuntuOneSyncdaemonConfig">on = False</re>
+        <re key="UbuntuOneSyncdaemonConfig">(read|write)_limit = 0</re>
+    </pattern>
+    <pattern url="http://launchpad.net/bugs/537610";>
+        <re key="Package">^ubuntuone-client </re>
+        <re key="UbuntuOneSyncdaemonExceptionsLog">ValueError: (Read|Write) limit must be greater than 0</re>
+        <re key="UbuntuOneUserSyncdaemonConfig">on = False</re>
+        <re key="UbuntuOneUserSyncdaemonConfig">(read|write)_limit = 0</re>
+    </pattern>
+    <pattern url="http://launchpad.net/bugs/553232";>
+        <re key="Package">^ubuntuone-client </re>
+        <re key="Title">AttributeError in handle_bw_controls_changed</re>
+    </pattern>
+    <pattern url="http://launchpad.net/bugs/562286";>
+        <re key="Package">^ubuntuone-client </re>
+        <re key="UbuntuOneOAuthLoginLog">Token was not successfully retrieved: data was</re>
+        <re key="UbuntuOneOAuthLoginLog">&lt;title&gt;Ubuntu One : Home&lt;/title&gt;</re>
+        <re key="Title">ubuntuone-login crashed with AttributeError in from_token_and_callback\(\)</re>
+    </pattern>
+    <pattern url="http://launchpad.net/bugs/554561";>
+        <re key="Package">^ubuntuone-client </re>
+        <re key="Title">ubuntuone-syncdaemon crashed with AttributeError in _upgrade_metadata_3</re>
+    </pattern>
+    <pattern url="http://launchpad.net/bugs/708183";>
+        <re key="Package">^ubuntuone-client </re>
+        <re key="Title">ubuntuone-syncdaemon crashed with ImportError in .* No module named status\.aggregator</re>
+    </pattern>
+    <pattern url="http://launchpad.net/bugs/731023";>
+        <re key="Package">^ubuntuone-client</re>
+        <re key="Traceback">ImportError: No module named Dee</re>
+    </pattern>
+    <pattern url="http://launchpad.net/bugs/420705";>
+        <re key="Package">^ubuntuone-client</re>
+        <re key="Traceback">org\.freedesktop\.DBus\.Error\.NoServer</re>
+    </pattern>
+    <pattern url="http://launchpad.net/bugs/735464";>
+        <re key="Package">^ubuntuone-client</re>
+        <re key="Traceback">subprocess\.Popen\(\['ubuntuone-control-panel-gtk'\]\)</re>
+        <re key="Traceback">OSError.*Errno 2</re>
+    </pattern>
+    <pattern url="http://launchpad.net/bugs/711221";>
+        <re key="Package">^ubuntuone-client</re>
+        <re key="Traceback">connection.py.*in call_blocking</re>
+        <re key="Traceback">message, timeout</re>
+        <re key="Traceback">DBusException: org\.freedesktop\.DBus\.Error\.Disconnected: Connection was disconnected before a reply was received</re>
+    </pattern>
+
+<!-- Ubuntu SSO Client -->
+    <pattern url="http://launchpad.net/bugs/711413";>
+        <re key="Package">^ubuntu-sso-client</re>
+        <re key="Traceback">org\.freedesktop\.DBus\.Error\.NoServer</re>
+    </pattern>
+
+<!-- Converted from update-manager.xml -->
+
+    <pattern url="https://launchpad.net/bugs/519882";>
+        <re key="Package">^update-manager </re>
+        <re key="Title">update-manager crashed with CacheExceptionDpkgInterrupted in __init__\(\)</re>
+        <re key="Traceback">CacheExceptionDpkgInterrupted: E:dpkg</re>
+        <re key="Tags">apport-crash</re>
+        <re key="Tags">lucid</re>  
+    </pattern>
+    <pattern url="https://launchpad.net/bugs/341503";>
+        <re key="Package">^update-manager </re>
+        <re key="Title">update-manager crashed with SystemError in requiredDownload</re>
+        <re key="Traceback">pm.GetArchives</re>
+    </pattern>
+    <pattern url="https://launchpad.net/bugs/350988";>
+        <re key="Package">^update-manager </re>
+        <re key="Title">update-manager crashed with RuntimeError in .module.</re>
+        <re key="Traceback">RuntimeError: could not open display</re>
+    </pattern>
+    <pattern url="https://launchpad.net/bugs/704667";>
+        <re key="Package">^update-manager </re>
+        <re key="OriginalTitle">update-manager crashed with NotAuthorizedError in _run\(\): org.freedesktop.PolicyKit.Error.NotAuthorized: \('system-bus-name', \{'name':  ':1.\d+'\}\): org.debian.apt.upgrade-packages</re>
+    </pattern>
+    <pattern url="https://launchpad.net/bugs/707990";>
+        <re key="Package">^update-manager </re>
+        <re key="Title">update-manager crashed with DBusException</re>
+        <re key="Traceback">_on_clicked</re>
+        <re key="Traceback">transaction.cancel()</re>
+    </pattern>
+    <pattern url="https://launchpad.net/bugs/626798";>
+        <re key="Package">^update-manager </re>
+        <re key="OriginalTitle">update-manager crashed with DBusException in _run\(\)</re>
+        <re key="Traceback">yield self._transaction.run\(.*\)</re>
+        <re key="Traceback">DBusException: org.*.DBus.Error.NoReply: Did not receive a reply.</re>
+    </pattern>
+    <pattern url="https://launchpad.net/bugs/659438";>
+        <re key="Traceback">pm.get_archives</re>
+        <re key="Traceback">I wasn't able to locate file for the.*package.</re>
+        <re key="Package">^update-manager </re>
+    </pattern>
+    <pattern url="https://launchpad.net/bugs/807715";>
+        <re key="Package">^update-manager </re>
+        <re key="Traceback">ImportError: cannot import name GConf</re>
+    </pattern>
+
+    <pattern url="https://launchpad.net/bugs/819234";>
+	<re key="Package">^update-manager </re>
+	<re key="Traceback">NotAuthorizedError: org.freedesktop.PolicyKit.Error.NotAuthorized: \('system-bus-name', \{'name':  \':1.\d+'\}\): org.debian.apt.install-or-remove-packages</re>
+    </pattern>
+
+<!-- Converted from update-notifier.xml -->
+
+    <pattern url="https://launchpad.net/bugs/403192";>
+        <re key="Package">^update-notifier </re>
+        <re key="Stacktrace">gdu_pool_get_devices</re>
+    </pattern>
+    <pattern url="https://launchpad.net/bugs/467875";>
+        <re key="Package">^update-notifier </re>
+        <re key="Stacktrace">in pkgCache::FindPkg</re>
+        <re key="Stacktrace">at pkgcache.cc:189</re>
+    </pattern>
+    <pattern url="https://launchpad.net/bugs/340479";>
+        <re key="Package">^update-notifier </re>
+        <re key="Title">apt_check.py crashed with SIGSEGV in pkgCacheGenerator::MergeList</re>
+        <re key="StacktraceTop">pkgCacheGenerator::MergeList</re>
+    </pattern>
+    <pattern url="https://launchpad.net/bugs/440498";>
+        <re key="Package">^update-notifier </re>
+        <re key="Title">apt_check.py crashed with SIGSEGV in pkgCacheGenerator::ListParser::NewDepends</re>
+        <re key="Stacktrace">pkgCacheGenerator::ListParser::NewDepends</re>
+    </pattern>
+
+<!-- Converted from upstart-compat-sysv.xml -->
+
+    <pattern url="https://launchpad.net/bugs/273761";>
+        <re key="Package">^upstart-compat-sysv </re>
+        <re key="ProcCmdline">(tel)?init u</re>
+	<re key="Package">^upstart(-compat-sysv)? 0.3.9-7$</re>
+    </pattern>
+
+<!-- Converted from upstart.xml -->
+
+    <pattern url="https://launchpad.net/bugs/273761";>
+        <re key="Package">^upstart </re>
+        <re key="ProcCmdline">(tel)?init u</re>
+	<re key="Package">^upstart(-compat-sysv)? 0.3.9-7$</re>
+    </pattern>
+
+<!-- Converted from util-linux.xml -->
+
+    <pattern url="https://launchpad.net/bugs/539515";>
+        <re key="Package">^util-linux </re>
+	<re key="ProcCmdline">mount /media/floppy0</re>
+	<re key="Tags">shutdown-hang</re>
+    </pattern>
+
+<!-- Converted from wicd.xml -->
+
+    <pattern url="https://launchpad.net/bugs/584338";>
+        <re key="Package">^wicd-daemon </re>
+        <re key="VarLogDistupgradeApttermlog">adduser\: The user .* does not exist</re>
+    </pattern>
+    <pattern url="https://launchpad.net/bugs/584338";>
+        <re key="Package">^wicd-daemon </re>
+        <re key="DpkgTerminalLog">adduser\: The user .* does not exist</re>
+    </pattern>
+
+<!-- Converted from xfstt.xml -->
+
+    <pattern url="http://launchpad.net/bugs/433146";>
+        <re key="Package">^xfstt </re>
+        <re key="AssertionMessage">buffer overflow detected \*\*\*: /usr/bin/xfstt terminated</re>
+    </pattern>
+
+<!-- Converted from yelp.xml -->
+
+    <pattern url="http://launchpad.net/bugs/528169";>
+        <re key="Package">^yelp </re>
+        <re key="Title">yelp crashed with signal 5 in _XError</re>
+        <re key="Stacktrace">buf = &quot;RenderBadPicture \(invalid Picture parameter\)&quot;</re>
+    </pattern>
+
+<!-- zeitgeist -->
+
+    <pattern url="http://launchpad.net/bugs/807950";>
+	<re key="Package">^zeitgeist</re>
+	<re key="Title">zeitgeist-daemon crashed with LookupError in remove_from_connection</re>
+	<re key="Traceback">LookupError: &lt;_zeitgeist.engine.remote.RemoteInterface at /org/gnome/zeitgeist/log/activity at *</re>
+	<re key="Traceback">is not exported at a location matching \(None,None\)</re>
+    </pattern>
+
+    <pattern url="https://launchpad.net/bugs/834067";>
+	<re key="Package">^zeitgeist</re>
+	<re key="Title">zeitgeist-daemon crashed with SIGSEGV in Xapian::WritableDatabase::add_document()</re>
+	<re key="StacktraceTop">Xapian::WritableDatabase::add_document</re>
+    </pattern>
+
+    <pattern url="https://launchpad.net/bugs/840542";>
+	<re key="Package">^zeitgeist</re>
+	<re key="Title">zeitgeist-daemon crashed with SIGSEGV in std::_Rb_tree_increment()</re>
+	<re key="StacktraceTop">std::_Rb_tree_increment</re>
+    </pattern>
+
+    <pattern url="https://launchpad.net/bugs/839740";>
+	<re key="Package">^zeitgeist</re>
+	<re key="Title">zeitgeist-daemon crashed with RuntimeError in _check_index()</re>
+	<re key="Traceback">RuntimeError: basic_string::assign</re>
+    </pattern>
+
+    <pattern url="https://launchpad.net/bugs/841922";>
+	<re key="Package">^zeitgeist</re>
+	<re key="Title">zeitgeist-daemon crashed with DocNotFoundError in _check_index_and_start_worker()</re>
+	<re key="Traceback">DocNotFoundError: Document \d+ not found</re>
+    </pattern>
+
+<!-- Converted from libxcb.xml -->
+    <pattern url="http://launchpad.net/bugs/507062";>
+        <re key="AssertionMessage">_XAllocID:.*ret.*inval_id</re>
+    </pattern>
+
+<!-- branding-ubuntu bugs -->
+
+    <pattern url="http://launchpad.net/bugs/753449";>
+        <re key="Package">branding-ubuntu</re>
+        <re key="ErrorMessage">/usr/share/gnome-games/quadrapassel/pixmaps/quadrapassel.svg.*quadrapassel</re>
+    </pattern>
+
+<!-- pyatspi bugs -->
+    <pattern url="http://launchpad.net/bugs/827100";>
+        <re key="Package">pyatspi</re>
+        <re key="DpkgTerminalLog">SyntaxError: \('invalid syntax', \('/usr/lib/python2.7/dist-packages/pyatspi/text.py', 474,</re>
+    </pattern>
+
+<!-- language-selector bugs -->
+    <pattern url="http://launchpad.net/bugs/827176";>
+        <re key="Package">language-selector</re>
+        <re key="Traceback">File "/usr/bin/fontconfig-voodoo"</re>
+        <re key="Traceback">DBusException: org.freedesktop.DBus.Error.UnknownMethod: Method "Get" with signature "ss" on interface "org.freedesktop.DBus.Properties" doesn't exist</re>
+    </pattern>
+
+    <pattern url="https://launchpad.net/bugs/833065";>
+	<re key="Package">^language-selector</re>
+	<re key="Title">fontconfig-voodoo crashed with TypeError in getUserDefaultLanguage()</re> 
+	<re key="Traceback">TypeError: expected string or buffer</re>
+    </pattern>
+
+<!-- ubuntu-meta -->
+    <pattern url="http://launchpad.net/bugs/828759";>
+        <re key="Package">ubuntu-desktop</re>
+        <re key="VarLogDistupgradeApttermlog">dpkg: dependency problems prevent configuration of ubuntu-desktop:</re>
+        <re key="VarLogDistupgradeApttermlog">Package at-spi2-core is not installed.</re>
+        <re key="VarLogDistupgradeApttermlog">Package libatk-adaptor is not installed.</re>
+    </pattern>
+
+</patterns>

=== added file 'convert.py'
--- convert.py	1970-01-01 00:00:00 +0000
+++ convert.py	2011-09-07 13:50:14 +0000
@@ -0,0 +1,28 @@
+#!/usr/bin/python
+
+import glob
+import os
+from xml.dom.minidom import parseString
+from codecs import open
+
+outfile = 'bugpatterns.xml'
+out = open(outfile, encoding='utf-8', mode='wb')
+out.write('''<?xml version="1.0"?>
+
+<patterns>
+''')
+
+for path in sorted(glob.glob('*.xml')):
+    if path == outfile: continue
+
+    pkg = os.path.splitext(path)[0]
+    dom = parseString(open(path).read())
+
+    out.write('\n<!-- Converted from %s -->\n\n' % path)
+    for pattern in dom.getElementsByTagName('pattern'):
+        xml = pattern.toxml()
+        out.write('    ')
+        out.write(xml)
+        out.write('\n')
+
+out.write('</patterns>\n')

=== added file 'search-bugs'
--- search-bugs	1970-01-01 00:00:00 +0000
+++ search-bugs	2011-09-07 13:50:14 +0000
@@ -0,0 +1,188 @@
+#!/usr/bin/python
+# Author: Brian Murray <brian@xxxxxxxxxxxxx>
+# Copyright (C) 2009 Canonical, Ltd.
+# License: GPLv3
+#
+# Given a package name and some criteria query Launchpad for a bug list
+# then check each bug against the package's bug pattern
+#
+# missing the ability to search for no tags
+
+from apport.crashdb import get_crashdb
+from datetime import datetime
+from datetime import timedelta
+from launchpadlib.launchpad import Launchpad
+from launchpadlib.credentials import Credentials
+from launchpadlib.errors import HTTPError
+
+import apport
+import optparse
+import os
+import re
+import sys
+import tempfile
+
+def connect():
+    cachedir = os.path.expanduser('~/.launchpadlib/cache')
+    if not os.path.exists(cachedir):
+        os.makedirs(cachedir,0700)
+
+    root = 'production'
+    credfile = os.path.expanduser('~/.launchpadlib/credentials-lpnet')
+    launchpad = Launchpad.login_with(sys.argv[0], credentials_file=credfile,
+            service_root=root, launchpadlib_dir=cachedir, version="devel")
+    return launchpad
+
+def mark_as_duplicate(master_number, bug):
+    comment="Thank you for taking the time to report this bug and helping to make Ubuntu better. This particular bug has already been reported and is a duplicate of bug %s, so it is being marked as such. Please look at the other bug report to see if there is any missing information that you can provide, or to see if there is a workaround for the bug.  Additionally, any further discussion regarding the bug should occur in the other report.  Please continue to report any other bugs you may find." % (master_number)
+    master = lp.bugs[master_number]
+    # 2011-02-17 this is redundant as it is built into LP (I think)
+    #if bug.duplicates:
+    #    for duplicate in bug.duplicates:
+    #        mark_as_duplicate(master_number, duplicate)
+    #        print 'Taking care of a bug with duplicates'
+    #    mark_as_duplicate(master_number, bug)
+    #else:
+    for task in bug.bug_tasks:
+        task.status = 'Confirmed'
+    bug.newMessage(content=comment)
+    bug.duplicate_of = master
+    bug.lp_save()
+    print 'Modified LP: #%s' % ( task.bug.id )
+
+
+def trim_dpkg_log(report):
+    '''Trim DpkgTerminalLog to the most recent installation session.
+       Taken from apport data/general-hook/ubuntu.py'''
+
+    if 'DpkgTerminalLog' not in report:
+        return
+    lines = []
+    trim_re = re.compile('^\(.* ... \d+ .*\)$')
+    for line in report['DpkgTerminalLog'].splitlines():
+        if line.startswith('Log started: ') or trim_re.match(line):
+            lines = []
+            continue
+        lines.append(line)
+    report['DpkgTerminalLog'] = '\n'.join(lines)
+
+
+parser = optparse.OptionParser(usage="usage: %prog -p PACKAGE -t TAG(s) "\
+    "[options]")
+parser.add_option("-p", "--package", help="Filter on PACKAGE", dest="package",
+    metavar="PACKAGE")
+parser.add_option("-s", "--status", help="Filter on STATUS", dest="status",
+    metavar="STATUS")
+parser.add_option("-t", "--tags", help="Filter on TAG,TAG", dest="tags",
+    metavar="TAGS")
+parser.add_option("-d", "--dupes", help="Include duplicates in search",
+    dest="dupes", action="store_true")
+parser.add_option("-q", "--quiet", help="Only print bug numbers",
+    dest="quiet", action="store_true")
+parser.add_option("-a", "--all", help="Check all package bugs", dest="all",
+    action="store_true")
+parser.add_option("-k", "--keywords", help="Search for KEYWORDS",
+    dest="keywords", metavar="KEYWORDS")
+parser.add_option("-w", "--within", help="Search for bugs reported within the past X days",
+    dest="within", metavar="WITHIN")
+parser.add_option("-C", "--consolidate", dest="consolidate",
+    help="Mark bugs as duplicate of master bug in pattern",
+    action="store_true")
+
+(opt, args) = parser.parse_args()
+
+# Connect to Launchpad
+lp = connect()
+
+status_list = []
+tag_list = []
+ubuntu = lp.distributions['ubuntu']
+
+valid_status = ['New', 'Incomplete', 'Invalid', "Won't Fix", 'Confirmed',
+                'Triaged', 'In Progress', 'Fix Committed', 'Fix Released',
+                'Unknown']
+
+if not opt.status:
+    status_list = ['New', 'Incomplete', 'Confirmed', 'Triaged',
+                   'In Progress', 'Fix Committed' ]
+elif opt.status:
+    if opt.status not in valid_status:
+        print >> sys.stderr, ("Invalid status '%s'. Aborting") % (opt.status)
+        sys.exit(1)
+    else:
+        status_list.append(opt.status)
+
+if opt.package == 'ubuntu':
+    package = ubuntu
+if opt.package != 'ubuntu':
+    package = ubuntu.getSourcePackage(name='%s' % opt.package)
+elif not opt.package:
+    print >> sys.stderr, ("A package is required.")
+    sys.exit(1)
+
+if opt.dupes:
+    dupes = False
+elif not opt.dupes:
+    dupes = True
+
+if opt.tags:
+    for tag in opt.tags.split(','):
+        tag_list.append(tag)
+
+if opt.within:
+    period = int(opt.within)
+    today = datetime.utcnow()
+    search_start = today - timedelta(period)
+elif not opt.within:
+    search_start = None
+
+
+search_args = {'tags': tag_list,
+               'tags_combinator': 'All',
+               'order_by': '-datecreated',
+               'status': opt.status,
+               'search_text': opt.keywords,
+               'omit_duplicates': dupes,
+               'created_since': search_start}
+
+tasks = package.searchTasks(**search_args)
+for task in tasks:
+    # they should be retraced first
+    if 'need-i386-retrace' in task.bug.tags or 'need-amd64-retrace' in task.bug.tags:
+        continue
+    db = get_crashdb(None)
+    try:
+        report = db.download(task.bug.id)
+    except AssertionError, error:
+        print "LP: #%s: %s" % (task.bug.id, error)
+        continue
+    except Exception, error:
+        print "LP: #%s: %s" % (task.bug.id, error)
+        continue
+
+    # trim the dpkg log file
+    trim_dpkg_log(report)
+
+    try:
+        match = report.search_bug_patterns('bugpatterns.xml')
+    except AssertionError, error:
+        print "%s" % error
+        continue
+
+    if match and not opt.quiet:
+        # this should handle wiki urls somehow
+        master_number = match.split('/')[-1]
+        if str(master_number) == str(task.bug.id) and not opt.all:
+            print "Reached master bug LP: #%s" % master_number
+            break
+        print 'LP: #%s (%s, %s): Matched bug pattern: %s' % (task.bug.id,
+            task.status, task.importance, match)
+        if opt.consolidate:
+            if task.bug.duplicate_of:
+                print 'LP: #%s is already a duplicate of another bug' % (task.bug.id)
+                break
+            elif int(task.bug.id) == int(master_number):
+                continue
+            mark_as_duplicate(master_number, task.bug)
+    elif match and opt.quiet:
+        print '%s' % (task.bug.id)

=== added file 'test-local'
--- test-local	1970-01-01 00:00:00 +0000
+++ test-local	2011-09-07 13:50:14 +0000
@@ -0,0 +1,33 @@
+#!/usr/bin/python
+
+import sys
+
+import apport
+from apport.crashdb import get_crashdb
+
+if len(sys.argv) != 2:
+    print >> sys.stderr, 'Usage: %s <.crash file or bug number>' % sys.argv[0]
+    sys.exit(1)
+
+if sys.argv[1].isdigit():
+    db = get_crashdb(None)
+    report = db.download(sys.argv[1])
+    #report.write(open('/tmp/report.crash', 'w'))
+else:
+    report = apport.Report()
+    try:
+        f = open(sys.argv[1])
+    except IOError, e:
+        print >> sys.stderr, 'Cannot open report file: %s' % str(e)
+        sys.exit(1)
+    report.load(f)
+    f.close()
+
+match = report.search_bug_patterns('bugpatterns.xml')
+
+if match:
+    print 'LP: #%s: Matched bug pattern: %s' % ( sys.argv[1], match )
+    sys.exit(0)
+else:
+    print 'LP: #%s: No match' % sys.argv[1]
+    sys.exit(1)

=== added file 'update-tags'
--- update-tags	1970-01-01 00:00:00 +0000
+++ update-tags	2011-09-07 13:50:14 +0000
@@ -0,0 +1,129 @@
+#!/usr/bin/python
+# Author: Matt Zimmerman <mdz@xxxxxxxxxx>
+# Copyright (C) 2011 Canonical, Ltd.
+# License: GPLv3
+#
+# Update the bugpattern-needed / bugpattern-written tags for bugs for which
+# patterns exist
+
+from launchpadlib.launchpad import Launchpad
+
+import xml.dom.minidom
+
+import argparse
+import sys
+
+BUGPATTERNS = 'bugpatterns.xml'
+
+class BugDatabase:
+    def __init__(self):
+        self.launchpad = None
+        self.ubuntu = None
+
+    def connect(self, authenticated=False):
+        progname = 'ubuntu-bugpatterns/update-tags'
+        root = 'staging'
+
+        if authenticated:
+            self.launchpad = Launchpad.login_with(progname, root)
+        else:
+            self.launchpad = Launchpad.login_anonymously(progname, root)
+
+        self.ubuntu = self.launchpad.distributions['ubuntu']
+
+# Launchpad makes this harder than this unfortunately :-(
+#    def bugs_with_tag(self, tag):
+#        bugs = set()
+#        for task in self.ubuntu.searchTasks(tags=tag):
+#            bugs.add(task.bug.id)
+#        return bugs
+
+    def bug_has_tag(self, bug, tag):
+        return tag in self.launchpad.bugs[bug].tags
+
+    def bug_add_tag(self, bug, tag):
+        bug = self.launchpad.bugs[bug]
+        new_tags = bug.tags[:]
+        new_tags.append(tag)
+        bug.tags = new_tags
+        bug.lp_save()
+
+    def bug_remove_tag(self, bug, tag):
+        bug = self.launchpad.bugs[bug]
+        new_tags = bug.tags[:]
+        new_tags.remove(tag)
+        bug.tags = new_tags
+        bug.lp_save()
+
+def urls_from_dom(dom):
+    urls = set()
+
+    for pattern in dom.getElementsByTagName('pattern'):
+        if not pattern.attributes.has_key('url'): continue
+
+        url = pattern.attributes['url'].nodeValue
+
+        urls.add(url)
+
+    return urls
+        
+def bug_numbers_from_urls(urls):
+    bug_numbers = set()
+    for url in urls:
+        if not 'launchpad.net/bugs/' in url: continue
+
+        bug_number = int(url.split('/')[-1])
+        bug_numbers.add(bug_number)
+    return bug_numbers
+
+def bug_to_url(bug):
+    return 'http://launchpad.net/bugs/%d' % bug
+
+def bugs_to_string(bugs):
+    '\n'.join(map(bug_to_url, bugs))
+
+def main():
+    parser = argparse.ArgumentParser(description='Fix up bugpattern-{needed,written} tags')
+    parser.add_argument("--file", help="File to read bugpatterns from", dest="file", action="store")
+    parser.add_argument("--dry-run", help="Dry run (make no changes)", dest="dry_run", action="store_true")
+    parser.add_argument("-r", help="Bazaar revisionspec to compare against when checking recent patterns (ignored for --all-patterns)", dest="revision", default='last:2')
+
+    args = parser.parse_args()
+
+    dom = xml.dom.minidom.parseString(open(BUGPATTERNS).read())
+    urls = urls_from_dom(dom)
+
+    bugs_with_patterns = bug_numbers_from_urls(urls)
+    if not bugs_with_patterns:
+        print "No patterns found"
+        return
+
+    print "Found bug patterns for %d bugs" % len(bugs_with_patterns)
+
+    db = BugDatabase()
+    db.connect(authenticated=not args.dry_run)
+
+    changes = set()
+    for bug in bugs_with_patterns:
+        if db.bug_has_tag(bug, 'bugpattern-needed'):
+            # remove the bugpattern-needed tag
+            changes.add((bug, 'bugpattern-needed', False))
+        if not db.bug_has_tag(bug, 'bugpattern-written'):
+            # add the bugpattern-written tag
+            changes.add((bug, 'bugpattern-written', True))
+
+    if changes:
+        for bug, tag, state in changes:
+            print "%s - %s %s" % (bug_to_url(bug), state and 'add' or 'remove', tag)
+            if args.dry_run: continue
+
+            if state:
+                db.bug_add_tag(bug, tag)
+            else:
+                db.bug_remove_tag(bug, tag)
+    else:
+        print "All good!"
+
+if __name__ == '__main__':
+    main()
+    sys.exit(0)