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

Firefox 55: g<Esc> = crash #4

Closed
congma opened this issue Aug 25, 2017 · 10 comments
Closed

Firefox 55: g<Esc> = crash #4

congma opened this issue Aug 25, 2017 · 10 comments

Comments

@congma
Copy link

congma commented Aug 25, 2017

Just to report a crash.

With Firefox 55.0.2, pentadactyl sort of works. But when the key sequence gEsc is pressed, Firefox immediately crashes.

@magnetophon
Copy link

I can reproduce this, also on 55.0.2.

@wshanks
Copy link
Owner

wshanks commented Aug 25, 2017

Hmm, okay. That seems hard to debug because of the crashing. I assume you are making sure that multiprocessing is turned off.

Have you tried in a fresh profile with multiprocessing disabled? 55 was a pretty bad experience for me to start out (freezing and crashing randomly). I created a new profile and installed only WebExtensions in it and Firefox has been running smoothly that way, so I think there might have been some changes that combine badly with XUL addons.

Post here if you find any other sequences that reliably crash Firefox.

I might be able to help some with figuring out what is going on, but I think it will require carefully stepping through in the debugger to figure out where the crash is, and it's hard for me to justify spending much time on it because I am pretty busy and I'd rather spend time on something else like finding a replacement for Pentadactyl that will work after version 56.

@congma
Copy link
Author

congma commented Aug 26, 2017

The crash is getting a bit ridiculous... This is another reliable crash for me: simply typing Enter in "Normal mode" (that is, not in an input field or something) will crash it.

Could anyone replicate this?

@magnetophon
Copy link

@congma yup, I can reproduce the Enter crash. :(

@jonlorusso
Copy link

Are there any workarounds for the Enter and g <Esc> behaviors?

@upsuper
Copy link

upsuper commented Sep 7, 2017

FYI, fix has landed in this bug but it is probably not very likely it would get to 55 given that it is near the end of this cycle. Maybe 56 can get it :/

@wshanks
Copy link
Owner

wshanks commented Sep 8, 2017

Wow, nice work tracking down that bug. So is there no easy way to work around the bug in Pentadactyl in 55?

@upsuper
Copy link

upsuper commented Sep 8, 2017

This crash wouldn't happen if you don't pass KeyboardEvent created from script to dispatchDOMEventViaPresShell. I don't know if it is possible to avoid for you, though.

@wshanks
Copy link
Owner

wshanks commented Sep 8, 2017

It seems like the only usage is at https://github.com/5digits/dactyl/blob/31a6ba0bcbf92bb393a529bde78610ee2297b55c/common/modules/dom.jsm#L1484 I wonder how bad it would be to take out that conditional and just do target.dispatchEvent(event) instead.

Also, noting that this issue seems to be the same as 5digits/dactyl#216

@wshanks
Copy link
Owner

wshanks commented Sep 14, 2017

Okay, well, I just did some quick testing with Firefox 56 beta and the current Pentadactyl xpi doesn't crash for me there, so I'm going to close this. I don't think it's worth putting a workaround in just for 55.

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