WordPress-iOS icon indicating copy to clipboard operation
WordPress-iOS copied to clipboard

Crash: Index out of bounds in ReaderInterestsDataSource

Open sentry-io[bot] opened this issue 1 year ago • 2 comments

Sentry Issue: JETPACK-IOS-1932

EXC_BREAKPOINT: Exception 6, Code 1, Subcode 4343318844
  File "<compiler-generated>", in range
  File "<compiler-generated>", in Array._checkSubscript
  File "<compiler-generated>", in Array.subscript.getter
  File "ReaderInterestsDataSource.swift", line 107, in ReaderInterestsDataSource.interest
  File "ReaderSelectInterestsViewController.swift", line 359, in ReaderSelectInterestsViewController.collectionView
...
(57 additional frame(s) were not displayed)

This crash first appeared in Jetpack iOS 24.2 (24.2.0.3), currently affecting 1 user.

sentry-io[bot] avatar Feb 22 '24 15:02 sentry-io[bot]

Thanks for reporting! 👍

dangermattic avatar Feb 22 '24 15:02 dangermattic

Assigning a Medium priority due to the high severity of being a crash and low impact due to the low reach.

dvdchr avatar Feb 22 '24 15:02 dvdchr

Created #22876 targeting the current beta branch release/24.5. In the PR, I've also added some details/assumptions about why the crash rate has been rising despite it being a legacy component.

dvdchr avatar Mar 21 '24 04:03 dvdchr

@dvdchr I'm closing this issue since the PR is merged. Tagging with 24.5 milestone.

staskus avatar Apr 02 '24 09:04 staskus