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

M5 board crashes when removing fabric - abort() was called at PC 0x400e3785 on core 0 #15305

Closed
kean-apple opened this issue Feb 17, 2022 · 6 comments
Labels

Comments

@kean-apple
Copy link

Problem

M5 board crashes when removing fabric. The M5 board has 2 commissioned fabrics

SHA: 5cbe293

Steps:

  1. Pair M5 board with Chip Tool 1 - verify toggle light works
  2. On Chip tool 1, enable pairing mode
  3. On Chip tool 2, pair M5 board by entering pin code provided by Chip tool 1 - verify toggle light works
  4. On Chip tool 1, remove all fabric from Fabric management menu

In step 4, observed M5 board crashes (seen at least twice):
abort() was called at PC 0x400e3785 on core 0
0x400e3785: chip::SessionHolder::Get() const at /Users/keanhinlim/connectedhomeip/src/lib/support/CodeUtils.h:477
(inlined by) chip::Optional<chip::ReferenceCountedHandlechip::Transport::Session >::Value() const & at /Users/keanhinlim/connectedhomeip/src/lib/core/Optional.h:170
(inlined by) chip::SessionHolder::Get() const at /Users/keanhinlim/connectedhomeip/src/transport/SessionHolder.h:54
M5 crashes removing all fabrics-chiptool-logs.txt
M5-crash-removing-all-fabrics-M5-logs.txt

@kean-apple
Copy link
Author

Probably dup of #15175.

@kean-apple
Copy link
Author

kean-apple commented Feb 23, 2022

still seen with 9f09e52 when have 2 fabrics. I don't see crash if 1 fabric only

@bzbarsky-apple
Copy link
Contributor

@kghost can you take a look?

@kean-apple
Copy link
Author

still seeing on SHA 3b83461

@bzbarsky-apple
Copy link
Contributor

@kean-apple I would expect this works now... Can you check, please?

@franck-apple franck-apple added the p1 priority 1 work label Oct 24, 2022
@woody-apple
Copy link
Contributor

Issue Scrub: Closing old issues, please re-file a new issue if this is still a problem.

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

No branches or pull requests

4 participants