Infeasible
Status Update
Comments
vi...@google.com <vi...@google.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> #3
[Comment deleted]
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.
co...@gmail.com <co...@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
the crash stack is below:
03-26 18:21:56.327 7693 7693 F CRASH : performing dump of process 6625 (target tid = 6630)
03-26 18:21:56.365 7693 7693 F CRASH : *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
03-26 18:21:56.366 7693 7693 F CRASH : Build fingerprint: 'HUAWEI/AGS2-AL00/HWAGS2:9/HUAWEIAGS2-AL00/9.1.0.146C00:user/release-keys'
03-26 18:21:56.366 7693 7693 F CRASH : Revision: '0'
03-26 18:21:56.366 7693 7693 F CRASH : ABI: 'arm64'
03-26 18:21:56.417 7693 7693 F CRASH : Timestamp: 2024-03-26 18:21:56.366123436+0800(UTC: 1711448516409)
03-26 18:21:56.417 7693 7693 F CRASH : pid: 6625, tid: 6630, name: Jit thread pool >>> com.ss.fff <<<
03-26 18:21:56.417 7693 7693 F CRASH : uid: 10147
03-26 18:21:56.417 7693 7693 F CRASH : signal 11 (SIGSEGV), code 1 (SEGV_MAPERR), fault addr 0x40
03-26 18:21:56.417 7693 7693 F CRASH : Cause: null pointer dereference
03-26 18:21:56.417 7693 7693 F CRASH : x0 0000000000000000 x1 000000007709d658 x2 0000007020e0f000 x3 0000006ff309ec9f
03-26 18:21:56.417 7693 7693 F CRASH : x4 00000000dcdd2cd3 x5 0000007020dfe154 x6 0000007020dfe2a0 x7 0000006f82e6b376
03-26 18:21:56.417 7693 7693 F CRASH : x8 0000000015c31a48 x9 0000007026f8f5d4 x10 000000702744b14c x11 0000000000000001
03-26 18:21:56.417 7693 7693 F CRASH : x12 0000000000000047 x13 0000006fead23da8 x14 000000000000002c x15 0000006fead2f3a0
03-26 18:21:56.417 7693 7693 F CRASH : x16 00000070274db148 x17 00000070ac2df700 x18 0000000071ef5edf x19 0000006ff308ff2c
03-26 18:21:56.417 7693 7693 F CRASH : x20 0000000000000091 x21 000000006ff9f090 x22 00000000000001ef x23 0000007020dff0c0
03-26 18:21:56.417 7693 7693 F CRASH : x24 0000000000000000 x25 0000000000000001 x26 00000070276bd940 x27 0000000000000091
03-26 18:21:56.417 7693 7693 F CRASH : x28 0000000000000002 x29 0000007020dfe490
03-26 18:21:56.417 7693 7693 F CRASH : lr 0000007026f8f574 sp 0000007020dfe3d0 pc 0000007026f8f5d4 pst 0000000080000000
03-26 18:21:56.494 7693 7693 F CRASH :
03-26 18:21:56.494 7693 7693 F CRASH : backtrace:
03-26 18:21:56.516 7693 7693 F CRASH : #00 pc 00000000001135d4 /system/lib64/libart.so (art::ArtMethod* art::ClassLinker::ResolveMethod<(art::ClassLinker::ResolveMode)1>(unsigned int, art::Handle<art::mirror::DexCache>, art::Handle<art::mirror::ClassLoader>, art::ArtMethod*, art::InvokeType)+608) (BuildId: eaf825811a2aa721e149af4af1dc6533)
03-26 18:21:56.516 7693 7693 F CRASH : #01 pc 00000000001ec520 /system/lib64/libart-compiler.so (art::HInstructionBuilder::ResolveMethod(unsigned short, art::InvokeType)+140) (BuildId: 8e88d98adcee2e60eb6a65f3de3540ca)
03-26 18:21:56.516 7693 7693 F CRASH : #02 pc 000000000013e098 /system/lib64/libart-compiler.so (art::HInstructionBuilder::BuildInvoke(art::Instruction const&, unsigned int, unsigned int, unsigned int, bool, unsigned int*, unsigned int)+384) (BuildId: 8e88d98adcee2e60eb6a65f3de3540ca)
03-26 18:21:56.517 7693 7693 F CRASH : #03 pc 000000000013ad64 /system/lib64/libart-compiler.so (art::HInstructionBuilder::ProcessDexInstruction(art::Instruction const&, unsigned int, unsigned long)+584) (BuildId: 8e88d98adcee2e60eb6a65f3de3540ca)
03-26 18:21:56.517 7693 7693 F CRASH : #04 pc 00000000001eb56c /system/lib64/libart-compiler.so (art::HInstructionBuilder::Build()+552) (BuildId: 8e88d98adcee2e60eb6a65f3de3540ca)
03-26 18:21:56.517 7693 7693 F CRASH : #05 pc 00000000001ddf84 /system/lib64/libart-compiler.so (art::HGraphBuilder::BuildGraph()+312) (BuildId: 8e88d98adcee2e60eb6a65f3de3540ca)
03-26 18:21:56.517 7693 7693 F CRASH : #06 pc 0000000000205674 /system/lib64/libart-compiler.so (art::OptimizingCompiler::TryCompile(art::ArenaAllocator*, art::ArenaStack*, art::CodeVectorAllocator*, art::DexCompilationUnit const&, art::ArtMethod*, bool, art::VariableSizedHandleScope*) const+2004) (BuildId: 8e88d98adcee2e60eb6a65f3de3540ca)
03-26 18:21:56.517 7693 7693 F CRASH : #07 pc 0000000000166f44 /system/lib64/libart-compiler.so (art::OptimizingCompiler::JitCompile(art::Thread*, art::jit::JitCodeCache*, art::ArtMethod*, bool, art::jit::JitLogger*)+784) (BuildId: 8e88d98adcee2e60eb6a65f3de3540ca)
03-26 18:21:56.517 7693 7693 F CRASH : #08 pc 000000000010dea8 /system/lib64/libart-compiler.so (art::jit::JitCompiler::CompileMethod(art::Thread*, art::ArtMethod*, bool)+204) (BuildId: 8e88d98adcee2e60eb6a65f3de3540ca)
03-26 18:21:56.517 7693 7693 F CRASH : #09 pc 0000000000313d2c /system/lib64/libart.so (art::jit::Jit::CompileMethod(art::ArtMethod*, art::Thread*, bool)+620) (BuildId: eaf825811a2aa721e149af4af1dc6533)
03-26 18:21:56.517 7693 7693 F CRASH : #10 pc 0000000000316604 /system/lib64/libart.so (art::jit::JitCompileTask::Run(art::Thread*)+652) (BuildId: eaf825811a2aa721e149af4af1dc6533)
03-26 18:21:56.517 7693 7693 F CRASH : #11 pc 00000000004c9580 /system/lib64/libart.so (art::ThreadPoolWorker::Run()+88) (BuildId: eaf825811a2aa721e149af4af1dc6533)
03-26 18:21:56.517 7693 7693 F CRASH : #12 pc 00000000004c9064 /system/lib64/libart.so (art::ThreadPoolWorker::Callback(void*)+148) (BuildId: eaf825811a2aa721e149af4af1dc6533)
03-26 18:21:56.517 7693 7693 F CRASH : #13 pc 0000000000083b28 /system/lib64/libc.so (__pthread_start(void*)+36) (BuildId: 4dbabceb1f68056f4d0f9b075ef646f7)
03-26 18:21:56.517 7693 7693 F CRASH : #14 pc 0000000000024724 /system/lib64/libc.so (__start_thread+68) (BuildId: 4dbabceb1f68056f4d0f9b075ef646f7)