allegro / allegro/bigcache

compile a 32-bit LSB executable on arm and Execution error-> panic: unaligned 64-bit atomic operation

Open
#368 6 comments 0 reactions 0 assignees View on GitHub
bug
Dominant language
Go
Stars
8.2k
Forks
614
Avg merge
5d 12h
Merged PRs (30d)
1

Description

**What is the issue you are having?**
panic: unaligned 64-bit atomic operation
```
goroutine 1 [running]:
runtime/internal/atomic.panicUnaligned()
C:/GoSDK/src/runtime/internal/atomic/unaligned.go:8 +0x24
runtime/internal/atomic.Xadd64(0x13571684, 0x1)
C:/GoSDK/src/runtime/internal/atomic/atomic_arm.s:258 +0x14
github.com/allegro/bigcache/v3.(*cacheShard).hit(0x13571600, 0x5819c5d75cbda787)
C:/Users/Joker/go/pkg/mod/github.com/allegro/bigcache/v3@v3.1.0/shard.go:403 +0x34
github.com/allegro/bigcache/v3.(*cacheShard).get(0x13571600, {0x214747, 0x4}, 0x5819c5d75cbda787)
C:/Users/Joker/go/pkg/mod/github.com/allegro/bigcache/v3@v3.1.0/shard.go:79 +0x3d0
github.com/allegro/bigcache/v3.(*BigCache).Get(0x2498980, {0x214747, 0x4})
C:/Users/Joker/go/pkg/mod/github.com/allegro/bigcache/v3@v3.1.0/bigcache.go:136 +0x8c
```

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.