<div dir="ltr"><div><div>I managed to get another WiFi related crash...  As before, this was an attempt to turn it off right after the system starts (just before the first scan completed with the usual "incorrect scan type" message), but doing so at that time doesn't always seem to cause the crash.<br><br></div>This is on the old 2.1 environment, if that matters.<br><br></div>Greg<br><br><div><div><div><div><div><br>OVMS > wifi mode off<br>Stopping wifi station...<br>ESP_ERROR_CHECK failed: esp_err_t 0x3002 at 0x400d8e2d<br>0x400d8e2d: _ZN9esp32wifi12EventTimer10ENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEPv at /home/greg/greg/ovms/Open-Vehicle-Monitoring-System-3-master/Open-Vehicle-Monitoring-System-3/vehicle/OVMS.V3/components/esp32wifi/./esp32wifi.cpp:453 (discriminator 1)<br><br>file: "/home/greg/greg/ovms/Open-Vehicle-Monitoring-System-3-master/Open-Vehicle-Monitoring-System-3/vehicle/OVMS.V3/components/esp32wifi/./esp32wifi.cpp" line 453<br>func: void esp32wifi::EventTimer10(std::__cxx11::string, void*)<br>expression: esp_wifi_scan_start(&scanConf, false)<br><br>Backtrace: 0x40088a70:0x3ffc9380 0x40088ded:0x3ffc93a0 0x400d8e2d:0x3ffc93c0 0x400da3f8:0x3ffc9400 0x40104a59:0x3ffc9440 0x40104cb2:0x3ffc9470 0x4010474d:0x3ffc94c0 0x40104887:0x3ffc9570 0x40087df6:0x3ffc9590 0x40087e29:0x3ffc95b0 0x40087f34:0x3ffc95e0<br>0x40088a70: invoke_abort at /home/greg/esp/esp-idf/components/esp32/./panic.c:519<br><br>0x40088ded: _esp_error_check_failed at /home/greg/esp/esp-idf/components/esp32/./panic.c:531<br><br>0x400d8e2d: _ZN9esp32wifi12EventTimer10ENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEPv at /home/greg/greg/ovms/Open-Vehicle-Monitoring-System-3-master/Open-Vehicle-Monitoring-System-3/vehicle/OVMS.V3/components/esp32wifi/./esp32wifi.cpp:453 (discriminator 1)<br><br>0x400da3f8: _ZNKSt12_Mem_fn_baseIM9esp32wifiFvNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEPvELb1EEclIJS6_S7_EvEEvPS0_DpOT_ at /home/greg/esp/xtensa-esp32-elf/xtensa-esp32-elf/include/c++/5.2.0/functional:600<br> (inlined by) _ZNSt5_BindIFSt7_Mem_fnIM9esp32wifiFvNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEPvEEPS1_St12_PlaceholderILi1EESD_ILi2EEEE6__callIvJOS7_OS8_EJLj0ELj1ELj2EEEET_OSt5tupleIJDpT0_EESt12_Index_tupleIJXspT1_EEE at /home/greg/esp/xtensa-esp32-elf/xtensa-esp32-elf/include/c++/5.2.0/functional:1074                                                                                                                                                                                                                                      <br> (inlined by) _ZNSt5_BindIFSt7_Mem_fnIM9esp32wifiFvNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEPvEEPS1_St12_PlaceholderILi1EESD_ILi2EEEEclIJS7_S8_EvEET0_DpOT_ at /home/greg/esp/xtensa-esp32-elf/xtensa-esp32-elf/include/c++/5.2.0/functional:1133                   <br> (inlined by) _ZNSt17_Function_handlerIFvNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEPvESt5_BindIFSt7_Mem_fnIM9esp32wifiFvS5_S6_EEPSA_St12_PlaceholderILi1EESF_ILi2EEEEE9_M_invokeERKSt9_Any_dataOS5_OS6_ at /home/greg/esp/xtensa-esp32-elf/xtensa-esp32-elf/include/c++/5.2.0/functional:1871                                                                                                                                                                                                                                                       <br><br>0x40104a59: _ZNKSt8functionIFvNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEPvEEclES5_S6_ at /home/greg/esp/xtensa-esp32-elf/xtensa-esp32-elf/include/c++/5.2.0/functional:2271<br><br>0x40104cb2: _ZN10OvmsEvents11SignalEventENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEPv at /home/greg/greg/ovms/Open-Vehicle-Monitoring-System-3-master/Open-Vehicle-Monitoring-System-3/vehicle/OVMS.V3/main/./ovms_events.cpp:144<br><br>0x4010474d: _ZN12Housekeeping7Ticker1Ev at /home/greg/greg/ovms/Open-Vehicle-Monitoring-System-3-master/Open-Vehicle-Monitoring-System-3/vehicle/OVMS.V3/main/./ovms_housekeeping.cpp:184<br><br>0x40104887: _Z19HousekeepingTicker1Pv at /home/greg/greg/ovms/Open-Vehicle-Monitoring-System-3-master/Open-Vehicle-Monitoring-System-3/vehicle/OVMS.V3/main/./ovms_housekeeping.cpp:57<br><br>0x40087df6: prvProcessExpiredTimer at /home/greg/esp/esp-idf/components/freertos/./timers.c:839<br><br>0x40087e29: prvProcessTimerOrBlockTask at /home/greg/esp/esp-idf/components/freertos/./timers.c:839<br><br>0x40087f34: prvTimerTask at /home/greg/esp/esp-idf/components/freertos/./timers.c:839<br><br><br>Rebooting...<br></div></div></div></div></div></div>