[2.7.26] T-Deck MUI: device reboots when opening a direct message from the Nodes screen (any node)

Open
#498 1 comment 0 reactions 0 assignees View on GitHub

Maintainers usually reply within 1 day

Nobody has claimed this yet.

Assessment

Difficulty
4/5
Estimated time
3-5 days
Newbie friendliness
48/100
Issue type
Bug
Clarity
Mostly clear
Activity status
Active
Tech stack
c
Domain
embedded-iot

Research direction

Start by tracing how the Nodes screen opens a direct message on the LilyGO T-Deck, then follow the chat initialization and message log loading paths. Reproduce on firmware version 2.7.26.54e0d8d and capture debug output or a core dump to locate the reset. Done when opening a direct chat with any node displays the chat without rebooting.

Written by the indexing model from the issue text.

Description

Describe the bug
On a LilyGO T-Deck running MUI, opening a private/direct message chat from the Nodes screen makes the device reboot immediately. It happens with any node (including nodes I never chatted with), every time. Normal messaging otherwise works (I sent "ping" and received the reply right before the crash).

No Guru Meditation / abort() / backtrace is printed on the USB serial console before the reset. The next boot reports reset_reason=reset (not brownout, not task/int watchdog). Heap/PSRAM look healthy at boot (free heap ~208 KB, free PSRAM ~8.38 MB), 42 nodes in NodeDB, 8 message log files in /messages/. Happy to test a debug build or provide a core dump if you tell me how.

To Reproduce
Steps to reproduce the behavior:

  1. Go to the 'Nodes' screen
  2. Click on any node
  3. Choose to open a private chat / direct message with it
  4. Device reboots (USB re-enumerates ~2 s after the last log line)

Expected behavior
The direct message chat with the selected node opens.

Screenshots / Photos
N/A

Device (please complete the following information):

  • Type: LilyGO T-Deck (ESP32-S3, 16 MB flash, 8 MB PSRAM)
  • Exact version: 2.7.26.54e0d8d (t-deck-tft)
  • Firmware download source: web-flasher
  • Other attached HW: none (no SD card)

Additional logs
Last lines before the reset, then the reboot (node IDs redacted). Full log available on request.

INFO  | ??:??:?? 265 [DeviceUI] received text message 'pong ...'
DEBUG | ??:??:?? 268 [DeviceUI] PortNum_ROUTING_APP: id:439415ef, from:<peer-node>, to:<my-node>, ch:0, ... requestId:f8c1756a
WARN  | ??:??:?? 268 [DeviceUI] request id 0xf8c1756a not valid (anymore)
DEBUG | ??:??:?? 268 [DeviceUI] routing tag variant: 3, error: 0
DEBUG | ??:??:?? 268 [PacketAPI] Received packet id=12
DEBUG | ??:??:?? 268 [PacketAPI] Got client heartbeat
DEBUG | ??:??:?? 270 [RadioIf] Lora RX (id=0xac04416c fr=<my-node> to=<peer-node>, ... rxSNR=6.75 rxRSSI=-48 hopStart=2)
DEBUG | ??:??:?? 270 [Router] Rx someone rebroadcasting for us (id=0xac04416c ...)
DEBUG | ??:??:?? 270 [Router] Ignore dupe incoming msg (id=0xac04416c ...)
DEBUG | ??:??:?? 270 [Router] cancelSending id=0xac04416c, removed=0
DEBUG | ??:??:?? 270 [Router] Incoming msg was filtered from <my-node>
   <-- here I opened the DM from the Nodes screen; device resets, USB disconnects -->
INFO  | ??:??:?? 1 Booted, wake cause 0 (boot count 1), reset_reason=reset
INFO  | ??:??:?? 3 S:B:50,2.7.26.54e0d8d,t-deck-tft,meshtastic/firmware
Dominant language
C
Stars
499
Forks
125
Avg merge
1d 5h
Merged PRs (30d)
38

Getting set up

Open in Codespaces

Starts the project's dev container in your browser, under your own GitHub account.

  • No Dockerfile or Docker Compose file
  • No pull request template
  • No contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from meshtastic/device-ui

All issues in meshtastic/device-ui

Similar issues

More C issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.