[Ovmsdev] WiFi mode off reboot

Greg D. gregd2350 at gmail.com
Mon Jan 8 15:24:15 HKT 2018


Hi folks,

Another crash.  Not repeatable, but wanted to report it before I head up
stairs to end the day.

I had booted the module, modem off, obdii ecu started, v2 server enabled
but not connected.  Wifi was started but the local network is hidden, so
it wasn't connected.  This is all in the startup event script.  OBDWiz
dongle running, all fine.  The plan was to let it run for the night, to
catch any longer-term reboots, so I needed to turn off the wifi in order
to keep the screen from filling up with 'incorrect scan type' messages. 
Hit wifi mode off, and it crashed (see below).  Doesn't appear to be a
memory issue.  Tried it a second time, and wifi stopped as normal. 

{sigh}  Definitely time for bed...

Greg


OVMS > wifi mode off
Stopping wifi station...
ESP_ERROR_CHECK failed: esp_err_t 0x3002 at 0x400d6945
0x400d6945:
_ZN9esp32wifi17EventWifiScanDoneENSt7__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:462
(discriminator 1)

file:
"/home/greg/greg/ovms/Open-Vehicle-Monitoring-System-3-master/Open-Vehicle-Monitoring-System-3/vehicle/OVMS.V3/components/esp32wifi/./esp32wifi.cpp"
line 462
func: void esp32wifi::EventWifiScanDone(std::__cxx11::string, void*)
expression: esp_wifi_scan_get_ap_records(&apCount, list)

Backtrace: 0x40088810:0x3ffbb580 0x40088b8d:0x3ffbb5a0
0x400d6945:0x3ffbb5c0 0x400d75d8:0x3ffbb690 0x40101965:0x3ffbb6d0
0x40101bbe:0x3ffbb700 0x40101c61:0x3ffbb750 0x40102089:0x3ffbb9a0
0x4013e991:0x3ffbb9c0 0x4013e9d5:0x3ffbb9e0
0x40088810: invoke_abort at
/home/greg/esp/esp-idf/components/esp32/./panic.c:519

0x40088b8d: _esp_error_check_failed at
/home/greg/esp/esp-idf/components/esp32/./panic.c:531

0x400d6945:
_ZN9esp32wifi17EventWifiScanDoneENSt7__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:462
(discriminator 1)

0x400d75d8:
_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
 (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                                                                                                                                                                                                                                     

 (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                  

 (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                                                                                                                                                                                                                                                      


0x40101965:
_ZNKSt8functionIFvNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEPvEEclES5_S6_
at
/home/greg/esp/xtensa-esp32-elf/xtensa-esp32-elf/include/c++/5.2.0/functional:2271

0x40101bbe:
_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

0x40101c61: _ZN10OvmsEvents17SignalSystemEventEP14system_event_t at
/home/greg/greg/ovms/Open-Vehicle-Monitoring-System-3-master/Open-Vehicle-Monitoring-System-3/vehicle/OVMS.V3/main/./ovms_events.cpp:167

0x40102089: _ZN10OvmsEvents18ReceiveSystemEventEPvP14system_event_t at
/home/greg/greg/ovms/Open-Vehicle-Monitoring-System-3-master/Open-Vehicle-Monitoring-System-3/vehicle/OVMS.V3/main/./ovms_events.cpp:155

0x4013e991: esp_event_post_to_user at
/home/greg/esp/esp-idf/components/esp32/./event_loop.c:94

0x4013e9d5: esp_event_loop_task at
/home/greg/esp/esp-idf/components/esp32/./event_loop.c:94


Rebooting...






More information about the OvmsDev mailing list