-
-
Notifications
You must be signed in to change notification settings - Fork 224
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Exception causing reboot with version 0.8.123 [Bug] #1650
Comments
the exception says that you're out of memory. How many inverters do have configured? |
It would be of interest which value you see for free heap in |
2 inverters polling with 15 secs. I guess it's the webserver-library update... |
I think it is related to the change in |
I tried this fixed version and got no exception so far. |
I tried 240530_ahoy_0.8.123_8d4ca49_esp32-wroom32-de.bin and had similar problems with the webserver. Webpages were loading and reacting very slowly and delayed. Then I went back to 240523_ahoy_0.8.122_4ca0562_esp32-wroom32-de.bin and the webserver works like a charme again. |
After finding out how to capture the serial output of the ESP8266 when connected to a FritzBox I was now also able to record the C++ exception running the GIT SHA: 3c0c8ee :: 0.8.129. I have one inverter connected. env: esp8266-all
Of course I had these issues with different power supplies, cables and capacitors connected. |
@SvenLuebke please enclose your code block in [/] Slash commands Details. Regarding the Exception you posted you have to Decode it using the ESP Exception Decoder in Arduino. You will also need the binary / header files in order to decode the symbols on the stack. |
@stefan123t Do you really mean me? I tried to do it, but the result is exactly the same (starting with three `). Thanks for the hint. I will try to decode the exception using the decoder. |
[Sorry for the German. Now the same feedback in English.] The current 0.8.129 is also instable for me. I am now back to the 121 that I previously tested. This is the last stable and performant version I had. I am not so familiar with ESP microcontrollers (started with 68hc11 and did Arduinos lately), but I can try to test or check something if I get a hint (what and how). |
Thanks for the hint, 'll also try that version! I'm glad, that I'm not the only one with these problems. But...as some people seem to be very happy, I thought about whether my ESP8266 (from AliExp***) might be corrupt, but I already also changed the complete ESP8266 board (although: same order) and NRF24L01 board with no improvements. So it might be
I'll try the 121 now and will record the serial again.... BR, |
I can now confirm, that the web-interface is broken since the 123 version. So apparently the updated AsyncWebserver library to 3.2.2 does not work properly on a ESP8266. |
@SvenLuebke thanks for using the triple backticks (before and after the code block), this formats the code in pre-formatted / ASCII mode. If you use the [/] Slash command Detaila it will add some html code to collapse your text / code block to make the issue even more readable. @steve-zero thanks for hinting to your use of the ESP8266. A lot of the pages served by the ESPAsyncWebServer have to be put together by concatenating large string objects in the ESP memory. This can easily exceed the Heap/Stack for these tiny MCUs. So yes this is a Bug and should be treated as such, but I expect that the only apparent solution could be to diaable aome of the functionality on the ESP8266 vs the beefier ESP32. @lumapu may eg need to restrict the History graph to the ESP32 port/platform. But also the MQTT messagea have to be string'ed together. |
I got V0.8.101 now running for 71 days without reboot - polling 2 inverters (10s), no mqqt, but requesting values by rest-api (each 10s one inverter-data, alternating). (on esp8266) |
Platform
ESP8266
Assembly
I did the assebly by myself
nRF24L01+ Module
No response
Antenna
circuit board
Power Stabilization
Elko (~100uF)
Connection picture
Version
0.8.123
Github Hash
8d4ca49
Build & Flash Method
AhoyDTU Webinstaller
Setup
no mqtt
Debug Serial Log output
No response
Error description
DTU infrequently throws exception leading to reboot - my guess, it's related to webserver (if you try refreshing a page).
Here is the log:
User exception (panic/abort/assert)
--------------- CUT HERE FOR EXCEPTION DECODER ---------------
Unhandled C++ exception: OOM
ctx: sys
sp: 3fffee20 end: 3fffffb0 offset: 0010
3fffee30: 3fffbe74 4022973c 00000144 4023fbbc
3fffee40: 40277299 3fff2830 3fffbe74 4023021e
3fffee50: 3fffbe74 3fff2830 3fffba7c 401001e5
3fffee60: 3fff2830 3fffbe74 00000000 00000000
3fffee70: 00000000 3fff2830 3fffba7c 402297ea
3fffee80: 3fff9000 3fff8ff4 3fffb1bc 3fff54d0
3fffee90: 3fffba7c 3fff54d4 3fff54d5 40255484
3fffeea0: 40256a80 4028b2b8 00000020 401010c0
3fffeeb0: 00000010 00000000 00036978 40252225
3fffeec0: 00000000 00000016 3ffe85f8 3fff5214
3fffeed0: 3fff5488 3fffb1da 3fffb1bc 4025a861
3fffeee0: 00000014 3fff5214 00000000 40252225
3fffeef0: 00000000 000006ef 3ffe85f8 40100d3e
3fffef00: 402771a8 3fff8ff4 3fff5c5c 3fff7074
3fffef10: 3fff5214 00000008 3fffb1bc 402518e9
3fffef20: 3fffdc80 3fff5c5c 3fff8ff4 402516fc
3fffef30: 4027a36d 3fff5c5c 3fff8ff4 4027a37f
3fffef40: 3fffb1cc 3fffb1bc 00000000 3fffdab0
3fffef50: 40276dd7 00000000 3fff8ff4 4027b65f
3fffef60: 40000f49 3fffdab0 3fffdab0 40000f49
3fffef70: 40000e19 0009b47f bff00000 0000bfff
3fffef80: 00000005 aa55aa55 000000ed 40105cbd
3fffef90: 40105cc3 bff00000 0000bfff 8402d7b1
3fffefa0: 4010000d bff00000 0009b47f 401000ab
3fffefb0: 4026b968 3fffef4c 4026b919 3fffff98
3fffefc0: 3fffffd0 00000000 00000000 feefeffe
3fffefd0: feefeffe feefeffe feefeffe feefeffe
3fffefe0: feefeffe feefeffe feefeffe feefeffe
3fffeff0: feefeffe feefeffe feefeffe feefeffe
3ffff000: feefeffe feefeffe feefeffe feefeffe
3ffff010: feefeffe feefeffe feefeffe feefeffe
3ffff020: feefeffe feefeffe feefeffe feefeffe
3ffff030: feefeffe feefeffe feefeffe feefeffe
3ffff040: feefeffe feefeffe feefeffe feefeffe
3ffff050: feefeffe feefeffe feefeffe feefeffe
3ffff060: feefeffe feefeffe feefeffe feefeffe
3ffff070: feefeffe feefeffe feefeffe feefeffe
3ffff080: feefeffe feefeffe feefeffe feefeffe
3ffff090: feefeffe feefeffe feefeffe feefeffe
3ffff0a0: feefeffe feefeffe feefeffe feefeffe
3ffff0b0: feefeffe feefeffe feefeffe feefeffe
3ffff0c0: feefeffe feefeffe feefeffe feefeffe
3ffff0d0: feefeffe feefeffe feefeffe feefeffe
3ffff0e0: feefeffe feefeffe feefeffe feefeffe
3ffff0f0: feefeffe feefeffe feefeffe feefeffe
3ffff100: feefeffe feefeffe feefeffe feefeffe
3ffff110: feefeffe feefeffe feefeffe feefeffe
3ffff120: feefeffe feefeffe feefeffe feefeffe
3ffff130: feefeffe feefeffe feefeffe feefeffe
3ffff140: feefeffe feefeffe feefeffe feefeffe
3ffff150: feefeffe feefeffe feefeffe feefeffe
3ffff160: feefeffe feefeffe feefeffe feefeffe
3ffff170: feefeffe feefeffe feefeffe feefeffe
3ffff180: feefeffe feefeffe feefeffe feefeffe
3ffff190: feefeffe feefeffe feefeffe feefeffe
3ffff1a0: feefeffe feefeffe feefeffe feefeffe
3ffff1b0: feefeffe feefeffe feefeffe feefeffe
3ffff1c0: feefeffe feefeffe feefeffe feefeffe
3ffff1d0: feefeffe feefeffe feefeffe feefeffe
3ffff1e0: feefeffe feefeffe feefeffe feefeffe
3ffff1f0: feefeffe feefeffe feefeffe feefeffe
3ffff200: feefeffe feefeffe feefeffe feefeffe
3ffff210: feefeffe feefeffe feefeffe feefeffe
3ffff220: feefeffe feefeffe feefeffe feefeffe
3ffff230: feefeffe feefeffe feefeffe feefeffe
3ffff240: feefeffe feefeffe feefeffe feefeffe
3ffff250: feefeffe feefeffe feefeffe feefeffe
3ffff260: feefeffe feefeffe feefeffe feefeffe
3ffff270: feefeffe feefeffe feefeffe feefeffe
3ffff280: feefeffe feefeffe feefeffe feefeffe
3ffff290: feefeffe feefeffe feefeffe feefeffe
3ffff2a0: feefeffe feefeffe feefeffe feefeffe
3ffff2b0: feefeffe feefeffe feefeffe feefeffe
3ffff2c0: feefeffe feefeffe feefeffe feefeffe
3ffff2d0: feefeffe feefeffe feefeffe feefeffe
3ffff2e0: feefeffe feefeffe feefeffe feefeffe
3ffff2f0: feefeffe feefeffe feefeffe feefeffe
3ffff300: feefeffe feefeffe feefeffe feefeffe
3ffff310: feefeffe feefeffe feefeffe feefeffe
3ffff320: feefeffe feefeffe feefeffe feefeffe
3ffff330: feefeffe feefeffe feefeffe feefeffe
3ffff340: feefeffe feefeffe feefeffe feefeffe
3ffff350: feefeffe feefeffe feefeffe feefeffe
3ffff360: feefeffe feefeffe feefeffe feefeffe
3ffff370: feefeffe feefeffe feefeffe feefeffe
3ffff380: feefeffe feefeffe feefeffe feefeffe
3ffff390: feefeffe feefeffe feefeffe feefeffe
3ffff3a0: feefeffe feefeffe feefeffe feefeffe
3ffff3b0: feefeffe feefeffe feefeffe feefeffe
3ffff3c0: feefeffe feefeffe feefeffe feefeffe
3ffff3d0: feefeffe feefeffe feefeffe feefeffe
3ffff3e0: feefeffe feefeffe feefeffe feefeffe
3ffff3f0: feefeffe feefeffe feefeffe feefeffe
3ffff400: feefeffe feefeffe feefeffe feefeffe
3ffff410: feefeffe feefeffe feefeffe feefeffe
3ffff420: feefeffe feefeffe feefeffe feefeffe
3ffff430: feefeffe feefeffe feefeffe feefeffe
3ffff440: feefeffe feefeffe feefeffe feefeffe
3ffff450: feefeffe feefeffe feefeffe feefeffe
3ffff460: feefeffe feefeffe feefeffe feefeffe
3ffff470: feefeffe feefeffe feefeffe feefeffe
3ffff480: feefeffe feefeffe feefeffe feefeffe
3ffff490: feefeffe feefeffe feefeffe feefeffe
3ffff4a0: feefeffe feefeffe feefeffe feefeffe
3ffff4b0: feefeffe feefeffe feefeffe feefeffe
3ffff4c0: feefeffe feefeffe feefeffe feefeffe
3ffff4d0: feefeffe feefeffe feefeffe feefeffe
3ffff4e0: feefeffe feefeffe feefeffe feefeffe
3ffff4f0: feefeffe feefeffe feefeffe feefeffe
3ffff500: feefeffe feefeffe feefeffe feefeffe
3ffff510: feefeffe feefeffe feefeffe feefeffe
3ffff520: feefeffe feefeffe feefeffe feefeffe
3ffff530: feefeffe feefeffe feefeffe feefeffe
3ffff540: feefeffe feefeffe feefeffe feefeffe
3ffff550: feefeffe feefeffe feefeffe feefeffe
3ffff560: feefeffe feefeffe feefeffe feefeffe
3ffff570: feefeffe feefeffe feefeffe feefeffe
3ffff580: feefeffe feefeffe feefeffe feefeffe
3ffff590: feefeffe feefeffe feefeffe feefeffe
3ffff5a0: feefeffe feefeffe feefeffe feefeffe
3ffff5b0: feefeffe feefeffe feefeffe feefeffe
3ffff5c0: feefeffe feefeffe feefeffe feefeffe
3ffff5d0: feefeffe feefeffe feefeffe feefeffe
3ffff5e0: feefeffe feefeffe feefeffe feefeffe
3ffff5f0: feefeffe feefeffe feefeffe feefeffe
3ffff600: feefeffe feefeffe feefeffe feefeffe
3ffff610: feefeffe feefeffe feefeffe feefeffe
3ffff620: feefeffe feefeffe feefeffe feefeffe
3ffff630: feefeffe feefeffe feefeffe feefeffe
3ffff640: feefeffe feefeffe feefeffe feefeffe
3ffff650: feefeffe feefeffe feefeffe feefeffe
3ffff660: feefeffe feefeffe feefeffe feefeffe
3ffff670: feefeffe feefeffe feefeffe feefeffe
3ffff680: feefeffe feefeffe feefeffe feefeffe
3ffff690: feefeffe feefeffe feefeffe feefeffe
3ffff6a0: feefeffe feefeffe feefeffe feefeffe
3ffff6b0: feefeffe feefeffe feefeffe feefeffe
3ffff6c0: feefeffe feefeffe feefeffe feefeffe
3ffff6d0: feefeffe feefeffe feefeffe feefeffe
3ffff6e0: feefeffe feefeffe feefeffe feefeffe
3ffff6f0: feefeffe feefeffe feefeffe feefeffe
3ffff700: feefeffe feefeffe feefeffe feefeffe
3ffff710: feefeffe feefeffe feefeffe feefeffe
3ffff720: feefeffe feefeffe feefeffe feefeffe
3ffff730: feefeffe feefeffe feefeffe feefeffe
3ffff740: feefeffe feefeffe feefeffe feefeffe
3ffff750: feefeffe feefeffe feefeffe feefeffe
3ffff760: feefeffe feefeffe feefeffe feefeffe
3ffff770: feefeffe feefeffe feefeffe feefeffe
3ffff780: feefeffe feefeffe feefeffe feefeffe
3ffff790: feefeffe feefeffe feefeffe feefeffe
3ffff7a0: feefeffe feefeffe feefeffe feefeffe
3ffff7b0: feefeffe feefeffe feefeffe feefeffe
3ffff7c0: feefeffe feefeffe feefeffe feefeffe
3ffff7d0: feefeffe feefeffe feefeffe feefeffe
3ffff7e0: feefeffe feefeffe feefeffe feefeffe
3ffff7f0: feefeffe feefeffe feefeffe feefeffe
3ffff800: feefeffe feefeffe feefeffe feefeffe
3ffff810: feefeffe feefeffe feefeffe feefeffe
3ffff820: feefeffe feefeffe feefeffe feefeffe
3ffff830: feefeffe feefeffe feefeffe feefeffe
3ffff840: feefeffe feefeffe feefeffe 3ffe8368
3ffff850: 00000000 00000000 3ffff9c0 4024d3c4
3ffff860: 3fff6870 3ffff953 00000000 feefeffe
3ffff870: 00000000 00000000 0000001f 401005f8
3ffff880: 4000b570 3ffe8368 3fffc228 40106455
3ffff890: 00000000 00000000 00000000 00000000
3ffff8a0: 00000000 00000000 00000000 00000000
3ffff8b0: 00000000 00000000 00000000 00000000
3ffff8c0: 00000000 00000000 00000000 00000000
3ffff8d0: 38322446 c77a4006 9a9e8d01 4c9eb7c3
3ffff8e0: 51cf6bcb 64ce2891 9bb028b1 92893731
3ffff8f0: a05bb0b8 69ea541d 1fff7c50 50dcdad8
3ffff900: 4000b5f9 00000008 00000038 3ffff9e0
3ffff910: 00000008 3ffff9e0 8b70afb2 709cd769
3ffff920: cda31026 66d18ab3 2850a8f2 75ab3e00
3ffff930: 2e5a4808 68b1f30d 6f3c5282 47f5073d
3ffff940: 81e27f64 d77f86dd 5f57043c 82cfc1db
3ffff950: 41d8f728 d49b6b96 f52f671a d2b08b62
3ffff960: 92d20c41 17e11c52 368c45d9 785c2b98
3ffff970: 8c443d49 4f91f3a7 b6417c64 8f38e0a6
3ffff980: 99bd455e 8acadc5d 67e6620c 71b1efb6
3ffff990: 4000b62e c25d480b bfecb72d 9020cfde
3ffff9a0: 3ffff9e2 3ffff9e0 3ffffb70 00000001
3ffff9b0: 3fff6a44 402387c4 00000020 401010c0
3ffff9c0: 3ffffa22 00000002 0000000c 4023fba7
3ffff9d0: 3fff6a44 00000034 3ffffe70 3ffffe70
3ffff9e0: 00000000 00000012 00000001 402393bd
3ffff9f0: 3fff6a44 3ffffe70 3ffffa10 402396c2
3ffffa00: 3fff6a44 00000000 3fff4b48 4023987c
3ffffa10: 74685f05 5f047074 05706374 61636f6c
3ffffa20: 0000006c 00000000 00000000 00000000
3ffffa30: 00000000 00000000 00000000 00000000
3ffffa40: 00000000 00000000 00000000 00000000
3ffffa50: 00000000 00000000 00000000 00000000
3ffffa60: 00000000 00000000 00000000 00000000
3ffffa70: 00000000 00000000 00000000 00000000
3ffffa80: 00000000 00000000 00000000 00000000
3ffffa90: 3ffffad1 00000000 00000000 00000000
3ffffaa0: 00000000 00000000 00000000 3ffffe70
3ffffab0: 00000000 00000001 00000001 402393bd
3ffffac0: 3fff6a44 00000000 3ffffe70 402393ea
3ffffad0: 00000052 00000000 00000000 00000000
3ffffae0: 00000000 00000000 00000000 40239502
3ffffaf0: 00000000 00000000 3fff4b48 40239831
3ffffb00: 00000000 00000000 00000000 00000000
3ffffb10: 00000000 00000000 00000000 00000000
3ffffb20: 00000000 00000000 00000000 00000000
3ffffb30: 00000000 00000000 00000000 00000000
3ffffb40: 00000000 00000000 00000000 00000000
3ffffb50: 00000000 00000000 00000000 00000000
3ffffb60: 3ffeba05 40105bbb 3ffef468 00000000
3ffffb70: 401034af 3ffef468 00000000 00000000
3ffffb80: 00000000 00000000 0000001f 401005f8
3ffffb90: 3ffec28c 00000000 3fffc228 40106455
3ffffba0: 4000050c 0bcf708f 40103b46 00000100
3ffffbb0: 40247d38 00000030 00000010 ffffffff
3ffffbc0: 4024803d 3ffe8368 00000400 00000000
3ffffbd0: 3ffffc20 4081c5d3 00000000 4024d0ee
3ffffbe0: 0011c5d3 00000005 00000008 a0000000
3ffffbf0: 3ffffc24 40339999 a0000000 00000030
3ffffc00: 00000005 7fcfedff 00000020 3ffe8368
3ffffc10: 00000002 00000000 0000000a 00000000
3ffffc20: 00000002 00000000 0000000a 00000000
3ffffc30: 00000008 00000000 0000000a 00000000
3ffffc40: 00000000 a0000000 00000000 0000001c
3ffffc50: 00002000 a0000000 00002000 3ffe8368
3ffffc60: 00000000 00000000 3ffffdd0 4024d3c4
3ffffc70: 3ffffd61 3ffffd63 00000000 4024d3c4
3ffffc80: 00000005 00000000 402488b5 3ffe8368
3ffffc90: 00000002 00000000 3ffffdd0 4024d3c4
3ffffca0: 4024d300 3ffffd61 00000002 00000000
3ffffcb0: 401034af 3ffef468 40201588 3ffffdd0
3ffffcc0: 3ffe8aed 00000000 3ffffd20 402489e4
3ffffcd0: 00000002 00000000 00000000 3ffe8368
3ffffce0: 00000001 3ffe8368 3ffffdd0 4024d3c4
3ffffcf0: 00000000 3ffe8aed 00000001 00000000
3ffffd00: 00000001 00000080 00000022 3ffe8aee
3ffffd10: 3ffe8aed 3ffe8368 3ffffdd0 4024d5c1
3ffffd20: 00000000 ffffffff ffffffff 00000000
3ffffd30: 00000002 00000003 00302064 00000001
3ffffd40: 4020a109 00000030 0000001c ffffffff
3ffffd50: 00000005 00000000 00000020 401005f8
3ffffd60: 0000005c 00000001 00000005 40102924
3ffffd70: 00000005 00000000 00000020 401005f8
3ffffd80: 401034af 3ffef468 00000005 40102924
3ffffd90: 3ffeba05 40105bbb 3ffef468 4010368c
3ffffda0: 401034af 3ffef468 00000000 000000f7
3ffffdb0: 00007fff 0d52a946 3ffefd9c 4010368c
3ffffdc0: 3ffec2bc 00000000 00000000 00000001
3ffffdd0: 00007fff 0d52a946 40103b46 00000100
3ffffde0: 3ffec2bc 7fffffff 00002200 00000001
3ffffdf0: 00000001 00004288 3ffef120 401005f8
3ffffe00: 3ffec2bc 40104d7e 3ffefbc8 0d52a946
3ffffe10: 3ffec28c 2c9f0300 4000050c 3fffc278
3ffffe20: 40103868 3fffc200 00000022 00000000
3ffffe30: 4010074f 00000030 00000010 ffffffff
3ffffe40: 40100744 00000000 00036921 00000d52
3ffffe50: 00000041 21f1c5a4 00000000 fffffffe
3ffffe60: 0000074f 3fffc6fc 5ad7c5a4 00000000
3ffffe70: 00036921 25e353f7 03f18e53 00000030
3ffffe80: 40103868 3fffc200 00000022 401005f8
3ffffe90: 00000000 00000000 0000001f 401005f8
3ffffea0: 40000ea3 00000023 3fffc228 40106455
3ffffeb0: 4000050c 00000000 3fffd9d0 3fff4e04
3ffffec0: 4023ffcb 00000030 00000010 ffffffff
3ffffed0: 4023ffcb feefeffe feefeffe feefeffe
3ffffee0: 00000000 00000000 00000000 fffffffe
3ffffef0: 4023d7f4 3fffc6fc 00000001 3fff4dd8
3fffff00: 00000000 3fffdad0 3fff4e04 00000030
3fffff10: 00000000 3fffdad0 3fff4e04 00000030
3fffff20: 00000000 00036921 25e353f7 03f18e53
3fffff30: 3fff1394 3fff1464 4023fe32 3fff4e04
3fffff40: 3fffdad0 00000000 3fff1094 4020a4b1
3fffff50: 01010101 01010101 00010101 00000000
3fffff60: 00000000 00000000 00000000 3fff0000
3fffff70: 3fffdad0 00000000 3fff1090 40100169
3fffff80: 00000000 3fff2090 4020a96c 3fff4e04
3fffff90: 00000000 00000000 3ffe85f4 00000000
3fffffa0: 3fffdad0 3fff4e04 4023fe32 3fffefb0
<<<stack<<<
last failed alloc call: 4023021E(324)
--------------- CUT HERE FOR EXCEPTION DECODER ---------------
last failed alloc caller: 0x4023021e
The text was updated successfully, but these errors were encountered: