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

[Cirque] Still see shutdown crash in cirque IM test #7466

Closed
yunhanw-google opened this issue Jun 8, 2021 · 0 comments · Fixed by #7469
Closed

[Cirque] Still see shutdown crash in cirque IM test #7466

yunhanw-google opened this issue Jun 8, 2021 · 0 comments · Fixed by #7469
Assignees

Comments

@yunhanw-google
Copy link
Contributor

yunhanw-google commented Jun 8, 2021

Problem

https://github.com/yunhanw-google/connectedhomeip/actions/runs/919262233

after 2877e1e, which adjust shutdown ordering, we still see shutdown crash for IM test,
[1623175629.106721][155] CHIP:EM: Sending Standalone Ack for MsgId:00000007
[1623175629.106735][155] CHIP:IN: Secure message was encrypted: Msg ID 14
[1623175629.106741][155] CHIP:IN: Sending msg from 0x000000000001B669 to 0x0000000000BC5C01 at utc time: 1231353 msec
[1623175629.106746][155] CHIP:IN: Sending secure msg on generic transport
[1623175629.106779][155] CHIP:IN: Secure msg send status No Error
[1623175629.106784][155] CHIP:EM: Flushed pending ack for MsgId:00000007
[1623175629.106789][155] CHIP:DMG: Client[0] moving to [INIT]
Read Response: 3/3(100.00%) time=0.808ms
[1623175629.106820][145] CHIP:DMG: Client[0] moving to [UNINIT]
[1623175629.106826][145] CHIP:DMG: Client[0] moving to [UNINIT]
[1623175629.106830][145] CHIP:DMG: IM RH moving to [Uninitialized]
chip-im-initiator: ../../../../../src/messaging/ExchangeMgr.cpp:102: chip::Messaging::ExchangeManager::Shutdown()::<lambda(auto:2*)> [with auto:2 = chip::Messaging::ExchangeContext]: Assertion `false' failed.

Thread 1 "chip-im-initiat" received signal SIGABRT, Aborted.
0x00007ffff756118b in raise () from /lib/x86_64-linux-gnu/libc.so.6
#0 0x00007ffff756118b in raise () at /lib/x86_64-linux-gnu/libc.so.6
#1 0x00007ffff7540859 in abort () at /lib/x86_64-linux-gnu/libc.so.6
#2 0x00007ffff7540729 in () at /lib/x86_64-linux-gnu/libc.so.6
#3 0x00007ffff7551f36 in () at /lib/x86_64-linux-gnu/libc.so.6
#4 0x00005555555a2c35 in chip::Messaging::ExchangeManager::<lambda(auto:2*)>::operator()chip::Messaging::ExchangeContext(chip::Messaging::ExchangeContext ) const (__closure=0x7fffffffe417, ec=0x5555555e3e88 <gExchangeManager+360>)
at ../../../../../src/messaging/ExchangeMgr.cpp:102
#5 0x00005555555a2d49 in chip::BitMapObjectPool<chip::Messaging::ExchangeContext, 8>::ForEachActiveObject<chip::Messaging::ExchangeManager::Shutdown()::<lambda(auto:2
)> >(chip::Messaging::ExchangeManager::<lambda(auto:2*)>)
(this=0x5555555e3e58 <gExchangeManager+312>, f=...)
at ../../../../../src/lib/support/Pool.h:140
#6 0x00005555555a2225 in chip::Messaging::ExchangeManager::Shutdown()
(this=0x5555555e3d20 )
at ../../../../../src/messaging/ExchangeMgr.cpp:100
#7 0x000055555556a078 in ShutdownChip() ()
at ../../../../../src/app/tests/integration/common.cpp:60
#8 0x0000555555568723 in main(int, char**) (argc=2, argv=0x7fffffffecf8)
at ../../../../../src/app/tests/integration/chip_im_initiator.cpp:458
(gdb) quit
A debugging session is active.

Proposed Solution

<suggested fix, suggested enhancement>

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

Successfully merging a pull request may close this issue.

2 participants