Page MenuHomePhabricator

[S] Crash when viewing revision history
Closed, ResolvedPublicBUG REPORT

Description

Steps to replicate the issue (include links if applicable):

  • Log in to the iOS (iPad) Wikipedia app
  • Open an article
  • Tap "..." and then "Article revision history"

What happens?:
App crashes

What should have happened instead?:
Revision history displayed

Software version (on Special:Version page; skip for WMF-hosted wikis like Wikipedia):

Other information (browser name/version, screenshots, etc.):

  • iPadOS 17.5.1 (21F90)
  • App 7.5.6 (3814)

IMG_0036.gif (914×600 px, 1 MB)

(above gif cuts off a little early but might be helpful to show behaviour?)

Engineering notes:
Fix crash in HtmlUtils.stringFromHTML
Xcode is reporting some crashes in the HtmlUtils.stringFromHTML method. Stack trace indicates it's from PageHistoryViewController.configure(cell:for:at:) method in 7.5.6 (3814). We also see it from the WMFWatchlistViewModel.ItemViewModel.comment.getter method in 7.5.7 (3841).

Event Timeline

+2 more reports

On the iPad app 7.5.6 (3814) on iPad OS 15.8.2, iPad mini4 MK8D2B/A I am getting crashes when viewing Edit History. This does not happen on all pages. Examples of pages where it happens every time reproducibly:

Andree Melly
Guthrie Govan
Ionosphere

And where it does not appear to ever happen:

Dew point
Tog (unit)

Bug: tapping on “revision history” on an article crashes app
Tapping on the “Article revision history” button will crash the app. I noticed this bug when looking at this page in the app : https://en.wikipedia.org/wiki/Stephen_Nedoroscik

Steps to reproduce:

  1. Open app
  2. Go to article
  3. Tap on three dots in bottom right to show context menu
  4. Tap on article revision history

Version: WikipediaApp/7.5.6.3814 (iOS 17.6; Phone)

HNordeenWMF renamed this task from Crash when viewing revision history on iPad to Crash when viewing revision history .Aug 12 2024, 4:12 PM
HNordeenWMF moved this task from Needs Triage to Up next on the Wikipedia-iOS-App-Backlog board.

Try to pick up in the next sprint, before the nice-to-have items

Tsevener renamed this task from Crash when viewing revision history to [S] Crash when viewing revision history .Aug 13 2024, 6:32 PM

Also reports of seeing this crash in Notifications Center and Watchlist.

+1 more report through the support email:

Prostate cancer - Version history - Scrolling to the end: always crashes
Version: WikipediaApp/7.5.6.3814 (iOS 17.6; Phone)