<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
</head>
<body text="#000000" bgcolor="#FFFFFF">
Hi Michael,<br>
<br>
I've changed my image a few times since the last crash, too. But,
it's occurred again. Here's what I get. Interestingly, it only
seems to happen when the ovms module is in the car, not sitting on
my desk. So, perhaps a timing issue introduced by the processor
load of CAN traffic? This crash was a web fetch, but it also
occurred when I telnet'd into the module, about a half dozen
characters into typing a command. At that time, the HUD was
running, too. (The command was intended to turn off ext12v power,
in order to disable it.) I didn't capture that crash's console
traffic, but the symptoms and timing seemed about the same. There's
a several second delay between the 200 error and the crash.<br>
<br>
<div dir="ltr">I (147503) webserver: HTTP GET /shell<br>
I (154423) wifi: bcn_timout,ap_probe_send_start<br>
I (156923) wifi: ap_probe_send over, resett wifi status to
disassoc<br>
I (156923) wifi: state: run -> init (1)<br>
I (156923) wifi: n:6 0, o:6 0, ap:6 2, sta:6 0, prof:6<br>
I (156933) netmanager: Interface priority is pp3 (<a
href="http://10.170.146.142/255.255.255.255">10.170.146.142/255.255.255.255</a>
gateway 10.64.64.64)<br>
I (156933) netmanager: WIFI client down (with MODEM up):
reconfigured for MODEM priority<br>
I (156933) time: Network was reconfigured: restarting SNTP client<br>
I (156933) ovms-server-v2: Network was reconfigured: disconnect,
and reconnect in 10 seconds<br>
I (156933) ovms-server-v2: Status: Network was reconfigured:
disconnect, and reconnect in 10 seconds<br>
I (156943) esp32wifi: STA disconnected with reason 200<br>
I (157363) ovms-server-v2: Status: Disconnected<br>
I (176423) ovms-server-v2: Connection is <a
href="http://tmc.openvehicles.com:6867">tmc.openvehicles.com:6867</a>
ROADSTER_834<br>
I (176423) ovms-server-v2: Status: Connecting...Guru Meditation
Error: Core 1 panic'ed (StoreProhibited)<br>
. Exception was unhandled.<br>
Core 1 register dump:<br>
PC : 0x400f8ae2 PS : 0x00060230 A0 : 0x800f8c84
A1 : 0x3ffeb080 <br>
A2 : 0x3fff6b40 A3 : 0x3fffc888 A4 : 0x00000001
A5 : 0x00000000 <br>
A6 : 0x00000014 A7 : 0x3ffb10b8 A8 : 0x000000a2
A9 : 0x3ffeb060 <br>
A10 : 0x3ffeb080 A11 : 0x00000040 A12 : 0x3f40cbfc
A13 : 0xb5420000 <br>
A14 : 0x73ffc000 A15 : 0x00000000 SAR : 0x00000001
EXCCAUSE: 0x0000001d <br>
EXCVADDR: 0x0000000a LBEG : 0x40147b54 LEND : 0x40147b73
LCOUNT : 0x00000000 <br>
<br>
Backtrace: 0x400f8ae2:0x3ffeb080 0x400f8c81:0x3ffeb0b0
0x400f6b0b:0x3ffeb0f0 0x400f6dce:0x3ffeb120 0x400f80ad:0x3ffeb150
0x400f8359:0x3ffeb190 0x400f4b39:0x3ffeb1e0 0x400e7346:0x3ffeb200
0x400e7385:0x3ffeb250<br>
<br>
Rebooting...<br>
<br>
</div>
<br>
<br>
<a class="moz-txt-link-abbreviated" href="mailto:greg@linux-0rpb:~/greg/ovms/Open-Vehicle-Monitoring-System-3-master/Open-Vehicle-Monitoring-System-3/vehicle/OVMS.V3">greg@linux-0rpb:~/greg/ovms/Open-Vehicle-Monitoring-System-3-master/Open-Vehicle-Monitoring-System-3/vehicle/OVMS.V3</a>>
~/esp/xtensa-esp32-elf/bin/xtensa-esp32-elf-addr2line -pfiaC -e
build/ovms3.elf 0x400f8ae2:0x3ffeb080 0x400f8c81:0x3ffeb0b0
0x400f6b0b:0x3ffeb0f0 0x400f6dce:0x3ffeb120 0x400f80ad:0x3ffeb150
0x400f8359:0x3ffeb190 0x400f4b39:0x3ffeb1e0 0x400e7346:0x3ffeb200
0x400e7385:0x3ffeb250<br>
0x400f8ae2: mg_send_dns_query at
/home/greg/greg/ovms/Open-Vehicle-Monitoring-System-3-master/Open-Vehicle-Monitoring-System-3/vehicle/OVMS.V3/components/mongoose/mongoose/mongoose.c:11373<br>
0x400f8c81: mg_resolve_async_eh at
/home/greg/greg/ovms/Open-Vehicle-Monitoring-System-3-master/Open-Vehicle-Monitoring-System-3/vehicle/OVMS.V3/components/mongoose/mongoose/mongoose.c:11373<br>
0x400f6b0b: mg_call at
/home/greg/greg/ovms/Open-Vehicle-Monitoring-System-3-master/Open-Vehicle-Monitoring-System-3/vehicle/OVMS.V3/components/mongoose/mongoose/mongoose.c:11373<br>
0x400f6dce: mg_if_connect_cb at
/home/greg/greg/ovms/Open-Vehicle-Monitoring-System-3-master/Open-Vehicle-Monitoring-System-3/vehicle/OVMS.V3/components/mongoose/mongoose/mongoose.c:11373<br>
0x400f80ad: mg_mgr_handle_conn at
/home/greg/greg/ovms/Open-Vehicle-Monitoring-System-3-master/Open-Vehicle-Monitoring-System-3/vehicle/OVMS.V3/components/mongoose/mongoose/mongoose.c:11373<br>
0x400f8359: mg_socket_if_poll at
/home/greg/greg/ovms/Open-Vehicle-Monitoring-System-3-master/Open-Vehicle-Monitoring-System-3/vehicle/OVMS.V3/components/mongoose/mongoose/mongoose.c:11373<br>
0x400f4b39: mg_mgr_poll at
/home/greg/greg/ovms/Open-Vehicle-Monitoring-System-3-master/Open-Vehicle-Monitoring-System-3/vehicle/OVMS.V3/components/mongoose/mongoose/mongoose.c:11373<br>
0x400e7346: OvmsNetManager::MongooseTask() at
/home/greg/greg/ovms/Open-Vehicle-Monitoring-System-3-master/Open-Vehicle-Monitoring-System-3/vehicle/OVMS.V3/main/./ovms_netmanager.cpp:382<br>
0x400e7385: MongooseRawTask(void*) at
/home/greg/greg/ovms/Open-Vehicle-Monitoring-System-3-master/Open-Vehicle-Monitoring-System-3/vehicle/OVMS.V3/main/./ovms_netmanager.cpp:370<br>
<a class="moz-txt-link-abbreviated" href="mailto:greg@linux-0rpb:~/greg/ovms/Open-Vehicle-Monitoring-System-3-master/Open-Vehicle-Monitoring-System-3/vehicle/OVMS.V3">greg@linux-0rpb:~/greg/ovms/Open-Vehicle-Monitoring-System-3-master/Open-Vehicle-Monitoring-System-3/vehicle/OVMS.V3</a>>
<br>
<br>
Hope this helps,<br>
<br>
Greg<br>
<br>
<br>
<div class="moz-cite-prefix">Michael Balzer wrote:<br>
</div>
<blockquote type="cite"
cite="mid:0c77bcbd-538d-bd6a-e2a6-ef29b9992429@expeedo.de">
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
Greg,<br>
<br>
I just realized your crash like my latest one also had that STA
disconnect reason 200 entry. So maybe that's not memory related.<br>
<br>
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).<br>
<br>
Can you provide that using your build?<br>
<br>
Thanks,<br>
Michael<br>
<br>
<br>
<div class="moz-cite-prefix">Am 27.03.2018 um 04:23 schrieb Greg
D.:<br>
</div>
<blockquote type="cite"
cite="mid:b204a48a-c652-5246-8065-fc5bbd41deca@gmail.com">
<meta http-equiv="content-type" content="text/html;
charset=UTF-8">
Hi folks,<br>
<br>
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...<br>
<br>
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.<br>
<br>
Greg<br>
<br>
<br>
<div dir="ltr">I (81600417) housekeeping: Local time: Tue Mar 27
00:39:37 2018<br>
I (81692297) webserver: HTTP GET /<br>
I (81692327) webserver: HTTP GET /assets/style.css<br>
I (81692337) webserver: HTTP GET /assets/script.js<br>
I (81692337) webserver: HTTP GET /apple-touch-icon.png<br>
I (81693477) webserver: HTTP GET /home<br>
I (81693477) webserver: HTTP GET /apple-touch-icon.png<br>
I (81710387) webserver: HTTP GET /<br>
I (81710427) webserver: HTTP GET /assets/style.css<br>
I (81710577) webserver: HTTP GET /home<br>
I (81716207) webserver: HTTP GET /status<br>
W (81716357) net: Error: Failed to allocate socket<br>
I (81722557) wifi: bcn_timout,ap_probe_send_start<br>
I (81725057) wifi: ap_probe_send over, resett wifi status to
disassoc<br>
I (81725067) wifi: state: run -> init (1)<br>
I (81725067) wifi: n:6 0, o:6 0, ap:6 2, sta:6 0, prof:6<br>
I (81725067) netmanager: Interface priority is pp3 (<a
href="http://10.170.146.142/255.255.255.255"
moz-do-not-send="true">10.170.146.142/255.255.255.255</a>
gateway 10.64.64.64)<br>
I (81725067) netmanager: WIFI client down (with MODEM up):
reconfigured for MODEM priority<br>
I (81725067) time: Network was reconfigured: restarting SNTP
client<br>
I (81725077) ovms-server-v2: Network was reconfigured:
disconnect, and reconnect in 10 seconds<br>
I (81725077) ovms-server-v2: Status: Network was reconfigured:
disconnect, and reconnect in 10 seconds<br>
<b> I (81725077) esp32wifi: STA disconnected with reason 200</b><br>
I (81725127) ovms-server-v2: Status: Disconnected<br>
I (81744417) ovms-server-v2: Connection is <a
href="http://tmc.openvehicles.com:6867"
moz-do-not-send="true">tmc.openvehicles.com:6867</a>
ROADSTER_834<br>
I (81744417) ovms-server-v2: Status: Connecting...<br>
OVMS> Guru Meditation Error: Core 1 panic'ed
(StoreProhibited)<br>
. Exception was unhandled.<br>
Core 1 register dump:<br>
PC : 0x400f8a9a PS : 0x00060a30 A0 :
0x800f8c3c A1 : 0x3ffeafa0 <br>
A2 : 0x3fffb1d4 A3 : 0x3fffbd04 A4 :
0x00000001 A5 : 0x00000000 <br>
A6 : 0x00000014 A7 : 0x3ffb10b8 A8 :
0x000000a2 A9 : 0x3ffeaf80 <br>
A10 : 0x3ffeafa0 A11 : 0x00000040 A12 :
0x3f40cb7c A13 : 0x8c860000 <br>
A14 : 0x16f35000 A15 : 0x00000000 SAR :
0x00000001 EXCCAUSE: 0x0000001d <br>
EXCVADDR: 0x0000000a LBEG : 0x40147a40 LEND :
0x40147a5f LCOUNT : 0x00000000 <br>
<br>
Backtrace: 0x400f8a9a:0x3ffeafa0 0x400f8c39:0x3ffeafd0
0x400f6ac3:0x3ffeb010 0x400f6d86:0x3ffeb040
0x400f8065:0x3ffeb070 0x400f8311:0x3ffeb0b0
0x400f4af1:0x3ffeb100 0x400e735a:0x3ffeb120
0x400e7399:0x3ffeb170<br>
<br>
Rebooting..</div>
</blockquote>
<br>
<pre class="moz-signature" cols="160">--
Michael Balzer * Helkenberger Weg 9 * D-58256 Ennepetal
Fon 02333 / 833 5735 * Handy 0176 / 206 989 26
</pre>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
OvmsDev mailing list
<a class="moz-txt-link-abbreviated" href="mailto:OvmsDev@lists.teslaclub.hk">OvmsDev@lists.teslaclub.hk</a>
<a class="moz-txt-link-freetext" href="http://lists.teslaclub.hk/mailman/listinfo/ovmsdev">http://lists.teslaclub.hk/mailman/listinfo/ovmsdev</a>
</pre>
</blockquote>
<br>
</body>
</html>