You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
From a little guesswork I'm assuming it's due to a race condition in the logging code where requests data is being passed to a goroutine and then immediately set to nil as the goroutine tries to access the requests slice after it's been nullified
It could also be due to shared slice access between goroutines without synchronization
either way, sending a copy()'d requests to the goroutine before setting to nil should fix it
JasonLovesDoggo
changed the title
Bug: golang memory leak
Bug: go race condition leaking to a SIGSEGV
Dec 21, 2024
JasonLovesDoggo
changed the title
Bug: go race condition leaking to a SIGSEGV
Bug: go race condition causing a SIGSEGV
Dec 21, 2024
I've been having memory leak issues for ~7 months now on a project of mine and I traced it to this project
see the following panic log.
The rest of the panic log is 20k+ lines of listing all goroutines on my project.
The text was updated successfully, but these errors were encountered: