-
Notifications
You must be signed in to change notification settings - Fork 2.1k
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
[Android][CHIPTool][Crash] libCHIPController.so crash when invoke readOnOffAttribute method of OnOffCluster class #28429
Comments
android crash log2: Build fingerprint: |
crash log: Build fingerprint: '' |
another crash log: Build fingerprint: |
the above log may related to this reason: so is there a api can get the session status ? and the sdk using the closed session don't crashed; |
I have encountered a similar bug. Is there a solution? |
@netscell could you retry this issue with latest code? session lifetime is managed in core sdk. Recently we have largely improve the stability, maybe it has been resolved? thanks |
same issue,there is crash logs: |
@AriesHaw may i know which commit id are you using when crash happens, thanks |
@netscell we cannot detect whether session is alive or not,
|
sounds like it is duplicate with #30624, close this one, working on 30624, thanks |
Reproduction steps
after pair device , read the matter plug onoff state, occurs crash sometimes:
log1:
Process:
PID: 20264
UID: 10178
Frozen: false
Flags: 0x20c83e46
Package:
Foreground: No
Process-Runtime: 4879686
Lifetime: 4879s
Build:
Loading-Progress: 1.0
Wakefulness: Dozing 2023-07-31 18:21:08.857
KeyguardShowing: true 2023-07-31 18:21:09.220
Dropped-Count: 0
Build fingerprint:
Revision: '0'
ABI: 'arm64'
Timestamp: 2023-07-31 19:40:15.214378543+0800
Process uptime: 4207s
Cmdline:
pid: 20264, tid: 21294, name:
uid: 10178
tagged_addr_ctrl: 0000000000000001 (PR_TAGGED_ADDR_ENABLE)
pac_enabled_keys: 000000000000000f (PR_PAC_APIAKEY, PR_PAC_APIBKEY, PR_PAC_APDAKEY, PR_PAC_APDBKEY)
signal 6 (SIGABRT), code -1 (SI_QUEUE), fault addr --------
x0 0000000000000000 x1 000000000000532e x2 0000000000000006 x3 0000007896a186c0
x4 0000000000000001 x5 0000000000000001 x6 0000000000000001 x7 0000000000000000
x8 00000000000000f0 x9 0000007c8bc51398 x10 0000000000000001 x11 0000007c8bc915b8
x12 0000000000004eb6 x13 12a523d4061d6ec5 x14 0000000000000006 x15 ffffffffffffffff
x16 0000007c8bcf5f88 x17 0000007c8bcd3450 x18 00000078968da000 x19 0000000000004f28
x20 000000000000532e x21 00000000ffffffff x22 000000789f7f2528 x23 000000789fc044cd
x24 00000079cd400880 x25 0000007896a18c38 x26 0000007896a18c48 x27 0000007896a18c38
x28 0000007896a18b30 x29 0000007896a18740
lr 0000007c8bc83044 sp 0000007896a186a0 pc 0000007c8bc83070 pst 0000000000001000
backtrace:
NOTE: Function names and BuildId information is missing for some frames due
NOTE: to unreadable libraries. For unwinds of apps, only shared libraries
NOTE: found under the lib/ directory are readable.
NOTE: On this device, run setenforce 0 to make the libraries readable.
NOTE: Unreadable libraries:
NOTE: lib/arm64-v8a/libCHIPController.so
#00 pc 0000000000054070 /apex/com.android.runtime/lib64/bionic/libc.so (abort+164) (BuildId: 25eadd32a5b6753e7e58e01ae8014530)
#1 pc 000000000087a934 /lib/arm64-v8a/libCHIPController.so
#2 pc 000000000087a88c /lib/arm64-v8a/libCHIPController.so
#3 pc 0000000000c6a764 /lib/arm64-v8a/libCHIPController.so
#4 pc 0000000000ca0da4 lib/arm64-v8a/libCHIPController.so
#5 pc 0000000000ca0c6c lib/arm64-v8a/libCHIPController.so
#6 pc 000000000021a354 /apex/com.android.art/lib64/libart.so (art_quick_generic_jni_trampoline+148) (BuildId: d53f2ad8deb01876e35b599a414617a1)
#7 pc 000000000020a910 /apex/com.android.art/lib64/libart.so (nterp_helper+5648) (BuildId: d53f2ad8deb01876e35b599a414617a1)
#8 pc 000000000013c528 [anon:dalvik-classes8.dex extracted in memory from debug.apk!classes8.dex] (chip.devicecontroller.ChipClusters$OnOffCluster.readOnOffAttribute+4)
#9 pc 000000000020a254 /apex/com.android.art/lib64/libart.so (nterp_helper+3924) (BuildId: d53f2ad8deb01876e35b599a414617a1)
#10 pc 0000000000180b00 [anon:dalvik-classes8.dex extracted in memory from debug.apk!classes8.dex] (chip.devicecontroller.ClusterReadMapping.lambda$getReadAttributeMap$52+8)
#11 pc 0000000000209334 /apex/com.android.art/lib64/libart.so (nterp_helper+52) (BuildId: d53f2ad8deb01876e35b599a414617a1)
Bug prevalence
10 + times one day
GitHub hash of the SDK that was being used
NA
Platform
android
Platform Version(s)
No response
Anything else?
No response
The text was updated successfully, but these errors were encountered: