runtime: SIGSEGV in garbage collector sweeping #64173
Labels
compiler/runtime
Issues related to the Go compiler and/or runtime.
NeedsInvestigation
Someone must examine and confirm this is a valid issue and not a duplicate of an existing one.
WaitingForInfo
Issue is not actionable because of missing required information, which needs to be provided.
What version of Go are you using (
go version
)?Does this issue reproduce with the latest release?
Not sure, it happened once on production.
We did not yet encounter it during our test runs.
What operating system and processor architecture are you using (
go env
)?The executable is build on a system with these details:
go env
OutputWhat did you do?
We have an executable that runs as a daemon on Debian12 machines.
These machines are deployed in office networks of our customers.
Usually they run for a couple of hours and are shutdown afterwards.
We noticed a crash of our service on one of the systems and investigated it.
It seems like a crash in the garbage collector:
The full stack traces can be seen in this log file:
stack.log
What did you expect to see?
I'd expect either an error which indicates that our code did something wrong, or no crash at all.
I also found this issue, which points at exactly the same line of code (in an older version of golang). But unfortunately that was never resolved.
The problem is that its very hard to reproduce.
We have multiple test machines here, running exactly the same software on exactly the same hardware, but have not seen the issue there.
To me this looks like an issue in the garbage collector code of golang, but I'm not an expert on that topic so I could be completely wrong. Any pointers on how I can further investigate this would be appreciated.
Thanks
The text was updated successfully, but these errors were encountered: