Page 1 of 1

关于使用 http client时,出现了assert failed: spinlock_release spinlock.h:140 (core_id == lock->owner),怎么解决

Posted: Tue Mar 15, 2022 7:45 am
by 1948439926
I (04:07:27.062) HTTP_CLIENT heartbeat: 开始计时 http_Post_heartbeat
HTTP_EVENT_DISCONNECTED 0
I (04:07:27.573) HTTP_CLIENT heartbeat: HTTP_EVENT_DISCONNECTED

assert failed: spinlock_release spinlock.h:140 (core_id == lock->owner)


Backtrace:0x40379ef6:0x3fceaa200x4038771d:0x3fceaa40 0x4038e375:0x3fceaa60 0x403 8ac13:0x3fceab80 0x4038814b:0x3fceaba0 0x42050322:0x3fceabe0 0x4203d21d:0x3fceac 10 0x4203d251:0x3fceac30 0x42050661:0x3fceac50 0x420e1ef5:0x3fceac70 0x4203a105: 0x3fceac90 0x4003a731:0x3fceacb0 |<-CORRUPTED
0x40379ef6: panic_abort at /home/liyadong/esp32/esp-skainet-master/esp-skainet/e sp-idf/components/esp_system/panic.c:402

0x4038771d: esp_system_abort at /home/liyadong/esp32/esp-skainet-master/esp-skai net/esp-idf/components/esp_system/esp_system.c:121

0x4038e375: __assert_func at /home/liyadong/esp32/esp-skainet-master/esp-skainet /esp-idf/components/newlib/assert.c:85

0x4038ac13: spinlock_release at /home/liyadong/esp32/esp-skainet-master/esp-skai net/esp-idf/components/esp_hw_support/include/soc/spinlock.h:140
(inlined by) vPortCPUReleaseMutex at /home/liyadong/esp32/esp-skainet-master/es p-skainet/esp-idf/components/freertos/port/xtensa/include/freertos/portmacro.h:5 68
(inlined by) vPortExitCritical at /home/liyadong/esp32/esp-skainet-master/esp-s kainet/esp-idf/components/freertos/port/xtensa/port.c:298

0x4038814b: xQueueGenericSend at /home/liyadong/esp32/esp-skainet-master/esp-ska inet/esp-idf/components/freertos/queue.c:946

0x42050322: sys_mbox_trypost at /home/liyadong/esp32/esp-skainet-master/esp-skai net/esp-idf/components/lwip/port/esp32/freertos/sys_arch.c:269

0x4203d21d: tcpip_inpkt at /home/liyadong/esp32/esp-skainet-master/esp-skainet/e sp-idf/components/lwip/lwip/src/api/tcpip.c:269

0x4203d251: tcpip_input at /home/liyadong/esp32/esp-skainet-master/esp-skainet/e sp-idf/components/lwip/lwip/src/api/tcpip.c:293

0x42050661: wlanif_input at /home/liyadong/esp32/esp-skainet-master/esp-skainet/ esp-idf/components/lwip/port/esp32/netif/wlanif.c:208

0x420e1ef5: esp_netif_receive at /home/liyadong/esp32/esp-skainet-master/esp-ska inet/esp-idf/components/esp_netif/lwip/esp_netif_lwip.c:886

0x4203a105: wifi_sta_receive at /home/liyadong/esp32/esp-skainet-master/esp-skai net/esp-idf/components/esp_wifi/src/wifi_netif.c:47





ELF file SHA256: e6b9f870c66cba9e

Rebooting...
ESP-ROM:esp32s3-20210327
Build:Mar 27 2021
rst:0xc (RTC_SW_CPU_RST),boot:0x2b (SPI_FAST_FLASH_BOOT)
Saved PC:0x4038ab63
0x4038ab63: spinlock_acquire at /home/liyadong/esp32/esp-skainet-master/esp-skai net/esp-idf/components/esp_hw_support/include/soc/spinlock.h:113
(inlined by) vPortCPUAcquireMutex at /home/liyadong/esp32/esp-skainet-master/es p-skainet/esp-idf/components/freertos/port/xtensa/include/freertos/portmacro.h:5 58
(inlined by) vPortEnterCritical at /home/liyadong/esp32/esp-skainet-master/esp- skainet/esp-idf/components/freertos/port/xtensa/port.c:285

SPIWP:0xee
mode:DIO, clock d

Re: 关于使用 http client时,出现了assert failed: spinlock_release spinlock.h:140 (core_id == lock->owner),怎么解决

Posted: Wed Mar 16, 2022 2:36 am
by 1948439926
开发环境是Ubuntu esp-skainet v0.3.0-104-gaa4f57e-dirty
esp-idf v4.4-beta1-2-gdf0929009a