woocommerce / woocommerce-ios

WooCommerce iOS app
https://www.woocommerce.com/mobile
GNU General Public License v2.0
321 stars 113 forks source link

[Crash] Crash with corrupted database from BlazeCampaignDashboardViewModel #14451

Open sentry-io[bot] opened 5 days ago

sentry-io[bot] commented 5 days ago

Sentry Issue: WOOCOMMERCE-IOS-1NF3

Error Domain=NSSQLiteErrorDomain Code=11 "(null)" UserInfo={NSFilePath=/var/mobile/Containers/Data/Application/AE242CE1-AA09-4BEA-BD8D-89FB37D28DA0/Documents/WooCommerce.sqlite, NSSQLiteErrorDomain=11}

Sample stack trace:

AutomatticTracks    0x104be7170  CrashLogging.logError (CrashLogging.swift:204)
  WooCommerce         0x102e68354  WooCrashLoggingStack.logError (WooCrashLoggingStack.swift:57)
  WooCommerce         0x102e68354  WooCrashLoggingStack (<compiler-generated>:56)
  WooCommerce         0x102e68354  BlazeCampaignDashboardViewModel.configureResultsController (BlazeCampaignDashboardViewModel.swift:331)
  WooCommerce         0x1032d549c  BlazeCampaignDashboardViewModel.init (BlazeCampaignDashboardViewModel.swift:125)
  WooCommerce         0x1032d83ac  BlazeCampaignDashboardViewModel.init (ServiceLocator.swift)
  WooCommerce         0x1032d83ac  BlazeCampaignDashboardViewModel.init (<compiler-generated>:112)
  WooCommerce         0x1032d83ac  BlazeCampaignDashboardViewModel.init (<compiler-generated>:112)
  WooCommerce         0x1032d83ac  $s11WooCommerce31BlazeCampaignDashboardViewModelC6siteID6stores14storageManager9analytics23blazeEligibilityCheckerACs5Int64V_8Yosemite06StoresL0_p7Storage0tL4Type_p0A10Foundation9Analytics_pAA0coP8Protocol_ptcfCTf4nnnnen_nAA0coP0C_Tgm5 (BlazeCampaignDashboardViewModel.swift:126)
  WooCommerce         0x1032d83ac  BlazeCampaignDashboardViewModel.__allocating_init (<compiler-generated>:112)
  WooCommerce         0x1032d83ac  DashboardViewModel.init (DashboardViewModel.swift:124)
  WooCommerce         0x1032d8ef0  DashboardViewModel.init (DashboardViewModel.swift)
  WooCommerce         0x1032d8ef0  DashboardViewModel.init (<compiler-generated>:105)
  WooCommerce         0x1032d8ef0  DashboardViewModel.init (<compiler-generated>:105)
dangermattic commented 5 days ago

Thanks for reporting! 👍

rachelmcr commented 5 days ago

Internal CUW post: peaMlT-10G-p2

sentry-io[bot] commented 5 days ago

Sentry Issue: WOOCOMMERCE-IOS-1NRB