Assigned
Status Update
Comments
vi...@google.com <vi...@google.com> #2
Tram, can you confirm that the behavior is correct if the modifier is moved to the composable inside the AnimatedPane?
li...@gmail.com <li...@gmail.com> #3
Hi Max, yes when the modifiers are moved to the composable inside the AnimatedPane, the PB animations are better than when the modifiers are in the AnimatedPane itself
ng...@google.com <ng...@google.com> #5
After some investigation, I can conclude this behavior is consistent with other animation "wrapper" composables, e.g. AnimatedVisibility
. Modifiers should indeed be applied to the children in order to properly participate in the animation.
li...@gmail.com <li...@gmail.com> #6
Comment has been deleted.
li...@gmail.com <li...@gmail.com> #7
car.mypackagename. is a example package name。 realy crash is in the bugreport: com.mi.car.voiceassist。
ng...@google.com <ng...@google.com> #8
Is this reproducible? If yes, could you share the APK?
Description
Are there currently more fixes about this submission?
the crash looks like some artmethod triesSize is 0, but when exception, art get an error triesSize, and crash when CHECK(method->GetDexFile()->IsInDataSection(handlers_ptr))
logs:
org.apache.commons.io.function.IOConsumer org.apache.commons.io.function.IOConsumer.andThen add some log .when not crash, triesSize is 0 行 200080: 07-30 11:44:22.104 6747 11982 F car.mypackagename: class_linker.cc:5029] org.apache.commons.io.function.IOConsumer org.apache.commons.io.function.IOConsumer.andThen(org.apache.commons.io.function.IOConsumer)@/data/app/~~bG8RUIuK3uosX4RTZMAgWA==/car.mypackagename-nrDL3Ze3JyBi9zN9iX9h1A==/base.apk!classes5.dex TriesSize=0
but when crash log
07-23 11:14:43.219 7626 7626 F car.mypackagename: class_linker.cc:5036] Check failed: method->GetDexFile()->IsInDataSection(handlers_ptr) org.apache.commons.io.function.IOConsumer org.apache.commons.io.function.IOConsumer.andThen(org.apache.commons.io.function.IOConsumer)@/system/priv-app/mypackagename/mypackagename.apk!classes5.dex@0x77f5627a04 is_compact_dex=0
the commis is.
commit ade0ca6684e58bb8f36b5501c2ea84ca9b7289f6
Author: Nicolas Geoffray <ngeoffray@google.com>
Date: Mon Oct 10 13:35:11 2022 +0100
Add some debugging code for
Test: m
Bug: 248724968
Change-Id: Ia72b285ca40cfeaad166d528f1443893eedcfac2
diff --git a/runtime/class_linker.cc b/runtime/class_linker.cc
index c0d99b9d6a..235cc3ce99 100644
--- a/runtime/class_linker.cc
+++ b/runtime/class_linker.cc
@@ -4775,6 +4775,12 @@ void ClassLinker::ResolveMethodExceptionHandlerTypes(ArtMethod* method) {
return; // nothing to process
}
const uint8_t* handlers_ptr = accessor.GetCatchHandlerData(0);
+ CHECK(method->GetDexFile()->IsInDataSection(handlers_ptr))
+ << method->PrettyMethod()
+ << "@" << method->GetDexFile()->GetLocation()
+ << "@" << reinterpret_cast<const void*>(handlers_ptr)
+ << " is_compact_dex=" << method->GetDexFile()->IsCompactDexFile();
+
uint32_t handlers_size = DecodeUnsignedLeb128(&handlers_ptr);
for (uint32_t idx = 0; idx < handlers_size; idx++) {
CatchHandlerIterator iterator(handlers_ptr);
and crash log is
02-24 10:59:59.538 11671 11671 F DEBUG : pid: 11246, tid: 11246, name: car.mypackagename>>> car.mypackagename <<<
02-24 10:59:59.538 11671 11671 F DEBUG : uid: 10127
02-24 10:59:59.538 11671 11671 F DEBUG : tagged_addr_ctrl: 0000000000000001 (PR_TAGGED_ADDR_ENABLE)
02-24 10:59:59.538 11671 11671 F DEBUG : pac_enabled_keys: 000000000000000f (PR_PAC_APIAKEY, PR_PAC_APIBKEY, PR_PAC_APDAKEY, PR_PAC_APDBKEY)
02-24 10:59:59.538 11671 11671 F DEBUG : signal 11 (SIGSEGV), code 2 (SEGV_ACCERR), fault addr 0x0000007b8b6743b8
02-24 10:59:59.538 11671 11671 F DEBUG : x0 0000000000000001 x1 000000009e66f798 x2 000000009e234b6c x3 000000006f74e4c8
02-24 10:59:59.538 11671 11671 F DEBUG : x4 0000008000000000 x5 6a4c360000000000 x6 0000000080364c6a x7 11003b6e6f697470
02-24 10:59:59.538 11671 11671 F DEBUG : x8 0000007b8b6743ac x9 0000000000000000 x10 0000000001400400 x11 0000007a9779c618
02-24 10:59:59.538 11671 11671 F DEBUG : x12 0000000000000058 x13 000000000000000b x14 00000000eb002961 x15 b400007af9690e80
02-24 10:59:59.538 11671 11671 F DEBUG : x16 0000007b1b60f888 x17 0000007b1b939708 x18 0000007bd5b70000 x19 000000009e66f798
02-24 10:59:59.538 11671 11671 F DEBUG : x20 b400007b204b0e80 x21 b400007b20432c00 x22 0000007bd598d000 x23 b400007af9690da0
02-24 10:59:59.538 11671 11671 F DEBUG : x24 0000000000000008 x25 0000000000000020 x26 0000000000000200 x27 0000000000000100
02-24 10:59:59.538 11671 11671 F DEBUG : x28 0000004400000000 x29 0000007fc84ebb10
02-24 10:59:59.538 11671 11671 F DEBUG : lr 0000007b1b0845f4 sp 0000007fc84ebae0 pc 0000007b1b084690 pst 0000000020001000
02-24 10:59:59.538 11671 11671 F DEBUG : 30 total frames
02-24 10:59:59.538 11671 11671 F DEBUG : backtrace:
02-24 10:59:59.538 11671 11671 F DEBUG : #00 pc 0000000000284690 /apex/com.android.art/lib64/libart.so (art::ClassLinker::ResolveMethodExceptionHandlerTypes(art::ArtMethod*)+324) (BuildId: 32c0e297cfcae77fb29217f1e41e1ddf)
02-24 10:59:59.538 11671 11671 F DEBUG : #01 pc 00000000002838ac /apex/com.android.art/lib64/libart.so (art::ClassLinker::VerifyClass(art::Thread*, art::verifier::VerifierDeps*, art::Handle<art::mirror::Class>, art::verifier::HardFailLogMode)+1808) (BuildId: 32c0e297cfcae77fb29217f1e41e1ddf)
02-24 10:59:59.538 11671 11671 F DEBUG : #02 pc 0000000000286fb8 /apex/com.android.art/lib64/libart.so (art::ClassLinker::InitializeClass(art::Thread*, art::Handle<art::mirror::Class>, bool, bool)+748) (BuildId: 32c0e297cfcae77fb29217f1e41e1ddf)
02-24 10:59:59.538 11671 11671 F DEBUG : #03 pc 0000000000266b18 /apex/com.android.art/lib64/libart.so (art::ClassLinker::EnsureInitialized(art::Thread*, art::Handle<art::mirror::Class>, bool, bool)+164) (BuildId: 32c0e297cfcae77fb29217f1e41e1ddf)
02-24 10:59:59.538 11671 11671 F DEBUG : #04 pc 000000000075ab68 /apex/com.android.art/lib64/libart.so (NterpAllocateObject+2188) (BuildId: 32c0e297cfcae77fb29217f1e41e1ddf)
02-24 10:59:59.538 11671 11671 F DEBUG : #05 pc 000000000020f430 /apex/com.android.art/lib64/libart.so (nterp_allocate_object+48) (BuildId: 32c0e297cfcae77fb29217f1e41e1ddf)
02-24 10:59:59.538 11671 11671 F DEBUG : #06 pc 0000000000201a54 /apex/com.android.art/lib64/libart.so (nterp_op_new_instance+84) (BuildId: 32c0e297cfcae77fb29217f1e41e1ddf)
02-24 10:59:59.538 11671 11671 F DEBUG : #07 pc 00000000003d27a4 /product/priv-app/mypackagename/mypackagename.apk (mypackagename.TtsService.onCreate+92)
02-24 10:59:59.538 11671 11671 F DEBUG : #08 pc 000000000030ae68 /system/framework/arm64/boot-framework.oat (android.app.ActivityThread.handleCreateService+1976) (BuildId: b6b3ba5278acc1e8150a41175c8cf0d4d954113c)
02-24 10:59:59.538 11671 11671 F DEBUG : #09 pc 00000000003006e0 /system/framework/arm64/boot-framework.oat (android.app.ActivityThread$H.handleMessage+7792) (BuildId: b6b3ba5278acc1e8150a41175c8cf0d4d954113c)
02-24 10:59:59.538 11671 11671 F DEBUG : #10 pc 0000000000574ed8 /system/framework/arm64/boot-framework.oat (android.os.Handler.dispatchMessage+168) (BuildId: b6b3ba5278acc1e8150a41175c8cf0d4d954113c)