woocommerce-ios icon indicating copy to clipboard operation
woocommerce-ios copied to clipboard

EXC_BREAKPOINT: StoreStatsPeriodViewModel.createTimeRangeBarViewModel

Open sentry-io[bot] opened this issue 3 years ago • 3 comments

Sentry Issue: WOOCOMMERCE-IOS-1DJM

EXC_BREAKPOINT: Exception 6, Code 4415792, Subcode 8
  File "<compiler-generated>", in range
  File "<compiler-generated>", in _ArrayBuffer._checkInoutAndNativeTypeCheckedBounds
  File "<compiler-generated>", in Array._checkSubscript
  File "<compiler-generated>", in Array.subscript.getter
  File "StoreStatsPeriodViewModel.swift", line 171, in StoreStatsPeriodViewModel.createTimeRangeBarViewModel
...
(54 additional frame(s) were not displayed)

sentry-io[bot] avatar Sep 01 '22 15:09 sentry-io[bot]

Sentry issue: WOOCOMMERCE-IOS-1DJP

sentry-io[bot] avatar Sep 01 '22 15:09 sentry-io[bot]

Priority: medium Severity: high (crash) Impact: low (4 users/4 events in 9.9.0.3)

rachelmcr avatar Sep 01 '22 15:09 rachelmcr

This is the line the crash is happening on:

let date = orderStatsIntervals[selectedIndex].dateStart(timeZone: siteTimezone)

Although it's a different stack trace, this seems suspiciously similar to https://github.com/woocommerce/woocommerce-ios/issues/6333, a crash also related to order stats intervals. It could have a similar underlying cause, although there aren't enough reports yet for it to be a significant concern.

rachelmcr avatar Sep 02 '22 09:09 rachelmcr

It also looks similar to this crash

toupper avatar Nov 07 '22 17:11 toupper

Potentially related: https://a8c.sentry.io/issues/4592649020/events/d4e717633ca2432382ea3acfc112440c/

iamgabrielma avatar Dec 05 '23 06:12 iamgabrielma