Webserver "status" crash
Greg, I just realized your crash like my latest one also had that STA disconnect reason 200 entry. So maybe that's not memory related. I can't get a usable addr2line output from your backtrace, I think my .elf file is too different from yours (lots of excluded components here). Can you provide that using your build? Thanks, Michael Am 27.03.2018 um 04:23 schrieb Greg D.:
Hi folks,
The module has been sitting on my desk, simply minding its own business. During dinner I thought I'd poke at the webserver a bit, connecting to the module via the home wifi network (i.e. not the AP side). That's usually pretty reliable. Wasn't this time...
The "failed to allocate socket" message suggests the crash was a down-stream result of being out of memory, but posting here to verify that. Wonder if the error's recovery is possible, or do we simply need the extra memory so it doesn't happen in the first place.
Greg
I (81600417) housekeeping: Local time: Tue Mar 27 00:39:37 2018 I (81692297) webserver: HTTP GET / I (81692327) webserver: HTTP GET /assets/style.css I (81692337) webserver: HTTP GET /assets/script.js I (81692337) webserver: HTTP GET /apple-touch-icon.png I (81693477) webserver: HTTP GET /home I (81693477) webserver: HTTP GET /apple-touch-icon.png I (81710387) webserver: HTTP GET / I (81710427) webserver: HTTP GET /assets/style.css I (81710577) webserver: HTTP GET /home I (81716207) webserver: HTTP GET /status W (81716357) net: Error: Failed to allocate socket I (81722557) wifi: bcn_timout,ap_probe_send_start I (81725057) wifi: ap_probe_send over, resett wifi status to disassoc I (81725067) wifi: state: run -> init (1) I (81725067) wifi: n:6 0, o:6 0, ap:6 2, sta:6 0, prof:6 I (81725067) netmanager: Interface priority is pp3 (10.170.146.142/255.255.255.255 <http://10.170.146.142/255.255.255.255> gateway 10.64.64.64) I (81725067) netmanager: WIFI client down (with MODEM up): reconfigured for MODEM priority I (81725067) time: Network was reconfigured: restarting SNTP client I (81725077) ovms-server-v2: Network was reconfigured: disconnect, and reconnect in 10 seconds I (81725077) ovms-server-v2: Status: Network was reconfigured: disconnect, and reconnect in 10 seconds *I (81725077) esp32wifi: STA disconnected with reason 200* I (81725127) ovms-server-v2: Status: Disconnected I (81744417) ovms-server-v2: Connection is tmc.openvehicles.com:6867 <http://tmc.openvehicles.com:6867> ROADSTER_834 I (81744417) ovms-server-v2: Status: Connecting... OVMS> Guru Meditation Error: Core 1 panic'ed (StoreProhibited) . Exception was unhandled. Core 1 register dump: PC : 0x400f8a9a PS : 0x00060a30 A0 : 0x800f8c3c A1 : 0x3ffeafa0 A2 : 0x3fffb1d4 A3 : 0x3fffbd04 A4 : 0x00000001 A5 : 0x00000000 A6 : 0x00000014 A7 : 0x3ffb10b8 A8 : 0x000000a2 A9 : 0x3ffeaf80 A10 : 0x3ffeafa0 A11 : 0x00000040 A12 : 0x3f40cb7c A13 : 0x8c860000 A14 : 0x16f35000 A15 : 0x00000000 SAR : 0x00000001 EXCCAUSE: 0x0000001d EXCVADDR: 0x0000000a LBEG : 0x40147a40 LEND : 0x40147a5f LCOUNT : 0x00000000
Backtrace: 0x400f8a9a:0x3ffeafa0 0x400f8c39:0x3ffeafd0 0x400f6ac3:0x3ffeb010 0x400f6d86:0x3ffeb040 0x400f8065:0x3ffeb070 0x400f8311:0x3ffeb0b0 0x400f4af1:0x3ffeb100 0x400e735a:0x3ffeb120 0x400e7399:0x3ffeb170
Rebooting..
-- Michael Balzer * Helkenberger Weg 9 * D-58256 Ennepetal Fon 02333 / 833 5735 * Handy 0176 / 206 989 26
participants (2)
-
Greg D. -
Michael Balzer