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: chipAbort #20631

Closed
aajain-com opened this issue Jul 12, 2022 · 4 comments
Closed

[crash] CHIP: chipAbort #20631

aajain-com opened this issue Jul 12, 2022 · 4 comments

Comments

@aajain-com
Copy link
Contributor

Problem

Found the following crash during stability testing with SDK SHA 5d8599d195a93dfe5473f64e4f888c322e5df1d2.

3   CHIP                          	       0x1c61f8884 chipAbort + 20 (CHIPFramework/connectedhomeip/src/lib/support/CodeUtils.h:489)
4   CHIP                          	       0x1c61b3408 chip::app::InteractionModelEngine::RemoveReadClient(chip::app::ReadClient*) + 160 (CHIPFramework/connectedhomeip/src/app/InteractionModelEngine.cpp:807)
5   CHIP                          	       0x1c61c52e4 chip::app::ReadClient::~ReadClient() + 124 (CHIPFramework/connectedhomeip/src/app/ReadClient.cpp:125)
6   CHIP                          	       0x1c61c538c chip::app::ReadClient::~ReadClient() + 32 (CHIPFramework/connectedhomeip/src/app/ReadClient.cpp:112)
7   CHIP                          	       0x1c61c53bc chip::app::ReadClient::~ReadClient() + 32 (CHIPFramework/connectedhomeip/src/app/ReadClient.cpp:112)
8   CHIP                          	       0x1c5c2e518 -[CHIPDevice subscribeWithQueue:minInterval:maxInterval:params:cacheContainer:attributeReportHandler:eventReportHandler:errorHandler:subscriptionEstablished:] + 1652 

@bzbarsky-apple
Copy link
Contributor

This is the

        VerifyOrDie(pCurListItem != nullptr);

in InteractionModelEngine::RemoveReadClient.

I wonder whether this ReadClient outlived shutdown, similar to #20085

That said, InteractionModelEngine::Shutdown nulls out the backpointers, so I would not expect this that to be an issue here....

@turon
Copy link
Contributor

turon commented Jul 20, 2022

What are the replication steps?

@woody-apple
Copy link
Contributor

@turon This is coming from aggregated crashes, sadly no steps.

@woody-apple
Copy link
Contributor

This is no longer showing up in crashes.

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

4 participants