<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
</head>
<body text="#000000" bgcolor="#FFFFFF">
I already changed the charge alerts to inline calls, but of course
the stack footprint is a bit higher with notifications.<br>
<br>
Regards,<br>
Michael<br>
<br>
<br>
<div class="moz-cite-prefix">Am 12.05.2018 um 15:03 schrieb Mark
Webb-Johnson:<br>
</div>
<blockquote type="cite"
cite="mid:27B889A4-950E-4C35-A427-4502989F4B8F@webb-johnson.net">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<div class=""><br class="">
</div>
<div class="">I think this is the new charge alerts in vehicle.{h,
cpp}. They call the command ‘STAT’, which may consume a lot of
stack (executing commands does).</div>
<div class=""><br class="">
</div>
<div class="">I suggest you change vehicle stack size to 6144.
That is the default now in sdkconfig.default.hw31 that I just
pushed. You will need to make menuconfig and find it in the
vehicle support section of open vehicles component. Diff
sdkconfig support/sdkconfig.default.hw31 to see the changes.</div>
<div class=""><br class="">
</div>
<div class="">Regards, Mark.</div>
<br class="">
<div>
<blockquote type="cite" class="">
<div class="">On 11 May 2018, at 10:15 PM, Mark Webb-Johnson
<<a href="mailto:mark@webb-johnson.net" class=""
moz-do-not-send="true">mark@webb-johnson.net</a>>
wrote:</div>
<br class="Apple-interchange-newline">
<div class="">
<meta http-equiv="Content-Type" content="text/html;
charset=utf-8" class="">
<div style="word-wrap: break-word; -webkit-nbsp-mode: space;
-webkit-line-break: after-white-space;" class="">Can you:
<div class=""><br class="">
</div>
<blockquote style="margin: 0 0 0 40px; border: none;
padding: 0px;" class="">
<div class="">diff sdkconfig
support/sdkconfig.default.hw31</div>
</blockquote>
<div class=""><br class="">
</div>
<div class="">and make sure the same? Maybe stack sizes
are different?</div>
<div class=""><br class="">
</div>
<div class="">Or maybe something in your vehicle type is
using up a lot of stack. Try ‘module tasks’ to see.</div>
<div class=""><br class="">
</div>
<div class="">Regards, Mark.</div>
<div class=""><br class="">
<div class="">
<blockquote type="cite" class="">
<div class="">On 11 May 2018, at 9:42 PM, Robin
O'Leary <<a href="mailto:ovmsdev@caederus.org"
class="" moz-do-not-send="true">ovmsdev@caederus.org</a>>
wrote:</div>
<br class="Apple-interchange-newline">
<div class="">
<div class="">On Fri, May 11, 2018 at 08:08:10PM
+0800, Mark Webb-Johnson wrote:<br class="">
<blockquote type="cite" class="">I think —tags
is missing?<br class="">
I normally ‘git fetch origin —tags as the
first step.<br class="">
</blockquote>
<br class="">
Ah, thanks, that fixed the the version label.<br
class="">
<br class="">
My build still crashes though, this time with
another stack overflow:<br class="">
<br class="">
OVMS# ***ERROR*** A stack overflow in task OVMS
Vehicle has been detected.<br class="">
abort() was called at PC 0x40092f00 on core 1<br
class="">
<br class="">
Backtrace: 0x40092cec:0x3ffdcaf0
0x40092ee7:0x3ffdcb10 0x40092f00:0x3ffdcb30
0x4008f33c:0x3ffdcb50 0x40090f90:0x3ffdcb70
0x40090f46:0xa5a5a5a5<br class="">
<br class="">
Rebooting...<br class="">
<br class="">
0x40092cec invoke_abort + 24 in section
.iram0.text<br class="">
0x40092ee7 abort + 39 in section .iram0.text<br
class="">
0x40092f00 vApplicationStackOverflowHook + 20 in
section .iram0.text<br class="">
0x4008f33c vTaskSwitchContext + 200 in section
.iram0.text<br class="">
0x40090f90 _frxt_dispatch in section .iram0.text<br
class="">
0x40090f46 _frxt_int_exit + 70 in section
.iram0.text<br class="">
<br class="">
<br class="">
btw, something helpfully mapped the character
sequence "[dash][dash]tags"<br class="">
in your message to "[en-dash]tags"; if you
cut-and-paste that directly<br class="">
to a command line, you get a rather confusing
error:<br class="">
<br class="">
$ git fetch origin —tags<br class="">
fatal: Couldn't find remote ref —tags<br
class="">
_______________________________________________<br
class="">
OvmsDev mailing list<br class="">
<a href="mailto:OvmsDev@lists.openvehicles.com"
class="" moz-do-not-send="true">OvmsDev@lists.openvehicles.com</a><br
class="">
<a
href="http://lists.openvehicles.com/mailman/listinfo/ovmsdev"
class="" moz-do-not-send="true">http://lists.openvehicles.com/mailman/listinfo/ovmsdev</a><br
class="">
</div>
</div>
</blockquote>
</div>
<br class="">
</div>
</div>
_______________________________________________<br class="">
OvmsDev mailing list<br class="">
<a href="mailto:OvmsDev@lists.openvehicles.com" class=""
moz-do-not-send="true">OvmsDev@lists.openvehicles.com</a><br
class="">
<a class="moz-txt-link-freetext" href="http://lists.openvehicles.com/mailman/listinfo/ovmsdev">http://lists.openvehicles.com/mailman/listinfo/ovmsdev</a><br
class="">
</div>
</blockquote>
</div>
<br class="">
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
OvmsDev mailing list
<a class="moz-txt-link-abbreviated" href="mailto:OvmsDev@lists.openvehicles.com">OvmsDev@lists.openvehicles.com</a>
<a class="moz-txt-link-freetext" href="http://lists.openvehicles.com/mailman/listinfo/ovmsdev">http://lists.openvehicles.com/mailman/listinfo/ovmsdev</a>
</pre>
</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>
</body>
</html>