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

[BUG][Android] Crash Android chip-tool when reading event #31127

Closed
joonhaengHeo opened this issue Dec 20, 2023 · 0 comments · Fixed by #31128
Closed

[BUG][Android] Crash Android chip-tool when reading event #31127

joonhaengHeo opened this issue Dec 20, 2023 · 0 comments · Fixed by #31128
Assignees
Labels
bug Something isn't working needs triage

Comments

@joonhaengHeo
Copy link
Contributor

Reproduction steps

  1. Commissioning between android chip-tool and all-cluster-app.
  2. Enter Wildcard menu
  3. Read All Event (Wildcard endpointID, ClusterID, EventID)

12-20 16:00:48.773 F 15474 15517 libc : Fatal signal 6 (SIGABRT), code -1 (SI_QUEUE) in tid 15517 (CHIP Device Con), pid 15474 (e.chip.chiptool)
12-20 16:00:48.827 F 15601 15601 DEBUG : *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
12-20 16:00:48.827 F 15601 15601 DEBUG : Build fingerprint: google/flame/flame:11/RQ3A.211001.001/7641976:user/release-keys
12-20 16:00:48.827 F 15601 15601 DEBUG : Revision: MP1.0
12-20 16:00:48.827 F 15601 15601 DEBUG : ABI: arm64
12-20 16:00:48.827 F 15601 15601 DEBUG : Timestamp: 2023-12-20 16:00:48+0900
12-20 16:00:48.827 F 15601 15601 DEBUG : pid: 15474, tid: 15517, name: CHIP Device Con >>> com.google.chip.chiptool <<<
12-20 16:00:48.827 F 15601 15601 DEBUG : uid: 10333
12-20 16:00:48.827 F 15601 15601 DEBUG : signal 6 (SIGABRT), code -1 (SI_QUEUE), fault addr --------
12-20 16:00:48.827 F 15601 15601 DEBUG : Abort message: JNI DETECTED ERROR IN APPLICATION: JNI FindClass called with pending exception java.lang.ClassNotFoundException: Didnt find class "chip/devicecontroller/ChipEventStructs$TimeSynchronizationClusterDSTTableEmptyEvent" on path: DexPathList[[zip file "/data/app/~~4id1xLCjU733xhHW3zbx4g==/com.google.chip.chiptool-CIQ98wjnayzjxzD-aMYM-w==/base.apk"],nativeLibraryDirectories=[/data/app/~~4id1xLCjU733xhHW3zbx4g==/com.google.chip.chiptool-CIQ98wjnayzjxzD-aMYM-w==/lib/arm64, /data/app/~~4id1xLCjU733xhHW3zbx4g==/com.google.chip.chiptool-CIQ98wjnayzjxzD-aMYM-w==/base.apk!/lib/arm64-v8a, /system/lib64, /system_ext/lib64]]
12-20 16:00:48.827 F 15601 15601 DEBUG : (Throwable with no stack trace)
12-20 16:00:48.827 F 15601 15601 DEBUG :
12-20 16:00:48.827 F 15601 15601 DEBUG : in call to FindClass
12-20 16:00:48.827 F 15601 15601 DEBUG : x0 0000000000000000 x1 0000000000003c9d x2 0000000000000006 x3 000000766cb34fc0
12-20 16:00:48.827 F 15601 15601 DEBUG : x4 fefefefefefefeff x5 fefefefefefefeff x6 fefefefefefefeff x7 7f7f7f7f7f7f7f7f
12-20 16:00:48.827 F 15601 15601 DEBUG : x8 00000000000000f0 x9 4f879294f55181f3 x10 0000000000000000 x11 ffffffc0fffffbdf
12-20 16:00:48.827 F 15601 15601 DEBUG : x12 0000000000000001 x13 00000000000002e4 x14 002deeef8157c9f6 x15 00000000443e3ac6
12-20 16:00:48.827 F 15601 15601 DEBUG : x16 0000007975a8bc80 x17 0000007975a6d870 x18 000000766c5f4000 x19 0000000000003c72
12-20 16:00:48.827 F 15601 15601 DEBUG : x20 0000000000003c9d x21 00000000ffffffff x22 0000000000000000 x23 0000000000000000
12-20 16:00:48.827 F 15601 15601 DEBUG : x24 00000076e3a620b7 x25 0000000000000001 x26 00000076e3a7900c x27 00000076e407e000
12-20 16:00:48.827 F 15601 15601 DEBUG : x28 b4000077040b0c90 x29 000000766cb35040
12-20 16:00:48.827 F 15601 15601 DEBUG : lr 0000007975a212a0 sp 000000766cb34fa0 pc 0000007975a212cc pst 0000000000000000
12-20 16:00:48.830 F 15601 15601 DEBUG : backtrace:
12-20 16:00:48.831 F 15601 15601 DEBUG : #00 pc 000000000004e2cc /apex/com.android.runtime/lib64/bionic/libc.so (abort+164) (BuildId: 49090ae59e6ae37f8beae53c551820ad)
12-20 16:00:48.831 F 15601 15601 DEBUG : #1 pc 000000000055d080 /apex/com.android.art/lib64/libart.so (art::Runtime::Abort(char const*)+2308) (BuildId: 0183cc6150704cdc371a87b659800e56)
12-20 16:00:48.831 F 15601 15601 DEBUG : #2 pc 0000000000013978 /system/lib64/libbase.so (android::base::SetAborter(std::__1::function<void (char const*)>&&)::$_3::__invoke(char const*)+76) (BuildId: 01a12dd5224373edcc3a74506f64a9c9)
12-20 16:00:48.831 F 15601 15601 DEBUG : #3 pc 0000000000012fa4 /system/lib64/libbase.so (android::base::LogMessage::~LogMessage()+320) (BuildId: 01a12dd5224373edcc3a74506f64a9c9)
12-20 16:00:48.831 F 15601 15601 DEBUG : #4 pc 00000000003851b8 /apex/com.android.art/lib64/libart.so (art::JavaVMExt::JniAbort(char const*, char const*)+2572) (BuildId: 0183cc6150704cdc371a87b659800e56)
12-20 16:00:48.831 F 15601 15601 DEBUG : #5 pc 0000000000385230 /apex/com.android.art/lib64/libart.so (art::JavaVMExt::JniAbortV(char const*, char const*, std::__va_list)+108) (BuildId: 0183cc6150704cdc371a87b659800e56)
12-20 16:00:48.831 F 15601 15601 DEBUG : #6 pc 0000000000376f14 /apex/com.android.art/lib64/libart.so (art::(anonymous namespace)::ScopedCheck::AbortF(char const*, ...)+144) (BuildId: 0183cc6150704cdc371a87b659800e56)
12-20 16:00:48.831 F 15601 15601 DEBUG : #7 pc 0000000000375a2c /apex/com.android.art/lib64/libart.so (art::(anonymous namespace)::ScopedCheck::CheckPossibleHeapValue(art::ScopedObjectAccess&, char, art::(anonymous namespace)::JniValueType)+3108) (BuildId: 0183cc6150704cdc371a87b659800e56)
12-20 16:00:48.831 F 15601 15601 DEBUG : #8 pc 000000000037468c /apex/com.android.art/lib64/libart.so (art::(anonymous namespace)::ScopedCheck::Check(art::ScopedObjectAccess&, bool, char const*, art::(anonymous namespace)::JniValueType*)+612) (BuildId: 0183cc6150704cdc371a87b659800e56)
12-20 16:00:48.831 F 15601 15601 DEBUG : #9 pc 000000000035c240 /apex/com.android.art/lib64/libart.so (art::(anonymous namespace)::CheckJNI::FindClass(_JNIEnv*, char const*)+692) (BuildId: 0183cc6150704cdc371a87b659800e56)
12-20 16:00:48.831 F 15601 15601 DEBUG : #10 pc 00000000002a8494 /data/app/~~4id1xLCjU733xhHW3zbx4g==/com.google.chip.chiptool-CIQ98wjnayzjxzD-aMYM-w==/base.apk (offset 0x2360000)
12-20 16:00:48.831 F 15601 15601 DEBUG : #11 pc 00000000006b9dfc /data/app/~~4id1xLCjU733xhHW3zbx4g==/com.google.chip.chiptool-CIQ98wjnayzjxzD-aMYM-w==/base.apk (offset 0x2360000)
12-20 16:00:48.831 F 15601 15601 DEBUG : #12 pc 000000000028ad90 /data/app/~~4id1xLCjU733xhHW3zbx4g==/com.google.chip.chiptool-CIQ98wjnayzjxzD-aMYM-w==/base.apk (offset 0x2360000)
12-20 16:00:48.831 F 15601 15601 DEBUG : #13 pc 000000000028db54 /data/app/~~4id1xLCjU733xhHW3zbx4g==/com.google.chip.chiptool-CIQ98wjnayzjxzD-aMYM-w==/base.apk (offset 0x2360000)
12-20 16:00:48.831 F 15601 15601 DEBUG : #14 pc 00000000006989cc /data/app/~~4id1xLCjU733xhHW3zbx4g==/com.google.chip.chiptool-CIQ98wjnayzjxzD-aMYM-w==/base.apk (offset 0x2360000)
12-20 16:00:48.831 F 15601 15601 DEBUG : #15 pc 0000000000695aac /data/app/~~4id1xLCjU733xhHW3zbx4g==/com.google.chip.chiptool-CIQ98wjnayzjxzD-aMYM-w==/base.apk (offset 0x2360000)
12-20 16:00:48.831 F 15601 15601 DEBUG : #16 pc 00000000006a7af8 /data/app/~~4id1xLCjU733xhHW3zbx4g==/com.google.chip.chiptool-CIQ98wjnayzjxzD-aMYM-w==/base.apk (offset 0x2360000)
12-20 16:00:48.831 F 15601 15601 DEBUG : #17 pc 00000000006a7174 /data/app/~~4id1xLCjU733xhHW3zbx4g==/com.google.chip.chiptool-CIQ98wjnayzjxzD-aMYM-w==/base.apk (offset 0x2360000)
12-20 16:00:48.831 F 15601 15601 DEBUG : #18 pc 00000000006a6958 /data/app/~~4id1xLCjU733xhHW3zbx4g==/com.google.chip.chiptool-CIQ98wjnayzjxzD-aMYM-w==/base.apk (offset 0x2360000)
12-20 16:00:48.831 F 15601 15601 DEBUG : #19 pc 00000000002be6a4 /data/app/~~4id1xLCjU733xhHW3zbx4g==/com.google.chip.chiptool-CIQ98wjnayzjxzD-aMYM-w==/base.apk (offset 0x2360000)
12-20 16:00:48.831 F 15601 15601 DEBUG : #20 pc 00000000006bccfc /data/app/~~4id1xLCjU733xhHW3zbx4g==/com.google.chip.chiptool-CIQ98wjnayzjxzD-aMYM-w==/base.apk (offset 0x2360000) (chip::Messaging::ExchangeContext::HandleMessage(unsigned int, chip::PayloadHeader const&, chip::BitFlags<chip::Messaging::MessageFlagValues, unsigned int>, chip::System::PacketBufferHandle&&)+884)
12-20 16:00:48.831 F 15601 15601 DEBUG : #21 pc 00000000006c02c8 /data/app/~~4id1xLCjU733xhHW3zbx4g==/com.google.chip.chiptool-CIQ98wjnayzjxzD-aMYM-w==/base.apk (offset 0x2360000)
12-20 16:00:48.831 F 15601 15601 DEBUG : #22 pc 00000000006c01b8 /data/app/~~4id1xLCjU733xhHW3zbx4g==/com.google.chip.chiptool-CIQ98wjnayzjxzD-aMYM-w==/base.apk (offset 0x2360000)
12-20 16:00:48.831 F 15601 15601 DEBUG : #23 pc 00000000006b8db0 /data/app/~~4id1xLCjU733xhHW3zbx4g==/com.google.chip.chiptool-CIQ98wjnayzjxzD-aMYM-w==/base.apk (offset 0x2360000)
12-20 16:00:48.831 F 15601 15601 DEBUG : #24 pc 00000000006bfa58 /data/app/~~4id1xLCjU733xhHW3zbx4g==/com.google.chip.chiptool-CIQ98wjnayzjxzD-aMYM-w==/base.apk (offset 0x2360000)
12-20 16:00:48.831 F 15601 15601 DEBUG : #25 pc 00000000006bf33c /data/app/~~4id1xLCjU733xhHW3zbx4g==/com.google.chip.chiptool-CIQ98wjnayzjxzD-aMYM-w==/base.apk (offset 0x2360000) (chip::Messaging::ExchangeManager::OnMessageReceived(chip::PacketHeader const&, chip::PayloadHeader const&, chip::SessionHandle const&, chip::SessionMessageDelegate::DuplicateMessage, chip::System::PacketBufferHandle&&)+924)
12-20 16:00:48.831 F 15601 15601 DEBUG : #26 pc 00000000006d5f04 /data/app/~~4id1xLCjU733xhHW3zbx4g==/com.google.chip.chiptool-CIQ98wjnayzjxzD-aMYM-w==/base.apk (offset 0x2360000) (chip::SessionManager::SecureUnicastMessageDispatch(chip::PacketHeader const&, chip::Transport::PeerAddress const&, chip::System::PacketBufferHandle&&)+1440)
12-20 16:00:48.831 F 15601 15601 DEBUG : #27 pc 00000000006d51b8 /data/app/~~4id1xLCjU733xhHW3zbx4g==/com.google.chip.chiptool-CIQ98wjnayzjxzD-aMYM-w==/base.apk (offset 0x2360000) (chip::SessionManager::OnMessageReceived(chip::Transport::PeerAddress const&, chip::System::PacketBufferHandle&&)+260)
12-20 16:00:48.831 F 15601 15601 DEBUG : #28 pc 00000000006e0578 /data/app/~~4id1xLCjU733xhHW3zbx4g==/com.google.chip.chiptool-CIQ98wjnayzjxzD-aMYM-w==/base.apk (offset 0x2360000)
12-20 16:00:48.831 F 15601 15601 DEBUG : #29 pc 000000000084d730 /data/app/~~4id1xLCjU733xhHW3zbx4g==/com.google.chip.chiptool-CIQ98wjnayzjxzD-aMYM-w==/base.apk (offset 0x2360000)
12-20 16:00:48.831 F 15601 15601 DEBUG : #30 pc 000000000084d428 /data/app/~~4id1xLCjU733xhHW3zbx4g==/com.google.chip.chiptool-CIQ98wjnayzjxzD-aMYM-w==/base.apk (offset 0x2360000) (chip::Transport::UDP::OnUdpReceive(chip::Inet::UDPEndPoint*, chip::System::PacketBufferHandle&&, chip::Inet::IPPacketInfo const*)+180)
12-20 16:00:48.831 F 15601 15601 DEBUG : #31 pc 0000000000811d1c /data/app/~~4id1xLCjU733xhHW3zbx4g==/com.google.chip.chiptool-CIQ98wjnayzjxzD-aMYM-w==/base.apk (offset 0x2360000)
12-20 16:00:48.831 F 15601 15601 DEBUG : #32 pc 00000000008111d8 /data/app/~~4id1xLCjU733xhHW3zbx4g==/com.google.chip.chiptool-CIQ98wjnayzjxzD-aMYM-w==/base.apk (offset 0x2360000)
12-20 16:00:48.831 F 15601 15601 DEBUG : #33 pc 00000000006cdaa4 /data/app/~~4id1xLCjU733xhHW3zbx4g==/com.google.chip.chiptool-CIQ98wjnayzjxzD-aMYM-w==/base.apk (offset 0x2360000)
12-20 16:00:48.831 F 15601 15601 DEBUG : #34 pc 0000000000817a5c /data/app/~~4id1xLCjU733xhHW3zbx4g==/com.google.chip.chiptool-CIQ98wjnayzjxzD-aMYM-w==/base.apk (offset 0x2360000)
12-20 16:00:48.831 F 15601 15601 DEBUG : #35 pc 00000000002bd374 /data/app/~~4id1xLCjU733xhHW3zbx4g==/com.google.chip.chiptool-CIQ98wjnayzjxzD-aMYM-w==/base.apk (offset 0x2360000)
12-20 16:00:48.831 F 15601 15601 DEBUG : #36 pc 00000000002ac400 /data/app/~~4id1xLCjU733xhHW3zbx4g==/com.google.chip.chiptool-CIQ98wjnayzjxzD-aMYM-w==/base.apk (offset 0x2360000)
12-20 16:00:48.831 F 15601 15601 DEBUG : #37 pc 00000000000afd4c /apex/com.android.runtime/lib64/bionic/libc.so (__pthread_start(void*)+64) (BuildId: 49090ae59e6ae37f8beae53c551820ad)
12-20 16:00:48.831 F 15601 15601 DEBUG : #38 pc 0000000000050288 /apex/com.android.runtime/lib64/bionic/libc.so (__start_thread+64) (BuildId: 49090ae59e6ae37f8beae53c551820ad)

Bug prevalence

Always

GitHub hash of the SDK that was being used

ce32d11

Platform

android

Platform Version(s)

No response

Anything else?

No response

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working needs triage
Projects
Archived in project
Development

Successfully merging a pull request may close this issue.

1 participant