firebase / firebase-ios-sdk

Firebase SDK for Apple App Development
https://firebase.google.com
Apache License 2.0
5.67k stars 1.49k forks source link

[[NSProcessInfo isiOSAppOnMac] crash #6969 ] reproduces on 14.0 beta(18A5301v) #7413

Closed tianwwMT closed 3 years ago

tianwwMT commented 3 years ago

[NSProcessInfo isiOSAppOnMac] crash #6969 This crash still reproduces on 14.0 beta(18A5301v) after we updated GoogleUtilities to 7.2.0. Will it be fixed on 14.0 beta(18A5301v)?

google-oss-bot commented 3 years ago

I found a few problems with this issue:

paulb777 commented 3 years ago

I've confirmed that the fix is still in the 7.2.0 release.

Please share the installation type and if CocoaPods, the Podfile.lock. Also, please share the backtrace of the crash.

tianwwMT commented 3 years ago

I've confirmed that the fix is still in the 7.2.0 release.

Please share the installation type and if CocoaPods, the Podfile.lock. Also, please share the backtrace of the crash.

Yes, the fix is in the 7.2.0 release indeed, I checked the code inside Pods/GoogleUtilities/GoogleUtilities/Environment/third_party/GULAppEnvironmentUtil.m.

Here is the Podfile.lock and backstrace. I'm not sure what is the "installation type".

Podfile.lock

PODS:

DEPENDENCIES:

crash backtrace

CrashType: UncaughtException CrashReason: -[NSProcessInfo isiOSAppOnMac]: unrecognized selector sent to instance 0x283158210 Crash Stack: 0 CoreFoundation 0x000000019dae94f8 D3AFD0BA-F0B6-31BD-B65D-2DE422745537 + 1152248 1 libobjc.A.dylib 0x000000019d80c26c objc_exception_throw + 56 2 CoreFoundation 0x000000019d9fac4c D3AFD0BA-F0B6-31BD-B65D-2DE422745537 + 175180 3 CoreFoundation 0x000000019daebb24 D3AFD0BA-F0B6-31BD-B65D-2DE422745537 + 1162020 4 CoreFoundation 0x000000019daeda9c _CF_forwarding_prep_0 + 92 5 UnityFramework 0x0000000100cc13a8 GADTransparencyAuthorizationStatus + 524 6 UnityFramework 0x0000000100cc1258 GADTransparencyAuthorizationStatus + 188 7 libdispatch.dylib 0x000000019d7a96d8 174B8B8A-283C-32C8-A283-8DF63F76835F + 390872 8 libdispatch.dylib 0x000000019d74e218 174B8B8A-283C-32C8-A283-8DF63F76835F + 16920 9 UnityFramework 0x0000000100cc1234 GADTransparencyAuthorizationStatus + 152 10 UnityFramework 0x0000000100d04a04 GADEnvironmentIsSupported + 3664 11 libdispatch.dylib 0x000000019d7a86f0 174B8B8A-283C-32C8-A283-8DF63F76835F + 386800 12 libdispatch.dylib 0x000000019d7a96d8 174B8B8A-283C-32C8-A283-8DF63F76835F + 390872 13 libdispatch.dylib 0x000000019d758f04 174B8B8A-283C-32C8-A283-8DF63F76835F + 61188 14 CoreFoundation 0x000000019da692e0 D3AFD0BA-F0B6-31BD-B65D-2DE422745537 + 627424 15 CoreFoundation 0x000000019da63bb8 D3AFD0BA-F0B6-31BD-B65D-2DE422745537 + 605112 16 CoreFoundation 0x000000019da63030 CFRunLoopRunSpecific + 540 17 GraphicsServices 0x00000001a94b4598 GSEventRunModal + 160 18 UIKitCore 0x00000001a211b570 8C7158E2-3F37-3B7E-81BA-D084E36C5DD8 + 11433328 19 UIKitCore 0x00000001a2121330 UIApplicationMain + 1864 20 UnityFramework 0x0000000100626388 UnityFramework + 107400 21 mansion 0x0000000100383e00 mansion + 32256 22 libdyld.dylib 0x000000019d8f79d0 B0000CCF-C56D-3662-8631-1B4831962316 + 6608

paulb777 commented 3 years ago

From the backtrace, this is a similar crash in a different library - Google-Mobile-Ads-SDK. I'll relay the issue to that team. Filed at b/178938154

tianwwMT commented 3 years ago

From the backtrace, this is a similar crash in a different library - Google-Mobile-Ads-SDK. I'll relay the issue to that team. Filed at b/178938154

Thanks buddy :)

paulb777 commented 3 years ago

@tianwwMT The Ads team does not plan to address the issue and instead recommends updating the device to a non-beta version.