We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Arm71 Linux
go1.17
20230728082804
collection/skipmap
在32位系统上运行正常。
在32位系统上运行时候,会报错:panic: unaligned 64-bit atomic operation。原因是使用了atomic.Load64(),在32位下操作64位数据不是原子的。
我认为这是个普遍存在于32位系统的问题,不一定非要arm71系统。应该是32位系统就能复现。
The text was updated successfully, but these errors were encountered:
请问是哪个类型的 skipmap 报错了呢,可以提供一下完整的 stack 么
Sorry, something went wrong.
@zhangyunhao116 你会帮忙解决这个问题么?原理是很简单的,就是atomic的对int64的原子操作,在32位系统下无法保持原子行而panic。 下面是我们遇到的crash,实际上,任何关于int64的原子操作,在32位系统下都会报错。
zhangyunhao116
No branches or pull requests
Operating System
Arm71 Linux
Go Version
go1.17
Package Version
20230728082804
Affected Packages
collection/skipmap
Expected Behavior
在32位系统上运行正常。
Actual Behavior
在32位系统上运行时候,会报错:panic: unaligned 64-bit atomic operation。原因是使用了atomic.Load64(),在32位下操作64位数据不是原子的。
Reproduction Steps
Other Information
我认为这是个普遍存在于32位系统的问题,不一定非要arm71系统。应该是32位系统就能复现。
The text was updated successfully, but these errors were encountered: