Open annndruha opened 3 months ago
Thanks for the quality bug report. I will look into your stack trace this week. Could you share your sketch code or its simplified version that produces the stack trace?
this week.
Of course, this can be a bug in this decoder extension, but for now, you might want to look into https://github.com/dankeboy36/esp-exception-decoder/issues/12.
Shure, full code: NodeMCU_BPM180_DHT11.ino.txt (NodeMCU + BPM180+ DHT11)
Thanks for reply, feel free to close issue because i don't sure that is decoder problem.
I was able to reproduce the error with a smaller traceback!
Because of the server layer, I didn’t find error right away. The error was in this function
float value = bmp.readTemperature();
After move this function in simple loop block:
void loop() {
auto value = bmp.readTemperature();
Serial.println(value);
}
I have a smaller traceback
--------------- CUT HERE FOR EXCEPTION DECODER ---------------
Exception (6):
epc1=0x40203ea4 epc2=0x00000000 epc3=0x00000000 excvaddr=0x00000000 depc=0x00000000
>>>stack>>>
ctx: cont
sp: 3ffffe40 end: 3fffffd0 offset: 0150
3fffff90: 3fffdad0 00000004 3ffee944 402040c4
3fffffa0: 3fffdad0 00000000 3ffeeacc 402011fe
3fffffb0: 3fffdad0 00000000 3ffeeb44 40205e28
3fffffc0: feefeffe feefeffe 3fffdab0 40101095
<<<stack<<<
--------------- CUT HERE FOR EXCEPTION DECODER ---------------
which was successfully decoded:
Exception 6: IntegerDivideByZero: QUOS, QUOU, REMS, or REMU divisor operand is zero
PC: 0x40203ea4: Adafruit_BMP085::computeB5(int) at ...path...
EXCVADDR: 0x00000000
Decoding stack results
0x402040c4: Adafruit_BMP085::readTemperature() at ...path...
0x402011fe: loop() at ...path...
0x40205e28: loop_wrapper() at ...path...
I think, if you want to reproduce full error backtrace you don't need BPM180, because error is shown if wiring is wrong (or missing BPM180).
Hi, while i debug my
NodeMCU
i have a error with stacktrace, i download extension but it seems like it cannot recognize the error format.I tried different copy+paste segments of full exception text, but it seems like cut off exception to fixed lines.
Exception Decoder log:
Can the extension recognize this format?