googleanalytics / google-tag-manager-ios-sdk

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Crash from `-[TAGRuntime evaluateEvent:] `

CraigSiemens opened this issue · comments

We are encountering a crash in our app. It's crashing inside of the -[TAGRuntime evaluateEvent:] method. It started happening after updating GoogleMaps to 6.0.

The app crashed any time a map is shown on screen and the tag manager is processing a screen_view event send through firebase.

  • on screens without a map it doesn't crash
  • disabling the screen view event prevents the crash
  • there is no difference between the automtic screen view events and manually logging them.
  • it doesn't seem to happen with any other event.
Thread 6 Queue : TagManagerContainerQueue (serial)
#0 0x00000002b003245c in 0x2b003245c ()
#1 0x000000012415a98c in JSC::Interpreter::executeCall(JSC::JSGlobalObject*, JSC::JSObject*, JSC::CallData const&, JSC::JSValue, JSC::ArgList const&) ()
#2 0x0000000124385154 in JSC::profiledCall(JSC::JSGlobalObject*, JSC::ProfilingReason, JSC::JSValue, JSC::CallData const&, JSC::JSValue, JSC::ArgList const&) ()
#3 0x0000000123b7579c in JSObjectCallAsFunction ()
#4 0x0000000123b00c10 in -[JSValue invokeMethod:withArguments:] ()
#5 0x0000000106c8dd00 in -[TAGRuntime evaluateEvent:] ()
#6 0x0000000106c80878 in __29-[TAGContainer processEvent:]_block_invoke ()
#7 0x0000000110873e94 in _dispatch_call_block_and_release ()
#8 0x0000000110875694 in _dispatch_client_callout ()
#9 0x000000011087c870 in _dispatch_lane_serial_drain ()
#10 0x000000011087d534 in _dispatch_lane_invoke ()
#11 0x0000000110889664 in _dispatch_workloop_worker_thread ()
#12 0x00000001c99caad4 in _pthread_wqthread ()
Enqueued from TagManagerQueue (Thread 6) Queue : TagManagerQueue (serial)
#0 0x0000000110879a60 in dispatch_async ()
#1 0x0000000106c80718 in -[TAGContainer processEvent:] ()
#2 0x0000000106c8c75c in __39-[TAGManager maybeLoadDefaultContainer]_block_invoke_2.311 ()
#3 0x0000000110873e94 in _dispatch_call_block_and_release ()
#4 0x0000000110875694 in _dispatch_client_callout ()
#5 0x000000011087c870 in _dispatch_lane_serial_drain ()
#6 0x000000011087d534 in _dispatch_lane_invoke ()
#7 0x0000000110889664 in _dispatch_workloop_worker_thread ()
#8 0x00000001c99caad4 in _pthread_wqthread ()
#9 0x00000001c99c988c in start_wqthread ()
Enqueued from APMAnalyticsQueue (Thread 6) Queue : APMAnalyticsQueue (serial)
#0 0x0000000110879a60 in dispatch_async ()
#1 0x0000000106c8c60c in __39-[TAGManager maybeLoadDefaultContainer]_block_invoke.300 ()
#2 0x0000000106b93ef0 in +[APMAnalytics notifyEventListenersOnSerialQueue:] ()
#3 0x0000000110873e94 in _dispatch_call_block_and_release ()
#4 0x0000000110875694 in _dispatch_client_callout ()
#5 0x000000011087c870 in _dispatch_lane_serial_drain ()
#6 0x000000011087d534 in _dispatch_lane_invoke ()
#7 0x0000000110889664 in _dispatch_workloop_worker_thread ()
#8 0x00000001c99caad4 in _pthread_wqthread ()
#9 0x00000001c99c988c in start_wqthread ()
Enqueued from  (Thread 6) Queue :  (serial)
#0 0x0000000110879a60 in dispatch_async ()
#1 0x0000000106b902e0 in +[APMAnalytics dispatchAsyncOnSerialQueue:] ()
#2 0x00000001100afc6c in __NSBLOCKOPERATION_IS_CALLING_OUT_TO_A_BLOCK__ ()
#3 0x00000001100afb48 in -[NSBlockOperation main] ()
#4 0x00000001100b2c94 in __NSOPERATION_IS_INVOKING_MAIN__ ()
#5 0x00000001100aec20 in -[NSOperation start] ()
#6 0x00000001100b363c in __NSOPERATIONQUEUE_IS_STARTING_AN_OPERATION__ ()
#7 0x00000001100b313c in __NSOQSchedule_f ()
#8 0x0000000110884b54 in _dispatch_block_async_invoke2 ()
#9 0x0000000110875694 in _dispatch_client_callout ()
#10 0x00000001108783e0 in _dispatch_continuation_pop ()
#11 0x0000000110877834 in _dispatch_async_redirect_invoke ()
#12 0x0000000110887c04 in _dispatch_root_queue_drain ()
#13 0x00000001108886fc in _dispatch_worker_thread2 ()
#14 0x00000001c99caa98 in _pthread_wqthread ()
#15 0x00000001c99c988c in start_wqthread ()
Enqueued from com.google.fira.worker (Thread 30) Queue : com.google.fira.worker (serial)
#0 0x0000000110879a60 in dispatch_async ()
#1 0x00000001100acd94 in __NSOQSchedule ()
#2 0x00000001100b0be4 in __addOperations ()
#3 0x0000000106b90370 in +[APMAnalytics queueOperationWithBlock:] ()
#4 0x0000000106b93de8 in +[APMAnalytics notifyEventListeners:] ()
#5 0x0000000106be2d2c in -[APMMeasurement logEventOnWorkerQueue:notifyEventListeners:] ()
#6 0x0000000106be2c9c in -[APMMeasurement logEventOnWorkerQueueWithOrigin:isPublicEvent:name:parameters:timestamp:enabled:ignoreEnabled:ignoreInterceptor:interceptor:addedScreenParameters:] ()
#7 0x0000000106be2978 in __151-[APMMeasurement logEventWithOrigin:isPublicEvent:name:parameters:timestamp:enabled:ignoreEnabled:ignoreInterceptor:interceptor:addedScreenParameters:]_block_invoke ()
#8 0x0000000106c281a8 in __51-[APMScheduler scheduleOnWorkerQueueBlockID:block:]_block_invoke ()
#9 0x0000000110873e94 in _dispatch_call_block_and_release ()
#10 0x0000000110875694 in _dispatch_client_callout ()
#11 0x000000011087c870 in _dispatch_lane_serial_drain ()
#12 0x000000011087d534 in _dispatch_lane_invoke ()
#13 0x0000000110889664 in _dispatch_workloop_worker_thread ()
#14 0x00000001c99caad4 in _pthread_wqthread ()
#15 0x00000001c99c988c in start_wqthread ()