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

Memory align on 32bit arch #46

Merged
merged 1 commit into from
Dec 31, 2020
Merged

Memory align on 32bit arch #46

merged 1 commit into from
Dec 31, 2020

Conversation

xjtdy888
Copy link
Contributor

panic: runtime error: invalid memory address or nil pointer dereference
[signal 0xc0000005 code=0x0 addr=0x0 pc=0xb7204c]

goroutine 36871 [running]:
runtime/internal/atomic.Xadd64(0x13f70614, 0x1, 0x0, 0xbc9440, 0x0)
runtime/internal/atomic/asm_386.s:105 +0xc
github.com/centrifugal/centrifuge-go.(*Client).nextFutureID(...)
github.com/centrifugal/centrifuge-go@v0.6.4/client.go:1217
github.com/centrifugal/centrifuge-go.(*Client).onConnect(0x13f70500, 0x172ec460)
github.com/centrifugal/centrifuge-go@v0.6.4/client.go:1251 +0xde
github.com/centrifugal/centrifuge-go.(*Client).history(0x13f70500, 0x1487cc30, 0x44, 0x14234990)
github.com/centrifugal/centrifuge-go@v0.6.4/client.go:1332 +0x6f
github.com/centrifugal/centrifuge-go.(*Subscription).history.func1(0x0, 0x0)
github.com/centrifugal/centrifuge-go@v0.6.4/subscription.go:280 +0x6b
created by github.com/centrifugal/centrifuge-go.(*Subscription).onSubscribe
github.com/centrifugal/centrifuge-go@v0.6.4/subscription.go:240 +0x1af

panic: runtime error: invalid memory address or nil pointer dereference
[signal 0xc0000005 code=0x0 addr=0x0 pc=0xb7204c]

goroutine 36871 [running]:
runtime/internal/atomic.Xadd64(0x13f70614, 0x1, 0x0, 0xbc9440, 0x0)
        runtime/internal/atomic/asm_386.s:105 +0xc
github.com/centrifugal/centrifuge-go.(*Client).nextFutureID(...)
        github.com/centrifugal/centrifuge-go@v0.6.4/client.go:1217
github.com/centrifugal/centrifuge-go.(*Client).onConnect(0x13f70500, 0x172ec460)
        github.com/centrifugal/centrifuge-go@v0.6.4/client.go:1251 +0xde
github.com/centrifugal/centrifuge-go.(*Client).history(0x13f70500, 0x1487cc30, 0x44, 0x14234990)
        github.com/centrifugal/centrifuge-go@v0.6.4/client.go:1332 +0x6f
github.com/centrifugal/centrifuge-go.(*Subscription).history.func1(0x0, 0x0)
        github.com/centrifugal/centrifuge-go@v0.6.4/subscription.go:280 +0x6b
created by github.com/centrifugal/centrifuge-go.(*Subscription).onSubscribe
        github.com/centrifugal/centrifuge-go@v0.6.4/subscription.go:240 +0x1af
@FZambia FZambia merged commit 98cf27f into centrifugal:master Dec 31, 2020
@FZambia
Copy link
Member

FZambia commented Dec 31, 2020

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

Successfully merging this pull request may close these issues.

2 participants