Comments (4)
Stacktrace (if compiled with -O3): // obtained by ulimit -c unlimited; while ./tests/test_stack; do :; done; gdb tests/test_stack core
#0 0x0000000050179ef8 in AO_stack_push_explicit_aux_release ()
#1 0x000000005017aaa0 in AO_stack_push_release ()
#2 0x00000000501772a0 in run_one_test ()
#3 0x0000000050203530 in start_thread () from /lib128/libpthread.so.0
gdb reports: Program terminated with signal SIGILL, Illegal instruction.
from libatomic_ops.
gdb show exact line of SIGILL, if compiled with -O0 -g:
libatomic_ops/src/atomic_ops_stack.c
Line 158 in 7279f81
#0 0x00000000501ab038 in AO_stack_push_explicit_aux_release (list=0x501b0180 <the_list>, x=0x50a16e80,
a=0x501b0190 <the_list+16>) at atomic_ops_stack.c:158
158 if (AO_EXPECT_FALSE(entry1 == x_bits || entry2 == x_bits))
from libatomic_ops.
How to reproduce ("quick how-to"):
git clone https://github.com/ivmai/libatomic_ops.git && cd libatomic_ops && git checkout 7279f8153 && gcc -m128 -O0 -g -I src -o test_stack tests/test_stack.c src/*.c -lpthread && ulimit -c unlimited && while ./test_stack; do :; done && gdb test_stack core
from libatomic_ops.
As of commit cc9bc49, the issue is still reproduced.
from libatomic_ops.
Related Issues (20)
- How can I get libatomic_ops.a ? HOT 3
- coredump with '__atomic_fetch_add' function on aarch64 HOT 2
- [x86 gcc] Missing dx side effect in AO_compare_double_and_swap_double_full HOT 10
- SIGSEGV in test_malloc on Alpine linux/s390x HOT 12
- test_stack fail on linux/arm64 (clang) HOT 13
- FTBFS in the testsuite on riscv64 HOT 6
- Incorrect use of sizeof operator to verify alignment HOT 5
- Downstream libatomic_ops releases (Sep 2021) HOT 26
- Explore existing changes in forks (Nov 2021) HOT 3
- test_malloc abort on sparc HOT 3
- Downstream libatomic_ops releases (Aug 2022) HOT 18
- Outdated config.guess Files HOT 3
- Downstream libatomic_ops release (Mar 2023) HOT 24
- Undefined reference to AO_pt_lock on Ubuntu 22.04 when building with configure and clang-16 HOT 2
- test_atomic fail with 'Saw release store out of order' on ppc64 HOT 11
- test_stack fail on E2K in 64-bit mode HOT 11
- configure AC_FUNC_MMAP does not detect mmap on CheriBSD HOT 2
- Support protected mode of E2K HOT 1
- Downstream libatomic_ops v7.8.2 HOT 10
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from libatomic_ops.