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

[Crash] chip::DeviceLayer::Internal::BlePlatformDelegateImpl::UnsubscribeCharacteristic #19592

Closed
aajain-com opened this issue Jun 14, 2022 · 1 comment

Comments

@aajain-com
Copy link
Contributor

Problem

Seeing this crash reported during testing on iOS/tvOS. This is seen as recent as TE9 SHA cfc35951be66a664a6efdadea56d1b8ea6e63e96.

Thread 1 Crashed::   Dispatch queue: com.apple.CoreHAP.CHIPAccessoryServer.clientQueue.0
0   libobjc.A.dylib               	       0x1a7c8fde0 objc_retain + 16 
1   CHIP                          	       0x1052822ec chip::DeviceLayer::Internal::BlePlatformDelegateImpl::UnsubscribeCharacteristic*, chip::Ble::ChipBleUUID const*, chip::Ble::ChipBleUUID const*) + 336 
2   CHIP                          	       0x105113e18 chip::Ble::BLEEndPoint::FinalizeClose char, unsigned char, chip::ChipError) + 496 
3   CHIP                          	       0x105112dc4 chip::Ble::BLEEndPoint::DoClose char, chip::ChipError) + 228 
4   CHIP                          	       0x105113c04 chip::Ble::BLEEndPoint::Close + 84 
5   CHIP                          	       0x1052ba2f8 chip::Transport::BLEBase::ClearState + 112 
6   CHIP                          	       0x1052ba264 chip::Transport::BLEBase::~BLEBase + 96 
7   CHIP                          	       0x10517b2c8 chip::Transport::BLE<1ul>::~BLE + 168 
8   CHIP                          	       0x10517b114 chip::Transport::BLE<1ul>::~BLE + 32 
9   CHIP                          	       0x10517b42c std::__1::__tuple_leaf<2ul, chip::Transport::BLE<1ul>, false>::~__tuple_leaf + 32 ++/v1/tuple:191)
10  CHIP                          	       0x10517b3e8 std::__1::__tuple_impl, chip::Transport::UDP, chip::Transport::UDP, chip::Transport::BLE<1ul> >::~__tuple_impl + 36 ++/v1/tuple:365)
11  CHIP                          	       0x10517b3b4 std::__1::__tuple_impl, chip::Transport::UDP, chip::Transport::UDP, chip::Transport::BLE<1ul> >::~__tuple_impl + 32 ++/v1/tuple:365)
12  CHIP                          	       0x10517b384 std::__1::tuple >::~tuple + 32 ++/v1/tuple:451)
13  CHIP                          	       0x10517b354 std::__1::tuple >::~tuple + 32 ++/v1/tuple:451)
14  CHIP                          	       0x10517b31c chip::Transport::Tuple >::~Tuple + 68 
15  CHIP                          	       0x10517ab74 chip::Transport::Tuple >::~Tuple + 32 
16  CHIP                          	       0x10517c050 chip::TransportMgr >::~TransportMgr + 68 
17  CHIP                          	       0x10517aa1c chip::TransportMgr >::~TransportMgr + 32 
18  CHIP                          	       0x10517a420 void chip::Platform::Delete > > >*) + 64 
19  CHIP                          	       0x10517a0d4 chip::Controller::DeviceControllerSystemState::Shutdown + 376 
20  CHIP                          	       0x1051213e0 chip::Controller::DeviceControllerSystemState::Release + 180 
21  CHIP                          	       0x1051212bc chip::Controller::DeviceController::Shutdown + 260 
22  CHIP                          	       0x105122ef4 chip::Controller::DeviceCommissioner::Shutdown + 296 
23  CHIP                          	       0x104cbb330 -[CHIPDeviceController cleanup] + 72 
24  CHIPPlugin                    	       0x101c24c3c -[CHIPAccessoryServer disable] + 100 
25  CHIPPlugin                    	       0x101c243b0 -[CHIPAccessoryServer _onUnpairFinishedWithError:queue:completion:] + 312 
26  CHIPPlugin                    	       0x101c240a4 __42-[CHIPAccessoryServer _unpair:completion:]_block_invoke + 216 
27  CHIP                          	       0x104c3ff10 ___ZN26CHIPDeviceConnectionBridge19OnConnectionFailureEPvN4chip6PeerIdENS1_9ChipErrorE_block_invoke + 100 
28  libdispatch.dylib             	       0x1a7cd15cc _dispatch_call_block_and_release + 32 
29  libdispatch.dylib             	       0x1a7cd30f4 _dispatch_client_callout + 20 
30  libdispatch.dylib             	       0x1a7cda7ac _dispatch_lane_serial_drain + 672 
31  libdispatch.dylib             	       0x1a7cdb32c _dispatch_lane_invoke + 436 
32  libdispatch.dylib             	       0x1a7ce5ebc _dispatch_workloop_worker_thread + 652 
33  libsystem_pthread.dylib       	       0x2220360a8 _pthread_wqthread + 288 
34  libsystem_pthread.dylib       	       0x222035e48 start_wqthread + 8
@aajain-com aajain-com changed the title Crash chip::DeviceLayer::Internal::BlePlatformDelegateImpl::UnsubscribeCharacteristic [Crash] chip::DeviceLayer::Internal::BlePlatformDelegateImpl::UnsubscribeCharacteristic Jun 14, 2022
@woody-apple
Copy link
Contributor

Resolved by: #20235

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

No branches or pull requests

2 participants