Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

DJI Fly APP crashing after update to 2023101100 #2527

Closed
romeokienzler opened this issue Oct 12, 2023 · 8 comments
Closed

DJI Fly APP crashing after update to 2023101100 #2527

romeokienzler opened this issue Oct 12, 2023 · 8 comments
Labels

Comments

@romeokienzler
Copy link

type: crash
osVersion: google/oriole/oriole:14/UP1A.231005.007/2023101100:user/release-keys
package: dji.go.v5:3056270
process: dji.go.v5
processUptime: 0 + 0 ms
installer: com.android.packageinstaller

signal 6 (SIGABRT), code -1 (SI_QUEUE), fault addr --------
Abort message: 'Check failed: method->GetDexFile()->IsInDataSection(handlers_ptr) android.app.Application androidx.core.app.AppComponentFactory.a(java.lang.ClassLoader, java.lang.String)@/data/user/0/dji.go.v5/Anonymous-DexFile@2428210860.jar@0xb400dd04631a1ce4 is_compact_dex=0'

backtrace:
      #00 pc 0000000000063ca4  /apex/com.android.runtime/lib64/bionic/libc.so (abort+164) (BuildId: f33b0edef1abac7e4e17c501eeb62737)
      #01 pc 000000000064bf30  /apex/com.android.art/lib64/libart.so (art::Runtime::Abort(char const*)+1456) (BuildId: 461d63ef591fa8993cb520492483029d)
      #02 pc 0000000000038730  /apex/com.android.art/lib64/libbase.so (android::base::SetAborter(std::__1::function<void (char const*)>&&)::$_0::__invoke(char const*)+80) (BuildId: 526d8714e6569df5142e9d6faf99d875)
      #03 pc 0000000000037c30  /apex/com.android.art/lib64/libbase.so (android::base::LogMessage::~LogMessage()+352) (BuildId: 526d8714e6569df5142e9d6faf99d875)
      #04 pc 0000000000284ad0  /apex/com.android.art/lib64/libart.so (art::ClassLinker::ResolveMethodExceptionHandlerTypes(art::ArtMethod*)+1200) (BuildId: 461d63ef591fa8993cb520492483029d)
      #05 pc 000000000028398c  /apex/com.android.art/lib64/libart.so (art::ClassLinker::VerifyClass(art::Thread*, art::verifier::VerifierDeps*, art::Handle<art::mirror::Class>, art::verifier::HardFailLogMode)+1804) (BuildId: 461d63ef591fa8993cb520492483029d)
      #06 pc 0000000000287160  /apex/com.android.art/lib64/libart.so (art::ClassLinker::InitializeClass(art::Thread*, art::Handle<art::mirror::Class>, bool, bool)+736) (BuildId: 461d63ef591fa8993cb520492483029d)
      #07 pc 00000000002669b0  /apex/com.android.art/lib64/libart.so (art::ClassLinker::EnsureInitialized(art::Thread*, art::Handle<art::mirror::Class>, bool, bool)+160) (BuildId: 461d63ef591fa8993cb520492483029d)
      #08 pc 000000000059cf20  /apex/com.android.art/lib64/libart.so (art::Class_newInstance(_JNIEnv*, _jobject*) (.__uniq.181829539739573773940154555818377431209)+1616) (BuildId: 461d63ef591fa8993cb520492483029d)
      #09 pc 000000000009b1dc  /system/framework/arm64/boot.oat (art_jni_trampoline+92) (BuildId: 5b2c7eed028a9059e21581987ab20d77395c2735)
      #10 pc 000000000045d46c  /data/app/~~DpxsslQ3IY8_wAO0yjV3uQ==/dji.go.v5-88rYbIwJ74GlABgr6J6lMQ==/oat/arm64/base.odex (com.secneo.apkwrapper.AP.a+188)
      #11 pc 000000000045dab0  /data/app/~~DpxsslQ3IY8_wAO0yjV3uQ==/dji.go.v5-88rYbIwJ74GlABgr6J6lMQ==/oat/arm64/base.odex (com.secneo.apkwrapper.AP.instantiateClassLoader+96)
      #12 pc 000000000023ca60  /system/framework/arm64/boot-framework.oat (android.app.LoadedApk.createOrUpdateClassLoaderLocked+6624) (BuildId: 8f6c3e68feafc1a9d05de48d83d442cc3d68cf42)
      #13 pc 0000000000242588  /system/framework/arm64/boot-framework.oat (android.app.LoadedApk.getResources+808) (BuildId: 8f6c3e68feafc1a9d05de48d83d442cc3d68cf42)
      #14 pc 000000000032aed8  /system/framework/arm64/boot-framework.oat (android.app.ContextImpl.createAppContext+184) (BuildId: 8f6c3e68feafc1a9d05de48d83d442cc3d68cf42)
      #15 pc 0000000000304aac  /system/framework/arm64/boot-framework.oat (android.app.ActivityThread.handleBindApplication+4284) (BuildId: 8f6c3e68feafc1a9d05de48d83d442cc3d68cf42)
      #16 pc 00000000002f97ec  /system/framework/arm64/boot-framework.oat (android.app.ActivityThread$H.handleMessage+8716) (BuildId: 8f6c3e68feafc1a9d05de48d83d442cc3d68cf42)
      #17 pc 0000000000564758  /system/framework/arm64/boot-framework.oat (android.os.Handler.dispatchMessage+168) (BuildId: 8f6c3e68feafc1a9d05de48d83d442cc3d68cf42)
      #18 pc 000000000056799c  /system/framework/arm64/boot-framework.oat (android.os.Looper.loopOnce+1036) (BuildId: 8f6c3e68feafc1a9d05de48d83d442cc3d68cf42)
      #19 pc 0000000000567508  /system/framework/arm64/boot-framework.oat (android.os.Looper.loop+552) (BuildId: 8f6c3e68feafc1a9d05de48d83d442cc3d68cf42)
      #20 pc 000000000030ea60  /system/framework/arm64/boot-framework.oat (android.app.ActivityThread.main+1664) (BuildId: 8f6c3e68feafc1a9d05de48d83d442cc3d68cf42)
      #21 pc 0000000000210c80  /apex/com.android.art/lib64/libart.so (art_quick_invoke_static_stub+640) (BuildId: 461d63ef591fa8993cb520492483029d)
      #22 pc 0000000000253b80  /apex/com.android.art/lib64/libart.so (art::ArtMethod::Invoke(art::Thread*, unsigned int*, unsigned int, art::JValue*, char const*)+224) (BuildId: 461d63ef591fa8993cb520492483029d)
      #23 pc 0000000000642808  /apex/com.android.art/lib64/libart.so (_jobject* art::InvokeMethod<(art::PointerSize)8>(art::ScopedObjectAccessAlreadyRunnable const&, _jobject*, _jobject*, _jobject*, unsigned long)+1592) (BuildId: 461d63ef591fa8993cb520492483029d)
      #24 pc 00000000005ba270  /apex/com.android.art/lib64/libart.so (art::Method_invoke(_JNIEnv*, _jobject*, _jobject*, _jobjectArray*) (.__uniq.165753521025965369065708152063621506277)+32) (BuildId: 461d63ef591fa8993cb520492483029d)
      #25 pc 00000000000a1578  /system/framework/arm64/boot.oat (art_jni_trampoline+120) (BuildId: 5b2c7eed028a9059e21581987ab20d77395c2735)
      #26 pc 00000000007536f4  /system/framework/arm64/boot-framework.oat (com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run+132) (BuildId: 8f6c3e68feafc1a9d05de48d83d442cc3d68cf42)
      #27 pc 000000000020b154  /apex/com.android.art/lib64/libart.so (nterp_helper+7636) (BuildId: 461d63ef591fa8993cb520492483029d)
      #28 pc 000000000050a2c0  /system/framework/framework.jar (com.android.internal.os.ExecInit.main+88)
      #29 pc 0000000000210c80  /apex/com.android.art/lib64/libart.so (art_quick_invoke_static_stub+640) (BuildId: 461d63ef591fa8993cb520492483029d)
      #30 pc 0000000000253b80  /apex/com.android.art/lib64/libart.so (art::ArtMethod::Invoke(art::Thread*, unsigned int*, unsigned int, art::JValue*, char const*)+224) (BuildId: 461d63ef591fa8993cb520492483029d)
      #31 pc 0000000000643098  /apex/com.android.art/lib64/libart.so (art::JValue art::InvokeWithVarArgs<art::ArtMethod*>(art::ScopedObjectAccessAlreadyRunnable const&, _jobject*, art::ArtMethod*, std::__va_list)+408) (BuildId: 461d63ef591fa8993cb520492483029d)
      #32 pc 0000000000643670  /apex/com.android.art/lib64/libart.so (art::JValue art::InvokeWithVarArgs<_jmethodID*>(art::ScopedObjectAccessAlreadyRunnable const&, _jobject*, _jmethodID*, std::__va_list)+80) (BuildId: 461d63ef591fa8993cb520492483029d)
      #33 pc 00000000004a7f84  /apex/com.android.art/lib64/libart.so (art::JNI<false>::CallStaticVoidMethodV(_JNIEnv*, _jclass*, _jmethodID*, std::__va_list)+692) (BuildId: 461d63ef591fa8993cb520492483029d)
      #34 pc 00000000000daca8  /system/lib64/libandroid_runtime.so (_JNIEnv::CallStaticVoidMethod(_jclass*, _jmethodID*, ...)+104) (BuildId: 90ca25226927ccaeb1004ac0801ee875)
      #35 pc 00000000000e33b0  /system/lib64/libandroid_runtime.so (android::AndroidRuntime::callMain(android::String8 const&, _jclass*, android::Vector<android::String8> const&)+336) (BuildId: 90ca25226927ccaeb1004ac0801ee875)
      #36 pc 0000000000002954  /system/bin/app_process64 (android::AppRuntime::onStarted()+68) (BuildId: 6833e35e4f7f0e97baf0f303a5717da4)
      #37 pc 00000000001eb420  /system/framework/arm64/boot-framework.oat (art_jni_trampoline+112) (BuildId: 8f6c3e68feafc1a9d05de48d83d442cc3d68cf42)
      #38 pc 0000000000209418  /apex/com.android.art/lib64/libart.so (nterp_helper+152) (BuildId: 461d63ef591fa8993cb520492483029d)
      #39 pc 0000000000517c78  /system/framework/framework.jar (com.android.internal.os.RuntimeInit.main+48)
      #40 pc 0000000000210c80  /apex/com.android.art/lib64/libart.so (art_quick_invoke_static_stub+640) (BuildId: 461d63ef591fa8993cb520492483029d)
      #41 pc 0000000000253b80  /apex/com.android.art/lib64/libart.so (art::ArtMethod::Invoke(art::Thread*, unsigned int*, unsigned int, art::JValue*, char const*)+224) (BuildId: 461d63ef591fa8993cb520492483029d)
      #42 pc 0000000000643098  /apex/com.android.art/lib64/libart.so (art::JValue art::InvokeWithVarArgs<art::ArtMethod*>(art::ScopedObjectAccessAlreadyRunnable const&, _jobject*, art::ArtMethod*, std::__va_list)+408) (BuildId: 461d63ef591fa8993cb520492483029d)
      #43 pc 0000000000643670  /apex/com.android.art/lib64/libart.so (art::JValue art::InvokeWithVarArgs<_jmethodID*>(art::ScopedObjectAccessAlreadyRunnable const&, _jobject*, _jmethodID*, std::__va_list)+80) (BuildId: 461d63ef591fa8993cb520492483029d)
      #44 pc 00000000004a7f84  /apex/com.android.art/lib64/libart.so (art::JNI<false>::CallStaticVoidMethodV(_JNIEnv*, _jclass*, _jmethodID*, std::__va_list)+692) (BuildId: 461d63ef591fa8993cb520492483029d)
      #45 pc 00000000000daca8  /system/lib64/libandroid_runtime.so (_JNIEnv::CallStaticVoidMethod(_jclass*, _jmethodID*, ...)+104) (BuildId: 90ca25226927ccaeb1004ac0801ee875)
      #46 pc 00000000000e6e2c  /system/lib64/libandroid_runtime.so (android::AndroidRuntime::start(char const*, android::Vector<android::String8> const&, bool)+860) (BuildId: 90ca25226927ccaeb1004ac0801ee875)
      #47 pc 000000000000255c  /system/bin/app_process64 (main+1276) (BuildId: 6833e35e4f7f0e97baf0f303a5717da4)
      #48 pc 000000000005b558  /apex/com.android.runtime/lib64/bionic/libc.so (__libc_init+104) (BuildId: f33b0edef1abac7e4e17c501eeb62737)


@thestinger
Copy link
Member

It might not support Android 14. Try installing it from the sandboxed Play Store instead. Can use a dedicated user profile and throwaway account if you don't already have it.

@ThatOneCalculator
Copy link

Try installing it from the sandboxed Play Store instead.

DJI Fly can only be downloaded from DJI's website, not the Play Store.

@thestinger
Copy link
Member

See https://forum.dji.com/thread-299020-1-1.html. It's an app bug making it incompatible with Android 14.

@thestinger thestinger closed this as not planned Won't fix, can't repro, duplicate, stale Oct 12, 2023
@romeokienzler
Copy link
Author

Thanks you so much @thestinger @ThatOneCalculator

@thestinger
Copy link
Member

It was reported in April:

https://forum.dji.com/thread-288625-1-1.html

They unfortunately didn't do anything about it. Android 14 has been publicly available as a preview/beta since February 2023, just not the source code until October 2023 when it became stable.

@romeokienzler
Copy link
Author

I've updated the app, now it's working https://www.dji.com/de/mobile/downloads/djiapp/dji-fly

@thestinger
Copy link
Member

I guess they fixed it very recently. Good to know that for when other users ask.

@thestinger
Copy link
Member

It's relatively common for app developers to do sketchy things with private APIs which break on new major OS updates, especially outside Play Store. Those developers also tend to not test developer previews and betas of the new major releases, leading to this situation. The stable OS gets released, tens of millions of people start quickly getting the update and suddenly they're overwhelmed with reports they ignored for half a year and have to fix it. It's totally unnecessary, but it happens every year with some of these apps. In theory the new major releases are backwards compatible but in practice some apps do very weird unsupported things that break.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants