flurry / flurry-ios-sdk

Flurry iOS SDK CocoaPods
Apache License 2.0
155 stars 65 forks source link

Crash in Flurryplcrash_async_macho_symtab_reader_read #217

Open celiasty917 opened 3 years ago

celiasty917 commented 3 years ago

Describe the bug Crash in Flurryplcrash_async_macho_symtab_reader_read happen on iOS14.0 (not sure whether happens on other os) Sample crash log Date/Time: 2020-10-27 16:28:46.5423 +0530 Launch Time: 2020-10-27 16:08:01.0157 +0530 OS Version: iPhone OS 14.1 (18A8395) Release Type: User Baseband Version: 3.00.01 Report Version: 104

Exception Type: EXC_CRASH (SIGKILL) Exception Codes: 0x0000000000000000, 0x0000000000000000 Exception Note: EXC_CORPSE_NOTIFY Termination Reason: Namespace SPRINGBOARD, Code 0x8badf00d Termination Description: SPRINGBOARD, <RBSTerminateContext| domain:10 code:0x8BADF00D explanation:scene-update watchdog transgression: application:7821 exhausted real (wall clock) time allowance of 10.00 seconds | ProcessVisibility: Foreground | ProcessState: Running | WatchdogEvent: scene-update | WatchdogVisibility: Foreground | WatchdogCPUStatistics: ( | "Elapsed total CPU time (seconds): 13.300 (user 13.300, system 0.000), 22% CPU", | "Elapsed application CPU time (seconds): 9.973, 17% CPU" | ) reportType:CrashLog maxTerminationResistance:Interactive> Triggered by Thread: 0

Application Specific Information: abort() called

Thread 0 name: CrWebMain Dispatch queue: com.apple.main-thread Thread 0 Crashed: 0 Flurry_iOS_SDK 0x00000001149be87c Flurryplcrash_async_macho_symtab_reader_read (in Flurry_iOS_SDK) + 80 1 Flurry_iOS_SDK 0x00000001149be860 Flurryplcrash_async_macho_symtab_reader_read (in Flurry_iOS_SDK) + 52 2 Flurry_iOS_SDK 0x00000001149beae0 plcrash_async_macho_find_best_symbol (in Flurry_iOS_SDK) + 72 3 Flurry_iOS_SDK 0x00000001149be9d0 Flurryplcrash_async_macho_find_symbol_by_pc (in Flurry_iOS_SDK) + 132 4 Flurry_iOS_SDK 0x00000001149c0664 Flurryplcrash_async_find_symbol (in Flurry_iOS_SDK) + 116 5 Flurry_iOS_SDK 0x00000001149ba7ac plcrash_writer_write_thread_frame (in Flurry_iOS_SDK) + 96 6 Flurry_iOS_SDK 0x00000001149ba28c plcrash_writer_write_thread (in Flurry_iOS_SDK) + 444 7 Flurry_iOS_SDK 0x00000001149b9b84 Flurryplcrash_log_writer_write (in Flurry_iOS_SDK) + 704 8 Flurry_iOS_SDK 0x00000001149bcdc4 plcrash_write_report (in Flurry_iOS_SDK) + 80 9 Flurry_iOS_SDK 0x00000001149bbddc signal_handler_callback (in Flurry_iOS_SDK) + 100 10 Flurry_iOS_SDK 0x00000001149b82bc internal_callback_iterator(int, siginfo*, darwin_ucontext, void) (in Flurry_iOS_SDK) + 76 11 Flurry_iOS_SDK 0x00000001149b8220 $_0::~$_0() (in Flurry_iOS_SDK) + 16 12 libsystem_platform.dylib 0x00000001dbc5928c 0x1dbc54000 + 21132 13 libsystem_pthread.dylib 0x00000001dbc5ec74 0x1dbc5c000 + 11380 14 libsystem_c.dylib 0x000000019cea6bb4 0x19ce30000 + 486324 15 Flurry_iOS_SDK 0x00000001149bcebc -[FlurryPLCrashReporter enableCrashReporterAndReturnError:].cold.2 (in Flurry_iOS_SDK) + 20 16 Flurry_iOS_SDK 0x00000001149bbf64 mach_exception_callback (in Flurry_iOS_SDK) + 280 17 CoreFoundation 0x0000000193d6e8b4 0x193c4d000 + 1185972 18 libobjc.A.dylib 0x00000001a7e5c704 0x1a7e52000 + 42756 19 libc++abi.dylib 0x00000001a7f5b2a8 0x1a7f4c000 + 62120 20 libc++abi.dylib 0x00000001a7f5b234 0x1a7f4c000 + 62004 21 libdispatch.dylib 0x000000019396cadc 0x193969000 + 15068 22 libdispatch.dylib 0x0000000193970348 0x193969000 + 29512 23 FrontBoardServices 0x00000001a2daa0e0 0x1a2d4f000 + 372960 24 FrontBoardServices 0x00000001a2da9d88 0x1a2d4f000 + 372104 25 FrontBoardServices 0x00000001a2daa2ac 0x1a2d4f000 + 373420 26 CoreFoundation 0x0000000193ceb81c 0x193c4d000 + 649244 27 CoreFoundation 0x0000000193ceb718 0x193c4d000 + 648984 28 CoreFoundation 0x0000000193ceaa94 0x193c4d000 + 645780 29 CoreFoundation 0x0000000193ce4d20 0x193c4d000 + 621856 30 CoreFoundation 0x0000000193ce44bc 0x193c4d000 + 619708 31 GraphicsServices 0x00000001aa7f6820 0x1aa7f3000 + 14368 32 UIKitCore 0x0000000196691164 0x195b12000 + 12054884 33 UIKitCore 0x0000000196696840 0x195b12000 + 12077120 34 PRODUCT_NAME 0x00000001007830ac 0x10077c000 + 28844 35 PRODUCT_NAME 0x00000001007828a0 0x10077c000 + 26784 36 libdyld.dylib 0x00000001939abe40 0x1939ab000 + 3648

This Bug is About Please choose the closest item by replacing [ ] with [x].

Platform Please choose the platform(s) that you are having the issue by replacing [ ] with [x].

Environment Please tell us the versions of Flurry SDK, XCode, and iOS you are using.

To Reproduce N.A.

Screenshots N.A.

Additional context Are you using Flurry Push/Messaging? No (iOS) Are you using CocoaPods or manual binary integration? manual cocoapods

rajkaur01 commented 3 years ago

@celiasty917 Thank you for using Flurry Analytics. We are looking into this issue and will provide more details.

shauket commented 3 years ago

I am facing same issue, kindly share detail when is next release?

jaysoffian commented 3 years ago

exhausted real (wall clock) time allowance of 10.00 seconds

The Flurry SDK configures PLCrashReporter to symbolicate crash reports on the device.

In this case, the application crashed, PLCrashReporter intercepted the crash, and then the symbolication took too long, so iOS forced the process to abort.

I don't think this is iOS 14 specific, though it's possible something about iOS 14 makes symbolication slower.

It's also possible the app was already hanging for a few seconds, then it crashed, leaving PLCR with less than 10 seconds to symbolicate the report.

Unfortunately, there's not enough information in this report to make any further diagnosis.