nkolban / ESP32_Explorer

ESP32 Explorer
Apache License 2.0
144 stars 37 forks source link

Semaphore issue? #19

Closed chegewara closed 5 years ago

chegewara commented 6 years ago

Ive seen many errors already, but this one drives me crazy. Making changes in settings does not help, only thing that helps is to reflash few times (until that error disappear) with the same settings and the same app code.

D (8922) Socket:  - accept: Received new client!: sockFd: 4097
D (8922) Socket: << accept: sockFd: 4097
/home/esp32/esp/esp-idf/components/freertos/./tasks.c:4052 (xTaskPriorityDisinherit)- assert failed!
abort() was called at PC 0x4008a0aa on core 0
0x4008a0aa: xTaskPriorityDisinherit at /home/esp32/esp/esp-idf/components/freertos/./tasks.c:4052 (discriminator 1)

Backtrace: 0x4008bddc:0x3ffdf120 0x4008bea7:0x3ffdf140 0x4008a0aa:0x3ffdf160 0x4008825e:0x3ffdf180 0x4008859c:0x3ffdf1a0 0x4015c8c1:0x3ffdf1e0 0x40164371:0x3ffdf220
0x4008bddc: invoke_abort at /home/esp32/esp/esp-idf/components/esp32/./panic.c:572

0x4008bea7: abort at /home/esp32/esp/esp-idf/components/esp32/./panic.c:572

0x4008a0aa: xTaskPriorityDisinherit at /home/esp32/esp/esp-idf/components/freertos/./tasks.c:4052 (discriminator 1)

0x4008825e: prvCopyDataToQueue at /home/esp32/esp/esp-idf/components/freertos/./queue.c:2037

0x4008859c: xQueueGenericSend at /home/esp32/esp/esp-idf/components/freertos/./queue.c:2037

0x4015c8c1: FreeRTOS::Semaphore::give() at /home/esp32/ESP32_Explorer/components/cpp_utils/./FreeRTOS.cpp:134

0x40164371: SockServ::acceptTask(void*) at /home/esp32/ESP32_Explorer/components/cpp_utils/./SockServ.cpp:134
nkolban commented 6 years ago

I asked a question that may be related to this here:

https://esp32.com/viewtopic.php?f=13&t=3526

I haven't had a definitive response yet.