-
-
Notifications
You must be signed in to change notification settings - Fork 515
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
openDTU crash with 4x HM-1500 from releases after 24.9.30 #2535
Comments
Please provide a log of the serial console when the bug occours.. Otherwise it will not be possible to trace this issue. |
I will try to attach a serial console during the week. The DTU is installed outdoor so I have to dismount it first. |
It took a little longer than expected because I had to find out that the CH340 was broken. I first hat to order a new ESP board. `RX Period End abort() was called at PC 0x4012965c on core 0 Backtrace: 0x40083d9d:0x3ffbed3c |<-CORRUPTED ELF file SHA256: cc2702188b671a14 E (10602) esp_core_dump_flash: Core dump flash config is corrupted! CRC=0x7bd5c66f instead of 0x0 rst:0xc (SW_CPU_RESET),boot:0x13 (SPI_FAST_FLASH_BOOT) Starting OpenDTU |
@tbnobody its scraping of /api/prometheus/metrics that causes the reset. I will try to figure out whats going wrong. |
I bisected the issue down to this: 2878807 is the first bad commit
platformio.ini | 2 +- |
The internal buffer for the AsyncWebServerResponse was changed from a standard char buffer to StringStream between those releases. I will first try 3.7.0 and then if reverting from StringStream back to a char buf the next days. |
In the past, I also saw unexpected openDTU restarts. I'm using one HM-1500. I recorded my observation since mid of last year: opendtu-generic_240930.bin ->sometimes unexpected restart during night (values are zero afterwards) Currently I'm back on 250114. I'm using a LAN OpenDTU HW. |
What happened?
openDTU 25.2.3 crashes periodically (every 30-60 seconds) with 4x HM-1500 attached. With only 2 of the HM 1500 it seems to work.
I was on 24.5.6 before. That worked flawlessly for months. I have gone back from 25.2.3 through all minor releases back to 24.9.30. 24.9.30 is now working for a few hours.
I once obseverd very high heap fragmentation levels (>70%) shortly before the esp crashed. Afaik this is only estimated on ESP32, but might give a hint.
ESP ist ESP32-D0WD-V3.
To Reproduce Bug
OpenDTU on ESP32-D0WD-V3 with more than 2x HM-1500 and software release newer than 24.9.30.
Expected Behavior
ESP should not periodically crash.
Install Method
Pre-Compiled binary from GitHub releases
What git-hash/version of OpenDTU?
25.2.3
What firmware variant (PIO Environment) are you using?
opendtu-generic.bin
Relevant log/trace output
Anything else?
No response
Please confirm the following
The text was updated successfully, but these errors were encountered: