Open SimonESchiller opened 1 year ago
here is the error message
User exception (panic/abort/assert)
--------------- CUT HERE FOR EXCEPTION DECODER ---------------
Panic core_esp8266_main.cpp:215 loop_task
>>>stack>>>
ctx: sys
sp: 3fffeee0 end: 3fffffb0 offset: 0000
3fffeee0: 00000000 00000020 3fff1d3c 40100cba
3fffeef0: 000000fe 00000000 00000000 00000000
3fffef00: 00000000 00000000 00000000 3ffef5f4
3fffef10: c0000000 3fffd9d0 00000000 3ffef5ac
3fffef20: 3fffdad0 00000000 3ffe8674 40210232
3fffef30: 4025d746 3fffdab0 00000000 4021029f
3fffef40: 00000000 3fffdad0 3ffef5ac 4020f954
3fffef50: 40000f49 40000f49 3fffdab0 40000f49
3fffef60: 40000e19 00070745 00000000 00000005
3fffef70: 3fffefc0 aa55aa55 000000f7 40105a45
3fffef80: 40105a4b 00000000 00000005 40100c94
3fffef90: 4010000d 00040000 00070745 401000ac
3fffefa0: 4024d9a8 3fffef3c 4024d961 3ffff738
3fffefb0: 3fffffc0 00000000 00000000 000000ff
3fffefc0: 0000005c 00000001 40105891 3ffede08
3fffefd0: 00000002 00000000 00000020 4010018c
3fffefe0: 40102add feefeffe 00000002 401026b0
3fffeff0: 3ffe9c42 4010592b 3ffed3d8 ffffffff
3ffff000: 00000001 40104b06 3ffede08 0fd1f132
3ffff010: 40104f77 9f8aef9e 411eb149 d14aec82
3ffff020: 40105379 3ffede08 3ffed3d8 00040000
3ffff030: 40104a3f 00000037 00000002 00040000
3ffff040: 00002200 00080000 00000002 feefeffe
3ffff050: 40103908 00080000 feefeffe feefeffe
3ffff060: feefeffe 00000000 feefeffe feefeffe
3ffff070: feefeffe 2c9f0300 4000050c 3fffc278
3ffff080: 401035f0 3fffc200 00000022 feefeffe
3ffff090: 4022d10f 00000030 00000006 ffffffff
.
.
.
.
.
.
3ffffe50: 40215674 00000000 000003e8 4020ebf8
3ffffe60: 00000000 00000000 00000000 4020a150
3ffffe70: 00000000 00000000 3ffef42c 00000000
3ffffe80: 001a001f 00000000 00000000 0015001f
3ffffe90: 00000000 00000000 0030332e 00000000
3ffffea0: 00000000 0014001f 00000000 00000000
3ffffeb0: 000d000f 00000000 00000000 00000000
3ffffec0: 00000000 00000000 000c000f 00000000
3ffffed0: 00000000 000b000f 00000000 00000000
3ffffee0: 001a001f 00000000 3ffef5ac 00000030
3ffffef0: 401006dc 4020443f 00000020 402207c0
3fffff00: 00000000 4020443f 00000058 402207f0
3fffff10: 3ffe9314 00000800 0000004c 40223066
3fffff20: 00f42400 8be4617a 3fff0400 402042e4
3fffff30: 40106321 004538ad 3ffef614 00000000
3fffff40: 3ffeee10 3ffef614 000007d0 3ffef3ac
3fffff50: 00000001 3ffef614 000007d0 4020f9cc
3fffff60: 3fff11f4 0019001f 80000000 3fff1f7c
3fffff70: 02c102cf 80000000 3ffef2f8 402015d1
3fffff80: 00000000 00000000 00000001 4010018c
3fffff90: 3fffdad0 00000000 3ffef598 3ffef5ac
3fffffa0: 3fffdad0 00000000 3ffef598 4020faec
<<<stack<<<
--------------- CUT HERE FOR EXCEPTION DECODER ---------------
ets Jan 8 2013,rst cause:4, boot mode:(3,6)
wdt reset
load 0x4010f000, len 3460, room 16
tail 4
chksum 0xcc
load 0x3fff20b8, len 40, room 4
tail 4
chksum 0xc9
csum 0xc9
v00070750
~ld
Hello Simon, it's not easy to debug without having a test rig here. Anyway, a good way to understand where/who trigger the exception is installing the Exception Decoder:
https://github.com/me-no-dev/EspExceptionDecoder
Following the instructions and once installed, with the Exception Decoder when the ESP(8266/32) throw an exception, the stack trace will be decoded and you can understand all the calls that have fired the exception. I strongly suggest you to use that tool, it's very helpful for debugging such kind of issues. It works with Arduino IDE, but I guess you can found similar tool for other platform (such as PlatformIO, VisualStudio, etc).
Another question: which version of the CTBot library and ESP8266 toolchain are you using?
Cheers,
Stefano
Hello Guys I want to recive messages from CTBot and use the input to control my water boiler. I use a ESP8266 The program runs as expected, but unfrequently the kernel panics when the getNewMessage() is called. Do you know how fix it? Thanks in advance! Simon