Closed AnilVarghese closed 7 months ago
hey @einsteinx2 I believe https://github.com/mParticle/mparticle-apple-sdk/pull/246 and https://github.com/mParticle/mparticle-apple-sdk/releases/tag/v8.18.0 fix this issue right?
Can you please confirm so we can track this on our end?
Thanks!
@maurovc apologies for the late reply. Yes that release does resolve the issue. The overflow is actually intentional, it's the crash that wasn't. That's been fixed by using the overflow addition operator.
Since we upgraded to v8.17.0, seeing a crash
Swift runtime failure: arithmetic overflow
from MPIHasher.hashString(_:). Below you can find the full stack trace. We traced down the crash to MPIHasher line 33This would likely due to the resulting hash value exceeds the range of Int32. Using
Int64
might fix it. Could you please fix it Thank youStack trace