ivmai / bdwgc

The Boehm-Demers-Weiser conservative C/C++ Garbage Collector (bdwgc, also known as bdw-gc, boehm-gc, libgc)
https://www.hboehm.info/gc/
Other
2.96k stars 406 forks source link

threadkeytest (SEGFAULT) on arm64 and s390x #316

Open ivmai opened 4 years ago

ivmai commented 4 years ago

Build (s390x): https://travis-ci.org/github/ivmai/bdwgc/jobs/675472271 Build (arm64): https://travis-ci.org/github/ivmai/bdwgc/jobs/675472261 Source: master (7f2bdaba3) Target: arm64, s390x Compiler: gcc-5.4.0 Reproduction rate: 1/30 How to reproduce:

Output: 1: Test command: /home/travis/build/ivmai/bdwgc/threadkey_test 11: Test timeout computed to be: 1500 11/17 Test #11: threadkey_test ...................***Exception: SegFault 0.13 sec

ivmai commented 4 years ago

Related issue - #238

ivmai commented 3 years ago

Recent build failure: https://travis-ci.com/github/ivmai/bdwgc/jobs/525148552

Note: The linker produces the following warnings: ... (moved to issue #462)

ivmai commented 2 years ago

Recent build failure: https://app.travis-ci.com/github/ivmai/bdwgc/jobs/549722782

ivmai commented 2 years ago

Build: https://app.travis-ci.com/github/ivmai/bdwgc/jobs/556241502 Source: master (9027a0b42) Host: Linux/arm64 Compiler: clang version 3.8.0-2ubuntu4 Output: FAIL threadkey_test (exit status: 139)

ivmai commented 2 years ago

Build: https://app.travis-ci.com/github/ivmai/bdwgc/jobs/561566435 Source: release-8_2 (2b05a01) Host: Linux/arm64 Compiler: gcc (Ubuntu/Linaro 5.4.0-6ubuntu1~16.04.12) 5.4.0 20160609

ivmai commented 2 years ago

Same as above: https://app.travis-ci.com/github/ivmai/bdwgc/jobs/563521040

ivmai commented 2 years ago

Build: https://app.travis-ci.com/github/ivmai/bdwgc/jobs/563965979 Source: master (07f21cb3) Host: Linux/arm64

ivmai commented 2 years ago

Build: https://app.travis-ci.com/github/ivmai/bdwgc/jobs/569393784 (clang compiler) Build: https://app.travis-ci.com/github/ivmai/bdwgc/jobs/569393785 (gcc compiler) Source master (f8e6e7d) Host: Linux/arm64

ivmai commented 2 years ago

Build: https://app.travis-ci.com/github/ivmai/bdwgc/jobs/572124087 (clang compiler) Source: master (020b05d7d) Host: Linux/arm64

ivmai commented 2 years ago

Build: https://app.travis-ci.com/github/ivmai/bdwgc/jobs/576638933 (clang compiler) Source: master (33c68aa9) Host: Linux/arm64 Compiler: clang version 3.8.0-2ubuntu4

ivmai commented 2 years ago

Also, similar issue (probably related) is reported on E2K.

ivmai commented 2 years ago

Build: https://app.travis-ci.com/github/ivmai/bdwgc/jobs/576638933 (clang compiler) Source: master (33c68aa) Host: Linux/arm64 Compiler: clang version 3.8.0-2ubuntu4

Cannot reproduce locally (on gcc117 machine).

ivmai commented 2 years ago

Build: https://app.travis-ci.com/github/ivmai/bdwgc/jobs/578950305 Source: release-8_2 (295488c)

ivmai commented 2 years ago

Cannot reproduce locally (on gcc117 machine).

Tried again on this machine with the above cmake command - can't reproduce.

ivmai commented 2 years ago

Build: https://app.travis-ci.com/github/ivmai/bdwgc/jobs/584019108 Source: master (ed627bb33) Host: Linux/arm64 Config: ./configure --with-libatomic-ops=yes --enable-gc-assertions --enable-cplusplus --disable-munmap

ivmai commented 1 year ago

Probably related. Build: https://app.travis-ci.com/github/ivmai/bdwgc/jobs/590866884 Source: master (8fd5c0d) Host: Linux/arm64 Config: CFLAGS_EXTRA="-D DEBUG_ADD_DEL_ROOTS -D DEBUG_THREADS -D GC_DEBUG -D GC_LOG_TO_FILE_ALWAYS" CONF_OPTIONS="--enable-cplusplus"