Crashes on https://www.pcgamer.com/au/how-to-trade-with-other-players-in-warframe/
Steps to reproduce
- Go to https://www.pcgamer.com/au/how-to-trade-with-other-players-in-warframe/ (Browser should crash within under 30 seconds without having to do anything else. I don't even have to scroll.)
Expected behavior
- Browser should continue to work without crashing
Actual behavior
- Browser crashes
Device information
- Android device: Google Pixel 1 (non-XL, stock, never rooted)
- Reference Browser version: 1.0.1912 Build #10781208
Also tested:
- Reference Browser version: 1.0.1913 (Build #10851209 🦎 68.0a1-20190321104132)
Edit: Updated steps to reproduce. Added another tested build with gecko version included this time.
@getlogan thanks for reporting! It might have been a bad build that day and seems to be loading fine for me. Could you try this again on your end and close the issue if it works?
Just tried it again. Still crashing consistently within seconds on that page.
Reference Browser version: 1.0.1913 (Build #10851209 🦎 68.0a1-20190321104132)
Edit: Included gecko version
Oh interesting, I was able to reproduce this after scrolling down the page.
This is the relevant Sentry issue: https://sentry.prod.mozaws.net/operations/reference-browser/issues/5335824/
2019-03-26 22:22:30.360 9952-9991/? E/AndroidRuntime: FATAL EXCEPTION: DefaultDispatcher-worker-10
Process: org.mozilla.reference.browser, PID: 9952
java.lang.Exception: data is null
at org.mozilla.geckoview.GeckoSession$CallbackResult.sendError(GeckoSession.java:269)
at org.mozilla.gecko.EventDispatcher$JavaCallbackDelegate$1.run(EventDispatcher.java:466)
at android.os.Handler.handleCallback(Handler.java:873)
at android.os.Handler.dispatchMessage(Handler.java:99)
at android.os.Looper.loop(Looper.java:193)
at org.mozilla.gecko.util.GeckoBackgroundThread.run(GeckoBackgroundThread.java:41)
Cool. Btw, I don't even need to scroll and it will still crash.
I looked into this a little bit, it looks like GeckoSession#saveState is crashing in Gecko. :droeh recently rewrote that code and it's not in Fenix Nightly yet, so maybe that's already fixed 🤞
@agi90 (CC @cpeterso) Afaik this new API only landed in 68.0 Nightly and didn't make the 67.0 cut.: https://bugzilla.mozilla.org/show_bug.cgi?id=1463878
Does it need to be uplifted (including the follow-up bug) for Fenix?
This crash stack trace is the same as https://github.com/mozilla-mobile/fenix/issues/1177 and https://bugzilla.mozilla.org/show_bug.cgi?id=1538942.
@agi90 (CC @cpeterso) Afaik this new API only landed in 68.0 Nightly and didn't make the 67.0 cut.: https://bugzilla.mozilla.org/show_bug.cgi?id=1463878
Does it need to be uplifted (including the follow-up bug) for Fenix?
~Dylan will uplift the synchronous saveState API to GV 67 Beta when he returns from PTO next week. If this crash is a major problem, I can find another GV engineer to uplift this week (so the fix will be included in Monday April 1's GV beta build).~
(Correction: Dylan says this crash is unrelated to his saveState API. I can still reproduce this crash with RB using GV 68 Nightly.)
I just want to make clear that I don't know whether this is fixed after Dylan's changes or not, just that a lot of work has gone in that area.
We can probably close this bug as a duplicate of scalar-conf.com crash mozilla-mobile/fenix#1177.
Tested Reference Browser version: 1.0.1915 (Build #10981453 🦎 68.0a1-20190408104625)
Appears to be fixed now. No longer crashes.