Closed Lakr233 closed 2 years ago
If you could provide a bz2 file that causes this crash, that would be very helpful. Otherwise, it is very hard for me to diagnose this issue.
I haven't include user's data in my crash report and it's a little bit hard to reach out the user. But will get back to you if anything available then.
If I had to guess, I would say that this may be caused by trying to process incomplete BZip2 archive. Could such situation occur in your program (I mean, is it possible that RepositoryCenter.downloadUpdatePackage(withBaseUrl:suffix:)
passes incomplete bz2 into BZip2.decompress
)?
However, to confirm that there aren't more nefarious bugs in BZip2.decompress, I would still have to examine the problematic file.
4.8.0 has been released, which includes a fix for a problem that I suspected in this thread:
If I had to guess, I would say that this may be caused by trying to process incomplete BZip2 archive. Could such situation occur in your program (I mean, is it possible that RepositoryCenter.downloadUpdatePackage(withBaseUrl:suffix:) passes incomplete bz2 into BZip2.decompress)?
Let me know, if this didn't help.
Have checked my build and should not be crashing on prediction. Having no idea about what cased the crash. Affecting 1 user over 10 times in a short time.