<html><head><meta http-equiv="Content-Type" content="text/html; charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class=""><div class="">A customer is reporting:</div><div class=""><br class=""></div><div class=""><pre style="box-sizing: border-box; overflow: auto; font-family: Menlo, Monaco, Consolas, "Courier New", monospace; font-size: 13px; padding: 9.5px; margin-top: 0px; margin-bottom: 10px; line-height: 1.42857143; color: rgb(51, 51, 51); word-break: break-all; word-wrap: break-word; background-color: rgb(245, 245, 245); border: 1px solid rgb(204, 204, 204); border-top-left-radius: 4px; border-top-right-radius: 4px; border-bottom-right-radius: 4px; border-bottom-left-radius: 4px;" class="">Last crash: abort() was called on core 1 Backtrace: 0x4008e627 0x4008e8c1 0x400f2be4 0x400f3145 0x4014a7d1 0x401538b0 0x401082be 0x401092ed 0x401082be 0x40108430 0x4010a3bb 0x4010647a 0x400fb63f 0x400fb6ed Event: ticker.1@EventScript 0 secs Version: 3.2.014/ota_0/main (build idf v3.3.2-881-g22d636b Aug 4 2020 16:26:20)</pre><div class=""><br class=""></div></div><div class="">He is running a Nissan Leaf, with 3.2.014 firmware. Both v2 and v3 servers enabled, as well as Abrp and pushover.</div><div class=""><br class=""></div><div class="">Trace is:</div><div class=""><br class=""></div><blockquote style="margin: 0 0 0 40px; border: none; padding: 0px;" class=""><div class=""><div class=""><font face="Andale Mono" class=""><span style="font-style: normal; font-size: 12px;" class="">Using elf file: 3.2.014.ovms3.elf</span></font></div><div class=""><font face="Andale Mono" class=""><span style="font-style: normal; font-size: 12px;" class="">0x4008e627 is in invoke_abort (/home/openvehicles/build/esp-idf/components/esp32/panic.c:156).</span></font></div><div class=""><font face="Andale Mono" class=""><span style="font-style: normal; font-size: 12px;" class="">151<span class="Apple-tab-span" style="white-space:pre"> </span>#endif</span></font></div><div class=""><font face="Andale Mono" class=""><span style="font-style: normal; font-size: 12px;" class="">152<span class="Apple-tab-span" style="white-space:pre"> </span> while (1) {</span></font></div><div class=""><font face="Andale Mono" class=""><span style="font-style: normal; font-size: 12px;" class="">153<span class="Apple-tab-span" style="white-space:pre"> </span> if (esp_cpu_in_ocd_debug_mode()) {</span></font></div><div class=""><font face="Andale Mono" class=""><span style="font-style: normal; font-size: 12px;" class="">154<span class="Apple-tab-span" style="white-space:pre"> </span> __asm__ ("break 0,0");</span></font></div><div class=""><font face="Andale Mono" class=""><span style="font-style: normal; font-size: 12px;" class="">155<span class="Apple-tab-span" style="white-space:pre"> </span> }</span></font></div><div class=""><font face="Andale Mono" class=""><span style="font-style: normal; font-size: 12px;" class="">156<span class="Apple-tab-span" style="white-space:pre"> </span> *((int *) 0) = 0;</span></font></div><div class=""><font face="Andale Mono" class=""><span style="font-style: normal; font-size: 12px;" class="">157<span class="Apple-tab-span" style="white-space:pre"> </span> }</span></font></div><div class=""><font face="Andale Mono" class=""><span style="font-style: normal; font-size: 12px;" class="">158<span class="Apple-tab-span" style="white-space:pre"> </span>}</span></font></div><div class=""><font face="Andale Mono" class=""><span style="font-style: normal; font-size: 12px;" class="">159</span></font></div><div class=""><font face="Andale Mono" class=""><span style="font-style: normal; font-size: 12px;" class="">160<span class="Apple-tab-span" style="white-space:pre"> </span>void abort()</span></font></div><div class=""><font face="Andale Mono" class=""><span style="font-style: normal; font-size: 12px;" class="">0x4008e8c1 is in abort (/home/openvehicles/build/esp-idf/components/esp32/panic.c:171).</span></font></div><div class=""><font face="Andale Mono" class=""><span style="font-style: normal; font-size: 12px;" class="">166<span class="Apple-tab-span" style="white-space:pre"> </span> * don't overwrite that.</span></font></div><div class=""><font face="Andale Mono" class=""><span style="font-style: normal; font-size: 12px;" class="">167<span class="Apple-tab-span" style="white-space:pre"> </span> */</span></font></div><div class=""><font face="Andale Mono" class=""><span style="font-style: normal; font-size: 12px;" class="">168<span class="Apple-tab-span" style="white-space:pre"> </span> if (esp_reset_reason_get_hint() == ESP_RST_UNKNOWN) {</span></font></div><div class=""><font face="Andale Mono" class=""><span style="font-style: normal; font-size: 12px;" class="">169<span class="Apple-tab-span" style="white-space:pre"> </span> esp_reset_reason_set_hint(ESP_RST_PANIC);</span></font></div><div class=""><font face="Andale Mono" class=""><span style="font-style: normal; font-size: 12px;" class="">170<span class="Apple-tab-span" style="white-space:pre"> </span> }</span></font></div><div class=""><font face="Andale Mono" class=""><span style="font-style: normal; font-size: 12px;" class="">171<span class="Apple-tab-span" style="white-space:pre"> </span> invoke_abort();</span></font></div><div class=""><font face="Andale Mono" class=""><span style="font-style: normal; font-size: 12px;" class="">172<span class="Apple-tab-span" style="white-space:pre"> </span>}</span></font></div><div class=""><font face="Andale Mono" class=""><span style="font-style: normal; font-size: 12px;" class="">173</span></font></div><div class=""><font face="Andale Mono" class=""><span style="font-style: normal; font-size: 12px;" class="">174</span></font></div><div class=""><font face="Andale Mono" class=""><span style="font-style: normal; font-size: 12px;" class="">175<span class="Apple-tab-span" style="white-space:pre"> </span>static const char *edesc[] = {</span></font></div><div class=""><font face="Andale Mono" class=""><span style="font-style: normal; font-size: 12px;" class="">0x400f2be4 is in CheckQueueOverflow(char const*, char*) (/home/openvehicles/build/Open-Vehicle-Monitoring-System-3.1/vehicle/OVMS.V3/main/ovms_events.cpp:339).</span></font></div><div class=""><font face="Andale Mono" class=""><span style="font-style: normal; font-size: 12px;" class="">334<span class="Apple-tab-span" style="white-space:pre"> </span> // We've dropped a potentially important event, system is instable now.</span></font></div><div class=""><font face="Andale Mono" class=""><span style="font-style: normal; font-size: 12px;" class="">335<span class="Apple-tab-span" style="white-space:pre"> </span> // As the event queue is full, a normal reboot is no option, so…</span></font></div><div class=""><font face="Andale Mono" class=""><span style="font-style: normal; font-size: 12px;" class="">336<span class="Apple-tab-span" style="white-space:pre"> </span> ESP_LOGE(TAG, "%s: lost important event => aborting", from);</span></font></div><div class=""><font face="Andale Mono" class=""><span style="font-style: normal; font-size: 12px;" class="">337<span class="Apple-tab-span" style="white-space:pre"> </span> MyCommandApp.CloseLogfile();</span></font></div><div class=""><font face="Andale Mono" class=""><span style="font-style: normal; font-size: 12px;" class="">338<span class="Apple-tab-span" style="white-space:pre"> </span> vTaskDelay(pdMS_TO_TICKS(100));</span></font></div><div class=""><font face="Andale Mono" class=""><span style="font-style: normal; font-size: 12px;" class="">339<span class="Apple-tab-span" style="white-space:pre"> </span> abort();</span></font></div><div class=""><font face="Andale Mono" class=""><span style="font-style: normal; font-size: 12px;" class="">340<span class="Apple-tab-span" style="white-space:pre"> </span> }</span></font></div><div class=""><font face="Andale Mono" class=""><span style="font-style: normal; font-size: 12px;" class="">341<span class="Apple-tab-span" style="white-space:pre"> </span> }</span></font></div><div class=""><font face="Andale Mono" class=""><span style="font-style: normal; font-size: 12px;" class="">342</span></font></div><div class=""><font face="Andale Mono" class=""><span style="font-style: normal; font-size: 12px;" class="">343<span class="Apple-tab-span" style="white-space:pre"> </span>static void SignalScheduledEvent(TimerHandle_t timer)</span></font></div><div class=""><font face="Andale Mono" class=""><span style="font-style: normal; font-size: 12px;" class="">0x400f3145 is in OvmsEvents::SignalEvent(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, void*, void (*)(char const*, void*), unsigned int) (/home/openvehicles/build/Open-Vehicle-Monitoring-System-3.1/vehicle/OVMS.V3/main/ovms_events.cpp:417).</span></font></div><div class=""><font face="Andale Mono" class=""><span style="font-style: normal; font-size: 12px;" class="">412</span></font></div><div class=""><font face="Andale Mono" class=""><span style="font-style: normal; font-size: 12px;" class="">413<span class="Apple-tab-span" style="white-space:pre"> </span> if (delay_ms == 0)</span></font></div><div class=""><font face="Andale Mono" class=""><span style="font-style: normal; font-size: 12px;" class="">414<span class="Apple-tab-span" style="white-space:pre"> </span> {</span></font></div><div class=""><font face="Andale Mono" class=""><span style="font-style: normal; font-size: 12px;" class="">415<span class="Apple-tab-span" style="white-space:pre"> </span> if (xQueueSend(m_taskqueue, &msg, 0) != pdTRUE)</span></font></div><div class=""><font face="Andale Mono" class=""><span style="font-style: normal; font-size: 12px;" class="">416<span class="Apple-tab-span" style="white-space:pre"> </span> {</span></font></div><div class=""><font face="Andale Mono" class=""><span style="font-style: normal; font-size: 12px;" class="">417<span class="Apple-tab-span" style="white-space:pre"> </span> CheckQueueOverflow("SignalEvent", msg.body.signal.event);</span></font></div><div class=""><font face="Andale Mono" class=""><span style="font-style: normal; font-size: 12px;" class="">418<span class="Apple-tab-span" style="white-space:pre"> </span> FreeQueueSignalEvent(&msg);</span></font></div><div class=""><font face="Andale Mono" class=""><span style="font-style: normal; font-size: 12px;" class="">419<span class="Apple-tab-span" style="white-space:pre"> </span> }</span></font></div><div class=""><font face="Andale Mono" class=""><span style="font-style: normal; font-size: 12px;" class="">420<span class="Apple-tab-span" style="white-space:pre"> </span> }</span></font></div><div class=""><font face="Andale Mono" class=""><span style="font-style: normal; font-size: 12px;" class="">421<span class="Apple-tab-span" style="white-space:pre"> </span> else</span></font></div><div class=""><font face="Andale Mono" class=""><span style="font-style: normal; font-size: 12px;" class="">0x4014a7d1 is in OvmsWebServer::DestroyWebSocketHandler(WebSocketHandler*) (/home/openvehicles/build/Open-Vehicle-Monitoring-System-3.1/vehicle/OVMS.V3/components/ovms_webserver/src/ovms_websockethandler.cpp:502).</span></font></div><div class=""><font face="Andale Mono" class=""><span style="font-style: normal; font-size: 12px;" class="">497</span></font></div><div class=""><font face="Andale Mono" class=""><span style="font-style: normal; font-size: 12px;" class="">498<span class="Apple-tab-span" style="white-space:pre"> </span> // clear unqueued notifications if any:</span></font></div><div class=""><font face="Andale Mono" class=""><span style="font-style: normal; font-size: 12px;" class="">499<span class="Apple-tab-span" style="white-space:pre"> </span> MyNotify.ClearReader(m_client_slots[i].reader);</span></font></div><div class=""><font face="Andale Mono" class=""><span style="font-style: normal; font-size: 12px;" class="">500</span></font></div><div class=""><font face="Andale Mono" class=""><span style="font-style: normal; font-size: 12px;" class="">501<span class="Apple-tab-span" style="white-space:pre"> </span> ESP_LOGD(TAG, "WebSocket[%p] handler %p closed; %d clients active", nc, handler, m_client_cnt);</span></font></div><div class=""><font face="Andale Mono" class=""><span style="font-style: normal; font-size: 12px;" class="">502<span class="Apple-tab-span" style="white-space:pre"> </span> MyEvents.SignalEvent("server.web.socket.closed", (void*)m_client_cnt);</span></font></div><div class=""><font face="Andale Mono" class=""><span style="font-style: normal; font-size: 12px;" class="">503</span></font></div><div class=""><font face="Andale Mono" class=""><span style="font-style: normal; font-size: 12px;" class="">504<span class="Apple-tab-span" style="white-space:pre"> </span> break;</span></font></div><div class=""><font face="Andale Mono" class=""><span style="font-style: normal; font-size: 12px;" class="">505<span class="Apple-tab-span" style="white-space:pre"> </span> }</span></font></div><div class=""><font face="Andale Mono" class=""><span style="font-style: normal; font-size: 12px;" class="">506<span class="Apple-tab-span" style="white-space:pre"> </span> }</span></font></div><div class=""><font face="Andale Mono" class=""><span style="font-style: normal; font-size: 12px;" class="">0x401538b0 is in OvmsWebServer::EventHandler(mg_connection*, int, void*) (/home/openvehicles/build/Open-Vehicle-Monitoring-System-3.1/vehicle/OVMS.V3/components/ovms_webserver/src/ovms_webserver.cpp:534).</span></font></div><div class=""><font face="Andale Mono" class=""><span style="font-style: normal; font-size: 12px;" class="">529</span></font></div><div class=""><font face="Andale Mono" class=""><span style="font-style: normal; font-size: 12px;" class="">530<span class="Apple-tab-span" style="white-space:pre"> </span> case MG_EV_CLOSE: // connection has been closed</span></font></div><div class=""><font face="Andale Mono" class=""><span style="font-style: normal; font-size: 12px;" class="">531<span class="Apple-tab-span" style="white-space:pre"> </span> {</span></font></div><div class=""><font face="Andale Mono" class=""><span style="font-style: normal; font-size: 12px;" class="">532<span class="Apple-tab-span" style="white-space:pre"> </span> if (handler) {</span></font></div><div class=""><font face="Andale Mono" class=""><span style="font-style: normal; font-size: 12px;" class="">533<span class="Apple-tab-span" style="white-space:pre"> </span> if (nc->flags & MG_F_IS_WEBSOCKET)</span></font></div><div class=""><font face="Andale Mono" class=""><span style="font-style: normal; font-size: 12px;" class="">534<span class="Apple-tab-span" style="white-space:pre"> </span> MyWebServer.DestroyWebSocketHandler((WebSocketHandler*)handler);</span></font></div><div class=""><font face="Andale Mono" class=""><span style="font-style: normal; font-size: 12px;" class="">535<span class="Apple-tab-span" style="white-space:pre"> </span> else</span></font></div><div class=""><font face="Andale Mono" class=""><span style="font-style: normal; font-size: 12px;" class="">536<span class="Apple-tab-span" style="white-space:pre"> </span> delete handler;</span></font></div><div class=""><font face="Andale Mono" class=""><span style="font-style: normal; font-size: 12px;" class="">537<span class="Apple-tab-span" style="white-space:pre"> </span> }</span></font></div><div class=""><font face="Andale Mono" class=""><span style="font-style: normal; font-size: 12px;" class="">538<span class="Apple-tab-span" style="white-space:pre"> </span> }</span></font></div><div class=""><font face="Andale Mono" class=""><span style="font-style: normal; font-size: 12px;" class="">0x401082be is in mg_call (/home/openvehicles/build/Open-Vehicle-Monitoring-System-3.1/vehicle/OVMS.V3/components/mongoose/mongoose/mongoose.c:2368).</span></font></div><div class=""><font face="Andale Mono" class=""><span style="font-style: normal; font-size: 12px;" class="">2363<span class="Apple-tab-span" style="white-space:pre"> </span> }</span></font></div><div class=""><font face="Andale Mono" class=""><span style="font-style: normal; font-size: 12px;" class="">2364<span class="Apple-tab-span" style="white-space:pre"> </span>#endif</span></font></div><div class=""><font face="Andale Mono" class=""><span style="font-style: normal; font-size: 12px;" class="">2365<span class="Apple-tab-span" style="white-space:pre"> </span> if (ev_handler != NULL) {</span></font></div><div class=""><font face="Andale Mono" class=""><span style="font-style: normal; font-size: 12px;" class="">2366<span class="Apple-tab-span" style="white-space:pre"> </span> unsigned long flags_before = nc->flags;</span></font></div><div class=""><font face="Andale Mono" class=""><span style="font-style: normal; font-size: 12px;" class="">2367<span class="Apple-tab-span" style="white-space:pre"> </span> size_t recv_mbuf_before = nc->recv_mbuf.len, recved;</span></font></div><div class=""><font face="Andale Mono" class=""><span style="font-style: normal; font-size: 12px;" class="">2368<span class="Apple-tab-span" style="white-space:pre"> </span> ev_handler(nc, ev, ev_data MG_UD_ARG(user_data));</span></font></div><div class=""><font face="Andale Mono" class=""><span style="font-style: normal; font-size: 12px;" class="">2369<span class="Apple-tab-span" style="white-space:pre"> </span> recved = (recv_mbuf_before - nc->recv_mbuf.len);</span></font></div><div class=""><font face="Andale Mono" class=""><span style="font-style: normal; font-size: 12px;" class="">2370<span class="Apple-tab-span" style="white-space:pre"> </span> /* Prevent user handler from fiddling with system flags. */</span></font></div><div class=""><font face="Andale Mono" class=""><span style="font-style: normal; font-size: 12px;" class="">2371<span class="Apple-tab-span" style="white-space:pre"> </span> if (ev_handler == nc->handler && nc->flags != flags_before) {</span></font></div><div class=""><font face="Andale Mono" class=""><span style="font-style: normal; font-size: 12px;" class="">2372<span class="Apple-tab-span" style="white-space:pre"> </span> nc->flags = (flags_before & ~_MG_CALLBACK_MODIFIABLE_FLAGS_MASK) |</span></font></div><div class=""><font face="Andale Mono" class=""><span style="font-style: normal; font-size: 12px;" class="">0x401092ed is in mg_ws_handler (/home/openvehicles/build/Open-Vehicle-Monitoring-System-3.1/vehicle/OVMS.V3/components/mongoose/mongoose/mongoose.c:9950).</span></font></div><div class=""><font face="Andale Mono" class=""><span style="font-style: normal; font-size: 12px;" class="">9945<span class="Apple-tab-span" style="white-space:pre"> </span> }</span></font></div><div class=""><font face="Andale Mono" class=""><span style="font-style: normal; font-size: 12px;" class="">9946<span class="Apple-tab-span" style="white-space:pre"> </span>}</span></font></div><div class=""><font face="Andale Mono" class=""><span style="font-style: normal; font-size: 12px;" class="">9947</span></font></div><div class=""><font face="Andale Mono" class=""><span style="font-style: normal; font-size: 12px;" class="">9948<span class="Apple-tab-span" style="white-space:pre"> </span>MG_INTERNAL void mg_ws_handler(struct mg_connection *nc, int ev,</span></font></div><div class=""><font face="Andale Mono" class=""><span style="font-style: normal; font-size: 12px;" class="">9949<span class="Apple-tab-span" style="white-space:pre"> </span> void *ev_data MG_UD_ARG(void *user_data)) {</span></font></div><div class=""><font face="Andale Mono" class=""><span style="font-style: normal; font-size: 12px;" class="">9950<span class="Apple-tab-span" style="white-space:pre"> </span> mg_call(nc, nc->handler, nc->user_data, ev, ev_data);</span></font></div><div class=""><font face="Andale Mono" class=""><span style="font-style: normal; font-size: 12px;" class="">9951</span></font></div><div class=""><font face="Andale Mono" class=""><span style="font-style: normal; font-size: 12px;" class="">9952<span class="Apple-tab-span" style="white-space:pre"> </span> switch (ev) {</span></font></div><div class=""><font face="Andale Mono" class=""><span style="font-style: normal; font-size: 12px;" class="">9953<span class="Apple-tab-span" style="white-space:pre"> </span> case MG_EV_RECV:</span></font></div><div class=""><font face="Andale Mono" class=""><span style="font-style: normal; font-size: 12px;" class="">9954<span class="Apple-tab-span" style="white-space:pre"> </span> do {</span></font></div><div class=""><font face="Andale Mono" class=""><span style="font-style: normal; font-size: 12px;" class="">0x401082be is in mg_call (/home/openvehicles/build/Open-Vehicle-Monitoring-System-3.1/vehicle/OVMS.V3/components/mongoose/mongoose/mongoose.c:2368).</span></font></div><div class=""><font face="Andale Mono" class=""><span style="font-style: normal; font-size: 12px;" class="">2363<span class="Apple-tab-span" style="white-space:pre"> </span> }</span></font></div><div class=""><font face="Andale Mono" class=""><span style="font-style: normal; font-size: 12px;" class="">2364<span class="Apple-tab-span" style="white-space:pre"> </span>#endif</span></font></div><div class=""><font face="Andale Mono" class=""><span style="font-style: normal; font-size: 12px;" class="">2365<span class="Apple-tab-span" style="white-space:pre"> </span> if (ev_handler != NULL) {</span></font></div><div class=""><font face="Andale Mono" class=""><span style="font-style: normal; font-size: 12px;" class="">2366<span class="Apple-tab-span" style="white-space:pre"> </span> unsigned long flags_before = nc->flags;</span></font></div><div class=""><font face="Andale Mono" class=""><span style="font-style: normal; font-size: 12px;" class="">2367<span class="Apple-tab-span" style="white-space:pre"> </span> size_t recv_mbuf_before = nc->recv_mbuf.len, recved;</span></font></div><div class=""><font face="Andale Mono" class=""><span style="font-style: normal; font-size: 12px;" class="">2368<span class="Apple-tab-span" style="white-space:pre"> </span> ev_handler(nc, ev, ev_data MG_UD_ARG(user_data));</span></font></div><div class=""><font face="Andale Mono" class=""><span style="font-style: normal; font-size: 12px;" class="">2369<span class="Apple-tab-span" style="white-space:pre"> </span> recved = (recv_mbuf_before - nc->recv_mbuf.len);</span></font></div><div class=""><font face="Andale Mono" class=""><span style="font-style: normal; font-size: 12px;" class="">2370<span class="Apple-tab-span" style="white-space:pre"> </span> /* Prevent user handler from fiddling with system flags. */</span></font></div><div class=""><font face="Andale Mono" class=""><span style="font-style: normal; font-size: 12px;" class="">2371<span class="Apple-tab-span" style="white-space:pre"> </span> if (ev_handler == nc->handler && nc->flags != flags_before) {</span></font></div><div class=""><font face="Andale Mono" class=""><span style="font-style: normal; font-size: 12px;" class="">2372<span class="Apple-tab-span" style="white-space:pre"> </span> nc->flags = (flags_before & ~_MG_CALLBACK_MODIFIABLE_FLAGS_MASK) |</span></font></div><div class=""><font face="Andale Mono" class=""><span style="font-style: normal; font-size: 12px;" class="">0x40108430 is in mg_close_conn (/home/openvehicles/build/Open-Vehicle-Monitoring-System-3.1/vehicle/OVMS.V3/components/mongoose/mongoose/mongoose.c:2435).</span></font></div><div class=""><font face="Andale Mono" class=""><span style="font-style: normal; font-size: 12px;" class="">2430<span class="Apple-tab-span" style="white-space:pre"> </span> mg_ssl_if_conn_close_notify(conn);</span></font></div><div class=""><font face="Andale Mono" class=""><span style="font-style: normal; font-size: 12px;" class="">2431<span class="Apple-tab-span" style="white-space:pre"> </span> }</span></font></div><div class=""><font face="Andale Mono" class=""><span style="font-style: normal; font-size: 12px;" class="">2432<span class="Apple-tab-span" style="white-space:pre"> </span>#endif</span></font></div><div class=""><font face="Andale Mono" class=""><span style="font-style: normal; font-size: 12px;" class="">2433<span class="Apple-tab-span" style="white-space:pre"> </span> mg_remove_conn(conn);</span></font></div><div class=""><font face="Andale Mono" class=""><span style="font-style: normal; font-size: 12px;" class="">2434<span class="Apple-tab-span" style="white-space:pre"> </span> conn->iface->vtable->destroy_conn(conn);</span></font></div><div class=""><font face="Andale Mono" class=""><span style="font-style: normal; font-size: 12px;" class="">2435<span class="Apple-tab-span" style="white-space:pre"> </span> mg_call(conn, NULL, conn->user_data, MG_EV_CLOSE, NULL);</span></font></div><div class=""><font face="Andale Mono" class=""><span style="font-style: normal; font-size: 12px;" class="">2436<span class="Apple-tab-span" style="white-space:pre"> </span> mg_destroy_conn(conn, 0 /* destroy_if */);</span></font></div><div class=""><font face="Andale Mono" class=""><span style="font-style: normal; font-size: 12px;" class="">2437<span class="Apple-tab-span" style="white-space:pre"> </span>}</span></font></div><div class=""><font face="Andale Mono" class=""><span style="font-style: normal; font-size: 12px;" class="">2438</span></font></div><div class=""><font face="Andale Mono" class=""><span style="font-style: normal; font-size: 12px;" class="">2439<span class="Apple-tab-span" style="white-space:pre"> </span>void mg_mgr_init(struct mg_mgr *m, void *user_data) {</span></font></div><div class=""><font face="Andale Mono" class=""><span style="font-style: normal; font-size: 12px;" class="">0x4010a3bb is in mg_socket_if_poll (/home/openvehicles/build/Open-Vehicle-Monitoring-System-3.1/vehicle/OVMS.V3/components/mongoose/mongoose/mongoose.c:4049).</span></font></div><div class=""><font face="Andale Mono" class=""><span style="font-style: normal; font-size: 12px;" class="">4044</span></font></div><div class=""><font face="Andale Mono" class=""><span style="font-style: normal; font-size: 12px;" class="">4045<span class="Apple-tab-span" style="white-space:pre"> </span> for (nc = mgr->active_connections; nc != NULL; nc = tmp) {</span></font></div><div class=""><font face="Andale Mono" class=""><span style="font-style: normal; font-size: 12px;" class="">4046<span class="Apple-tab-span" style="white-space:pre"> </span> tmp = nc->next;</span></font></div><div class=""><font face="Andale Mono" class=""><span style="font-style: normal; font-size: 12px;" class="">4047<span class="Apple-tab-span" style="white-space:pre"> </span> if ((nc->flags & MG_F_CLOSE_IMMEDIATELY) ||</span></font></div><div class=""><font face="Andale Mono" class=""><span style="font-style: normal; font-size: 12px;" class="">4048<span class="Apple-tab-span" style="white-space:pre"> </span> (nc->send_mbuf.len == 0 && (nc->flags & MG_F_SEND_AND_CLOSE))) {</span></font></div><div class=""><font face="Andale Mono" class=""><span style="font-style: normal; font-size: 12px;" class="">4049<span class="Apple-tab-span" style="white-space:pre"> </span> mg_close_conn(nc);</span></font></div><div class=""><font face="Andale Mono" class=""><span style="font-style: normal; font-size: 12px;" class="">4050<span class="Apple-tab-span" style="white-space:pre"> </span> }</span></font></div><div class=""><font face="Andale Mono" class=""><span style="font-style: normal; font-size: 12px;" class="">4051<span class="Apple-tab-span" style="white-space:pre"> </span> }</span></font></div><div class=""><font face="Andale Mono" class=""><span style="font-style: normal; font-size: 12px;" class="">4052</span></font></div><div class=""><font face="Andale Mono" class=""><span style="font-style: normal; font-size: 12px;" class="">4053<span class="Apple-tab-span" style="white-space:pre"> </span> return (time_t) now;</span></font></div><div class=""><font face="Andale Mono" class=""><span style="font-style: normal; font-size: 12px;" class="">0x4010647a is in mg_mgr_poll (/home/openvehicles/build/Open-Vehicle-Monitoring-System-3.1/vehicle/OVMS.V3/components/mongoose/mongoose/mongoose.c:2538).</span></font></div><div class=""><font face="Andale Mono" class=""><span style="font-style: normal; font-size: 12px;" class="">2533<span class="Apple-tab-span" style="white-space:pre"> </span> LOG(LL_ERROR, ("cannot poll: no interfaces"));</span></font></div><div class=""><font face="Andale Mono" class=""><span style="font-style: normal; font-size: 12px;" class="">2534<span class="Apple-tab-span" style="white-space:pre"> </span> return 0;</span></font></div><div class=""><font face="Andale Mono" class=""><span style="font-style: normal; font-size: 12px;" class="">2535<span class="Apple-tab-span" style="white-space:pre"> </span> }</span></font></div><div class=""><font face="Andale Mono" class=""><span style="font-style: normal; font-size: 12px;" class="">2536</span></font></div><div class=""><font face="Andale Mono" class=""><span style="font-style: normal; font-size: 12px;" class="">2537<span class="Apple-tab-span" style="white-space:pre"> </span> for (i = 0; i < m->num_ifaces; i++) {</span></font></div><div class=""><font face="Andale Mono" class=""><span style="font-style: normal; font-size: 12px;" class="">2538<span class="Apple-tab-span" style="white-space:pre"> </span> now = m->ifaces[i]->vtable->poll(m->ifaces[i], timeout_ms);</span></font></div><div class=""><font face="Andale Mono" class=""><span style="font-style: normal; font-size: 12px;" class="">2539<span class="Apple-tab-span" style="white-space:pre"> </span> }</span></font></div><div class=""><font face="Andale Mono" class=""><span style="font-style: normal; font-size: 12px;" class="">2540<span class="Apple-tab-span" style="white-space:pre"> </span> return now;</span></font></div><div class=""><font face="Andale Mono" class=""><span style="font-style: normal; font-size: 12px;" class="">2541<span class="Apple-tab-span" style="white-space:pre"> </span>}</span></font></div><div class=""><font face="Andale Mono" class=""><span style="font-style: normal; font-size: 12px;" class="">2542</span></font></div><div class=""><font face="Andale Mono" class=""><span style="font-style: normal; font-size: 12px;" class="">0x400fb63f is in OvmsNetManager::MongooseTask() (/home/openvehicles/build/Open-Vehicle-Monitoring-System-3.1/vehicle/OVMS.V3/main/ovms_netmanager.cpp:733).</span></font></div><div class=""><font face="Andale Mono" class=""><span style="font-style: normal; font-size: 12px;" class="">728</span></font></div><div class=""><font face="Andale Mono" class=""><span style="font-style: normal; font-size: 12px;" class="">729<span class="Apple-tab-span" style="white-space:pre"> </span> // Main event loop</span></font></div><div class=""><font face="Andale Mono" class=""><span style="font-style: normal; font-size: 12px;" class="">730<span class="Apple-tab-span" style="white-space:pre"> </span> while (m_mongoose_running)</span></font></div><div class=""><font face="Andale Mono" class=""><span style="font-style: normal; font-size: 12px;" class="">731<span class="Apple-tab-span" style="white-space:pre"> </span> {</span></font></div><div class=""><font face="Andale Mono" class=""><span style="font-style: normal; font-size: 12px;" class="">732<span class="Apple-tab-span" style="white-space:pre"> </span> // poll interfaces:</span></font></div><div class=""><font face="Andale Mono" class=""><span style="font-style: normal; font-size: 12px;" class="">733<span class="Apple-tab-span" style="white-space:pre"> </span> if (mg_mgr_poll(&m_mongoose_mgr, 250) == 0)</span></font></div><div class=""><font face="Andale Mono" class=""><span style="font-style: normal; font-size: 12px;" class="">734<span class="Apple-tab-span" style="white-space:pre"> </span> {</span></font></div><div class=""><font face="Andale Mono" class=""><span style="font-style: normal; font-size: 12px;" class="">735<span class="Apple-tab-span" style="white-space:pre"> </span> ESP_LOGD(TAG, "MongooseTask: no interfaces available => exit");</span></font></div><div class=""><font face="Andale Mono" class=""><span style="font-style: normal; font-size: 12px;" class="">736<span class="Apple-tab-span" style="white-space:pre"> </span> break;</span></font></div><div class=""><font face="Andale Mono" class=""><span style="font-style: normal; font-size: 12px;" class="">737<span class="Apple-tab-span" style="white-space:pre"> </span> }</span></font></div><div class=""><font face="Andale Mono" class=""><span style="font-style: normal; font-size: 12px;" class="">0x400fb6ed is in MongooseRawTask(void*) (/home/openvehicles/build/Open-Vehicle-Monitoring-System-3.1/vehicle/OVMS.V3/main/ovms_netmanager.cpp:715).</span></font></div><div class=""><font face="Andale Mono" class=""><span style="font-style: normal; font-size: 12px;" class="">710<span class="Apple-tab-span" style="white-space:pre"> </span>#ifdef CONFIG_OVMS_SC_GPL_MONGOOSE</span></font></div><div class=""><font face="Andale Mono" class=""><span style="font-style: normal; font-size: 12px;" class="">711</span></font></div><div class=""><font face="Andale Mono" class=""><span style="font-style: normal; font-size: 12px;" class="">712<span class="Apple-tab-span" style="white-space:pre"> </span>static void MongooseRawTask(void *pvParameters)</span></font></div><div class=""><font face="Andale Mono" class=""><span style="font-style: normal; font-size: 12px;" class="">713<span class="Apple-tab-span" style="white-space:pre"> </span> {</span></font></div><div class=""><font face="Andale Mono" class=""><span style="font-style: normal; font-size: 12px;" class="">714<span class="Apple-tab-span" style="white-space:pre"> </span> OvmsNetManager* me = (OvmsNetManager*)pvParameters;</span></font></div><div class=""><font face="Andale Mono" class=""><span style="font-style: normal; font-size: 12px;" class="">715<span class="Apple-tab-span" style="white-space:pre"> </span> me->MongooseTask();</span></font></div><div class=""><font face="Andale Mono" class=""><span style="font-style: normal; font-size: 12px;" class="">716<span class="Apple-tab-span" style="white-space:pre"> </span> }</span></font></div><div class=""><font face="Andale Mono" class=""><span style="font-style: normal; font-size: 12px;" class="">717</span></font></div><div class=""><font face="Andale Mono" class=""><span style="font-style: normal; font-size: 12px;" class="">718<span class="Apple-tab-span" style="white-space:pre"> </span>void OvmsNetManager::MongooseTask()</span></font></div><div class=""><font face="Andale Mono" class=""><span style="font-style: normal; font-size: 12px;" class="">719<span class="Apple-tab-span" style="white-space: pre;"> </span> {</span></font></div></div></blockquote><div class=""><br class=""></div><div class="">It seems to be a web socket (web ui?) connection went away, a logging message was produced, and that overflowed the queue. Perhaps the user is just logging too much? Can you log at debug level to web uI (or does it cause the problem I mentioned earlier about debug logging the debug logs)? Any ideas?</div><div class=""><br class=""></div><div class="">Regards, Mark.</div></body></html>