arendst / Tasmota

Alternative firmware for ESP8266 and ESP32 based devices with easy configuration using webUI, OTA updates, automation using timers or rules, expandability and entirely local control over MQTT, HTTP, Serial or KNX. Full documentation at
https://tasmota.github.io/docs
GNU General Public License v3.0
21.73k stars 4.72k forks source link

tasmota32 freezing after displaytext more than 128 characters #21401

Closed roschuba closed 1 month ago

roschuba commented 2 months ago

PROBLEM DESCRIPTION

A clear and concise description of what the problem is. Tasmota32 ist freezing after a displaytext command with more than 128 characters to display.

REQUESTED INFORMATION

Make sure your have performed every step and checked the applicable boxes before submitting your issue. Thank you!

- [ ] If using rules, provide the output of this command: `Backlog Rule1; Rule2; Rule3`:
```lua
  Rules output here:
- [x] Set `weblog` to 4 and then, when you experience your issue, provide the output of the Console log:
```lua
  Console output here:
No output - immediate freezing of Tasmota

TO REPRODUCE

Steps to reproduce the behavior: Console command:

displaytext [f1l2c1Ci11Bi14p34]1...5...10...15...20...25...30...35...40...45...50...55...60...65...70...75...80...85...90...95..100..105..110..115..120..125..130

EXPECTED BEHAVIOUR

A clear and concise description of what you expected to happen. The character string should be truncated to prevent freezing.

SCREENSHOTS

If applicable, add screenshots to help explain your problem.

ADDITIONAL CONTEXT

Add any other context about the problem here.

(Please, remember to close the issue when the problem has been addressed)

arendst commented 1 month ago

As we enabled the watchdog timer for ESP32 in v14.0.0.1 the freeze should now result in a watchdog restart. The same command does indeed start the watchdog on an ESP8266.

I'll fix the watchdog by fixing the command displaytext now.