Closed tamwei closed 3 months ago
Hello @tamwei Thanks for getting in touch! Could you please provide reproduction sample?
@tamwei, we've created a bug on our internal dashboard. Will update this thread once bug is fixed.
@AnatolyPristensky Thank you, and I have another question. When using the PLCrashReporterSymbolicationStrategyAll strategy, sometimes the PLCrashReporterSymbolicationStrategyObjC strategy will return a wrong symbol when symbolizing the address of the c++ or c method.
I want to know whether it is possible to judge whether the symbolization result of the PLCrashReporterSymbolicationStrategyObjC strategy is accurate, and if it is not accurate, the returned result will not be used.
Thank you for your continued support of client symbolization.
Hi @tamwei , sorry for late reply.
There is no built-in tool in PLCrashReporter for checking if the crash report is valid. You can try to parse the call stack yourself and determine if it is correct.
Thanks for your suggestion.
As we do not have plans to fix this bug in the next year, I'm closing the issue.
Description
I initialize PLCrashReporter using the
PLCrashReporterSymbolicationStrategyAll
strategy, And setDeployment Postprocessing
= YES,Strip Linked Product
= YESIn this case, our app always fails to symbolize locally,I've always thought it was right too. But this time, I found that in this case, our app can correctly symbolize locally. Then I started to look for the reason, I think it may be these two reasons: 1, PLCrashReporter additionally used two sections
__TEXT, __objc_methlist
and__DATA, __objc_selrefs
in 1.11.0 2, Our app usescategory
in the new version.For reason 2: When our app uses 'category', the '__objc_catlist' section will be included in the binary file, and the PLCrashReporterSymbolicationStrategyObjC strategy of plcrashreporter will work well.
The following code is plcrashreporter to get the
category list
. Maybe when gettingcategory list section
fails, it should not return . https://github.com/microsoft/plcrashreporter/blob/10d3dcdb0ffe504c44c99f57be5a304e339427dc/Source/PLCrashAsyncObjCSection.mm#L505-L511The following is the previous version of our app, which does not contain![1668738773](https://user-images.githubusercontent.com/13300832/202603501-5442467a-7ab4-4529-af34-af48bb96a6b9.png)
__objc_catlist
.Details