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

CHIP Watchdog crash during pairing (CON-1328) #1076

Open
law-ko opened this issue Sep 7, 2024 · 4 comments
Open

CHIP Watchdog crash during pairing (CON-1328) #1076

law-ko opened this issue Sep 7, 2024 · 4 comments

Comments

@law-ko
Copy link

law-ko commented Sep 7, 2024

Describe the bug
Watchdog occurred when commissioning via BLE.

Environment

  • ESP-Matter Commit Id: 15519d1
  • ESP-IDF Commit Id: V5.2.1(a322e6bdad4b6675d4597fb2722eea2851ba88cb)
  • SoC (eg: ESP32 or ESP32-C3): ESP32-PICO-MINI-02
  • Device Logs (Please attach the log file):
E (62150) task_wdt: Task watchdog got triggered. The following tasks/users did not reset the watchdog in time:
E (62150) task_wdt:  - IDLE0 (CPU 0)
E (62150) task_wdt: Tasks currently running:
E (62150) task_wdt: CPU 0: CHIP
E (62150) task_wdt: CPU 1: IDLE1
E (62150) task_wdt: Print CPU 0 (current core) backtrace


Backtrace: 0x401B8533:0x3FFC00B0 0x4008F645:0x3FFC00E0 0x40008541:0x3FFEFB20 0x4014FF32:0x3FFEFB40 0x401572B5:0x3FFEFB60 0x40138F48:0x3FFEFB80 0x40138F56:0x3FFEFBA0 0x401396A4:0x3FFEFBC0 0x401397AA:0x3FFEFC20 0x401384E5:0x3FFEFC40 0x4013881E:0x3FFEFC60 0x40138851:0x3FFEFCD0 0x40093C9E:0x3FFEFCF0
0x401b8533: task_wdt_timeout_handling at /Users/lawrenceko/esp/esp-idf/components/esp_system/task_wdt/task_wdt.c:441
 (inlined by) task_wdt_isr at /Users/lawrenceko/esp/esp-idf/components/esp_system/task_wdt/task_wdt.c:515
0x4008f645: _xt_lowint1 at /Users/lawrenceko/esp/esp-idf/components/xtensa/xtensa_vectors.S:1240
0x40008541: ets_delay_us in ROM
0x4014ff32: esp_bt_controller_disable at /Users/lawrenceko/esp/esp-idf/components/bt/controller/esp32/bt.c:1717
0x401572b5: nimble_port_deinit at /Users/lawrenceko/esp/esp-idf/components/bt/host/nimble/nimble/porting/nimble/src/nimble_port.c:216
0x40138f48: chip::DeviceLayer::Internal::BLEManagerImpl::DeinitBLE() at /Users/lawrenceko/esp-git/esp-matter/examples/im/outlet/build/esp-idf/chip/../../../../../../connectedhomeip/connectedhomeip/config/esp32/third_party/connectedhomeip/src/platform/ESP32/nimble/BLEManagerImpl.cpp:995
0x40138f56: chip::DeviceLayer::Internal::BLEManagerImpl::DeinitESPBleLayer() at /Users/lawrenceko/esp-git/esp-matter/examples/im/outlet/build/esp-idf/chip/../../../../../../connectedhomeip/connectedhomeip/config/esp32/third_party/connectedhomeip/src/platform/ESP32/nimble/BLEManagerImpl.cpp:953
0x401396a4: chip::DeviceLayer::Internal::BLEManagerImpl::DriveBLEState() at /Users/lawrenceko/esp-git/esp-matter/examples/im/outlet/build/esp-idf/chip/../../../../../../connectedhomeip/connectedhomeip/config/esp32/third_party/connectedhomeip/src/platform/ESP32/nimble/BLEManagerImpl.cpp:824
0x401397aa: chip::DeviceLayer::Internal::BLEManagerImpl::DriveBLEState(int) at /Users/lawrenceko/esp-git/esp-matter/examples/im/outlet/build/esp-idf/chip/../../../../../../connectedhomeip/connectedhomeip/config/esp32/third_party/connectedhomeip/src/platform/ESP32/nimble/BLEManagerImpl.cpp:1691
0x401384e5: chip::DeviceLayer::Internal::GenericPlatformManagerImpl<chip::DeviceLayer::PlatformManagerImpl>::_DispatchEvent(chip::DeviceLayer::ChipDeviceEvent const*) at /Users/lawrenceko/esp-git/esp-matter/examples/im/outlet/build/esp-idf/chip/../../../../../../connectedhomeip/connectedhomeip/config/esp32/third_party/connectedhomeip/src/include/platform/internal/GenericPlatformManagerImpl.ipp:290
0x4013881e: chip::DeviceLayer::PlatformManager::DispatchEvent(chip::DeviceLayer::ChipDeviceEvent const*) at /Users/lawrenceko/esp-git/esp-matter/examples/im/outlet/build/esp-idf/chip/../../../../../../connectedhomeip/connectedhomeip/config/esp32/third_party/connectedhomeip/src/include/platform/PlatformManager.h:503
 (inlined by) chip::DeviceLayer::Internal::GenericPlatformManagerImpl_FreeRTOS<chip::DeviceLayer::PlatformManagerImpl>::_RunEventLoop() at /Users/lawrenceko/esp-git/esp-matter/examples/im/outlet/build/esp-idf/chip/../../../../../../connectedhomeip/connectedhomeip/config/esp32/third_party/connectedhomeip/src/include/platform/internal/GenericPlatformManagerImpl_FreeRTOS.ipp:257
0x40138851: chip::DeviceLayer::PlatformManager::RunEventLoop() at /Users/lawrenceko/esp-git/esp-matter/examples/im/outlet/build/esp-idf/chip/../../../../../../connectedhomeip/connectedhomeip/config/esp32/third_party/connectedhomeip/src/include/platform/PlatformManager.h:403
 (inlined by) chip::DeviceLayer::Internal::GenericPlatformManagerImpl_FreeRTOS<chip::DeviceLayer::PlatformManagerImpl>::EventLoopTaskMain(void*) at /Users/lawrenceko/esp-git/esp-matter/examples/im/outlet/build/esp-idf/chip/../../../../../../connectedhomeip/connectedhomeip/config/esp32/third_party/connectedhomeip/src/include/platform/internal/GenericPlatformManagerImpl_FreeRTOS.ipp:280
0x40093c9e: vPortTaskWrapper at /Users/lawrenceko/esp/esp-idf/components/freertos/FreeRTOS-Kernel/portable/xtensa/port.c:134
@law-ko
Copy link
Author

law-ko commented Sep 7, 2024

#748

@github-actions github-actions bot changed the title CHIP Watchdog crash during pairing CHIP Watchdog crash during pairing (CON-1328) Sep 7, 2024
@law-ko
Copy link
Author

law-ko commented Sep 19, 2024

@shubhamdp any idea on this?

@shubhamdp
Copy link
Contributor

@law-ko Is this with PSRAM?

@law-ko
Copy link
Author

law-ko commented Sep 20, 2024

@law-ko Is this with PSRAM?

@shubhamdp Yes, both BLE and Matter is on PSRAM

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

No branches or pull requests

2 participants