woocommerce-ios
woocommerce-ios copied to clipboard
EXC_BREAKPOINT: StoreStatsPeriodViewModel.createTimeRangeBarViewModel
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 issue: WOOCOMMERCE-IOS-1DJP
Priority: medium Severity: high (crash) Impact: low (4 users/4 events in 9.9.0.3)
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.
It also looks similar to this crash
Potentially related: https://a8c.sentry.io/issues/4592649020/events/d4e717633ca2432382ea3acfc112440c/