Random crashing from free() #80

Closed
opened 2026-10-05 03:19:55 +02:00 by adam · 7 comments
Owner

Hi, I’m getting random crashes:

free(): invalid next size (fast)
free(): invalid pointer

Let me know how I can help troubleshoot.

Hi, I’m getting random crashes: free(): invalid next size (fast) free(): invalid pointer Let me know how I can help troubleshoot. <!-- github-sync-id:3965979153 -->
adam closed this issue 2026-10-05 03:19:56 +02:00
Author
Owner

Hey there, I've seen these errors but so far only when connecting by TCP via Tailscale. Under what circumstances are you see the issue? Have you discovered any method of forcing the error? Thanks!

Hey there, I've seen these errors but so far only when connecting by TCP via Tailscale. Under what circumstances are you see the issue? Have you discovered any method of forcing the error? Thanks! <!-- github-comment-id:3931768517 -->
Author
Owner

I’m using a raspberry pi connected to a Heltec v4 via USB, so /dev/ttyACM0

It seems random but very frequent, like every few minutes.

I’m using a raspberry pi connected to a Heltec v4 via USB, so /dev/ttyACM0 It seems random but very frequent, like every few minutes. <!-- github-comment-id:3932010676 -->
Author
Owner

Would you be able to test the branch queue to see if this fixes the issue?

Would you be able to test the branch `queue` to see if this fixes the issue? <!-- github-comment-id:3938166711 -->
Author
Owner

Still occurring but I’ve found that
│Message: free(): invalid next size (fast)
occurs when moving from the message window to the channel window while in single pane view.

Still occurring but I’ve found that │Message: free(): invalid next size (fast) occurs when moving from the message window to the channel window while in single pane view. <!-- github-comment-id:3938461495 -->
Author
Owner

Perfect, thank you. I realized that I was also using single pane mode when experiencing this crash! It doesn't seem to be reproducible on my dev machine but this gives me a thread to pull. Thanks for testing.

Perfect, thank you. I realized that I was also using single pane mode when experiencing this crash! It doesn't seem to be reproducible on my dev machine but this gives me a thread to pull. Thanks for testing. <!-- github-comment-id:3940094266 -->
Author
Owner

I believe this is now fixed in v1.5.3

I believe this is now fixed in v1.5.3 <!-- github-comment-id:4093461983 -->
Author
Owner

Closing. @jasonwray let me know if the issue persists. Thanks for the help on this one.

Closing. @jasonwray let me know if the issue persists. Thanks for the help on this one. <!-- github-comment-id:4140321584 -->
Sign in to join this conversation.
No labels
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: adam/contact#80