[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 Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/585061 Title: Segfaults in nsUrlClassifierDBService.cpp when homedir is inaccessible To manage notifications about this bug go to: https://bugs.launchpad.net/firefox/+bug/585061/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 585061]
It's not just symbol names (which were easily obtainable for the Ubuntu build), but also the stack trace. In debugging the original bug, I got to nsUrlClassifierDBServer only with a debug/unoptimized build; the optimized build + debug symbols yielded nothing. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/585061 Title: Segfaults in nsUrlClassifierDBService.cpp when homedir is inaccessible -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 585061]
Okay, I've been testing Namoroka 3.6.13 versus 3.6.14pre (post-dating this fix), and I'm afraid to say the results are less than conclusive. * I get crashes with 3.6.13, although not as frequently as with Ubuntu's 3.6.13; * I get crashes with 3.6.14pre, also not as frequently, though these are due to SIGBUS (seemingly stemming from Flash), which is a different failure mode from this bug; * Ubuntu 3.6.13 plus my patch is the only build that has proven uncrashable so far; * Because the Namoroka builds are optimized, there's not much I can do in the way of post-mortem to see what's going on. All of these are with the same ~/.mozilla directory, and thus the same runtime configuration. Wish I could report a before-vs.-after smoking gun, but the reality is more of a muddle. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/585061 Title: Segfaults in nsUrlClassifierDBService.cpp when homedir is inaccessible -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 585061]
(In reply to comment #27) * Because the Namoroka builds are optimized, there's not much I can do in the way of post-mortem to see what's going on. We have symbols available, but I'm not really sure how to get them and use them on linux... -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/585061 Title: Segfaults in nsUrlClassifierDBService.cpp when homedir is inaccessible -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 585061]
You can fetch them using the script as described here: https://developer.mozilla.org/en/Using_the_Mozilla_symbol_server#Downloading_symbols_on_Linux_.2f_Mac_OS_X -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/585061 Title: Segfaults in nsUrlClassifierDBService.cpp when homedir is inaccessible -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 585061]
(In reply to comment #24) Al: I'm presuming the ideal is to reproduce a crash with 3.6.13, and observe the lack of one with 3.6.14pre. However, whichever of the two I install, the auto-update installs the new 3.6.14pre nightly---which may be affecting the behavior of the bug. How should I go about testing this? You can disable auto-update in about:config. set 'app.update.auto' to false -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/585061 Title: Segfaults in nsUrlClassifierDBService.cpp when homedir is inaccessible -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 585061]
Al: I'm presuming the ideal is to reproduce a crash with 3.6.13, and observe the lack of one with 3.6.14pre. However, whichever of the two I install, the auto-update installs the new 3.6.14pre nightly---which may be affecting the behavior of the bug. How should I go about testing this? -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/585061 Title: Segfaults in nsUrlClassifierDBService.cpp when homedir is inaccessible -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 585061]
The autoupdate shouldn't be triggered for many hours. If you download a clean 3.6.13 released build from the website and run it, it shouldn't autoupdate very soon. You can then download the current 3.6.14pre build and try it there. The other option is to use the profilemanager to set up a different profile for this but you shouldn't need to do so. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/585061 Title: Segfaults in nsUrlClassifierDBService.cpp when homedir is inaccessible -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 585061]
Can the patch be pushed to 3.6.x? (Just noticed it's not in 3.6.13.) -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/585061 Title: Segfaults in nsUrlClassifierDBService.cpp when homedir is inaccessible -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 585061]
Comment on attachment 459993 Preliminary patch Approved for 1.9.2.14, a=dveditz for release-drivers -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/585061 Title: Segfaults in nsUrlClassifierDBService.cpp when homedir is inaccessible -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 585061]
From the context, there seems to be no real way for me, as QA, to verify this fix. I don't have the correct setup to reproduce the problem. Daniel, can you try using a nightly 1.9.2 firefox build from http://ftp.mozilla.org/pub/mozilla.org/firefox/nightly/latest- mozilla-1.9.2/ and seeing if the build fixes the issue? -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/585061 Title: Segfaults in nsUrlClassifierDBService.cpp when homedir is inaccessible -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 585061]
Pushed http://hg.mozilla.org/releases/mozilla-1.9.2/rev/17e93767af48 -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/585061 Title: Segfaults in nsUrlClassifierDBService.cpp when homedir is inaccessible -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 585061] Re: Segfaults in nsUrlClassifierDBService.cpp when homedir is inaccessible
** Changed in: firefox Milestone: None = 4.0b8 -- Segfaults in nsUrlClassifierDBService.cpp when homedir is inaccessible https://bugs.launchpad.net/bugs/585061 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 585061]
Pushed http://hg.mozilla.org/mozilla-central/rev/ee499eb8ad11 -- Segfaults in nsUrlClassifierDBService.cpp when homedir is inaccessible https://bugs.launchpad.net/bugs/585061 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 585061] Re: Segfaults in nsUrlClassifierDBService.cpp when homedir is inaccessible
** Changed in: firefox Status: Confirmed = Fix Released -- Segfaults in nsUrlClassifierDBService.cpp when homedir is inaccessible https://bugs.launchpad.net/bugs/585061 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 585061]
Comment on attachment 459993 Preliminary patch We should just take this as a stopgap. Not sure when someone will have cycles to look into how we could ever get into this state. -- Segfaults in nsUrlClassifierDBService.cpp when homedir is inaccessible https://bugs.launchpad.net/bugs/585061 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 585061] Re: Segfaults in nsUrlClassifierDBService.cpp when homedir is inaccessible
** Changed in: firefox Importance: Unknown = Medium -- Segfaults in nsUrlClassifierDBService.cpp when homedir is inaccessible https://bugs.launchpad.net/bugs/585061 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 585061] Re: Segfaults in nsUrlClassifierDBService.cpp when homedir is inaccessible
Thank you for reporting this to Ubuntu. I'm going to mark this Triaged since this has been upstreamed already. Thank you for the patch. Please report any other issues you may find. ** Changed in: firefox (Ubuntu) Importance: Undecided = Medium ** Changed in: firefox (Ubuntu) Status: New = Triaged -- Segfaults in nsUrlClassifierDBService.cpp when homedir is inaccessible https://bugs.launchpad.net/bugs/585061 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 585061] Re: Segfaults in nsUrlClassifierDBService.cpp when homedir is inaccessible
** Tags added: patch-forwarded-upstream ** Tags removed: patch -- Segfaults in nsUrlClassifierDBService.cpp when homedir is inaccessible https://bugs.launchpad.net/bugs/585061 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 585061] Re: Segfaults in nsUrlClassifierDBService.cpp when homedir is inaccessible
** Bug watch added: Mozilla Bugzilla #581628 https://bugzilla.mozilla.org/show_bug.cgi?id=581628 ** Also affects: firefox via https://bugzilla.mozilla.org/show_bug.cgi?id=581628 Importance: Unknown Status: Unknown -- Segfaults in nsUrlClassifierDBService.cpp when homedir is inaccessible https://bugs.launchpad.net/bugs/585061 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 585061] Re: [PATCH] Segfaults in nsUrlClassifierDBService.cpp when homedir is inaccessible
In future, please could you use the patch tag instead of putting patch in the title. ** Tags added: patch ** Summary changed: - [PATCH] Segfaults in nsUrlClassifierDBService.cpp when homedir is inaccessible + Segfaults in nsUrlClassifierDBService.cpp when homedir is inaccessible -- Segfaults in nsUrlClassifierDBService.cpp when homedir is inaccessible https://bugs.launchpad.net/bugs/585061 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 585061] [NEW] [PATCH] Segfaults in nsUrlClassifierDBService.cpp when homedir is inaccessible
Public bug reported: 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. ** Affects: firefox (Ubuntu) Importance: Undecided Status: New -- [PATCH] Segfaults in nsUrlClassifierDBService.cpp when homedir is inaccessible https://bugs.launchpad.net/bugs/585061 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 585061] Re: [PATCH] Segfaults in nsUrlClassifierDBService.cpp when homedir is inaccessible
This patch can be added directly to firefox-3.6.3+nobinonly/debian/patches/ for testing purposes. ** Patch added: mozilla-lp585061-fix.patch http://launchpadlibrarian.net/49032628/mozilla-lp585061-fix.patch -- [PATCH] Segfaults in nsUrlClassifierDBService.cpp when homedir is inaccessible https://bugs.launchpad.net/bugs/585061 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs