crash while reporting firefox bug: exception in apport hook in install_ini_parser (via minidom.parse(rdf_file))

Bug #531991 reported by Bogdan Butnaru
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
firefox (Ubuntu)
Invalid
Medium
Unassigned

Bug Description

Binary package hint: apport

Hello!

I've tried reporting a bug about Firefox using ubuntu-bug, and I noticed the error message below. However, the bug report did open in FF, and I continued on that page to report bug #531987. (In case someone might take a look at that and see if anything's missing among the automatically-gathered info.)

bogdanb@mabelode:~$ ubuntu-bug firefox
hook /usr/share/apport/package-hooks//firefox.py crashed:
Traceback (most recent call last):
  File "/usr/lib/python2.6/dist-packages/apport/report.py", line 618, in add_hooks_info
    symb['add_info'](self)
  File "/usr/share/apport/package-hooks//firefox.py", line 183, in add_info
    extension_summary += extension_summary_helper(extensions_dict['local_extensions'], 'Local Extensions')
  File "/usr/share/apport/package-hooks//firefox.py", line 80, in extension_summary_helper
    summary += ''' %s\n''' % install_ini_parser(extension)
  File "/usr/share/apport/package-hooks//firefox.py", line 52, in install_ini_parser
    dom_doc = minidom.parse(rdf_file)
  File "/usr/lib/python2.6/xml/dom/minidom.py", line 1918, in parse
    return expatbuilder.parse(file)
  File "/usr/lib/python2.6/xml/dom/expatbuilder.py", line 924, in parse
    result = builder.parseFile(fp)
  File "/usr/lib/python2.6/xml/dom/expatbuilder.py", line 207, in parseFile
    parser.Parse(buffer, 0)
ExpatError: not well-formed (invalid token): line 48, column 28

ProblemType: Bug
ApportLog:

Architecture: amd64
CrashReports:
 644:116:4:1453:2010-03-02 02:21:00.000000000 +0100:2010-03-02 02:21:01.000000000 +0100:/var/crash/linux-image-2.6.32-14-generic.103912.crash
 600:1000:1000:921109:2010-03-02 14:11:25.000000000 +0100:2010-03-02 14:11:26.000000000 +0100:/var/crash/_usr_lib_gnome-panel_wnck-applet.1000.crash
 644:116:4:1930:2010-03-01 14:14:15.000000000 +0100:2010-03-01 14:14:16.000000000 +0100:/var/crash/linux-image-2.6.32-14-generic.139028.crash
 600:1000:1000:15396227:2010-03-02 14:16:49.000000000 +0100:2010-03-02 14:16:50.000000000 +0100:/var/crash/_usr_bin_yelp.1000.crash
 600:1000:1000:1435423:2010-03-03 14:52:12.000000000 +0100:2010-03-03 14:52:13.000000000 +0100:/var/crash/_usr_bin_nautilus-sendto.1000.crash
Date: Thu Mar 4 17:05:07 2010
DistroRelease: Ubuntu 10.04
EcryptfsInUse: Yes
NonfreeKernelModules: nvidia
Package: apport 1.12.1-0ubuntu2
PackageArchitecture: all
ProcEnviron:
 LANGUAGE=en_US.UTF-8
 PATH=(custom, user)
 LANG=en_US.UTF-8
 SHELL=/bin/bash
ProcVersionSignature: Ubuntu 2.6.32-15.22-generic
SourcePackage: apport
Uname: Linux 2.6.32-15-generic x86_64

Revision history for this message
Bogdan Butnaru (bogdanb) wrote :
Revision history for this message
Bogdan Butnaru (bogdanb) wrote :

BTW, I notice in that report (bug #531987) there's a line for “abroswer N/A”; I suppose it should read “abrowser N/A”.

Revision history for this message
Daniel Hahler (blueyed) wrote :

Thank you for your bug report.

This is a bug in the Firefox Apport hook (which collects data for Apport).

In /usr/share/apport/package-hooks/firefox.py the exception from "dom_doc = minidom.parse(rdf_file)" should get caught, as far as I can see, and a note about a non-well-formed extension added to the apport info.

affects: apport (Ubuntu) → firefox (Ubuntu)
Changed in firefox (Ubuntu):
importance: Undecided → Medium
status: New → Triaged
summary: - crash while reporting firefox bug
+ crash while reporting firefox bug: exception in apport hook in
+ install_ini_parser (via minidom.parse(rdf_file))
Revision history for this message
dino99 (9d9) wrote :

closed version

Changed in firefox (Ubuntu):
status: Triaged → Invalid
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.