Libunity.0x251974 and similar crashes

Hi.

We use:

  • Unity 2020.1.17f

  • Google Mobile Ads v6.0.0

  • GoogleMobileAdsUnityAdsMediation - 2.6.0

  • GoogleMobileAdsFacebook - 3.0.2

  • External Dependency Manager for Unity 1.2.165

  • Unity IAP - 3.2.1

  • Google Play Services Plugin for Unity 0.10.12

  • FireBase 7.2.0

In crashlytics from Firebase, we have a bunch of crashes with name like this: libunity.0x251974


Stack trace for libunity.0x251974 in the attached file.

Questions:

  • What is causing the crash?
  • How to understand where the error is?

For example for libunity.0x251974 resolve stacktraces from Android Logcat plugin gives the following information:

Caused by java.lang.Error: *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
Version '2020.1.17f1 (9957aee8edc2)', Build type 'Release', Scripting Backend 'il2cpp', CPU 'armeabi-v7a'
Build fingerprint: 'HUAWEI/CRO-U00/HWCRO-U6580M:6.0/HUAWEICRO-U00/C10B122:user/release-keys'
Revision: '0'
ABI: 'arm'
Timestamp: 2021-12-08 14:18:55+0300
pid: 12932, tid: 14552, name: Thread-1743  >>> com.qyv.TheGameName2 <<<
uid: 10112
signal 11 (SIGSEGV), code 1 (SEGV_MAPERR), fault addr 0x0
Cause: null pointer dereference
    r0  00000000  r1  00000001  r2  5d9ffa30  r3  5d9ff930
    r4  8227c8e0  r5  00000098  r6  8227c968  r7  90e129a4
    r8  90e12910  r9  000000ff  r10 00000003  r11 98b9f060
    ip  5d9ffa90  sp  5d9fe958  lr  9e21f3fc  pc  9df983c2
backtrace:
      #00 pc 001793c2 (void ApplyForceField<(ParticleSystemForceFieldShape)0>(ParticleSystemParticles&, unsigned int, unsigned int, math::affineX const&, math::affineX const&, ParticleSystemForceFieldParameters const&, float __vector(4) const&, MinMaxCurve const&) at ??:?)  /data/app/com.qyv.TheGameName2-1/lib/arm/libunity.so (BuildId: 3b101e2fca9af88d11817b6c0082538b6c5a557a)
      #01 pc 00160333 (void NoiseModule::CalculateNoiseJob<1, true, true>(NoiseJobData*) at ??:?)  /data/app/com.qyv.TheGameName2-1/lib/arm/libunity.so (BuildId: 3b101e2fca9af88d11817b6c0082538b6c5a557a)
      #02 pc 001603ad (void NoiseModule::CalculateNoiseJob<1, true, true>(NoiseJobData*) at ??:?)  /data/app/com.qyv.TheGameName2-1/lib/arm/libunity.so (BuildId: 3b101e2fca9af88d11817b6c0082538b6c5a557a)
      #03 pc 0023e729 (void TransferPPtr<ConfigSettingsRead>(int&, ConfigSettingsRead&) at ??:?)  /data/app/com.qyv.TheGameName2-1/lib/arm/libunity.so (BuildId: 3b101e2fca9af88d11817b6c0082538b6c5a557a)
      #04 pc 0023e66d (void ConfigSettingsRead::Transfer<MonoPPtr>(MonoPPtr&, char const*, TransferMetaFlags, bool) at ??:?)  /data/app/qyv.TheGameName2-1/lib/arm/libunity.so (BuildId: 3b101e2fca9af88d11817b6c0082538b6c5a557a)
      #05 pc 0023e60f (void ConfigSettingsRead::Transfer<MonoPPtr>(MonoPPtr&, char const*, TransferMetaFlags, bool) at ??:?)  /data/app/qyv.TheGameName2-1/lib/arm/libunity.so (BuildId: 3b101e2fca9af88d11817b6c0082538b6c5a557a)
      #06 pc 0023437d (UnityEngine::Analytics::WebRequestUploadHandler::~WebRequestUploadHandler() at ??:?)  /data/app/com.qyv.TheGameName2-1/lib/arm/libunity.so (BuildId: 3b101e2fca9af88d11817b6c0082538b6c5a557a)
      #07 pc 0023478b (UnityAnalytics::UnregisterGlobalCallbacks() at ??:?)  /data/app/qyv.TheGameName2-1/lib/arm/libunity.so (BuildId: 3b101e2fca9af88d11817b6c0082538b6c5a557a)
      #08 pc 00234a71 (UnityAnalytics::HandleCustomEventLimit(UnityEngine::Analytics::UserCustomEvent&) at ??:?)  /data/app/qyv.TheGameName2-1/lib/arm/libunity.so (BuildId: 3b101e2fca9af88d11817b6c0082538b6c5a557a)
      #09 pc 00078713 (_GLOBAL__sub_I_Src_EnlightenAPI_LibSrc_Enlighten3HLRT_DynamicObject_0.cpp at ??:?)  /data/app/qyv.TheGameName2-1/lib/arm/libunity.so (BuildId: 3b101e2fca9af88d11817b6c0082538b6c5a557a)
      #10 pc 007293a3  /data/app/c<truncated: 2850 chars>
       at libunity.0x1793c2()
       at libunity.0x160333()
       at libunity.0x1603ad()
       at libunity.0x23e729()
       at libunity.0x23e66d()
       at libunity.0x23e60f()
       at libunity.0x23437d()
       at libunity.0x23478b()
       at libunity.0x234a71()
       at libunity.0x78713()
       at libunity.0x7293a3()
       at libunity.0x272793()
       at libil2cpp.0x72504c()
       at libil2cpp.0x727d54()
       at libil2cpp.0x72bfb4()
       at libil2cpp.0x128ca0c()
       at libil2cpp.0x160d6a8()
       at libil2cpp.0x160d6a8()
       at libil2cpp.0x3ae5e0()
       at libil2cpp.0x2ccef0()
       at libil2cpp.0x2d17dc()
       at libil2cpp.0x2d1540()
       at libil2cpp.0x2a693c()
       at libil2cpp.0xb7c778()
       at libil2cpp.0xb1b178()
       at libil2cpp.0xf7bbb4()
       at libil2cpp.0xf7edbc()
       at libil2cpp.0x3d7d94()
       at libil2cpp.0x2ccef0()
       at libunity.0x202935()
       at libunity.0x20c25d()
       at libunity.0xf6749()

7719307–968563–libunity.0x1793c2 stack trace.pdf (70.8 KB)

Hey - did you guys ever get this figured out? we’re seeing a similar issue, not really sure where to look to get these figured out… Using Unity 2020.2.2f1