Internal Cleanup P3
Status Update
Comments
ap...@google.com <ap...@google.com> #2
Our app got the same crash too.
OS Version: iOS 13.3.1 (17D50)
Report Version: 104
Exception Type: EXC_BAD_ACCESS (SIGBUS)
Exception Codes: BUS_NOOP at 0x0000000141a80020
Crashed Thread: 12
Application Specific Information:
CXX: calling C++ destructors for class %s >
Attempted to dereference garbage pointer 0x141a80020.
Thread 12 Crashed:
0 libobjc.A.dylib 0x347ce7140 objc_release
1 AppMap 0x1015c8584 -[GMSPointOfInterest .cxx_destruct]
2 libobjc.A.dylib 0x347ccc0e4 object_cxxDestructFromClass
3 libobjc.A.dylib 0x347cded78 objc_destructInstance
4 libobjc.A.dylib 0x347ce5dac _objc_rootDealloc
5 CoreFoundation 0x347e5b28c __RELEASE_OBJECTS_IN_THE_ARRAY__
6 CoreFoundation 0x347de8c78 -[__NSArrayM dealloc]
7 AppMap 0x1015d5e50 -[GMSVectorTile .cxx_destruct]
8 libobjc.A.dylib 0x347ccc0e4 object_cxxDestructFromClass
9 libobjc.A.dylib 0x347cded78 objc_destructInstance
10 libobjc.A.dylib 0x347ce5dac _objc_rootDealloc
11 AppMap 0x1016398cc -[GMSTileRequest .cxx_destruct]
12 libobjc.A.dylib 0x347ccc0e4 object_cxxDestructFromClass
13 libobjc.A.dylib 0x347cded78 objc_destructInstance
14 libobjc.A.dylib 0x347ce5dac _objc_rootDealloc
15 CoreFoundation 0x347e5b28c __RELEASE_OBJECTS_IN_THE_ARRAY__
16 CoreFoundation 0x347de8c78 -[__NSArrayM dealloc]
17 AppMap 0x10162b894 -[GMSDASHBatchedTileRequest .cxx_destruct]
18 libobjc.A.dylib 0x347ccc0e4 object_cxxDestructFromClass
19 libobjc.A.dylib 0x347cded78 objc_destructInstance
20 libobjc.A.dylib 0x347ce5dac _objc_rootDealloc
21 libsystem_blocks.dylib 0x318dfaa44 _Block_release
22 libdispatch.dylib 0x326509180 _dispatch_client_callout
23 libdispatch.dylib 0x3264b1a38 _dispatch_continuation_pop$VARIANT$mp
24 libdispatch.dylib 0x3264b118c _dispatch_async_redirect_invoke
25 libdispatch.dylib 0x3264bdfa0 _dispatch_root_queue_drain
26 libdispatch.dylib 0x3264be76c _dispatch_worker_thread2
27 libsystem_pthread.dylib 0x31f8a1b44 _pthread_wqthread
Thread 0
0 libsystem_kernel.dylib 0x348044634 mach_msg_trap
1 libsystem_kernel.dylib 0x348043a9c mach_msg
2 CoreFoundation 0x347e8f284 __CFRunLoopServiceMachPort
3 CoreFoundation 0x347e8a3a4 __CFRunLoopRun
4 CoreFoundation 0x347e89ad8 CFRunLoopRunSpecific
5 GraphicsServices 0x33045a324 GSEventRunModal
6 UIKitCore 0x3167ed638 UIApplicationMain
7 App 0x200ba5f64 main (ActionView.swift:16)
8 libdyld.dylib 0x34808735c start
Thread 1 name: com.apple.uikit.eventfetch-thread
0 libsystem_kernel.dylib 0x348044634 mach_msg_trap
1 libsystem_kernel.dylib 0x348043a9c mach_msg
2 CoreFoundation 0x347e8f284 __CFRunLoopServiceMachPort
3 CoreFoundation 0x347e8a3a4 __CFRunLoopRun
4 CoreFoundation 0x347e89ad8 CFRunLoopRunSpecific
5 Foundation 0x3172e4780 -[NSRunLoop(NSRunLoop) runMode:beforeDate:]
6 Foundation 0x3172e4660 -[NSRunLoop(NSRunLoop) runUntilDate:]
7 UIKitCore 0x316885e7c -[UIEventFetcher threadMain]
8 Foundation 0x317415098 __NSThread__start__
9 libsystem_pthread.dylib 0x31f8a0d88 _pthread_start
Thread 2
0 libsystem_kernel.dylib 0x348066240 __semwait_signal
1 libsystem_c.dylib 0x32471565c nanosleep
2 libsystem_c.dylib 0x32471545c sleep
3 Sentry 0x100f6f440 monitorCachedData (SentryCrashCachedData.c:151)
4 libsystem_pthread.dylib 0x31f8a0d88 _pthread_start
Thread 3 name: SentryCrash Exception Handler (Secondary)
0 libsystem_kernel.dylib 0x348044634 mach_msg_trap
1 libsystem_kernel.dylib 0x348043a9c mach_msg
2 Sentry 0x100f69310 handleExceptions (SentryCrashMonitor_MachException.c:281)
3 libsystem_pthread.dylib 0x31f8a0d88 _pthread_start
Thread 5 name: com.apple.NSURLConnectionLoader
0 libsystem_kernel.dylib 0x348044634 mach_msg_trap
1 libsystem_kernel.dylib 0x348043a9c mach_msg
2 CoreFoundation 0x347e8f284 __CFRunLoopServiceMachPort
3 CoreFoundation 0x347e8a3a4 __CFRunLoopRun
4 CoreFoundation 0x347e89ad8 CFRunLoopRunSpecific
5 CFNetwork 0x32984e4e8 <redacted>
6 Foundation 0x317415098 __NSThread__start__
7 libsystem_pthread.dylib 0x31f8a0d88 _pthread_start
Thread 6 name: AVAudioSession Notify Thread
0 libsystem_kernel.dylib 0x348044634 mach_msg_trap
1 libsystem_kernel.dylib 0x348043a9c mach_msg
2 CoreFoundation 0x347e8f284 __CFRunLoopServiceMachPort
3 CoreFoundation 0x347e8a3a4 __CFRunLoopRun
4 CoreFoundation 0x347e89ad8 CFRunLoopRunSpecific
5 AVFAudio 0x3332dbc18 GenericRunLoopThread::Entry
6 AVFAudio 0x33332cd5c CAPThread::Entry
7 libsystem_pthread.dylib 0x31f8a0d88 _pthread_start
Thread 7
0 libsystem_kernel.dylib 0x348066a7c __workq_kernreturn
1 libsystem_pthread.dylib 0x31f8a1bd0 _pthread_wqthread
Thread 8
0 libsystem_kernel.dylib 0x348066a7c __workq_kernreturn
1 libsystem_pthread.dylib 0x31f8a1bd0 _pthread_wqthread
Thread 9
0 libobjc.A.dylib 0x347ce829c objc_opt_self
1 Foundation 0x3172f5800 +[NSMutableData(NSMutableData) allocWithZone:]
2 Foundation 0x317328118 +[NSMutableData(NSMutableData) dataWithLength:]
3 AppMap 0x10152f9f8 -[GMSx_GPBMessage data]
4 AppMap 0x1014f697c GMSExtractProtoExtension
5 AppMap 0x1015e1a58 gmscore::model::UnpackStyleWithProtoRenderOp
6 AppMap 0x1015e180c gmscore::model::MakeLabelGroupWithLabelGroup
7 AppMap 0x1015c7a44 +[GMSPointOfInterest unpackedPOIWithProto:wireContext:]
8 AppMap 0x101629194 GMSVectorTileFromTileProto
9 AppMap 0x10162830c GMSModelTileFromTileProto
10 AppMap 0x101632ca4 -[GMSMapTileService processResponseProto:intoBatchResponse:]
11 AppMap 0x10162f7d0 -[GMSDASHTileService handleServerResponse:error:tileRequests:elapsedTime:]
12 AppMap 0x10162b560 __71-[GMSDASHBatchedTileRequest initWithTileRequests:timingClock:delegate:]_block_invoke
13 AppMap 0x101462554 -[GMSDASHProtobufferRequest scheduleRetryIfApplicableForResponse:error:connection:]
14 AppMap 0x101461e74 __74-[GMSDASHProtobufferRequest dispatchHandlerWithResponse:error:connection:]_block_invoke
15 libdispatch.dylib 0x32650860c _dispatch_call_block_and_release
16 libdispatch.dylib 0x326509180 _dispatch_client_callout
17 libdispatch.dylib 0x3264b1a38 _dispatch_continuation_pop$VARIANT$mp
18 libdispatch.dylib 0x3264b118c _dispatch_async_redirect_invoke
19 libdispatch.dylib 0x3264bdfa0 _dispatch_root_queue_drain
20 libdispatch.dylib 0x3264be76c _dispatch_worker_thread2
21 libsystem_pthread.dylib 0x31f8a1b44 _pthread_wqthread
Thread 10
0 libsystem_kernel.dylib 0x3480688a4 stat64
1 CoreData 0x316fb1c7c -[NSPersistentStore(_NSInternalMethods) _preflightCrossCheck]
2 CoreData 0x3170cff3c __65-[NSPersistentStoreCoordinator executeRequest:withContext:error:]_block_invoke.767
3 CoreData 0x316f6a1d0 -[NSPersistentStoreCoordinator _routeHeavyweightBlock:]
4 CoreData 0x316f6af5c -[NSPersistentStoreCoordinator executeRequest:withContext:error:]
5 CoreData 0x316f6be14 -[NSManagedObjectContext save:]
6 AppMap 0x1015a5954 __62-[GMSTileDataCache storeCacheableTileDatas:completionHandler:]_block_invoke
7 CoreData 0x3170a1de8 developerSubmittedBlockToNSManagedObjectContextPerform
8 libdispatch.dylib 0x326509180 _dispatch_client_callout
9 libdispatch.dylib 0x3264b5400 _dispatch_lane_serial_drain$VARIANT$mp
10 libdispatch.dylib 0x3264b5df4 _dispatch_lane_invoke$VARIANT$mp
11 libdispatch.dylib 0x3264bf310 _dispatch_workloop_worker_thread
12 libsystem_pthread.dylib 0x31f8a1b84 _pthread_wqthread
Thread 11
0 libsystem_kernel.dylib 0x348066a7c __workq_kernreturn
1 libsystem_pthread.dylib 0x31f8a1bd0 _pthread_wqthread
Thread 13
0 libsystem_pthread.dylib 0x31f8a4758 start_wqthread
Thread 14
0 libsystem_kernel.dylib 0x348044634 mach_msg_trap
1 libsystem_kernel.dylib 0x348043a9c mach_msg
2 CoreFoundation 0x347e8f284 __CFRunLoopServiceMachPort
3 CoreFoundation 0x347e8a3a4 __CFRunLoopRun
4 CoreFoundation 0x347e89ad8 CFRunLoopRunSpecific
5 Foundation 0x3172e4780 -[NSRunLoop(NSRunLoop) runMode:beforeDate:]
6 AppMap 0x101732ea8 -[GMSx_GTMSimpleWorkerThread main]
7 Foundation 0x317415098 __NSThread__start__
8 libsystem_pthread.dylib 0x31f8a0d88 _pthread_start
EOF
Description
We currently use Backward-cpp project instead. This would allow us to remove the annoying dep on boost. Investigate further.
boost::stacktrace
for theREACTOR_EMIT_DEBUG_INFO
feature. This, in turn, useslibbacktrace
for Linux, and native Windows APIs on Windows. We may be able to simplify these dependencies by using the