-
Notifications
You must be signed in to change notification settings - Fork 235
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
2.7.7: Crash in Persistence.archiveToFile(_:object:token:) #431
Comments
hi @igled7 , could you try v2.8.3? We have a number of fixes along the way since v2.7.7. |
Thanks @zihejia! I can upgrade to version 2.8.3.
|
@zihejia all the crashes coming from Mixpanel happen on archive in the method As I mentioned above, Mixpanel SDK started to crash after upgrading to 2.7.7 from 2.7.0. Could you confirm if these issues have been addressed in 2.8.3? |
@zihejia same issue is happening with v2.8.3. Please, could you look into this? |
hi @igled7 , if it is different, could you share the crash log for v2.8.3? We will take a look. |
Thanks @zihejia - Same crash, but I'll add the stack trace of the related active Mixpanel threads.
|
Hi @zihejia, I believe that the crash is related to a read/write sync issue. Our implementation may trigger |
Hello, we're experiencing the same crashes since we upgrade the SDK from 2.7.0 to 2.8.2. The symptoms look similar to other crashes in this issue. We found there're some data loss in the old version SDK, and upgrading it did help addressed the data loss issue. @zihejia Do you have any ETA of releasing a fix? If not, do you advise downgrading the SDK (e.g. back to 2.7.0) to avoid the crash? Pasting the stacktrace below for reference.
|
hi @canyousayyes , sorry for the crash, we don't recommend downgrading to 2.7.0. We will have a look and get back to you. |
hi @canyousayyes @igled7 We made a fix to the race condition showing in the crash logs and released in 2.9.1. I'm closing this issue now, please feel free to reopen it if the problem still exists. |
We are getting crashes in the method
Persistence.archiveToFile(_:object:token:)
This started happening after upgrading to the version 2.7.7. Everything was working fine with 2.7.0.
Environment
EXC_BAD_ACCESS KERN_INVALID_ADDRESS 0x4d55545a0000040 Persistence.archiveToFile
EXC_BREAKPOINT 0x00000001a45f151c Persistence.archiveToFile
EXC_BAD_ACCESS KERN_PROTECTION_FAILURE 0x00000058877e4c50 MixpanelInstance.archive()
EXC_BAD_ACCESS KERN_INVALID_ADDRESS 0x0000714c5ea34620 Persistence.archiveProperties(_:token:)
The text was updated successfully, but these errors were encountered: