firmware
firmware copied to clipboard
[Bug]: "emoji" short names crashing Heltec V3 in "client" mode
Category
Other
Hardware
Heltec V3
Firmware Version
2.3.15.deb7c27
Description
On a deployed mesh, I have four nodes which use Heltec V3, all in client mode, OLED display enabled, MQTT disabled, GPS and all sensor-modes disabled for debugging.
The nodes had long names set to "Tanglewild Fire" "Tanglewild Strawberry" "Tanglewild TRK01" and "Tanglewild TRK02" respectively
The nodes had short names set to "🔥, 🍓, 📻, 👻" respectively.
I attempted to capture a debug log, but the crash is occurring somewhere before an output is created in debug. I am currently attempting root-cause analysis by adding more debug code around areas where the short name is used.
I was getting rapid boot loops on all four nodes after updating to 2.3.15 which I was not getting in 2.3.14. Changing the short names to "fire, strb, trk1, trk2" caused the nodes to continue operating normally. Doing so required shutting down all but the node being updated so my assumption is that this crash is occurring somewhere during one of:
- construction of the node name for transmission
- reading of the node name from flash/ram
- transmission of the node name to another node
- display of a node name on the OLED display
Since this is not occuring in 2.1.14 I am looking at the difference patch-set between .14-.15. There is a small chance this issue is around the deprecation of the client+router mode, but I'm somewhat doubtful that is the root cause.
Relevant log output
Gathering debug logs - will update once more I have implemented more debug code harnesses around short-name handling.
My first thought is https://github.com/meshtastic/firmware/pull/4134, even if it sounds a bit unrelated. I'll dig into it too later today.
I'm having trouble replicating the issue here, although I don't have the exact same hardware for testing either, sorry. Two quick thoughts:
- are you building with either the
OLED_UAorOLED_RUflag? - have you tried erasing the flash before installing 2.3.15?
Is erasing the flash a prerequisite for 2.3.15? I will do so.
On Sat, Jul 20, 2024 at 10:54 PM todd-herbert @.***> wrote:
I'm having trouble replicating the issue here, although I don't have the exact same hardware for testing either, sorry. Two quick thoughts:
- are you building with either the OLED_UA or OLED_RU flag?
- have you tried erasing the flash before installing 2.3.15?
— Reply to this email directly, view it on GitHub https://github.com/meshtastic/firmware/issues/4309#issuecomment-2241450250, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAB5KKLR23AXL5IXLOUU6SLZNMWGZAVCNFSM6AAAAABLGBMJAOVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDENBRGQ2TAMRVGA . You are receiving this because you authored the thread.Message ID: @.***>
Is erasing the flash a prerequisite for 2.3.15? I will do so.
It really shouldn't be, it's just one of the first things I try myself if I get weird behaviour. Although, the fact that you're seeing the same issue on multiple nodes does make it sound more like a firmware bug.
I'm very interested to hear if you find any clues!
My short name is 🤔 and I haven't noticed any crashes. Running .15 on a heltec v3. I did full erase before updating.
Pretty vanilla otherwise but willing to help if I can!
Erasing the flash prior to upgrading to 2.3.15 does seem to have alleviated the issue on the Heltec V3 I just tried. Will continue to test and get back on this.
Hi @martinbogo . Have you had time to look into this further? Otherwise, since yours is working now, maybe we should close this :)
Yeah definitely close it.
On Sun, Sep 15, 2024 at 7:36 AM Tom Fifield @.***> wrote:
Hi @martinbogo https://github.com/martinbogo . Have you had time to look into this further? Otherwise, since yours is working now, maybe we should close this :)
— Reply to this email directly, view it on GitHub https://github.com/meshtastic/firmware/issues/4309#issuecomment-2351573884, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAB5KKNGZJXKO7VWPXYB3IDZWV5LRAVCNFSM6AAAAABLGBMJAOVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDGNJRGU3TGOBYGQ . You are receiving this because you were mentioned.Message ID: @.***>