Alright, it didn't take that long the get it crashing again. After looking into the traffic of the DBusmenu of Firefox, it seems obvious that hud-service is causing these crashes.
When Firefox is launched HUD starts to map the menus. HUD iterates trough the menu structure and sends 'opened' events to all the sub-menus in need of mapping. When the focus is changed to another window, HUD wants to close the opened menus. So it sends 'closed' event to all the menus and Firefox responds to that request. But here's the problem: it's closing more menus it opened. For me, it sent 'opened' event to 40 objects but sends 'closed' event to 46 objects. And Firefox crashes. Disabling add-ons one by one I concluded that it's Greasemonkey causing the crashes (which is also in the list of extensions of the original reporter). Greasemonkey adds its own sub-menu to Tools which happen to have exactly 6 menu items: the same number of objects as the extra ones HUD tries to close. So my guess is that HUD considers those items normal menus and tries to close them (why this happens, I have no idea). Here's steps to reproduce the crash: #1: Have Greasemonkey installed and enabled #2: Open Firefox and wait for the window to appear #3: Invoke HUD with ALT and perform a search (might not be needed if hud-service was already running) #4: Give focus to another application #5: Firefox crashes The reason the crash didn't happen all the time was that I hadn't used HUD after booting my computer. So the hud-service wouldn't try to close any menus and the crash would not happen. -- 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/1051152 Title: Firefox 16 beta crash in nsIContent::SetAttr Status in Unity global menubar extension for Firefox and Thunderbird: Invalid Status in “firefox” package in Ubuntu: Triaged Status in “firefox” source package in Natty: Triaged Status in “firefox” source package in Oneiric: Triaged Status in “firefox” source package in Precise: Triaged Status in “firefox” source package in Quantal: Triaged Bug description: When Global Menu Bar Integration 3.4.1 is enabled, Firefox 16b3 from the firefox-next PPA crashes shortly after opening. There is a 1:1 correlation between the crashes and this add-on - the open tabs and other add-ons don't have any impact. I'm experiencing this under 64-bit Ubuntu 12.04. To manage notifications about this bug go to: https://bugs.launchpad.net/globalmenu-extension/+bug/1051152/+subscriptions -- Mailing list: https://launchpad.net/~desktop-packages Post to : [email protected] Unsubscribe : https://launchpad.net/~desktop-packages More help : https://help.launchpad.net/ListHelp

