-
Notifications
You must be signed in to change notification settings - Fork 17.7k
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
crypto/x509: panic during tls handshake from http client #70374
Comments
The stack trace seems interleaved with some other output?
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 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 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
The text was updated successfully, but these errors were encountered: