← Back to team overview

desktop-packages team mailing list archive

[Bug 585061] Re: Segfaults in nsUrlClassifierDBService.cpp when homedir is inaccessible

 

Laying this one to rest. Thank you Mozilla dev team.

** Changed in: firefox (Ubuntu)
       Status: Triaged => Fix Released

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to firefox in Ubuntu.
https://bugs.launchpad.net/bugs/585061

Title:
  Segfaults in nsUrlClassifierDBService.cpp when homedir is inaccessible

Status in The Mozilla Firefox Browser:
  Fix Released
Status in “firefox” package in Ubuntu:
  Fix Released

Bug description:
  Binary package hint: firefox

  This concerns firefox 3.6.3+nobinonly-0ubuntu4 in Ubuntu Lucid.

  I use Firefox on a system in which home directories are served from an
  AFS file server. When a user's Kerberos authentication expires, access
  to the entire home directory is cut off, and all attempts to read or
  write to it fail with EACCES.

  This occurs regularly on my workstation: I stay logged in for weeks at
  a time, with a more-or-less permanent instance of Firefox running, and
  every night after I leave work my authentication expires and Firefox
  sits for a few hours without any access to its configuration files
  under ~/.mozilla/. When I return in the morning, I renew my
  authentication, and my home directory becomes accessible again, but by
  this point Firefox has usually vanished without a trace.

  I debugged this problem using a local build of the Firefox deb source,
  and have found where the segfaults are occurring: All of them appear
  to be in nsUrlClassifierDBService.cpp. The code assumes in a couple of
  places that mConnection is non-NULL, but every time the browser
  crashes on me, that assumption did not hold.

  I am attaching a preliminary patch that, so far, has eliminated the
  crashes. I now find Firefox still hanging around every morning, with a
  number of "A script has become unresponsive..." dialogs that are
  easily cleared away.

To manage notifications about this bug go to:
https://bugs.launchpad.net/firefox/+bug/585061/+subscriptions