When Greasemonkey 1.1 is enabled in firefox 15.0.1 but without any installed scripts and the native Unity global menubar extension enabled firefox crashes when focus is shifted from the firefox window, even if to another firefox window (Eg. settings) or any other application (eg thunderbird).
When greasemonkey is disabled the problem does not occur. The problem has been occurring for about 3 days and is very possible to replicate. I have only tested the problem on one computer.
If either of the addons are disabled there are no problems and no other addons seem to cause problems.
A temporary solution to the problem is to disable greasemonkey.
Where would I find the "Unity global menubar extension" ? I can only find https://launchpad.net/globalmenu-extension which doesn't have any download link. Is this part of "Ubuntu Firefox Modifications 2.1.1" ?
I'd also suspect that the bug is there, and not in Greasemonkey. They seem to have compiled code which is much more likely to crash Firefox.
Unity global menubar is part of ubuntu and installed automaticly, to use it you would have to install ubuntu 12.04.
I'm running Ubuntu 12.04 and I don't have it.
The package containing the addon is called firefox-globalmenu.
Thanks. I've now installed that, and I definitely get unity style menus. But no crashes.
ii firefox 15.0.1+build1-0ubuntu0.12.04.1 Safe and easy web browser from Mozilla
ii firefox-globalmenu 15.0.1+build1-0ubuntu0.12.04.1 Unity appmenu integration for Firefox
And: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:15.0) Gecko/20100101 Firefox/15.0.1 and Greasemonkey is 1.1 as publicly hosted today.
Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:15.0) Gecko/20100101 Firefox/15.0.1
jooliee: Does following these steps give you the same result? Perhaps there's a third extension/some other setting that is causing the issue?
I have followed your steps arantius, and I have replicated the results experienced by jooiiee.
$ cat /etc/issue
Ubuntu 12.04.1 LTS \n \l
Are there anything else I could try that would be helpful to tracking down this issue?
Given that I didn't have the firefox-globalmenu package installed, there's probably something else I don't have either. I think the best next step is for anybody seeing this to go to about:support, click the "Copy all to clipboard" button, and get that text to me. Paste it into a http://gist.github.com/ and put the link here if you're comfortable being public or send it to me (this username at gmail) privately if you prefer. Some "dpkg -l" output might also be useful, but I don't know yet.
I noticed the problem does not occur on my laptop. I will compare the two devices about:support and dpkg output tomorrow or later today if i have time.
https://gist.github.com/3781878 - about:support
https://gist.github.com/3781893 - dpkg -l
only now I could not get that profile to crash again... strange...
It is back to crashing again.. strange...
I have a similar problem. I am not sure about focus changes; for me it crashed when FF opened some window (Browser popup for writing a new mail in a webmailer, dialogs from plugins, ...). Of course that would also cause focus to change.
Linux 3.2.0-31-generic-pae #50-Ubuntu SMP i686 i686 i386 GNU/Linux
Firefox 15.0.1 (for Ubuntu canonical 1.0)
Would crash reports help you? I have like a dozen of them.
@akerbos , crash reports certainly can't hurt.
@arantius Here goes:
Note that I disabled all plugins and did not observe the problem. I then reenabled the plugins in arbitrary order; the problem reappeared after I enabled Greasemonkey.
Not a a lot for me to go on in those crash reports, but I see that they all mention uGlobalMenu::OnClose.
To anybody experiencing crashing, does this version also crash?
If not, then I have a good idea where the crash is coming from.
I could not get this version to crash. I have not spent extensive time with it, will try to introduce it to my working-profile and spend a day with it. I will check back in at the end of my day.
Thanks! P.S. Don't use that version too long after you're done testing, it's intentionally broken, to exclude the bit that I assumed was inducing the crash.
It was running in my browser for 7 hours without any crashes.
Here's a newer build with my proposed real fix:
Again, please test and report your findings, because I can't reproduce this bug so I can't know if any fix works or not on my own.
Remove menu items asynchronously.
Fixes some mysterious crashing bug on Ubuntu Unity.
@arantius Can't reproduce now. Good job, thanks!
@arantius Seems fine, great work! thanks