-
Notifications
You must be signed in to change notification settings - Fork 689
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
[Bug]: 220 byte message causes Heltec to reboot #3573
Comments
Tried it, works on Heltec and Rak, heres a serial dump from the heltec
|
I believe this has been resolved I followed the steps and could not reproduce using the same steps on the iOS and my Heltec V3. I wonder if removing some of the unishox2 logging statements resolved this one inadvertently |
Can confirm resolved within the 2.3.6 alpha |
@thebentern are you referring to firmware 2.3.6 alpha? I reported this at 2.3.2 stable and tested now on 2.3.4 stable following both a non-destructive upgrade and a full erase upgrade, and it continued to happen (traces below if of interest). I then tested again after a full erase upgrade to 2.3.6 alpha and it no longer happened and the messages were being sent. Sending the base64 fragment following non-destructive upgrade from 2.3.2 stable to 2.3.4 stable
Sending the base64 fragment following full erase reflash of 2.3.4 stable
Sending the base64 fragment following full erase upgrade from 2.3.4 stable to 2.3.6 alphaMessage was sent without issue. NotesThe first two consoles have the entry |
Yes, the change I was referring to actually would have been present in 2.3.5 as well. #3606 |
Nice one, thanks for confirming. I'm finding 2.3.6 seems to be much better at acquiring new nodes (100 in 40 mins vs many hours or days previously). Not sure if it's relevant to that change you mentioned or even partly imagined! Regarding the earlier crashes, hopefully those traces are of interest as a future reference. Looks like the strings were causing corruption, something overflowing perhaps. |
Indeed. When we re-introduce unishox2 for text compression in 3.0, I would like to re-run these as test cases. |
By all means give me a shout if you'd like me to help test anything, happy to assist. Thanks. |
Category
Other
Hardware
Heltec V3
Firmware Version
2.3.2.63df972 Beta (Stable)
Description
Heltec v3.1
Meshtastic firmware 2.3.2.63df972 Beta (Stable)
iOS app 2.3.3 (893)
Experimenting with a friend, sending a tiny base64-encoded jpg file over direct message. The file was base64 encoded and the text split into 220 byte sections. Each of these sections, one at a time, were copied and pasted into a message and sent within the iOS app. Each part was received and relayed without any problems, except for one part.
This one part, when pressing Send on the message, causes the Heltec to reboot. The contents of this part are as follows:
Edit - trying other 220 byte strings to see if special characters or ending in a + was relevant, and this randomly generated mixed-case alpha numeric string also causes the same reboot
On the surface it looks like a buffer problem, however both messages are 220 bytes and that is within the the 228 byte limit presented by the app.
The text was updated successfully, but these errors were encountered: