microsoft / plcrashreporter

Reliable, open-source crash reporting for iOS, macOS and tvOS
Other
2.84k stars 532 forks source link

Increased MAX_REPORT_BYTES to 1M. #308

Closed grigorye closed 3 months ago

grigorye commented 3 months ago

Description

This addresses the issue with crash reports not loading with "Error Domain=PLCrashReporterErrorDomain Code=2 "An unknown error occurred decoding the crash report" UserInfo={NSLocalizedDescription=An unknown error occured decoding the crash report".

Related PRs or issues

https://github.com/microsoft/plcrashreporter/issues/305

Misc

Attached an example of the crash report generated (289858 bytes, otherwise cut to 256K/causing the issue on read).

live_report.plcrash.zip

grigorye commented 3 months ago

@microsoft-github-policy-service agree

MikhailSuendukov commented 3 months ago

Build succeed.