Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Greasemonkey 1.1 causes crash with firefox 15.0.1 on ubuntu 12.04 #1632

Closed
jooiiee opened this issue Sep 18, 2012 · 20 comments
Closed

Greasemonkey 1.1 causes crash with firefox 15.0.1 on ubuntu 12.04 #1632

jooiiee opened this issue Sep 18, 2012 · 20 comments
Milestone

Comments

@jooiiee
Copy link

jooiiee commented Sep 18, 2012

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.

@arantius
Copy link
Collaborator

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.

@jooiiee
Copy link
Author

jooiiee commented Sep 20, 2012

Unity global menubar is part of ubuntu and installed automaticly, to use it you would have to install ubuntu 12.04.

@arantius
Copy link
Collaborator

I'm running Ubuntu 12.04 and I don't have it.

@Ventero
Copy link
Contributor

Ventero commented Sep 20, 2012

The package containing the addon is called firefox-globalmenu.

@arantius
Copy link
Collaborator

Thanks. I've now installed that, and I definitely get unity style menus. But no crashes.

  1. On Ubuntu 12.04
  2. Have installed "firefox" and "firefox-globalmenu" package. *
  3. Start completely empty Firefox profile.
  4. Focus all sorts of different windows including Firefox: nothing unexpected happens.
  5. Install https://addons.mozilla.org/en-US/firefox/addon/greasemonkey/
  6. Focus all sorts of different windows including Firefox: nothing unexpected happens.

* Like:

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.

jooliee: Does following these steps give you the same result? Perhaps there's a third extension/some other setting that is causing the issue?

@atluxity
Copy link

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

  1. made a new firefox profile
  2. installed greasemonkey through "Find extension"
  3. changed focus
  4. crash

Are there anything else I could try that would be helpful to tracking down this issue?

@arantius
Copy link
Collaborator

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.

@jooiiee
Copy link
Author

jooiiee commented Sep 25, 2012

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.

@atluxity
Copy link

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...

@atluxity
Copy link

It is back to crashing again.. strange...

@akerbos
Copy link

akerbos commented Sep 29, 2012

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
Ubuntu 12.04
Greasemonkey 1.1
Firefox 15.0.1 (for Ubuntu canonical 1.0)

Would crash reports help you? I have like a dozen of them.

@arantius
Copy link
Collaborator

@akerbos , crash reports certainly can't hurt.

@akerbos
Copy link

akerbos commented Sep 30, 2012

@arantius Here goes:

Report 1
Report 2
Report 3
Report 4
Report 5
Report 6
Report 7
Report 8
Report 9
Report 10

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.

@arantius
Copy link
Collaborator

arantius commented Oct 1, 2012

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?
https://github.com/downloads/arantius/greasemonkey/greasemonkey-2012.10.01.beta.xpi

If not, then I have a good idea where the crash is coming from.

@atluxity
Copy link

atluxity commented Oct 2, 2012

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.

@arantius
Copy link
Collaborator

arantius commented Oct 2, 2012

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.

@atluxity
Copy link

atluxity commented Oct 2, 2012

It was running in my browser for 7 hours without any crashes.

@arantius
Copy link
Collaborator

arantius commented Oct 4, 2012

Here's a newer build with my proposed real fix:
https://github.com/downloads/arantius/greasemonkey/greasemonkey-2012.10.04.beta.xpi

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.

@akerbos
Copy link

akerbos commented Oct 4, 2012

@arantius Can't reproduce now. Good job, thanks!

@atluxity
Copy link

atluxity commented Oct 5, 2012

@arantius Seems fine, great work! thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants