Skip to content
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

sync/atomic.AddUint64 on 32-bit systems #1

Open
KrasilnikovKB opened this issue Aug 13, 2018 · 0 comments
Open

sync/atomic.AddUint64 on 32-bit systems #1

KrasilnikovKB opened this issue Aug 13, 2018 · 0 comments

Comments

@KrasilnikovKB
Copy link

On 32-bit systems segmentation violation in sync/atomic.AddUint64

panic: runtime error: invalid memory address or nil pointer dereference
[signal SIGSEGV: segmentation violation code=0x1 addr=0x0 pc=0x804993c]

goroutine 10 [running]:
sync/atomic.AddUint64(0x18c7452c, 0x1, 0x0, 0x0, 0x0)
        /usr/local/go/src/sync/atomic/asm_386.s:112 +0xc
github.com/TrilliumIT/go-multiping/ping.(*HostConn).getNextPing(0x18c74500, 0x0, 0x0, 0x0)
        src/github.com/TrilliumIT/go-multiping/ping/host.go:51 +0x44
github.com/TrilliumIT/go-multiping/ping.(*HostConn).SendPing(0x18c74500)
        src/github.com/TrilliumIT/go-multiping/ping/host.go:94 +0x21
github.com/TrilliumIT/go-multiping/ping.(*HostConn).SendPing-fm()
        src/github.com/TrilliumIT/go-multiping/ping/host.go:129 +0x20
created by github.com/TrilliumIT/go-multiping/ping.runOnce
        src/github.com/TrilliumIT/go-multiping/ping/run.go:25 +0xa8
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant