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 adding 2nd fabric using iOS chiptool - assert failed: spinlock_acquire spinlock.h:123 ((result == SPINLOCK_FREE) == (lock->count == 0)) #16632

Closed
kean-apple opened this issue Mar 24, 2022 · 2 comments

Comments

@kean-apple
Copy link

Problem

M5 board crashes when adding 2nd fabric using iOS chiptool

SHA: 011efcf

  1. Load 2 iOS chiptool apps on same iPhone
  2. Pair & commission M5 board using CHIPtool 1, verify able to toggle light
  3. Enable pairing mode on M5 board using CHIPtool 1
  4. Pair & commission M5 board using CHIPtool 2 (use pin code from CHIPTool 1)

In step 4, after adding 2nd fabric the M5 board crashes

E (136239) chip[ZCL]: Commissioning complete, notify platform driver to persist network credentials.
I (136259) app-devicecallbacks: Commissioning complete

assert failed: spinlock_acquire spinlock.h:123 ((result == SPINLOCK_FREE) == (lock->count == 0))

Backtrace:0x40081e26:0x3ffe72700x400923a9:0x3ffe7290 0x40098b61:0x3ffe72b0 0x400957a9:0x3ffe73d0 0x40093309:0x3ffe73f0 0x40093470:0x3ffe7430 0x40108245:0x3ffe7450 0x40101848:0x3ffe7470 0x4010185f:0x3ffe7490 0x4010155b:0x3ffe74b0 0x40100ee7:0x3ffe74d0 0x400ee23a:0x3ffe74f0 0x401c462f:0x3ffe7510 0x401c6949:0x3ffe7530 0x40138e9d:0x3ffe7550 0x40139152:0x3ffe7570 0x40139179:0x3ffe75e0 0x400955d9:0x3ffe7600
0x40081e26: panic_abort at /Users/keanhinlim/tools/esp-idf/components/esp_system/panic.c:402

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