firebase-unity-sdk: [Crash] Il2CppExceptionWrapper crash on iOS

Description

Fatal Exception: Il2CppExceptionWrapper on iOS app

We also tried with Firebase sdk v12.4.0

stacktrace.txt

Reproducing the issue

We can not reproduce

Firebase Unity SDK Version

12.6.0 and 12.4.0

Unity editor version

2022.3.55

Installation Method

.unitypackage

Problematic Firebase Component(s)

No response

Other Firebase Component(s) in use

Analytics, Crashlytics, Firestore, Messaging, Remote Config

Additional SDKs you are using

Applovin Max : 8.0.1

  • GoogleAdsManager ios 11.13.0.1
  • GoogleAdmob ios 11.13.01

GoogleMobile Ads: 9.5.0 Facebook: 17.0.0 Adjust: v5 GameAnalytics: 7.10.3

Targeted Platform(s)

Apple Platforms

Unity editor platform

Mac

Scripting Runtime

IL2CPP

Release Distribution Type

Pre-built SDK from https://firebase.google.com/download/unity

Relevant Log Output

Crashed: com.google.firebase.crashlytics.ios.exception

Fatal Exception: Il2CppExceptionWrapper

Crashed: com.google.firebase.crashlytics.ios.exception
0  UnityFramework                 0x2eb18fc FIRCLSProcessRecordAllThreads + 392 (FIRCLSProcess.c:392)
1  UnityFramework                 0x2eb1cdc FIRCLSProcessRecordAllThreads + 423 (FIRCLSProcess.c:423)
2  UnityFramework                 0x2ea96b4 FIRCLSHandler + 34 (FIRCLSHandler.m:34)
3  UnityFramework                 0x2ea4438 __FIRCLSExceptionRecord_block_invoke + 240 (FIRCLSException.mm:240)
4  libdispatch.dylib              0x3dd4 _dispatch_client_callout + 20
5  libdispatch.dylib              0x132c4 _dispatch_lane_barrier_sync_invoke_and_complete + 56
6  UnityFramework                 0x2ea33b4 FIRCLSExceptionRecord + 242 (FIRCLSException.mm:242)
7  UnityFramework                 0x2ea3128 FIRCLSTerminateHandler() + 423 (FIRCLSException.mm:423)
8  libc++abi.dylib                0x14068 std::__terminate(void (*)()) + 16
9  libc++abi.dylib                0x1400c std::terminate() + 108
10 libobjc.A.dylib                0x3f81c objc::DenseMapBase<objc::DenseMap<objc_class*, PendingInitialize*, objc::DenseMapValueInfo<PendingInitialize*>, objc::DenseMapInfo<objc_class*>, objc::detail::DenseMapPair<objc_class*, PendingInitialize*>>, objc_class*, PendingInitialize*, objc::DenseMapValueInfo<PendingInitialize*>, objc::DenseMapInfo<objc_class*>, objc::detail::DenseMapPair<objc_class*, PendingInitialize*>>::FatalCorruptHashTables(objc::detail::DenseMapPair<objc_class*, PendingInitialize*> const*, unsigned int) const + 14
11 libdispatch.dylib              0x3de8 _dispatch_client_callout + 40
12 libdispatch.dylib              0xb400 _dispatch_lane_serial_drain + 748
13 libdispatch.dylib              0xbf30 _dispatch_lane_invoke + 380
14 libdispatch.dylib              0x16cb4 _dispatch_root_queue_drain_deferred_wlh + 288
15 libdispatch.dylib              0x16528 _dispatch_workloop_worker_thread + 404
16 libsystem_pthread.dylib        0x4934 _pthread_wqthread + 288
17 libsystem_pthread.dylib        0x10cc start_wqthread + 8

If using CocoaPods for Apple platforms, the project’s Podfile.lock

Expand Podfile.lock snippet

👀 Replace this line with the contents of your Podfile.lock!

About this issue

  • Original URL
  • State: closed
  • Created 2 years ago
  • Comments: 19

Most upvoted comments

Hello. I’ve investigated this issue and I found that this crash happened in unusual circumstances. There was null reference exception in our code that was thrown in another thread, not main. Crashlytics couldn’t receive correct stacktrace and I was able to get right stacktrace only thanks to another service of crash reporting. Please improve collecting stacktraces in such circumstances like in another services if this is possible.