-
Notifications
You must be signed in to change notification settings - Fork 13
Open
Description
I'm working on adding tests in #47 and ran into this issue -> nats-io/nats-server#5210
On MacOS
- ✅ Tests pass without race detection
- ❌ Tests fail with -race flag
go test -race ./pkg/hooks_stream
# Results in: fatal error: checkptr: converted pointer straddles multiple allocations
Error Details
fatal error: checkptr: converted pointer straddles multiple allocations
goroutine 20 gp=0xc00008ae00 m=0 mp=0x1017f6060 [running]:
runtime.throw({0x1010d5d1a?, 0xc0001e6f68?})
runtime.checkptrAlignment(0x1010ab026?, 0xa?, 0x0?)
github.com/nats-io/nats-server/v2/server/sysmem.sysctlInt64({0x1010ab026, 0xa})
github.com/nats-io/nats-server/v2/server/sysmem.Memory(...)
github.com/nats-io/nats-server/v2/server.(*Server).dynJetStreamConfig(...)
We should update NATS as we're a bit behind.
Metadata
Metadata
Assignees
Labels
No labels