Open anish190 opened 6 months ago
That's quite unusual, ICU core is an Apple system library on iPhone.
As far as I can see, icu::Transliterator::_getAvailableVariant
should not be able to hang, it's a loop but with clear termination condition and maximum of 32 iterations.
@berkus Do you have any recommendations on where to investigate?
@anish190 Yes, one way would be to figure out which message SID it hangs on, and then fetch that message using REST api and inspect its date fields to see if something is amiss there.
It seems like problematic is dateCreated (dateCreatedAsDate
), and it should always be set by the service.
For a quick workaround, in your GroupChannelsViewModel.groupConversationsByDate
use dateCreated
(which is a String) instead of dateCreatedAsDate
and then parse it yourself, logging it to sentry along the way.
Thanks for the direction. Will look into it.
@anish190 do tell what you find out!
@berkus Sorry. I was super busy due to the release. I'll spend some time this week and update you,
@berkus After switching from dateCreatedAsDate to dateCreated, I haven't encountered the previously mentioned issue in Sentry. I plan to keep an eye on this over the next few builds and will verify if this adjustment resolves the problem.
SDK version
4.0.3
Device model
iPhone 13 Pro Max
OS version
17.1.2
Issue description
I utilize Sentry for monitoring the performance of the application. I recently came across an app hang issue within the dateFromTimestampString method.