Fenix: FNX2-13576 โƒ [Bug] Crash when enabling reader mode while the page is being scrolled

Created on 17 Jun 2020  ยท  13Comments  ยท  Source: mozilla-mobile/fenix

Steps to reproduce

  1. Open app and go to wikipedia.org/wiki/mozilla
  2. Scroll the page.
  3. Tap on the reader mode icon.

    1. Expected behavior

      Reader mode for the page is enabled.

    2. Actual behavior

      Crash is present.

    3. Device information

  • Android device: Samsung Galaxy S9 (Android 8)
  • Fenix version: Beta 5.2.0-beta.2, Nightly 6/17

Crash ID: 16dc8b06-1e7b-49f0-9b13-33b950200617
Crash signature: mozilla::a11y::SessionAccessibility::SendScrollingEvent
Socorro: https://crash-stats.mozilla.org/report/index/bp-16dc8b06-1e7b-49f0-9b13-33b950200617

GIF
20200617-192131

Note:

  • Seems that it's about timing as well as it can be reproducible when the scrolling, slows down and right about then tapping on the reader mode icon.
  • I didn't encounter the crash with Google Pixel 3 XL (Android 9) neither with Sony Xperia Z5 (Android 7) but instead of crashing, the icon for reader mode is colored as when it's active, even if it's not the case(reader mode is not applied).
    ScreenshotUNITO-UNDERSCORE!20200617-194238!
  • For step 1 you can also use an article from nytimes.com and same outcome is present
ReaderMode crash engverified gecko ๐Ÿž bug ๐Ÿ™… waiting

Most helpful comment

Thanks! Can't reproduce on any of my devices either, but filed https://bugzilla.mozilla.org/show_bug.cgi?id=1646437 for the native crash in a11y.

All 13 comments

Thanks! Can't reproduce on any of my devices either, but filed https://bugzilla.mozilla.org/show_bug.cgi?id=1646437 for the native crash in a11y.

Can reproduce on my Samsung S8, but on this page: https://www.techradar.com/how-to/facebook-dark-mode

Device information

  • Android device: Samsung Galaxy S8 (Sm-G950F) (Android 9)
  • Fenix version: 5.1.1 (Build #21571852)

Crash ID: 76dbc4bd-c799-48f1-bf54-a2d740200618
Crash signature: mozilla::a11y::DocAccessiblePlatformExtParent::RecvSetPivotBoundaries
Socorro: https://crash-stats.mozilla.org/report/index/76dbc4bd-c799-48f1-bf54-a2d740200618

I know my report doesn't have the same signature, tell me if you need me to open a new issue ๐Ÿ™!

@Gaspacchio Thanks, no need to file, we already have it: https://bugzilla.mozilla.org/show_bug.cgi?id=1635722

Both bugs appear to be fixed and will be in next Nightly. Let's verify once available.

Hey @Gaspacchio , one questions i can only trigger the crash mentioned in description. Did you do anything else in order to encounter the crash that you mentioned?
Thanks ๐Ÿ˜Š

No, nothing particular @Diana-Rus

@Diana-Rus According to https://bugzilla.mozilla.org/show_bug.cgi?id=1646437, this should be fixed in Nightly now. Can you verify, please? :)

Bug fixed for me, thanks! ๐ŸŽ‰

Hi, verified the crash as fixed on Nightly 06/30 with:

  • Samsung Galaxy S9 (Android 8)
  • Google Pixel 3XL (Android 9)
    Samsung - GIF
    20200630-164014

Note:

As an update, the crash mentioned above is on Samsung Galaxy S9 (Android 8).
When trying to replicate the issue on Pixel there is a different crash present, but still the signature contains similarity with previous encountered -> libxul.so@0x1b8ba52

Encountered Signatures on Pixel 3 XL:

  1. libxul.so@0x1b8ba52 | libart.so@0x23326d | libxul.so@0x1b8bc69 | libxul.so@0x1b8b7c7 | libxul.so@0x1b8b759 | libxul.so@0xb7a277 | libxul.so@0x2d73917 | libxul.so@0x29405bf | libxul.so@0x47dc136 | libart.so@0x3731d9 | libart.so@0x195ffe | dalvik-main sp...
    Crash URL: https://crash-stats.mozilla.org/report/index/ceae94a3-8f6f-4d12-8be4-faf3d0200630
  2. libxul.so@0x1b8ba52 | libart.so@0x23326d | libxul.so@0x1b8bc69 | libxul.so@0x1b8b7c7 | libxul.so@0x1b8b759 | libxul.so@0xb7a277 | libxul.so@0x2d73917 | dalvik-main space (region space) (deleted)@0x5f9c2e
    Crash URL: https://crash-stats.mozilla.org/report/index/6927a4f6-8d5a-4783-9147-45e570200630
    3 . libxul.so@0x1b8ba52 | libart.so@0x23326d | libxul.so@0x1b8bc69 | libxul.so@0x1b8b7c7 | libxul.so@0x1b8b759 | libxul.so@0xb7a277 | libxul.so@0x2d73917 | libxul.so@0x29405bf | libxul.so@0x47dc136 | libxul.so@0xaebffd | libart.so@0x2d37e9 | dalvik-main sp...

Note: tried to narrow it to a more specific reproduction - it seems to be happening when tapping while the reader mode icon is not displayed in the URL bar and then tapping where the reader mode icon should be.

The original STR is verified, but let's file this as a separate bug and close this one as verified.

We need symbols for the Nightly builds before we can say that they are different crashes.

@kbrosnan is there a bug tracking the Nightly symbols work, so we can check and figure out when this can be re-checked.

This is the only place I have encountered unsymbolicated crashes. Closing as verified from https://github.com/mozilla-mobile/fenix/issues/11696#issuecomment-651809572

Was this page helpful?
0 / 5 - 0 ratings

Related issues

softvision-miralobontiu picture softvision-miralobontiu  ยท  3Comments

clitetailor picture clitetailor  ยท  3Comments

ekager picture ekager  ยท  3Comments

thelazyoxymoron picture thelazyoxymoron  ยท  3Comments

andreicristianpetcu picture andreicristianpetcu  ยท  3Comments