whitecatboard / Lua-RTOS-ESP32

Lua RTOS for ESP32
Other
1.19k stars 221 forks source link

'dmesg' shell command causes Guru Meditation Error #36

Closed jcwren closed 7 years ago

jcwren commented 7 years ago

'dmesg' command causes Lua to reset

\ > dmesg
Guru Meditation Error of type LoadProhibited occurred on core  0. Exception was unhandled.
Register dump:
PC      : 0x4000c619  PS      : 0x00060230  A0      : 0x80082c86  A1      : 0x3ffcb860  
A2      : 0x00000000  A3      : 0x3f404ffc  A4      : 0x0000000a  A5      : 0x3ffae4f4  
A6      : 0xfffffffc  A7      : 0x00000000  A8      : 0x00000000  A9      : 0x3ffcb840  
A10     : 0x3ffae0ac  A11     : 0x3ffcd188  A12     : 0x00000004  A13     : 0x00000000  
A14     : 0x0000001f  A15     : 0x00000000  SAR     : 0x0000001b  EXCCAUSE: 0x0000001c  
EXCVADDR: 0x00000000  LBEG    : 0x4000c46c  LEND    : 0x4000c477  LCOUNT  : 0xffffffff  

Backtrace: 0x4000c619:0x3ffcb860 0x40082c86:0x3ffcb880 0x40128c79:0x3ffcb8a0 0x40128d08:0x3ffcb8d0 0x4010bad8:0x3ffcb8f0 0x4010bbb4:0x3ffcb920 0x40104bc3:0x3ffcb940 0x40104e05:0x3ffcb970 0x40104e2c:0x3ffcb990 0x400ff7b0:0x3ffcb9b0 0x40104810:0x3ffcb9d0 0x40104f91:0x3ffcba50 0x40100334:0x3ffcba80 0x400fa1d4:0x3ffcbab0 0x401116ce:0x3ffcbc80 0x40111827:0x3ffcbe00 0x40111a10:0x3ffcbe30 0x40104bc3:0x3ffcbe60 0x40104e05:0x3ffcbe90 0x40104e2c:0x3ffcbeb0 0x400ff7b0:0x3ffcbed0 0x40104810:0x3ffcbef0 0x40104f91:0x3ffcbf70 0x40100334:0x3ffcbfa0 0x40111a4f:0x3ffcbfd0 0x401391a2:0x3ffcbff0 0x400f9541:0x3ffcc010

Rebooting...
ets Jun  8 2016 00:22:57

rst:0x10 (RTCWDT_RTC_RESET),boot:0x13 (SPI_FAST_FLASH_BOOT)
configsip: 0, SPIWP:0x00
clk_drv:0x00,q_drv:0x00,d_drv:0x00,cs0_drv:0x00,hd_drv:0x00,wp_drv:0x00
mode:DIO, clock div:2
load:0x3fff0008,len:8
load:0x3fff0010,len:2380
ho 0 tail 12 room 4
load:0x40078000,len:9088
load:0x40080000,len:252
entry 0x40080034
ÿBooting Lua RTOS...
  /\       /\
 /  \_____/  \
/_____________\
W H I T E C A T

Lua RTOS beta 0.1 build 1495202299 Copyright (C) 2015 - 2017 whitecatboard.org
board type ESP32THING
cpu ESP32 rev 0 at 240 Mhz
spiffs0 start address at 0x180000, size 512 Kb
spiffs0 mounted

Lua RTOS beta 0.1 powered by Lua 5.3.4

Executing /system.lua ...
Executing /autorun.lua ...

/ > 
jolivepetrus commented 7 years ago

Hi @jcwren,

This is solved in https://github.com/whitecatboard/Lua-RTOS-ESP32/commit/e65bbf774e9c68de69dda0c032b4853b30f1f2a3. Thanks for report this.