Segfaults in nsUrlClassifierDBService.cpp when homedir is inaccessible
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Mozilla Firefox |
Fix Released
|
Medium
|
|||
firefox (Ubuntu) |
Fix Released
|
Medium
|
Unassigned |
Bug Description
Binary package hint: firefox
This concerns firefox 3.6.3+nobinonly
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 nsUrlClassifier
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.
Changed in firefox: | |
status: | Unknown → Confirmed |
tags: |
added: patch-forwarded-upstream removed: patch |
Changed in firefox: | |
importance: | Unknown → Medium |
Changed in firefox: | |
status: | Confirmed → Fix Released |
Changed in firefox: | |
milestone: | none → 4.0b8 |
This patch can be added directly to firefox- 3.6.3+nobinonly /debian/ patches/ for testing purposes.