Skip to content

RouteJon Crash Fix#16

Merged
TimoWielink merged 1 commit into
Project-Owl:phoenix-2026from
TimoWielink:route-json-crash-fix
Jun 15, 2026
Merged

RouteJon Crash Fix#16
TimoWielink merged 1 commit into
Project-Owl:phoenix-2026from
TimoWielink:route-json-crash-fix

Conversation

@TimoWielink

Copy link
Copy Markdown
Member

This fixes a crash in MamaDuck route-packet handling on ESP32. RouteJSON was converting ArduinoJson::JsonDocument to std::string via json.asstd::string(), which shows up in the crash backtrace and appears to corrupt heap state during routed RX processing.
The change switches those conversions to explicit serializeJson(...), which is the safer/standard way to materialize JSON text on this target.

Signed-off-by: TimoWielink <timowielink@gmail.com>
@TimoWielink TimoWielink merged commit 75e2d82 into Project-Owl:phoenix-2026 Jun 15, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant