[karmic] "ubuntu-bug firefox-3.5" has a traceback

Bug #422365 reported by Matthew Darwin
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
firefox-3.5 (Ubuntu)
Fix Released
High
Alexander Sack

Bug Description

% ubuntu-bug firefox-3.5

hook /usr/share/apport/package-hooks//firefox-3.5.py crashed:
Traceback (most recent call last):
  File "/usr/lib/python2.6/dist-packages/apport/report.py", line 622, in add_hooks_info
    symb['add_info'](self)
  File "/usr/share/apport/package-hooks//firefox-3.5.py", line 111, in add_info
    for profile_name in profiles_d.keys():
UnboundLocalError: local variable 'profiles_d' referenced before assignment

Revision history for this message
Micah Gersten (micahg) wrote :

Moving to Firefox 3.5 as that is where the problem is.

affects: apport (Ubuntu) → firefox-3.5 (Ubuntu)
Changed in firefox-3.5 (Ubuntu):
importance: Undecided → High
status: New → Triaged
Revision history for this message
Alexander Sack (asac) wrote :

bzr commit -m '* fix LP: #422365 - apport hook fails because profiles_d is not initialized
  in add_info if no profiles.ini exist; we ensure that profiles_d gets instantiated
  as an empty map even if no profiles.ini exist.
  - update debian/apport/firefox-3.5.py' --fixes 'lp:422365'
Committing to: bzr+ssh://<email address hidden>/~mozillateam/firefox/firefox-3.1.head/
modified debian/changelog
modified debian/apport/firefox-3.5.py
Committed revision 452.

Changed in firefox-3.5 (Ubuntu):
assignee: nobody → Alexander Sack (asac)
status: Triaged → Fix Committed
Revision history for this message
Alexander Sack (asac) wrote :

also fixed on 3.6 and 3.7 branch

Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package firefox-3.5 - 3.5.3+build1+nobinonly-0ubuntu2

---------------
firefox-3.5 (3.5.3+build1+nobinonly-0ubuntu2) karmic; urgency=low

  * security/stability update v3.5.3 build1 (FIREFOX_3_5_3_BUILD1)
    - see USN-821-1
    - fix LP: #333127 - Firefox 3.5 and above crash on full screen flash video
    - fix LP: #236853 - firefox crashed with SIGSEGV in NSSRWLock_LockRead_Util()

  [ Alexander Sack <email address hidden> ]
  * fix LP: #422365 - apport hook fails because profiles_d is not initialized
    in add_info if no profiles.ini exist; we ensure that profiles_d gets instantiated
    as an empty map even if no profiles.ini exist.
    - update debian/apport/firefox-3.5.py
  * hook firefox-addons/searchplugins as the distribution/searchplugins
    directory to support localized distro search engines.
    - update debian/rules
  * in case localized search engines are available the main searchplugins
    directory is not scanned anymore; to fix this we provide a compatibility
    link /usr/lib/firefox-addons/searchplugins/common => /usr/lib/firefox-addons/searchplugins
    - update debian/firefox-3.5.links
  * fix localized search engine upstream code to properly deal with general.useragent.locale
    being a complex pref; also change plugin dir order to allow locale specific searchplugins
    to overlay the ones shipped in "searchplugins/common"
    - add debian/patches/fix_complex_locale_distro_searchplugins.patch
    - update debian/patches/series

  [ Jamie Strandboge <email address hidden> ]
  * add AppArmor profile (disabled by default) (LP: #382917)
    - debian/firefox-3.5.dirs: add etc/apparmor.d/disable
    - add debian/firefox-3.5.preinst.in: disable the profile on new installs
      and upgrades to this version
    - debian/firefox-3.5.postinst.in: reload profile
    - add debian/firefox-3.5.postrm.in: cleanup force-complain and disable
      directories
    - add debian/usr.bin.firefox.apparmor.in
    - debian/rules: install profile
    - add debian/README.Debian.in with note about AppArmor
    - debian/apport/firefox-3.5.py: add AppArmor information if the profile is
      not disabled
    - debian/firefox-3.5.preinst.in: allow for when apparmor is not installed

 -- Alexander Sack <email address hidden> Thu, 03 Sep 2009 10:03:08 +0200

Changed in firefox-3.5 (Ubuntu):
status: Fix Committed → Fix Released
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.