Assigned
Status Update
Comments
an...@gmail.com <an...@gmail.com> #2
I see same issue and have been debugging it.
NOTE: It DOES NOT happen if not using support package, but use android level 14/15 library. I believe Honeycomb works well too.
My current workaround is to provide my own DialogFragment.show() method, like below:
public int show(FragmentTransaction transaction, String tag) {
return show(transaction, tag, false);
}
public int show(FragmentTransaction transaction, String tag, boolean allowStateLoss) {
transaction.add(this, tag);
mRemoved = false;
mBackStackId = allowStateLoss ? transaction.commitAllowingStateLoss() : transaction.commit();
return mBackStackId;
}
NOTE: It DOES NOT happen if not using support package, but use android level 14/15 library. I believe Honeycomb works well too.
My current workaround is to provide my own DialogFragment.show() method, like below:
public int show(FragmentTransaction transaction, String tag) {
return show(transaction, tag, false);
}
public int show(FragmentTransaction transaction, String tag, boolean allowStateLoss) {
transaction.add(this, tag);
mRemoved = false;
mBackStackId = allowStateLoss ? transaction.commitAllowingStateLoss() : transaction.commit();
return mBackStackId;
}
vi...@google.com <vi...@google.com> #4
But Google pls fix this issue, as the expected behaviors must be consistent with ICS DialogFragment + FragmentManager and support package DialogFragment + FragmentManager.
It happens with both Support Package v4 r6 and v13 r6.
It happens with both Support Package v4 r6 and v13 r6.
an...@gmail.com <an...@gmail.com> #5
I have this problem too.
As a workaround I use a boolean in the onActivityResult to mark the desired dialog and show the dialog in the onResume.
As a workaround I use a boolean in the onActivityResult to mark the desired dialog and show the dialog in the onResume.
Description
02-21 10:45:55.433 29470 29470 F DEBUG : uid: 10219
02-21 10:45:55.433 29470 29470 F DEBUG : tagged_addr_ctrl: 0000000000000001 (PR_TAGGED_ADDR_ENABLE)
02-21 10:45:55.433 29470 29470 F DEBUG : signal 6 (SIGABRT), code -1 (SI_QUEUE), fault addr --------
02-21 10:45:55.433 29470 29470 F DEBUG : Abort message: 'Failed to find Dex offset for PC offset 0x168(PC 0x799bb7aef8, entry_point=0x799bb7ad90 current entry_point=0x7ae7d51c60) in void com.bytedance.covode.number.Covode.recordClassIndex(int)'
02-21 10:45:55.433 29470 29470 F DEBUG : x0 0000000000000000 x1 0000000000007307 x2 0000000000000006 x3 0000007fe71a23f0
02-21 10:45:55.433 29470 29470 F DEBUG : x4 1f6261306130322f x5 1f6261306130322f x6 1f6261306130322f x7 7f7f7f7f7f7f7f7f
02-21 10:45:55.433 29470 29470 F DEBUG : x8 00000000000000f0 x9 0000007dfe2581b8 x10 0000000000000001 x11 0000007dfe2a0924
02-21 10:45:55.433 29470 29470 F DEBUG : x12 00000000000030e8 x13 0000000000000e0f x14 0000007fe71a11f0 x15 0000029108c107a2
02-21 10:45:55.433 29470 29470 F DEBUG : x16 0000007dfe308d18 x17 0000007dfe2e43b0 x18 0000007e0a5ae000 x19 0000000000007307
02-21 10:45:55.433 29470 29470 F DEBUG : x20 0000000000007307 x21 00000000ffffffff x22 0000007aed2c2390 x23 0000007ae7aa922c
02-21 10:45:55.433 29470 29470 F DEBUG : x24 0000000000000000 x25 0000007ae7ac8d34 x26 000000005a000000 x27 0000007ae8616000
02-21 10:45:55.433 29470 29470 F DEBUG : x28 0000007ae8616000 x29 0000007fe71a2470
02-21 10:45:55.433 29470 29470 F DEBUG : lr 0000007dfe291624 sp 0000007fe71a23d0 pc 0000007dfe291650 pst 0000000000001000
02-21 10:45:55.433 29470 29470 F DEBUG : 49 total frames
02-21 10:45:55.433 29470 29470 F DEBUG : backtrace:
02-21 10:45:55.433 29470 29470 F DEBUG : #00 pc 000000000005b650 /apex/com.android.runtime/lib64/bionic/libc.so (abort+168) (BuildId: 50118287324a156bc7be11d3d940c7be)
02-21 10:45:55.433 29470 29470 F DEBUG : #01 pc 000000000076fde0 /apex/com.android.art/lib64/libart.so (art::Runtime::Abort(char const*)+904) (BuildId: 7ece79c15d80914c83e60c9e93ac1684)
02-21 10:45:55.433 29470 29470 F DEBUG : #02 pc 00000000000357d0 /apex/com.android.art/lib64/libbase.so (android::base::SetAborter(std::__1::function<void (char const*)>&&)::$_0::__invoke(char const*)+80) (BuildId: 6f67f69ff36b970d0b831cfdab3b578d)
02-21 10:45:55.433 29470 29470 F DEBUG : #03 pc 0000000000034d58 /apex/com.android.art/lib64/libbase.so (android::base::LogMessage::~LogMessage()+352) (BuildId: 6f67f69ff36b970d0b831cfdab3b578d)
02-21 10:45:55.433 29470 29470 F DEBUG : #04 pc 000000000021c600 /apex/com.android.art/lib64/libart.so (art::StackVisitor::GetDexPc(bool) const+3644) (BuildId: 7ece79c15d80914c83e60c9e93ac1684)
02-21 10:45:55.433 29470 29470 F DEBUG : #05 pc 0000000000796c80 /apex/com.android.art/lib64/libart.so (void art::StackVisitor::WalkStack<(art::StackVisitor::CountTransitions)0, art::Thread::GetCurrentMethod(unsigned int*, bool, bool) const::$_0>(art::Thread::GetCurrentMethod(unsigned int*, bool, bool) const::$_0 const&, art::Thread*, art::Context*, art::StackVisitor::StackWalkKind, bool, bool)::LambdaStackVisitor::VisitFrame() (.__uniq.112444171608964125319761912539055931073.5dcaaf2d06ada1c32ed928310169cc90)+52) (BuildId: 7ece79c15d80914c83e60c9e93ac1684)
02-21 10:45:55.433 29470 29470 F DEBUG : #06 pc 000000000020c970 /apex/com.android.art/lib64/libart.so (void art::StackVisitor::WalkStack<(art::StackVisitor::CountTransitions)0>(bool)+1108) (BuildId: 7ece79c15d80914c83e60c9e93ac1684)
02-21 10:45:55.433 29470 29470 F DEBUG : #07 pc 00000000004b06f4 /apex/com.android.art/lib64/libart.so (art::Thread::DumpStack(std::__1::basic_ostream<char, std::__1::char_traits<char> >&, unwindstack::AndroidLocalUnwinder&, bool, bool) const+352) (BuildId: 7ece79c15d80914c83e60c9e93ac1684)
02-21 10:45:55.433 29470 29470 F DEBUG : #08 pc 00000000004b0058 /apex/com.android.art/lib64/libart.so (art::DumpCheckpoint::Run(art::Thread*)+164) (BuildId: 7ece79c15d80914c83e60c9e93ac1684)
02-21 10:45:55.433 29470 29470 F DEBUG : #09 pc 00000000003b1e9c /apex/com.android.art/lib64/libart.so (art::ThreadList::RunCheckpoint(art::Closure*, art::Closure*)+452) (BuildId: 7ece79c15d80914c83e60c9e93ac1684)
02-21 10:45:55.433 29470 29470 F DEBUG : #10 pc 00000000004c9f6c /apex/com.android.art/lib64/libart.so (art::ThreadList::Dump(std::__1::basic_ostream<char, std::__1::char_traits<char> >&, bool)+232) (BuildId: 7ece79c15d80914c83e60c9e93ac1684)
02-21 10:45:55.433 29470 29470 F DEBUG : #11 pc 00000000007702c4 /apex/com.android.art/lib64/libart.so (art::Runtime::Abort(char const*)+2156) (BuildId: 7ece79c15d80914c83e60c9e93ac1684)
02-21 10:45:55.433 29470 29470 F DEBUG : #12 pc 00000000000357d0 /apex/com.android.art/lib64/libbase.so (android::base::SetAborter(std::__1::function<void (char const*)>&&)::$_0::__invoke(char const*)+80) (BuildId: 6f67f69ff36b970d0b831cfdab3b578d)
02-21 10:45:55.433 29470 29470 F DEBUG : #13 pc 0000000000034d58 /apex/com.android.art/lib64/libbase.so (android::base::LogMessage::~LogMessage()+352) (BuildId: 6f67f69ff36b970d0b831cfdab3b578d)
02-21 10:45:55.433 29470 29470 F DEBUG : #14 pc 00000000002e52cc /apex/com.android.art/lib64/libart.so (art::DoGetCalleeSaveMethodCallerAndDexPc(art::ArtMethod**, art::CalleeSaveType, art::ArtMethod*, unsigned long, unsigned int*, bool) (.__uniq.75830378720932431766250155892197437375.llvm.8314027912007603693)+2844) (BuildId: 7ece79c15d80914c83e60c9e93ac1684)
02-21 10:45:55.433 29470 29470 F DEBUG : #15 pc 0000000000430448 /apex/com.android.art/lib64/libart.so (artResolveTypeFromCode+72) (BuildId: 7ece79c15d80914c83e60c9e93ac1684)
02-21 10:45:55.433 29470 29470 F DEBUG : #16 pc 000000000033c2ec /apex/com.android.art/lib64/libart.so (art_quick_resolve_type+156) (BuildId: 7ece79c15d80914c83e60c9e93ac1684)
02-21 10:45:55.433 29470 29470 F DEBUG : #17 pc 0000000062368ef4 /data/app/~~52BqEk2FMqWuE02M_FzzIQ==/com.ss.android.ugc.aweme-LF75ffJnJkTpTnr9umJ_Tw==/oat/arm64/base.odex
02-21 10:45:55.433 29470 29470 F DEBUG : #18 pc 00000000005b8a18 /apex/com.android.art/lib64/libart.so (nterp_helper+152) (BuildId: 7ece79c15d80914c83e60c9e93ac1684)
02-21 10:45:55.433 29470 29470 F DEBUG : #19 pc 0000000007489266 /data/app/~~52BqEk2FMqWuE02M_FzzIQ==/com.ss.android.ugc.aweme-LF75ffJnJkTpTnr9umJ_Tw==/oat/arm64/base.vdex (androidx.core.app.CoreComponentFactory.<clinit>+6)
02-21 10:45:55.433 29470 29470 F DEBUG : #20 pc 000000000033b680 /apex/com.android.art/lib64/libart.so (art_quick_invoke_static_stub+640) (BuildId: 7ece79c15d80914c83e60c9e93ac1684)
02-21 10:45:55.433 29470 29470 F DEBUG : #21 pc 000000000024dc38 /apex/com.android.art/lib64/libart.so (art::ClassLinker::InitializeClass(art::Thread*, art::Handle<art::mirror::Class>, bool, bool)+3328) (BuildId: 7ece79c15d80914c83e60c9e93ac1684)
02-21 10:45:55.433 29470 29470 F DEBUG : #22 pc 00000000003808f8 /apex/com.android.art/lib64/libart.so (art::ClassLinker::EnsureInitialized(art::Thread*, art::Handle<art::mirror::Class>, bool, bool)+100) (BuildId: 7ece79c15d80914c83e60c9e93ac1684)
02-21 10:45:55.433 29470 29470 F DEBUG : #23 pc 000000000058e134 /apex/com.android.art/lib64/libart.so (art::Class_newInstance(_JNIEnv*, _jobject*) (.__uniq.181829539739573773940154555818377431209)+2596) (BuildId: 7ece79c15d80914c83e60c9e93ac1684)
02-21 10:45:55.433 29470 29470 F DEBUG : #24 pc 000000000031b1bc /data/misc/apexdata/com.android.art/dalvik-cache/arm64/boot.oat (art_jni_trampoline+92)
02-21 10:45:55.433 29470 29470 F DEBUG : #25 pc 0000000000647548 /data/misc/apexdata/com.android.art/dalvik-cache/arm64/boot.oat (android.app.LoadedApk.createAppFactory+120)
02-21 10:45:55.433 29470 29470 F DEBUG : #26 pc 0000000000648ab8 /data/misc/apexdata/com.android.art/dalvik-cache/arm64/boot.oat (android.app.LoadedApk.createOrUpdateClassLoaderLocked+5336)
02-21 10:45:55.433 29470 29470 F DEBUG : #27 pc 000000000064fd08 /data/misc/apexdata/com.android.art/dalvik-cache/arm64/boot.oat (android.app.LoadedApk.getResources+680)
02-21 10:45:55.433 29470 29470 F DEBUG : #28 pc 0000000000738ff0 /data/misc/apexdata/com.android.art/dalvik-cache/arm64/boot.oat (android.app.ContextImpl.createAppContext+176)
02-21 10:45:55.433 29470 29470 F DEBUG : #29 pc 0000000000738f20 /data/misc/apexdata/com.android.art/dalvik-cache/arm64/boot.oat (android.app.ContextImpl.createAppContext+48)
02-21 10:45:55.433 29470 29470 F DEBUG : #30 pc 000000000071018c /data/misc/apexdata/com.android.art/dalvik-cache/arm64/boot.oat (android.app.ActivityThread.handleBindApplication+2636)
02-21 10:45:55.433 29470 29470 F DEBUG : #31 pc 00000000007050c0 /data/misc/apexdata/com.android.art/dalvik-cache/arm64/boot.oat (android.app.ActivityThread$H.handleMessage+7776)
02-21 10:45:55.433 29470 29470 F DEBUG : #32 pc 00000000009848a8 /data/misc/apexdata/com.android.art/dalvik-cache/arm64/boot.oat (android.os.Handler.dispatchMessage+152)
02-21 10:45:55.433 29470 29470 F DEBUG : #33 pc 0000000000988314 /data/misc/apexdata/com.android.art/dalvik-cache/arm64/boot.oat (android.os.Looper.loopOnce+980)
02-21 10:45:55.433 29470 29470 F DEBUG : #34 pc 0000000000987ea4 /data/misc/apexdata/com.android.art/dalvik-cache/arm64/boot.oat (android.os.Looper.loop+916)
02-21 10:45:55.433 29470 29470 F DEBUG : #35 pc 000000000071b79c /data/misc/apexdata/com.android.art/dalvik-cache/arm64/boot.oat (android.app.ActivityThread.main+2028)
02-21 10:45:55.433 29470 29470 F DEBUG : #36 pc 000000000033b680 /apex/com.android.art/lib64/libart.so (art_quick_invoke_static_stub+640) (BuildId: 7ece79c15d80914c83e60c9e93ac1684)
02-21 10:45:55.433 29470 29470 F DEBUG : #37 pc 000000000037cb18 /apex/com.android.art/lib64/libart.so (_jobject* art::InvokeMethod<(art::PointerSize)8>(art::ScopedObjectAccessAlreadyRunnable const&, _jobject*, _jobject*, _jobject*, unsigned long)+1556) (BuildId: 7ece79c15d80914c83e60c9e93ac1684)
02-21 10:45:55.433 29470 29470 F DEBUG : #38 pc 000000000037c4f4 /apex/com.android.art/lib64/libart.so (art::Method_invoke(_JNIEnv*, _jobject*, _jobject*, _jobjectArray*) (.__uniq.165753521025965369065708152063621506277)+32) (BuildId: 7ece79c15d80914c83e60c9e93ac1684)
02-21 10:45:55.433 29470 29470 F DEBUG : #39 pc 0000000000320f88 /data/misc/apexdata/com.android.art/dalvik-cache/arm64/boot.oat (art_jni_trampoline+120)
02-21 10:45:55.433 29470 29470 F DEBUG : #40 pc 0000000000b53324 /data/misc/apexdata/com.android.art/dalvik-cache/arm64/boot.oat (com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run+116)
02-21 10:45:55.433 29470 29470 F DEBUG : #41 pc 0000000000b5e0bc /data/misc/apexdata/com.android.art/dalvik-cache/arm64/boot.oat (com.android.internal.os.ZygoteInit.main+3244)
02-21 10:45:55.433 29470 29470 F DEBUG : #42 pc 000000000033b680 /apex/com.android.art/lib64/libart.so (art_quick_invoke_static_stub+640) (BuildId: 7ece79c15d80914c83e60c9e93ac1684)
02-21 10:45:55.433 29470 29470 F DEBUG : #43 pc 00000000004e2a90 /apex/com.android.art/lib64/libart.so (art::JValue art::InvokeWithVarArgs<_jmethodID*>(art::ScopedObjectAccessAlreadyRunnable const&, _jobject*, _jmethodID*, std::__va_list)+728) (BuildId: 7ece79c15d80914c83e60c9e93ac1684)
02-21 10:45:55.433 29470 29470 F DEBUG : #44 pc 000000000057ab18 /apex/com.android.art/lib64/libart.so (art::JNI<true>::CallStaticVoidMethodV(_JNIEnv*, _jclass*, _jmethodID*, std::__va_list)+156) (BuildId: 7ece79c15d80914c83e60c9e93ac1684)
02-21 10:45:55.433 29470 29470 F DEBUG : #45 pc 00000000000dfbe8 /system/lib64/libandroid_runtime.so (_JNIEnv::CallStaticVoidMethod(_jclass*, _jmethodID*, ...)+108) (BuildId: 5c9f5500edff3a382454a5a278f2d2aa)
02-21 10:45:55.433 29470 29470 F DEBUG : #46 pc 00000000000ec8cc /system/lib64/libandroid_runtime.so (android::AndroidRuntime::start(char const*, android::Vector<android::String8> const&, bool)+844) (BuildId: 5c9f5500edff3a382454a5a278f2d2aa)
02-21 10:45:55.433 29470 29470 F DEBUG : #47 pc 00000000000026a8 /system/bin/app_process64 (main+1616) (BuildId: 1b348067a2ca252a82fb56e3d13fe35c)
02-21 10:45:55.433 29470 29470 F DEBUG : #48 pc 0000000000053e48 /apex/com.android.runtime/lib64/bionic/libc.so (__libc_init+108) (BuildId: 50118287324a156bc7be11d3d940c7be)
02-21 10:45:55.445 976 976 E tombstoned: Tombstone written to: tombstone_24