blob: 3036d935e922b8907049f64f659caacccd3b5783 (
plain) (
blame)
1
2
3
4
5
6
7
|
The issue reported seems to involve the `atomic test-and-set` instruction not working correctly when running PostgreSQL or Greenplum database inside a Docker container using QEMU's user-static emulation for ARM64. The spinlock mechanism is getting stuck and causing PANIC errors, which suggests a problem with atomic operations.
Given that the code works on a physical ARM64 server but fails in the emulated environment, it points towards an issue with how QEMU handles certain instructions or memory operations. Specifically, the `test-and-set` instruction is likely not functioning as expected under QEMU's user-mode emulation.
The classification of this bug would fall under the **instruction** category since it involves a specific atomic instruction (`test-and-set`) that isn't behaving correctly in the emulated environment.
**Answer:** instruction
|