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

[Test Failed] [BUG] When I pair with a matter device, it sometimes crashes. I'm sure I'm using the same method, but it crashes every now and then. The second time the pairing succeeds, #32826

Open
JasonClark2 opened this issue Apr 3, 2024 · 0 comments

Comments

@JasonClark2
Copy link

Test issue(s)

1.I want to know how I can avoid this error. I threw an exception in the entire method of connect. Obviously this doesn't work. It's the chip that reports an error. I can't throw an exception.
2.
3.
...

Platform

No response

Anything else?

Fatal signal 6 (SIGABRT), code -1 (SI_QUEUE) in tid 17123 (binder:17107_2), pid 17107 (l.app.shademate)
Cmdline: appcode
pid: 17107, tid: 17123, name: binder:17107_2 >>> appcode <<<
#1 pc 000000000087a934 /data/app/~~0ebaRm3hxQGaKCvsaOz3OQ==/appcode-Ig2vcHD6P9pWGeoil0foSg==/base.apk
#2 pc 00000000017d36fc /data/app/~~0ebaRm3hxQGaKCvsaOz3OQ==/appcode-Ig2vcHD6P9pWGeoil0foSg==/base.apk
#3 pc 00000000017d2c88 /data/app/~~0ebaRm3hxQGaKCvsaOz3OQ==/appcode-Ig2vcHD6P9pWGeoil0foSg==/base.apk
#4 pc 00000000017d2b18 /data/app/~~0ebaRm3hxQGaKCvsaOz3OQ==/appcode-Ig2vcHD6P9pWGeoil0foSg==/base.apk
#5 pc 00000000018aeda8 /data/app/~~0ebaRm3hxQGaKCvsaOz3OQ==/appcode-Ig2vcHD6P9pWGeoil0foSg==/base.apk
#6 pc 0000000001775590 /data/app/~~0ebaRm3hxQGaKCvsaOz3OQ==/appcode-Ig2vcHD6P9pWGeoil0foSg==/base.apk (chip::OperationalSessionSetup::LookupPeerAddress()+440)
#7 pc 00000000017751b0 /data/app/~~0ebaRm3hxQGaKCvsaOz3OQ==/appcode-Ig2vcHD6P9pWGeoil0foSg==/base.apk (chip::OperationalSessionSetup::Connect(chip::Callback::Callback<void ()(void, chip::Messaging::ExchangeManager&, chip::SessionHandle const&)>, chip::Callback::Callback<void ()(void*, chip::ScopedNodeId const&, chip::ChipError)>)+228)
#8 pc 0000000001745204 /data/app/~~0ebaRm3hxQGaKCvsaOz3OQ==/appcode-Ig2vcHD6P9pWGeoil0foSg==/base.apk
#9 pc 00000000017a3e34 /data/app/~~0ebaRm3hxQGaKCvsaOz3OQ==/appcode-Ig2vcHD6P9pWGeoil0foSg==/base.apk (chip::Controller::DeviceCommissioner::PerformCommissioningStep(chip::DeviceProxy
, chip::Controller::CommissioningStage, chip::Controller::CommissioningParameters&, chip::Controller::CommissioningDelegate*, unsigned short, chip::Optional<std::__ndk1::chrono::duration<unsigned int, std::__ndk1::ratio<1l, 1000l> > >)+10588)
#10 pc 0000000001796230 /data/app/~~0ebaRm3hxQGaKCvsaOz3OQ==/appcode-Ig2vcHD6P9pWGeoil0foSg==/base.apk
#11 pc 0000000001795308 /data/app/~~0ebaRm3hxQGaKCvsaOz3OQ==/appcode-Ig2vcHD6P9pWGeoil0foSg==/base.apk
#12 pc 000000000179c3d4 /data/app/~~0ebaRm3hxQGaKCvsaOz3OQ==/appcode-Ig2vcHD6P9pWGeoil0foSg==/base.apk (chip::Controller::DeviceCommissioner::CommissioningStageComplete(chip::ChipError, chip::Controller::CommissioningDelegate::CommissioningReport)+376)
#13 pc 00000000017a1384 /data/app/~~0ebaRm3hxQGaKCvsaOz3OQ==/appcode-Ig2vcHD6P9pWGeoil0foSg==/base.apk (chip::Controller::DeviceCommissioner::OnConnectNetworkResponse(void*, chip::app::Clusters::NetworkCommissioning::Commands::ConnectNetworkResponse::DecodableType const&)+268)
#14 pc 0000000000f817b8 /data/app/~~0ebaRm3hxQGaKCvsaOz3OQ==/appcode-Ig2vcHD6P9pWGeoil0foSg==/base.apk
#15 pc 0000000000f81768 /data/app/~~0ebaRm3hxQGaKCvsaOz3OQ==/appcode-Ig2vcHD6P9pWGeoil0foSg==/base.apk
#16 pc 0000000000f816dc /data/app/~~0ebaRm3hxQGaKCvsaOz3OQ==/appcode-Ig2vcHD6P9pWGeoil0foSg==/base.apk
#17 pc 0000000000f81674 /data/app/~~0ebaRm3hxQGaKCvsaOz3OQ==/appcode-Ig2vcHD6P9pWGeoil0foSg==/base.apk
#18 pc 0000000000f80724 /data/app/~~0ebaRm3hxQGaKCvsaOz3OQ==/appcode-Ig2vcHD6P9pWGeoil0foSg==/base.apk
#19 pc 0000000000f7e934 /data/app/~~0ebaRm3hxQGaKCvsaOz3OQ==/appcode-Ig2vcHD6P9pWGeoil0foSg==/base.apk
#20 pc 0000000000f7e874 /data/app/~~0ebaRm3hxQGaKCvsaOz3OQ==/appcode-Ig2vcHD6P9pWGeoil0foSg==/base.apk
#21 pc 0000000000f7e648 /data/app/~~0ebaRm3hxQGaKCvsaOz3OQ==/appcode-Ig2vcHD6P9pWGeoil0foSg==/base.apk
#22 pc 000000000175a16c /data/app/~~0ebaRm3hxQGaKCvsaOz3OQ==/appcode-Ig2vcHD6P9pWGeoil0foSg==/base.apk
#23 pc 0000000001759904 /data/app/~~0ebaRm3hxQGaKCvsaOz3OQ==/appcode-Ig2vcHD6P9pWGeoil0foSg==/base.apk
#24 pc 0000000001759388 /data/app/~~0ebaRm3hxQGaKCvsaOz3OQ==/appcode-Ig2vcHD6P9pWGeoil0foSg==/base.apk
#25 pc 000000000087e318 /data/app/~~0ebaRm3hxQGaKCvsaOz3OQ==/appcode-Ig2vcHD6P9pWGeoil0foSg==/base.apk
#26 pc 00000000017de938 /data/app/~~0ebaRm3hxQGaKCvsaOz3OQ==/appcode-Ig2vcHD6P9pWGeoil0foSg==/base.apk (chip::Messaging::ExchangeContext::HandleMessage(unsigned int, chip::PayloadHeader const&, chip::BitFlags<chip::Messaging::MessageFlagValues, unsigned int>, chip::System::PacketBufferHandle&&)+932)
#27 pc 00000000017e1eb8 /data/app/~~0ebaRm3hxQGaKCvsaOz3OQ==/appcode-Ig2vcHD6P9pWGeoil0foSg==/base.apk
#28 pc 00000000017e1d94 /data/app/~~0ebaRm3hxQGaKCvsaOz3OQ==/appcode-Ig2vcHD6P9pWGeoil0foSg==/base.apk
#29 pc 00000000017d97e4 /data/app/~~0ebaRm3hxQGaKCvsaOz3OQ==/appcode-Ig2vcHD6P9pWGeoil0foSg==/base.apk
#30 pc 00000000017e16a8 /data/app/~~0ebaRm3hxQGaKCvsaOz3OQ==/appcode-Ig2vcHD6P9pWGeoil0foSg==/base.apk
#31 pc 00000000017e0ebc /data/app/~~0ebaRm3hxQGaKCvsaOz3OQ==/appcode-Ig2vcHD6P9pWGeoil0foSg==/base.apk (chip::Messaging::ExchangeManager::OnMessageReceived(chip::PacketHeader const&, chip::PayloadHeader const&, chip::SessionHandle const&, chip::SessionMessageDelegate::DuplicateMessage, chip::System::PacketBufferHandle&&)+952)
#32 pc 00000000017fd488 /data/app/~~0ebaRm3hxQGaKCvsaOz3OQ==/appcode-Ig2vcHD6P9pWGeoil0foSg==/base.apk (chip::SessionManager::SecureUnicastMessageDispatch(chip::PacketHeader const&, chip::Transport::PeerAddress const&, chip::System::PacketBufferHandle&&)+1564)
#33 pc 00000000017fc5fc /data/app/~~0ebaRm3hxQGaKCvsaOz3OQ==/appcode-Ig2vcHD6P9pWGeoil0foSg==/base.apk (chip::SessionManager::OnMessageReceived(chip::Transport::PeerAddress const&, chip::System::PacketBufferHandle&&)+300)
#34 pc 00000000018052d4 /data/app/~~0ebaRm3hxQGaKCvsaOz3OQ==/appcode-Ig2vcHD6P9pWGeoil0foSg==/base.apk
#35 pc 00000000018e6934 /data/app/~~0ebaRm3hxQGaKCvsaOz3OQ==/appcode-Ig2vcHD6P9pWGeoil0foSg==/base.apk
#36 pc 00000000018e7608 /data/app/~~0ebaRm3hxQGaKCvsaOz3OQ==/appcode-Ig2vcHD6P9pWGeoil0foSg==/base.apk (chip::Transport::BLEBase::OnEndPointMessageReceived(chip::Ble::BLEEndPoint*, chip::System::PacketBufferHandle&&)+68)
#37 pc 00000000017b0a04 /data/app/~~0ebaRm3hxQGaKCvsaOz3OQ==/appcode-Ig2vcHD6P9pWGeoil0foSg==/base.apk (chip::Ble::BLEEndPoint::Receive(chip::System::PacketBufferHandle&&)+1700)
#38 pc 00000000017abdc0 /data/app/~~0ebaRm3hxQGaKCvsaOz3OQ==/appcode-Ig2vcHD6P9pWGeoil0foSg==/base.apk (chip::Ble::BleLayer::HandleIndicationReceived(void*, chip::Ble::ChipBleUUID const*, chip::Ble::ChipBleUUID const*, chip::System::PacketBufferHandle&&)+248)
#39 pc 000000000188fbb8 /data/app/~~0ebaRm3hxQGaKCvsaOz3OQ==/appcode-Ig2vcHD6P9pWGeoil0foSg==/base.apk (Java_chip_platform_AndroidChipPlatform_handleIndicationReceived+544)
#45 pc 00000000001c135c [anon:dalvik-classes24.dex extracted in memory from /data/app/~~0ebaRm3hxQGaKCvsaOz3OQ==/appcode-Ig2vcHD6P9pWGeoil0foSg==/base.apk!classes24.dex] (chip.platform.AndroidBleManager$1.onCharacteristicChanged+0)
#50 pc 00000000000020dc /data/data/appcode/code_cache/.overlay/base.apk/classes18.dex (device.control.app.dooyamatter.ui.Matterhub.chip.BluetoothManager$getBluetoothGattCallback$1.onCharacteristicChanged+0)
---------------------------- PROCESS ENDED (17107) for package appcode ----------------------------
type=1400 audit(1712029902.056:110789): avc: granted { execute } for pid=19197 comm="re-initialized>" path="/data/data/appcode/code_cache/startup_agents/399789b5-agent.so" dev="dm-55" ino=500315 scontext=u:r:untrusted_app:s0:c203,c258,c512,c768 tcontext=u:object_r:app_data_file:s0:c203,c258,c512,c768 tclass=file SEPF_SM-S911U_13_0001 audit_filtered
---------------------------- PROCESS STARTED (19197) for package appcode ----------------------------
Configuring clns-4 for other apk /system/framework/org.apache.http.legacy.jar. target_sdk_version=34, uses_libraries=ALL, library_path=/data/app/~~0ebaRm3hxQGaKCvsaOz3OQ==/appcode-Ig2vcHD6P9pWGeoil0foSg==/lib/arm64:/data/app/~~0ebaRm3hxQGaKCvsaOz3OQ==/appcode-Ig2vcHD6P9pWGeoil0foSg==/base.apk!/lib/arm64-v8a, permitted_path=/data:/mnt/expand:/data/user/0/appcode
Extending system_exposed_libraries: libhumantracking.arcsoft.so:libPortraitDistortionCorrection.arcsoft.so:libPortraitDistortionCorrectionCali.arcsoft.so:libface_landmark.arcsoft.so:libFacialStickerEngine.arcsoft.so:libfrtracking_engine.arcsoft.so:libFaceRecognition.arcsoft.so:libveengine.arcsoft.so:lib_pet_detection.arcsoft.so:libae_bracket_hdr.arcsoft.so:libhybrid_high_dynamic_range.arcsoft.so:libimage_enhancement.arcsoft.so:liblow_light_hdr.arcsoft.so:libhigh_dynamic_range.arcsoft.so:libsuperresolution_raw.arcsoft.so:libFacialAttributeDetection.arcsoft.so:libobjectcapture_jni.arcsoft.so:libobjectcapture_jni.arcsoft.so:libobjectcapture.arcsoft.so:libBeauty_v4.camera.samsung.so:libexifa.camera.samsung.so:libjpega.camera.samsung.so:libOpenCv.camera.samsung.so:libVideoClassifier.camera.samsung.so:libtensorflowLite.dynamic_viewing.camera.samsung.so:libImageScreener.camera.samsung.so:libMyFilter.camera.samsung.so:libtflite2.myfilters.camera.samsung.so:libHIDTSnapJNI.camera.samsung.so:libSmartScan.camera.samsung
Unable to open '/data/data/appcode/code_cache/.overlay/base.apk/classes13.dm': No such file or directory
Unable to open '/data/data/appcode/code_cache/.overlay/base.apk/classes18.dm': No such file or directory
Unable to open '/data/app/~~0ebaRm3hxQGaKCvsaOz3OQ==/appcode-Ig2vcHD6P9pWGeoil0foSg==/base.dm': No such file or directory
Unable to open '/data/app/~~0ebaRm3hxQGaKCvsaOz3OQ==/appcode-Ig2vcHD6P9pWGeoil0foSg==/base.dm': No such file or directory
win=Window{9bab836 u0 appcode/device.control.app.dooyamatter.ui.Matterhub.HubAddActivity EXITING} destroySurfaces: appStopped=false cleanupOnResume=false win.mWindowRemovalAllowed=true win.mRemoveOnExit=true win.mViewVisibility=0 caller=com.android.server.wm.ActivityRecord.destroySurfaces:6509 com.android.server.wm.ActivityRecord.destroySurfaces:6490 com.android.server.wm.WindowState.onExitAnimationDone:5965 com.android.server.wm.ActivityRecord$$ExternalSyntheticLambda10.accept:2 java.util.ArrayList.forEach:1528 com.android.server.wm.ActivityRecord.onAnimationFinished:8578 com.android.server.wm.ActivityRecord.postApplyAnimation:6223
Configuring clns-5 for other apk /data/app/~~0ebaRm3hxQGaKCvsaOz3OQ==/appcode-Ig2vcHD6P9pWGeoil0foSg==/base.apk. target_sdk_version=34, uses_libraries=, library_path=/data/app/~~0ebaRm3hxQGaKCvsaOz3OQ==/appcode-Ig2vcHD6P9pWGeoil0foSg==/lib/arm64:/data/app/~~0ebaRm3hxQGaKCvsaOz3OQ==/appcode-Ig2vcHD6P9pWGeoil0foSg==/base.apk!/lib/arm64-v8a, permitted_path=/data:/mnt/expand:/data/user/0/appcode
ANGLE Developer option for 'appcode' set to: 'default'

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: Todo
Status: Todo
Development

No branches or pull requests

2 participants