<html><head><meta http-equiv="content-type" content="text/html; charset=utf-8"></head><body dir="auto"><div dir="ltr"></div><div dir="ltr">What size stack have you defined for Duktape? Should be the default 12288. </div><div dir="ltr"><br></div><div dir="ltr">Regards, Mark</div><div dir="ltr"><br>On 20 Jan 2019, at 8:04 PM, Olivier <<a href="mailto:ogrums@gmail.com">ogrums@gmail.com</a>> wrote:<br><br></div><blockquote type="cite"><div dir="ltr"><div dir="ltr"><div dir="ltr">Hello <span style="color:rgb(32,33,36);font-size:0.875rem;letter-spacing:0.2px;font-family:Roboto,RobotoDraft,Helvetica,Arial,sans-serif;white-space:nowrap">Tamás,</span><div><span style="color:rgb(32,33,36);font-size:0.875rem;letter-spacing:0.2px;font-family:Roboto,RobotoDraft,Helvetica,Arial,sans-serif;white-space:nowrap"><br></span></div><div><span style="color:rgb(32,33,36);font-size:0.875rem;letter-spacing:0.2px;font-family:Roboto,RobotoDraft,Helvetica,Arial,sans-serif;white-space:nowrap">Same bug here, with the last release, my guest is because we load in memory to many thing.</span></div><div><font color="#202124" face="Roboto, RobotoDraft, Helvetica, Arial, sans-serif"><span style="font-size:14px;letter-spacing:0.2px;white-space:nowrap">To be able to start the device I choose Vehicle Empty and then chose the right one or you can disable duktape on sdkconfig (or by make menuconfig)</span></font></div><div><font color="#202124" face="Roboto, RobotoDraft, Helvetica, Arial, sans-serif"><span style="font-size:14px;letter-spacing:0.2px;white-space:nowrap"><br></span></font></div><div><font color="#202124" face="Roboto, RobotoDraft, Helvetica, Arial, sans-serif"><span style="font-size:14px;letter-spacing:0.2px;white-space:nowrap"><div>#</div><div># Library Support</div><div>#</div><div>CONFIG_OVMS_SC_JAVASCRIPT_NONE=y</div><div>CONFIG_OVMS_SC_JAVASCRIPT_DUKTAPE=</div><div><br></div><div>regards,</div><div>Olivier</div></span></font></div></div></div><br><div class="gmail_quote"><div dir="ltr">Le dim. 20 janv. 2019 à 12:38, Tamás Kovács <<a href="mailto:kommykt@gmail.com">kommykt@gmail.com</a>> a écrit :<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div dir="ltr"><div dir="ltr">How can i debug what's the problem? I get the following crash (source code on my github: <a href="https://github.com/KommyKT/Open-Vehicle-Monitoring-System-3" target="_blank">https://github.com/KommyKT/Open-Vehicle-Monitoring-System-3</a>): I used the latest openvehicle updates + my mitsubishi code. I create the firwmare with make app, then upload to my NAS and update via OTA update.<div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Welcome to the Open Vehicle Monitoring System (OVMS) - Async Console<br><blockquote>Firmware: 3.1.011-244-g1a15127d-dirty/ota_0/main<br>Hardware: OVMS WIFI BLE BT cores=2 rev=ESP32/1<br>OVMS> ***ERROR*** A stack overflow in task OVMS DukTape has been detected.<br>abort() was called at PC 0x40096278 on core 1<br>Backtrace: 0x40096064:0x3ffc11b0 0x4009625f:0x3ffc11d0 0x40096278:0x3ffc11f0 0x40091704:0x3ffc1210 0x40093768:0x3ffc1230 0x4009371e:0x3ffc1250 0x7aad5675:0x3f81d8f4<br>Rebooting...<br>ets Jun 8 2016 00:22:57<br>rst:0xc (SW_CPU_RESET),boot:0x3b (SPI_FAST_FLASH_BOOT)<br>configsip: 0, SPIWP:0xee<br>clk_drv:0x00,q_drv:0x00,d_drv:0x00,cs0_drv:0x00,hd_drv:0x00,wp_drv:0x00<br>mode:DIO, clock div:2<br>load:0x3fff0018,len:4<br>load:0x3fff001c,len:4960<br>ho 0 tail 12 room 4<br>load:0x40078000,len:7416<br>ho 0 tail 12 room 4<br>load:0x40080000,len:8344<br>entry 0x4008037c<br>I (882) spiram: SPI RAM mode: flash 40m sram 40m<br>I (882) spiram: PSRAM initialized, cache is in low/high (2-core) mode.<br>I (883) cpu_start: Pro cpu up.<br>I (887) cpu_start: Starting app cpu, entry point is 0x40081668<br>I (877) cpu_start: App cpu up.<br>I (1785) spiram: SPI SRAM memory test OK<br>I (1786) heap_init: Initializing. RAM available for dynamic allocation:<br>I (1786) heap_init: At 3FFAE6E0 len 00001920 (6 KiB): DRAM<br>I (1793) heap_init: At 3FFBCDA8 len 00023258 (140 KiB): DRAM<br>I (1798) heap_init: At 3FFE0440 len 00003BC0 (14 KiB): D/IRAM<br>I (1805) heap_init: At 3FFE4350 len 0001BCB0 (111 KiB): D/IRAM<br>I (1811) heap_init: At 4009D560 len 00002AA0 (10 KiB): IRAM<br>--</blockquote></blockquote></div></div></div></div>
_______________________________________________<br>
OvmsDev mailing list<br>
<a href="mailto:OvmsDev@lists.openvehicles.com" target="_blank">OvmsDev@lists.openvehicles.com</a><br>
<a href="http://lists.openvehicles.com/mailman/listinfo/ovmsdev" rel="noreferrer" target="_blank">http://lists.openvehicles.com/mailman/listinfo/ovmsdev</a><br>
</blockquote></div>
</div></blockquote><blockquote type="cite"><div dir="ltr"><span>_______________________________________________</span><br><span>OvmsDev mailing list</span><br><span><a href="mailto:OvmsDev@lists.openvehicles.com">OvmsDev@lists.openvehicles.com</a></span><br><span><a href="http://lists.openvehicles.com/mailman/listinfo/ovmsdev">http://lists.openvehicles.com/mailman/listinfo/ovmsdev</a></span><br></div></blockquote></body></html>