atanisoft / HttpServer

HTTP Server implemented using OpenMRN StateFlow patterns.
BSD 2-Clause "Simplified" License
1 stars 0 forks source link

occasional assert from httpd shutdown #1

Open atanisoft opened 4 years ago

atanisoft commented 4 years ago
Restarting ESP32 Command Station
Error reading fd 50: (113) Software caused connection abort
Shutdown listening socket 80.
abort() was called at PC 0x40082cc8 on core 0
0x40082cc8: lock_acquire_generic at esp-idf/components/newlib/locks.c:143

ELF file SHA256: 8b6ec65b67d1811e

Backtrace: 0x400870bc:0x3ffbed70 0x400874b1:0x3ffbed90 0x40082cc8:0x3ffbedb0 0x40082de1:0x3ffbedf0 0x4019a415:0x3ffbee10 0x4019459d:0x3ffbf0d0 0x401944e9:0x3ffbf120 0x40117955:0x3ffbf150 0x401179b3:0x3ffbf180 0x4011c878:0x3ffbf1b0 0x401154ed:0x3ffbf1d0 0x40116295:0x3ffbf1f0 0x400da732:0x3ffbf220 0x400d3757:0x3ffbfbc0
0x400870bc: invoke_abort at esp-idf/components/esp32/panic.c:157
0x400874b1: abort at esp-idf/components/esp32/panic.c:172
0x40082cc8: lock_acquire_generic at esp-idf/components/newlib/locks.c:143
0x40082de1: _lock_acquire_recursive at esp-idf/components/newlib/locks.c:171
0x4019a415: _vfiprintf_r at /builds/idf/crosstool-NG/.build/xtensa-esp32-elf/src/newlib/newlib/libc/stdio/vfprintf.c:853 (discriminator 2)
0x4019459d: fiprintf at /builds/idf/crosstool-NG/.build/xtensa-esp32-elf/src/newlib/newlib/libc/stdio/fiprintf.c:48
0x401944e9: __assert_func at /builds/idf/crosstool-NG/.build/xtensa-esp32-elf/src/newlib/newlib/libc/stdlib/assert.c:58 (discriminator 8)
0x40117955: QList<1u>::insert(QMember*, unsigned int) at ESP32CommandStation/build/../components/OpenMRNLite/src/utils/Queue.hxx:148
 (inlined by) ?? at ESP32CommandStation/build/../components/OpenMRNLite/src/utils/Queue.hxx:498
 (inlined by) QList<1u>::insert(QMember*, unsigned int) at ESP32CommandStation/build/../components/OpenMRNLite/src/utils/Queue.hxx:485
0x401179b3: Executor<1u>::add(Executable*, unsigned int) at ESP32CommandStation/build/../components/OpenMRNLite/src/executor/Executor.hxx:308 (discriminator 4)
0x4011c878: ExecutorBase::shutdown() at ESP32CommandStation/build/../components/OpenMRNLite/src/executor/Executor.cpp:433
0x401154ed: Executor<1u>::~Executor() at ESP32CommandStation/build/../components/OpenMRNLite/src/executor/Executor.hxx:413
0x40116295: http::Httpd::~Httpd() at ESP32CommandStation/build/../components/Esp32HttpServer/HttpServer.cpp:78
0x400da732: app_main at ESP32CommandStation/build/../main/ESP32CommandStation.cpp:251
0x400d3757: main_task at esp-idf/components/esp32/cpu_start.c:553

Rebooting...