firebase / firebase-cpp-sdk

Firebase C++ SDK
http://firebase.google.com
Apache License 2.0
278 stars 114 forks source link

Crash on Android build in Unreal Engine 4.27 #1667

Open herpiko opened 3 weeks ago

herpiko commented 3 weeks ago

[REQUIRED] Please fill in the following fields:

[REQUIRED] Please describe the question here:

I was able to configure, build and run it successfully forWindows (at least enough to open the UE Editor and compile everything) and for iOS.

However, for Android, although the build and packaging were successful, I’m experiencing crashes with the following log:

10-30 03:35:26.449 15366 15366 F DEBUG   :       #01 pc 000000000ee04550  /data/app/~~ZOS4CW4RUmUrOYdsNF0PXw==/REDACTED-z_pBagApFrHqXcfVrb89dw==/lib/arm64/libUE4.so (BuildId: 965c4c49fab773fdc15d34c39aa0e6ebdec27df7)
10-30 03:35:26.449 15366 15366 F DEBUG   :       #02 pc 000000000ee04610  /data/app/~~ZOS4CW4RUmUrOYdsNF0PXw==/REDACTED-z_pBagApFrHqXcfVrb89dw==/lib/arm64/libUE4.so (firebase::LogMessageWithCallbackV(firebase::LogLevel, char const*, std::__va_list)+188) (BuildId: 965c4c49fab773fdc15d34c39aa0e6ebdec27df7)
10-30 03:35:26.449 15366 15366 F DEBUG   :       #03 pc 000000000ee04994  /data/app/~~ZOS4CW4RUmUrOYdsNF0PXw==/REDACTED-z_pBagApFrHqXcfVrb89dw==/lib/arm64/libUE4.so (firebase::LogAssert(char const*, ...)+124) (BuildId: 965c4c49fab773fdc15d34c39aa0e6ebdec27df7)
10-30 03:35:26.449 15366 15366 F DEBUG   :       #04 pc 000000000ee17724  /data/app/~~ZOS4CW4RUmUrOYdsNF0PXw==/REDACTED-z_pBagApFrHqXcfVrb89dw==/lib/arm64/libUE4.so (firebase::util::LookupMethodIds(_JNIEnv*, _jclass*, firebase::util::MethodNameSignature const*, unsigned long, _jmethodID**, char const*)+436) (BuildId: 965c4c49fab773fdc15d34c39aa0e6ebdec27df7)
10-30 03:35:26.449 15366 15366 F DEBUG   :       #05 pc 000000000ee665f4  /data/app/~~ZOS4CW4RUmUrOYdsNF0PXw==/REDACTED-z_pBagApFrHqXcfVrb89dw==/lib/arm64/libUE4.so (firebase::analytics::Initialize(firebase::App const&)+224) (BuildId: 965c4c49fab773fdc15d34c39aa0e6ebdec27df7)
10-30 03:35:26.449 15366 15366 F DEBUG   :       #06 pc 00000000086faac8  /data/app/~~ZOS4CW4RUmUrOYdsNF0PXw==/REDACTED-z_pBagApFrHqXcfVrb89dw==/lib/arm64/libUE4.so (FFirebaseFeaturesModule::InitAnalytics()+60) (BuildId: 965c4c49fab773fdc15d34c39aa0e6ebdec27df7)
10-30 03:35:26.449 15366 15366 F DEBUG   :       #07 pc 00000000086fa690  /data/app/~~ZOS4CW4RUmUrOYdsNF0PXw==/REDACTED-z_pBagApFrHqXcfVrb89dw==/lib/arm64/libUE4.so (FFirebaseFeaturesModule::InitializeFirebaseComponents()+72) (BuildId: 965c4c49fab773fdc15d34c39aa0e6ebdec27df7)
10-30 03:35:26.449 15366 15366 F DEBUG   :       #08 pc 0000000009e3c77c  /data/app/~~ZOS4CW4RUmUrOYdsNF0PXw==/REDACTED-z_pBagApFrHqXcfVrb89dw==/lib/arm64/libUE4.so (FModuleManager::LoadModuleWithFailureReason(FName, EModuleLoadResult&)+2408) (BuildId: 965c4c49fab773fdc15d34c39aa0e6ebdec27df7)
10-30 03:35:26.449 15366 15366 F DEBUG   :       #09 pc 000000000a098054  /data/app/~~ZOS4CW4RUmUrOYdsNF0PXw==/REDACTED-z_pBagApFrHqXcfVrb89dw==/lib/arm64/libUE4.so (FModuleDescriptor::LoadModulesForPhase(ELoadingPhase::Type, TArray<FModuleDescriptor, TSizedDefaultAllocator<32> > const&, TMap<FName, EModuleLoadResult, FDefaultSetAllocator, TDefaultMapHashableKeyFuncs<FName, EModuleLoadResult, false> >&)+468) (BuildId: 965c4c49fab773fdc15d34c39aa0e6ebdec27df7)
10-30 03:35:26.449 15366 15366 F DEBUG   :       #10 pc 000000000a0ab1d8  /data/app/~~ZOS4CW4RUmUrOYdsNF0PXw==/REDACTED-z_pBagApFrHqXcfVrb89dw==/lib/arm64/libUE4.so (FPluginManager::TryLoadModulesForPlugin(FPlugin const&, ELoadingPhase::Type) const+104) (BuildId: 965c4c49fab773fdc15d34c39aa0e6ebdec27df7)
10-30 03:35:26.449 15366 15366 F DEBUG   :       #11 pc 000000000a0ad248  /data/app/~~ZOS4CW4RUmUrOYdsNF0PXw==/REDACTED-z_pBagApFrHqXcfVrb89dw==/lib/arm64/libUE4.so (FPluginManager::LoadModulesForEnabledPlugins(ELoadingPhase::Type)+1044) (BuildId: 965c4c49fab773fdc15d34c39aa0e6ebdec27df7)
10-30 03:35:26.449 15366 15366 F DEBUG   :       #12 pc 00000000086c4300  /data/app/~~ZOS4CW4RUmUrOYdsNF0PXw==/REDACTED-z_pBagApFrHqXcfVrb89dw==/lib/arm64/libUE4.so (FEngineLoop::LoadStartupModules()+320) (BuildId: 965c4c49fab773fdc15d34c39aa0e6ebdec27df7)
10-30 03:35:26.449 15366 15366 F DEBUG   :       #13 pc 00000000086c1b08  /data/app/~~ZOS4CW4RUmUrOYdsNF0PXw==/REDACTED-z_pBagApFrHqXcfVrb89dw==/lib/arm64/libUE4.so (FEngineLoop::PreInitPostStartupScreen(char16_t const*)+9420) (BuildId: 965c4c49fab773fdc15d34c39aa0e6ebdec27df7)
10-30 03:35:26.449 15366 15366 F DEBUG   :       #14 pc 00000000086a5804  /data/app/~~ZOS4CW4RUmUrOYdsNF0PXw==/REDACTED-z_pBagApFrHqXcfVrb89dw==/lib/arm64/libUE4.so (FEngineLoop::PreInit(int, char16_t**, char16_t const*)+100) (BuildId: 965c4c49fab773fdc15d34c39aa0e6ebdec27df7)
10-30 03:35:26.449 15366 15366 F DEBUG   :       #15 pc 00000000086a5310  /data/app/~~ZOS4CW4RUmUrOYdsNF0PXw==/REDACTED-z_pBagApFrHqXcfVrb89dw==/lib/arm64/libUE4.so (AndroidMain(android_app*)+3424) (BuildId: 965c4c49fab773fdc15d34c39aa0e6ebdec27df7)
10-30 03:35:26.449 15366 15366 F DEBUG   :       #16 pc 00000000086b50f8  /data/app/~~ZOS4CW4RUmUrOYdsNF0PXw==/REDACTED-z_pBagApFrHqXcfVrb89dw==/lib/arm64/libUE4.so (android_main+164) (BuildId: 965c4c49fab773fdc15d34c39aa0e6ebdec27df7)
10-30 03:35:26.449 15366 15366 F DEBUG   :       #17 pc 00000000086e45bc  /data/app/~~ZOS4CW4RUmUrOYdsNF0PXw==/REDACTED-z_pBagApFrHqXcfVrb89dw==/lib/arm64/libUE4.so (BuildId: 965c4c49fab773fdc15d34c39aa0e6ebdec27df7)

Could anyone help me investigate this or give me any clues as to what it might be? I currently don’t have any leads on the cause.

Thank you.

google-oss-bot commented 3 weeks ago

I found a few problems with this issue: