reference-browser icon indicating copy to clipboard operation
reference-browser copied to clipboard

Crashes on https://www.pcgamer.com/au/how-to-trade-with-other-players-in-warframe/

Open getlogan opened this issue 7 years ago • 10 comments

Steps to reproduce

  1. 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 avatar Mar 19 '19 13:03 getlogan

@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?

jonalmeida avatar Mar 27 '19 01:03 jonalmeida

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

getlogan avatar Mar 27 '19 02:03 getlogan

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)

jonalmeida avatar Mar 27 '19 02:03 jonalmeida

Cool. Btw, I don't even need to scroll and it will still crash.

getlogan avatar Mar 27 '19 02:03 getlogan

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 avatar Mar 27 '19 03:03 agi90

@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?

pocmo avatar Mar 27 '19 12:03 pocmo

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

cpeterso avatar Mar 27 '19 17:03 cpeterso

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.

agi90 avatar Mar 27 '19 18:03 agi90

We can probably close this bug as a duplicate of scalar-conf.com crash mozilla-mobile/fenix#1177.

cpeterso avatar Mar 27 '19 18:03 cpeterso

Tested Reference Browser version: 1.0.1915 (Build #10981453 🦎 68.0a1-20190408104625)

Appears to be fixed now. No longer crashes.

getlogan avatar Apr 12 '19 04:04 getlogan