Open fishy opened 4 hours ago
Related Issues
(Emoji vote if this was helpful or unhelpful; more detailed feedback welcome in this discussion.)
The stack trace seems interleaved with some other output?
[signal SIGSEGV: segmentation violation code=3D0x80 addr=3D0x0 pc=3D0x473= 301] goroutine 23 gp=3D0xc000084a80 m=3D4 mp=3D0xc000080008 [running]:
These seems not valid hex numbers. Could you share a clean stack trace?
Also, it looks like it is panicking in string concatenation, which seems impossible, as strings don't involve nil pointers. Maybe there is a memory corruption? Does your program use cgo or unsafe? Have you tried running under the race detector? Thanks.
As I noted in the report, the callstack is copied directly from /var/spool/mail/
so there are extra line wrapping and mail encoding around line wrappings. I didn't figure out a good way to copy it out of neomutt.
this only happened once after I've run it for more than a year hourly, so it's possible that it's caused by some memory corruption.
It is not just line wrapping, but the extra characters printed. E.g. it seems 3D
appears in a few weird places.
Okay, as this only happened once, I think we'll keep the WaitingForInfo label. If you see more failures, please update and we can investigate. Thanks.
anyways I got the decoded clean copy out of neomutt, updated the attachment file and the snippet in the original report.
Go version
go1.23.2 linux/amd64
Output of
go env
in your module/workspace:What did you do?
I have some simple go code to update porkbun dynamic dns: https://github.com/fishy/ddporkbun. The binary is run through an hourly cronjob.
The binary info is (it was built by go1.23.2):
In one run it panicked during http tls handshake (note: the call stack here is copied directly from
/var/spool/mail/$USERNAME
so there are some extra line wrapping and email encoding around line wrapping):full callstack with other goroutines is attached: callstack.txt
What did you see happen?
Panic during TLS handshake from http client
What did you expect to see?
No panic