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

assert failed: igmp_joingroup_netif (Required to lock TCPIP core functionality!) (CON-1065) #853

Closed
PhLuReh opened this issue Feb 28, 2024 · 9 comments

Comments

@PhLuReh
Copy link

PhLuReh commented Feb 28, 2024

Describe the bug
After updating esp-matter to f511d22 with all its referenced submodules, the device is facing an assertion error in the LWIP while joining MDNS groups. This happens to a to-be-commissioned device after Wifi connection is established.

Could you assist in finding the correct build framework or even a fix?

 (202073) chip[DL]: Updating advertising data
I (202203) chip[DL]: Confirm received for CHIPoBLE TX characteristic indication (con 0) status= 14
I (202963) esp_netif_handlers: sta ip: 192.168.1.127, mask: 255.255.255.0, gw: 192.168.1.1
I (202963) chip[DL]: IP_EVENT_STA_GOT_IP
I (202963) chip[DL]: IPv4 address changed on WiFi station interface: 192.168.1.127/255.255.255.0 gateway 192.168.1.1
I (202973) chip[DL]: IPv4 Internet connectivity ESTABLISHED
I (202983) app_main: Interface IP Address changed
I (202983) chip[DIS]: Updating services using commissioning mode 0

assert failed: igmp_joingroup_netif /IDF/components/lwip/lwip/src/core/ipv4/igmp.c:495 (Required to lock TCPIP core functionality!)


Backtrace: 0x40081afe:0x3ffe8eb0 0x400927f9:0x3ffe8ed0 0x400994a1:0x3ffe8ef0 0x401575d9:0x3ffe9010 0x40129484:0x3ffe9030 0x40129015:0x3ffe9060 0x40118ff4:0x3ffe9090 0x40107369:0x3ffe9100 0x40105aae:0x3ffe9130 0x400e4096:0x3ffe9150 0x400e412a:0x3ffe9170 0x400e1109:0x3ffe9190 0x401c62a5:0x3ffe91b0 0x401147ad:0x3ffe91d0 0x40114acc:0x3ffe91f0 0x40114b01:0x3ffe9260 0x40094fad:0x3ffe9280

  #0  0x40081afe:0x3ffe8eb0 in panic_abort at /opt/espressif/esp-idf/components/esp_system/panic.c:452
  #1  0x400927f9:0x3ffe8ed0 in esp_system_abort at /opt/espressif/esp-idf/components/esp_system/port/esp_system_chip.c:84
  #2  0x400994a1:0x3ffe8ef0 in __assert_func at /opt/espressif/esp-idf/components/newlib/assert.c:81
  #3  0x401575d9:0x3ffe9010 in igmp_joingroup_netif at /opt/espressif/esp-idf/components/lwip/lwip/src/core/ipv4/igmp.c:495 (discriminator 1)
  #4  0x40129484:0x3ffe9030 in chip::Inet::UDPEndPointImplLwIP::IPv4JoinLeaveMulticastGroupImpl(chip::Inet::InterfaceId, chip::Inet::IPAddress const&, bool) at build/esp-idf/chip/../../../../../../../opt/espressif/esp-matter/connectedhomeip/connectedhomeip/config/esp32/third_party/connectedhomeip/src/inet/UDPEndPointImplLwIP.cpp:482 (discriminator 1)
  #5  0x40129015:0x3ffe9060 in chip::Inet::UDPEndPoint::JoinMulticastGroup(chip::Inet::InterfaceId, chip::Inet::IPAddress const&) at build/esp-idf/chip/../../../../../../../opt/espressif/esp-matter/connectedhomeip/connectedhomeip/config/esp32/third_party/connectedhomeip/src/inet/UDPEndPoint.cpp:146
  #6  0x40118ff4:0x3ffe9090 in mdns::Minimal::ServerBase::Listen(chip::Inet::EndPointManager<chip::Inet::UDPEndPoint>*, mdns::Minimal::ListenIterator*, unsigned short) at build/esp-idf/chip/../../../../../../../opt/espressif/esp-matter/connectedhomeip/connectedhomeip/config/esp32/third_party/connectedhomeip/src/lib/dnssd/minimal_mdns/Server.cpp:218
  #7  0x40107369:0x3ffe9100 in chip::Dnssd::GlobalMinimalMdnsServer::StartServer(chip::Inet::EndPointManager<chip::Inet::UDPEndPoint>*, unsigned short) at build/esp-idf/chip/../../../../../../../opt/espressif/esp-matter/connectedhomeip/connectedhomeip/config/esp32/third_party/connectedhomeip/src/lib/dnssd/MinimalMdnsServer.cpp:69
  #8  0x40105aae:0x3ffe9130 in chip::Dnssd::(anonymous namespace)::AdvertiserMinMdns::Init(chip::Inet::EndPointManager<chip::Inet::UDPEndPoint>*) at build/esp-idf/chip/../../../../../../../opt/espressif/esp-matter/connectedhomeip/connectedhomeip/config/esp32/third_party/connectedhomeip/src/lib/dnssd/Advertiser_ImplMinimalMdns.cpp:350
  #9  0x400e4096:0x3ffe9150 in chip::app::DnssdServer::StartServer(chip::Dnssd::CommissioningMode) at /opt/espressif/esp-matter/connectedhomeip/connectedhomeip/src/app/server/Dnssd.cpp:376
  #10 0x400e412a:0x3ffe9170 in chip::app::DnssdServer::StartServer() at /opt/espressif/esp-matter/connectedhomeip/connectedhomeip/src/app/server/Dnssd.cpp:343
  #11 0x400e1109:0x3ffe9190 in esp_matter::device_callback_internal(chip::DeviceLayer::ChipDeviceEvent const*, int) at /opt/espressif/esp-matter/components/esp_matter/esp_matter_core.cpp:901
  #12 0x401c62a5:0x3ffe91b0 in chip::DeviceLayer::Internal::GenericPlatformManagerImpl<chip::DeviceLayer::PlatformManagerImpl>::DispatchEventToApplication(chip::DeviceLayer::ChipDeviceEvent const*) at build/esp-idf/chip/../../../../../../../opt/espressif/esp-matter/connectedhomeip/connectedhomeip/config/esp32/third_party/connectedhomeip/src/include/platform/internal/GenericPlatformManagerImpl.ipp:336
  #13 0x401147ad:0x3ffe91d0 in chip::DeviceLayer::Internal::GenericPlatformManagerImpl<chip::DeviceLayer::PlatformManagerImpl>::_DispatchEvent(chip::DeviceLayer::ChipDeviceEvent const*) at build/esp-idf/chip/../../../../../../../opt/espressif/esp-matter/connectedhomeip/connectedhomeip/config/esp32/third_party/connectedhomeip/src/include/platform/internal/GenericPlatformManagerImpl.ipp:301
  #14 0x40114acc:0x3ffe91f0 in chip::DeviceLayer::PlatformManager::DispatchEvent(chip::DeviceLayer::ChipDeviceEvent const*) at build/esp-idf/chip/../../../../../../../opt/espressif/esp-matter/connectedhomeip/connectedhomeip/config/esp32/third_party/connectedhomeip/src/include/platform/PlatformManager.h:505
      (inlined by) chip::DeviceLayer::Internal::GenericPlatformManagerImpl_FreeRTOS<chip::DeviceLayer::PlatformManagerImpl>::_RunEventLoop() at build/esp-idf/chip/../../../../../../../opt/espressif/esp-matter/connectedhomeip/connectedhomeip/config/esp32/third_party/connectedhomeip/src/include/platform/internal/GenericPlatformManagerImpl_FreeRTOS.ipp:257
  #15 0x40114b01:0x3ffe9260 in chip::DeviceLayer::PlatformManager::RunEventLoop() at build/esp-idf/chip/../../../../../../../opt/espressif/esp-matter/connectedhomeip/connectedhomeip/config/esp32/third_party/connectedhomeip/src/include/platform/PlatformManager.h:405
      (inlined by) chip::DeviceLayer::Internal::GenericPlatformManagerImpl_FreeRTOS<chip::DeviceLayer::PlatformManagerImpl>::EventLoopTaskMain(void*) at build/esp-idf/chip/../../../../../../../opt/espressif/esp-matter/connectedhomeip/connectedhomeip/config/esp32/third_party/connectedhomeip/src/include/platform/internal/GenericPlatformManagerImpl_FreeRTOS.ipp:280
  #16 0x40094fad:0x3ffe9280 in vPortTaskWrapper at /opt/espressif/esp-idf/components/freertos/FreeRTOS-Kernel/portable/xtensa/port.c:162

here is a longer log:
20240228_DUT-log.txt

Environment

  • ESP-Matter Commit Id: f511d22
  • ESP-IDF Commit Id: e088c3766ba440e72268b458a68f27b6e7d63986
  • SoC (eg: ESP32 or ESP32-C3): ESP32
  • Device Logs (Please attach the log file):
    20240228_DUT-log-long.txt
  • Host Machine OS: Linux version 6.1.29-1-MANJARO (builduser@fv-az292-908) (gcc (GCC) 12.2.1 20230201, GNU ld (GNU Binutils) 2.40) #1 SMP PREEMPT_DYNAMIC Wed May 17 14:00:55 UTC 2023
  • Commissioner app and versions if present: n/a
  • Commissioner's logs if present: n/a

Any additional details

As I suspect there is some dependency issue, here is a full list of the connectedhomeip subodule hashes:

cd /opt/espressif/esp-matter/; git submodule foreach --recursive "git log | head -n 1"
Entering 'connectedhomeip/connectedhomeip/examples/common/QRCode/repo'
commit 8518684c0f33d004fa93971be2c6a8eca3167d1e
Entering 'connectedhomeip/connectedhomeip/examples/common/m5stack-tft/repo'
commit 3344a8105f8dfecb95832f369733cf6f863a1662
Entering 'connectedhomeip/connectedhomeip/third_party/boringssl/repo/src'
commit c8d31372f7342707d8c6e40c814ce1b64fe36086
Entering 'connectedhomeip/connectedhomeip/third_party/bouffalolab/repo'
commit 7ca85fd77663ab6e13ce8481593474ea38ad4bb2
Entering 'connectedhomeip/connectedhomeip/third_party/bouffalolab/repo/components'
commit 28387939c3c7ce1273f14d00bca4ba73cfe95d9f
Entering 'connectedhomeip/connectedhomeip/third_party/bouffalolab/repo/customer_app'
commit 5454c795a68d06ced29c13cfafccf892dee8bb33
Entering 'connectedhomeip/connectedhomeip/third_party/bouffalolab/repo/docs'
commit 4af4782740704dcfbe60818fd0c14ab031fb2424
Entering 'connectedhomeip/connectedhomeip/third_party/bouffalolab/repo/tools'
commit dfd7d87d3b4b42b01bd53731384b183280400232
Entering 'connectedhomeip/connectedhomeip/third_party/cirque/repo'
commit 262ea7724667229f0d21d6a1c1e96d90415f0906
Entering 'connectedhomeip/connectedhomeip/third_party/editline/repo'
commit 9fa05ba3841f3a7776b0b3645a3a92f32259d988
Entering 'connectedhomeip/connectedhomeip/third_party/freertos/repo'
commit 88e32327e975ddde97c390bc5b6c1f8e7d9d239e
Entering 'connectedhomeip/connectedhomeip/third_party/imgui/repo'
commit 85395b76b08111961aa6e0ff026fd5152d48aa15
Entering 'connectedhomeip/connectedhomeip/third_party/infineon/cyw30739_sdk/repos/30739A0'
commit f951c7d3d3c37e995b38ea1fdfe1cdae9a5e9cc8
Entering 'connectedhomeip/connectedhomeip/third_party/infineon/cyw30739_sdk/repos/CYW930739M2EVB-01'
commit d3e46e83a248fdd4617839761ce2333f8eac1f2c
Entering 'connectedhomeip/connectedhomeip/third_party/infineon/cyw30739_sdk/repos/btsdk-include'
commit b9a1aac342f2399ccd4894b0fe6f9e323a613b68
Entering 'connectedhomeip/connectedhomeip/third_party/infineon/cyw30739_sdk/repos/btsdk-tools'
commit 0943e94ccca9ed871b0e9a6ebfbc126ad50a6d11
Entering 'connectedhomeip/connectedhomeip/third_party/infineon/psoc6/psoc6_sdk/libs/TARGET_CY8CKIT-062S2-43012'
commit 7f3840aab53ff773c5d95eaedb5aaaae9dd2af45
Entering 'connectedhomeip/connectedhomeip/third_party/infineon/psoc6/psoc6_sdk/libs/abstraction-rtos'
commit 23800dd03bf46064930127b22f915807cacbc1e7
Entering 'connectedhomeip/connectedhomeip/third_party/infineon/psoc6/psoc6_sdk/libs/anycloud-ota'
commit adc942bb85aa6e43021cbf31454314dbe6038e25
Entering 'connectedhomeip/connectedhomeip/third_party/infineon/psoc6/psoc6_sdk/libs/bluetooth-freertos'
commit e0d13d8e1f49f5522043133856fa268d1a279b32
Entering 'connectedhomeip/connectedhomeip/third_party/infineon/psoc6/psoc6_sdk/libs/btstack'
commit 205412d987da3f397201580ac2f98918d1bb0d57
Entering 'connectedhomeip/connectedhomeip/third_party/infineon/psoc6/psoc6_sdk/libs/clib-support'
commit 8be98e6512bb03d11780530c35e23cd723a1cd72
Entering 'connectedhomeip/connectedhomeip/third_party/infineon/psoc6/psoc6_sdk/libs/connectivity-utilities'
commit 7b2f441dce5b748173cdf2a2f3871d7f4562a6e5
Entering 'connectedhomeip/connectedhomeip/third_party/infineon/psoc6/psoc6_sdk/libs/core-lib'
commit 7e6892ee1eeabc8f6c25fbf02cb00ff43bd3ac73
Entering 'connectedhomeip/connectedhomeip/third_party/infineon/psoc6/psoc6_sdk/libs/core-make'
commit 251ade90cd56005369ced67cf0583171783b1cd1
Entering 'connectedhomeip/connectedhomeip/third_party/infineon/psoc6/psoc6_sdk/libs/freertos'
commit eec60193e7f5d4e239bc9c8e6c0c6e88eb3ecdb4
Entering 'connectedhomeip/connectedhomeip/third_party/infineon/psoc6/psoc6_sdk/libs/kv-store'
commit c81d0a32cb8301b307b9e32c126bf1a1f6465fbb
Entering 'connectedhomeip/connectedhomeip/third_party/infineon/psoc6/psoc6_sdk/libs/lwip'
commit bef26c44236a078d4352e76392ef16f019bea501
Entering 'connectedhomeip/connectedhomeip/third_party/infineon/psoc6/psoc6_sdk/libs/mbedtls'
commit 1c54b5410fd48d6bcada97e30cac417c5c7eea67
Entering 'connectedhomeip/connectedhomeip/third_party/infineon/psoc6/psoc6_sdk/libs/mtb-hal-cat1'
commit 708a6b2542f0d8814c129a3141e78fd265826a0b
Entering 'connectedhomeip/connectedhomeip/third_party/infineon/psoc6/psoc6_sdk/libs/mtb-pdl-cat1'
commit 3c6aebd2f3238b578329bfb8a6c5a0e138bd5c7b
Entering 'connectedhomeip/connectedhomeip/third_party/infineon/psoc6/psoc6_sdk/libs/psoc6cm0p'
commit 65569574830d3eef29fb9a0f1060eb0885063b56
Entering 'connectedhomeip/connectedhomeip/third_party/infineon/psoc6/psoc6_sdk/libs/recipe-make-cat1a'
commit 656d8c5b4fbd1e20190315ffb6a64ae151f627c9
Entering 'connectedhomeip/connectedhomeip/third_party/infineon/psoc6/psoc6_sdk/libs/retarget-io'
commit a61cd7c5f4b2808c949248f05287c09e6578abfc
Entering 'connectedhomeip/connectedhomeip/third_party/infineon/psoc6/psoc6_sdk/libs/secure-sockets'
commit afb9546877915d22f226afd1ddb3b15a1df38bd3
Entering 'connectedhomeip/connectedhomeip/third_party/infineon/psoc6/psoc6_sdk/libs/serial-flash'
commit c7b55aa5406e6da9954f60e5f5460b71cd220ef2
Entering 'connectedhomeip/connectedhomeip/third_party/infineon/psoc6/psoc6_sdk/libs/whd-bsp-integration'
commit c180a141838d02aea52f86967772f8216fc15a18
Entering 'connectedhomeip/connectedhomeip/third_party/infineon/psoc6/psoc6_sdk/libs/wifi-connection-manager'
commit 43a355a7c4234953f35860e9bf52ad1376bd62ba
Entering 'connectedhomeip/connectedhomeip/third_party/infineon/psoc6/psoc6_sdk/libs/wifi-host-driver'
commit 40a7ec2273a950fbf89353d3eac98c5c1c2fd8cd
Entering 'connectedhomeip/connectedhomeip/third_party/infineon/psoc6/psoc6_sdk/libs/wifi-mw-core'
commit 1024dbf4a0ff979a233169558d9b8ca7e79b34ee
Entering 'connectedhomeip/connectedhomeip/third_party/infineon/trustm/optiga-trust-m'
commit 78011d1f7c3bdb17164b453956b635b3cb327ae4
Entering 'connectedhomeip/connectedhomeip/third_party/jsoncpp/repo'
commit 42e892d96e47b1f6e29844cc705e148ec4856448
Entering 'connectedhomeip/connectedhomeip/third_party/libwebsockets/repo'
commit ec6d5ac6d58d92ac8c1a3d769d076cabd6aa4ac1
Entering 'connectedhomeip/connectedhomeip/third_party/mbed-mcu-boot/repo'
commit 46070d75e06058a2e6a525d8be71b9b872178514
Entering 'connectedhomeip/connectedhomeip/third_party/mbed-mcu-boot/repo/boot/cypress/libs/core-lib'
commit a0f53cdda39a373c45cdbf9f853c8018c1172461
Entering 'connectedhomeip/connectedhomeip/third_party/mbed-mcu-boot/repo/boot/cypress/libs/cy-mbedtls-acceleration'
commit 79a9d8e5e0a98531d8b17f94f3f040359e9cdd9d
Entering 'connectedhomeip/connectedhomeip/third_party/mbed-mcu-boot/repo/boot/cypress/libs/mtb-pdl-cat1'
commit 55b5a5457195ad2a2a02e0a98ca72a9333e26397
Entering 'connectedhomeip/connectedhomeip/third_party/mbed-mcu-boot/repo/boot/cypress/libs/pdl/psoc6pdl'
commit 0e38b78ef9ae3ce5db0563bdcde80a028c5fc38a
Entering 'connectedhomeip/connectedhomeip/third_party/mbed-mcu-boot/repo/boot/cypress/libs/psoc6hal'
commit a0d6c08f1178750e29967999860485878fac09f9
Entering 'connectedhomeip/connectedhomeip/third_party/mbed-mcu-boot/repo/boot/cypress/libs/retarget-io'
commit bd88e66fc6976de49694382a5ce5dc7613f12ace
Entering 'connectedhomeip/connectedhomeip/third_party/mbed-mcu-boot/repo/boot/espressif/hal/esp-idf'
commit e104dd7f27d2e73ab0e9b614dd7b9295099069bf
Entering 'connectedhomeip/connectedhomeip/third_party/mbed-mcu-boot/repo/boot/espressif/hal/esp-idf/components/asio/asio'
commit f31694c9f1746ba189a4bcae2e34db15135ddb22
Entering 'connectedhomeip/connectedhomeip/third_party/mbed-mcu-boot/repo/boot/espressif/hal/esp-idf/components/bootloader/subproject/components/micro-ecc/micro-ecc'
commit d037ec89546fad14b5c4d5456c2e23a71e554966
Entering 'connectedhomeip/connectedhomeip/third_party/mbed-mcu-boot/repo/boot/espressif/hal/esp-idf/components/bt/controller/lib_esp32'
commit 54a69e53616cbd3e3f3bbf150e42930a7912349a
Entering 'connectedhomeip/connectedhomeip/third_party/mbed-mcu-boot/repo/boot/espressif/hal/esp-idf/components/bt/controller/lib_esp32c3_family'
commit 32f15e826a102d2d64e612620468122ea2234a2e
Entering 'connectedhomeip/connectedhomeip/third_party/mbed-mcu-boot/repo/boot/espressif/hal/esp-idf/components/bt/host/nimble/nimble'
commit a4f3ace1e776b2c3edc5421e0c222f2ead94792b
Entering 'connectedhomeip/connectedhomeip/third_party/mbed-mcu-boot/repo/boot/espressif/hal/esp-idf/components/cbor/tinycbor'
commit 7c349dbb6b8d76db39383b226d3ebdf59b8ab37d
Entering 'connectedhomeip/connectedhomeip/third_party/mbed-mcu-boot/repo/boot/espressif/hal/esp-idf/components/cmock/CMock'
commit eeecc49ce8af123cf8ad40efdb9673e37b56230f
Entering 'connectedhomeip/connectedhomeip/third_party/mbed-mcu-boot/repo/boot/espressif/hal/esp-idf/components/cmock/CMock/vendor/c_exception'
commit 71b47be7c950f1bf5f7e5303779fa99a16224bb6
Entering 'connectedhomeip/connectedhomeip/third_party/mbed-mcu-boot/repo/boot/espressif/hal/esp-idf/components/cmock/CMock/vendor/unity'
commit cf949f45ca6d172a177b00da21310607b97bc7a7
Entering 'connectedhomeip/connectedhomeip/third_party/mbed-mcu-boot/repo/boot/espressif/hal/esp-idf/components/coap/libcoap'
commit 3aa11612c143c9734d72022720f33e12506f7a2c
Entering 'connectedhomeip/connectedhomeip/third_party/mbed-mcu-boot/repo/boot/espressif/hal/esp-idf/components/coap/libcoap/ext/tinydtls'
commit 59055b8a935bc53bf69d002fc089ad4bd08851b2
Entering 'connectedhomeip/connectedhomeip/third_party/mbed-mcu-boot/repo/boot/espressif/hal/esp-idf/components/esp_phy/lib'
commit 8c34eec8b8463cbd038c242f0da5e7b68cacd39b
Entering 'connectedhomeip/connectedhomeip/third_party/mbed-mcu-boot/repo/boot/espressif/hal/esp-idf/components/esp_wifi/lib'
commit 657dd399cff195341fd536d503ce99f0d46876a6
Entering 'connectedhomeip/connectedhomeip/third_party/mbed-mcu-boot/repo/boot/espressif/hal/esp-idf/components/esptool_py/esptool'
commit b082b0ed2d86b3330134c4854a021dfd14c29b08
Entering 'connectedhomeip/connectedhomeip/third_party/mbed-mcu-boot/repo/boot/espressif/hal/esp-idf/components/expat/expat'
commit a28238bdeebc087071777001245df1876a11f5ee
Entering 'connectedhomeip/connectedhomeip/third_party/mbed-mcu-boot/repo/boot/espressif/hal/esp-idf/components/ieee802154/lib'
commit 387c762a711ca70a1b86d66716736f162a52ff4a
Entering 'connectedhomeip/connectedhomeip/third_party/mbed-mcu-boot/repo/boot/espressif/hal/esp-idf/components/json/cJSON'
commit d348621ca93571343a56862df7de4ff3bc9b5667
Entering 'connectedhomeip/connectedhomeip/third_party/mbed-mcu-boot/repo/boot/espressif/hal/esp-idf/components/libsodium/libsodium'
commit 4f5e89fa84ce1d178a6765b8b46f2b6f91216677
Entering 'connectedhomeip/connectedhomeip/third_party/mbed-mcu-boot/repo/boot/espressif/hal/esp-idf/components/lwip/lwip'
commit 2749568fe15df2003f6c3f37f0dfd44f8f01fcd6
Entering 'connectedhomeip/connectedhomeip/third_party/mbed-mcu-boot/repo/boot/espressif/hal/esp-idf/components/mbedtls/mbedtls'
commit 73cfa42bd39a704fa2706e3c1b1b532be5f19eed
Entering 'connectedhomeip/connectedhomeip/third_party/mbed-mcu-boot/repo/boot/espressif/hal/esp-idf/components/mqtt/esp-mqtt'
commit 89894bd0c611b1392967fe90bb49682eba858383
Entering 'connectedhomeip/connectedhomeip/third_party/mbed-mcu-boot/repo/boot/espressif/hal/esp-idf/components/nghttp/nghttp2'
commit 8f7b008b158e12de0e58247afd170f127dbb6456
Entering 'connectedhomeip/connectedhomeip/third_party/mbed-mcu-boot/repo/boot/espressif/hal/esp-idf/components/nghttp/nghttp2/third-party/mruby'
commit 7c91efc1ffda769a5f1a872c646c82b00698f1b8
Entering 'connectedhomeip/connectedhomeip/third_party/mbed-mcu-boot/repo/boot/espressif/hal/esp-idf/components/nghttp/nghttp2/third-party/neverbleed'
commit b967ca054f48a36f82d8fcdd32e54ec5144f2751
Entering 'connectedhomeip/connectedhomeip/third_party/mbed-mcu-boot/repo/boot/espressif/hal/esp-idf/components/openthread/lib'
commit be71bb03345f963ee745f5e7c7e3fcdef24bf482
Entering 'connectedhomeip/connectedhomeip/third_party/mbed-mcu-boot/repo/boot/espressif/hal/esp-idf/components/openthread/openthread'
commit c36c0e77a2465355bcf13bd7dc718d8c9aa6ff64
Entering 'connectedhomeip/connectedhomeip/third_party/mbed-mcu-boot/repo/boot/espressif/hal/esp-idf/components/protobuf-c/protobuf-c'
commit dac1a65feac4ad72f612aab99f487056fbcf5c1a
Entering 'connectedhomeip/connectedhomeip/third_party/mbed-mcu-boot/repo/boot/espressif/hal/esp-idf/components/spiffs/spiffs'
commit f5e26c4e933189593a71c6b82cda381a7b21e41c
Entering 'connectedhomeip/connectedhomeip/third_party/mbed-mcu-boot/repo/boot/espressif/hal/esp-idf/components/tinyusb/tinyusb'
commit c4badd394eda18199c0196ed0be1e2d635f0a5f6
Entering 'connectedhomeip/connectedhomeip/third_party/mbed-mcu-boot/repo/boot/espressif/hal/esp-idf/components/unity/unity'
commit 7d2bf62b7e6afaf38153041a9d53c21aeeca9a25
Entering 'connectedhomeip/connectedhomeip/third_party/mbed-mcu-boot/repo/boot/espressif/hal/esp-idf/examples/build_system/cmake/import_lib/main/lib/tinyxml2'
commit 7e8e249990ec491ec15990cf95b6d871a66cf64a
Entering 'connectedhomeip/connectedhomeip/third_party/mbed-mcu-boot/repo/boot/espressif/hal/esp-idf/examples/peripherals/secure_element/atecc608_ecdsa/components/esp-cryptoauthlib'
commit 36d0642e66ff5b1c7a291873f24c498ca6ffedef
Entering 'connectedhomeip/connectedhomeip/third_party/mbed-mcu-boot/repo/ext/cddl-gen'
commit 9f77837f9950da1633d22abf6181a830521a6688
Entering 'connectedhomeip/connectedhomeip/third_party/mbed-mcu-boot/repo/ext/mbedtls'
commit 8df2f8e7b9c7bb9390ac74bb7bace27edca81a2b
Entering 'connectedhomeip/connectedhomeip/third_party/mbed-os-cypress-capsense-button/repo'
commit fef47a05455670206f6c2eb4958cb1f08d698bc1
Entering 'connectedhomeip/connectedhomeip/third_party/mbed-os-posix-socket/repo'
commit 366a8994839c257f62b727f1700a02314957f2e2
Entering 'connectedhomeip/connectedhomeip/third_party/mbed-os/repo'
commit 149c5b12fa8a6c84d340361975cb992f08367b43
Entering 'connectedhomeip/connectedhomeip/third_party/mbedtls/repo'
commit a31c6eb509fd67b9c21721f0d0f38c1468f706c7
Entering 'connectedhomeip/connectedhomeip/third_party/mt793x_sdk/filogic'
commit dc5d8f9a57dc418f343ef855cc6cc37d9721d162
Entering 'connectedhomeip/connectedhomeip/third_party/mt793x_sdk/lwip'
commit 23edc18878f11bbf93ec598bf19ede52e7328a4f
Entering 'connectedhomeip/connectedhomeip/third_party/mt793x_sdk/mDNSResponder'
commit b7af4daff94ec978b76f5a4b8590c05cd6c07524
Entering 'connectedhomeip/connectedhomeip/third_party/nanopb/repo'
commit ab19ecbe1b9f377ab4ee8e762bfe16c39068ad68
Entering 'connectedhomeip/connectedhomeip/third_party/nlassert/repo'
commit c5892c5ae43830f939ed660ff8ac5f1b91d336d3
Entering 'connectedhomeip/connectedhomeip/third_party/nlfaultinjection/repo'
commit e0de0ab4f52c1d1cc7f3948557a1abd0fceeb5ef
Entering 'connectedhomeip/connectedhomeip/third_party/nlio/repo'
commit 0e725502c2b17bb0a0c22ddd4bcaee9090c8fb5c
Entering 'connectedhomeip/connectedhomeip/third_party/nlunit-test/repo'
commit 0c8c9073af9c07aa089861295b7d7ced56ad174d
Entering 'connectedhomeip/connectedhomeip/third_party/nxp/mw320_sdk/repo'
commit d42ceda74ed4818c49ad06590de0f045b769e732
Entering 'connectedhomeip/connectedhomeip/third_party/open-iot-sdk/sdk'
commit f2ffb845311828af0c5a8ecdbacdc104cb03c703
Entering 'connectedhomeip/connectedhomeip/third_party/open-iot-sdk/sdk/developer-tools'
commit 1e482dc2f645a0cb473dfed60e609bddcaba9a53
Entering 'connectedhomeip/connectedhomeip/third_party/open-iot-sdk/storage'
commit b5e4edc1b65adafbe6f646c474bc8c206cd8370a
Entering 'connectedhomeip/connectedhomeip/third_party/open-iot-sdk/storage/developer-tools'
commit 2dca7c7467676667e6fd69b1e0a6840b81a9a7b7
Entering 'connectedhomeip/connectedhomeip/third_party/openthread/ot-efr32'
commit 038475dcc21c51448d35309496a2f7401eb2ccfe
Entering 'connectedhomeip/connectedhomeip/third_party/openthread/ot-efr32/openthread'
commit ad3e4f5a6cf1183786df38a082ed808fe3b3d7f1
Entering 'connectedhomeip/connectedhomeip/third_party/openthread/ot-efr32/third_party/silabs/gecko_sdk'
commit 799200bb6788939aa0fef97d7fc4ee9aca57148d
Entering 'connectedhomeip/connectedhomeip/third_party/openthread/ot-ifx'
commit 6bf0fdbd38979435f66667ac0113d4fcee972a32
Entering 'connectedhomeip/connectedhomeip/third_party/openthread/ot-ifx/openthread'
commit 99a615bec2eeccad9ff03d6c5581c1fd51becf68
Entering 'connectedhomeip/connectedhomeip/third_party/openthread/ot-ifx/third_party/infineon/btsdk-include'
commit 92dc97dbaf68a6c5f0e42439564ca0c150623472
Entering 'connectedhomeip/connectedhomeip/third_party/openthread/ot-ifx/third_party/infineon/btsdk-tools'
commit 9743681eed4d3f16a291bff6f8aee65349d1241b
Entering 'connectedhomeip/connectedhomeip/third_party/openthread/ot-ifx/third_party/infineon/platform/cyw30739/30739a0'
commit f951c7d3d3c37e995b38ea1fdfe1cdae9a5e9cc8
Entering 'connectedhomeip/connectedhomeip/third_party/openthread/ot-ifx/third_party/infineon/platform/cyw30739/bsp/cyw930739m2evb-01/TARGET_CYW930739M2EVB-01'
commit d3e46e83a248fdd4617839761ce2333f8eac1f2c
Entering 'connectedhomeip/connectedhomeip/third_party/openthread/ot-nxp'
commit 015fd8d1dd3fa032e78236f2b15e6ff4131c5108
Entering 'connectedhomeip/connectedhomeip/third_party/openthread/ot-nxp/openthread'
commit 80eb7f512fd05f610d94d1c1c73e647f2a660e1a
Entering 'connectedhomeip/connectedhomeip/third_party/openthread/ot-qorvo'
commit 279324ecd8385f8fc3c044bda8452deeefc8beee
Entering 'connectedhomeip/connectedhomeip/third_party/openthread/ot-qorvo/openthread'
commit 30d65bca4896a38e0e8a9e0b3cb0b9d458454ef2
Entering 'connectedhomeip/connectedhomeip/third_party/openthread/ot-qorvo/third_party/Qorvo/repo'
commit ca96abfe89c955fea54867ba80d06532598d981f
Entering 'connectedhomeip/connectedhomeip/third_party/openthread/repo'
commit 34ecac8536f6a8e23391b7f25b7ec401bf1ae305
Entering 'connectedhomeip/connectedhomeip/third_party/ot-br-posix/repo'
commit 54170696d122bd4901fe0917417bfafe85c36041
Entering 'connectedhomeip/connectedhomeip/third_party/ot-br-posix/repo/third_party/cJSON/repo'
commit cf97c6f066d81fdbba4ef722cfd327bbbba2365c
Entering 'connectedhomeip/connectedhomeip/third_party/ot-br-posix/repo/third_party/http-parser/repo'
commit 4f15b7d510dc7c6361a26a7c6d2f7c3a17f8d878
Entering 'connectedhomeip/connectedhomeip/third_party/ot-br-posix/repo/third_party/openthread/repo'
commit 985f811804df143765adef6bf0c3aa472a2f843c
Entering 'connectedhomeip/connectedhomeip/third_party/pigweed/repo'
commit 5c4ea8e31764a8ab1c55b7df4086fe610c4bf4af
Entering 'connectedhomeip/connectedhomeip/third_party/pybind11/repo'
commit 8de7772cc72daca8e947b79b83fea46214931604
Entering 'connectedhomeip/connectedhomeip/third_party/qpg_sdk/repo'
commit e5c17b34e011a0997a4b1614008aacff4f97e5b6
Entering 'connectedhomeip/connectedhomeip/third_party/silabs/gecko_sdk'
commit d4854d2ff06a828161d7032efb1736d0deda40b1
Entering 'connectedhomeip/connectedhomeip/third_party/silabs/matter_support'
commit 2bc3f28d778850417f34c7201cbe78bd72e3ee78
Entering 'connectedhomeip/connectedhomeip/third_party/silabs/wiseconnect-wifi-bt-sdk'
commit 2be7a5b87fd3be0111cd8bc09585219e104f26f3
Entering 'connectedhomeip/connectedhomeip/third_party/simw-top-mini/repo'
commit be0dfb64b28dea3509425755e3b4b5b35c38d327
Entering 'connectedhomeip/connectedhomeip/third_party/ti_simplelink_sdk/repo_cc13xx_cc26xx'
commit cac6a455adffdcbc2e6c9499a0068c3d8c44b994
Entering 'connectedhomeip/connectedhomeip/third_party/ti_simplelink_sdk/repo_cc32xx'
commit 13532baa2947440ced2f2abefd6a57b478f5100d
@github-actions github-actions bot changed the title assert failed: igmp_joingroup_netif (Required to lock TCPIP core functionality!) assert failed: igmp_joingroup_netif (Required to lock TCPIP core functionality!) (CON-1065) Feb 28, 2024
@PhLuReh
Copy link
Author

PhLuReh commented Feb 28, 2024

Btw, I found this issue espressif/esp-idf#2580 for the idf, but it was from 2018 and I think this one should be fixed.

@dhrishi
Copy link
Collaborator

dhrishi commented Feb 28, 2024

@PhLuReh Can you please upload your sdkconfig file? Is this with the standard light example (without any changes)?
Also, does this occur everytime or in a random manner?

@PhLuReh
Copy link
Author

PhLuReh commented Feb 29, 2024

this is my sdkconfig
The problem is persistent. Everytime I try to commission the device with the chip-tool this error occurs.

I tried to run the light app from the examples, but I was not able to commission to the chip-tool. (I was using a ESP32S3 in favour of my ESP32 from my product im developing). The device is only getting connected via BLE and responds to chip-tool, but no Wifi-Credentials are set nor connected to the AP.

@dhrishi
Copy link
Collaborator

dhrishi commented Feb 29, 2024

@PhLuReh Looks like some of the sdkconfig options do not match the Matter v1.1 codebase. Were you at some point working on v1.2 or main branch of Matter with the same example? If yes, can you delete your sdkconfig file and give it a try

$ cd /path/to/your_example
$ rm -rf sdkconfig sdkconfig.old build/
$ idf.py menuconfig #If required to change any options
$ idf.py erase-flash build flash monitor

@PhLuReh
Copy link
Author

PhLuReh commented Feb 29, 2024

nice, it's working again. I did idf.py fullclean and hoped this would also erase sdkconfig. I learned something new, like everyday...

So maybe it would be helpful, if you would comment what exactly lead you to this diagnose? I never thought about this solution and maybe someone else stumbles upon similar errors.

@PhLuReh PhLuReh closed this as completed Feb 29, 2024
@dhrishi
Copy link
Collaborator

dhrishi commented Feb 29, 2024

Your attached sdkconfig has

CONFIG_LWIP_TCPIP_CORE_LOCKING=y
CONFIG_LWIP_CHECK_THREAD_SAFETY=y

These options are enabled in Matter v1.2 and not in Matter v1.1. Now, when you used these options with v1.1, the corresponding code related to it is not present on the v1.1 branch and hence the errors.

@0952594107
Copy link

  1. 0952594107

@0952594107
Copy link

pgslot100%

@0952594107
Copy link

[email protected]

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

3 participants