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
Seems to be that something is copied in the context to which the WaitGroup is added to. It is important not to copy thing when working with something in the sync package: https://golang.org/pkg/sync/
Hi,
We have received the below error quite frequently. Whenever we get this error, the container gets killed and new one is created.
panic: runtime error: invalid memory address or nil pointer dereference
[signal SIGSEGV: segmentation violation code=0x1 addr=0x0 pc=0x485546]
goroutine 20 [running]:
sync.(*WaitGroup).state(...)
/usr/local/go/src/sync/waitgroup.go:33
sync.(*WaitGroup).Add(0x0, 0xffffffffffffffff)
/usr/local/go/src/sync/waitgroup.go:54 +0x26
sync.(*WaitGroup).Done(...)
/usr/local/go/src/sync/waitgroup.go:99
main.(*Worker).Start(0xc0001e4690, 0x7ffcccb85974, 0x24)
/go/src/app/worker.go:136 +0x1ac
created by main.main
/go/src/app/main.go:94 +0x7f4
Below is our configuration and we are using 'oracle' as driver.
Defined data sources
driver: oracle
port: 1521
cpu: 100m
memory: 128mi
We couldn't see any memory issues or cpu spikes at this time.
Cheers,
Gopi
The text was updated successfully, but these errors were encountered: