ivmai / bdwgc

The Boehm-Demers-Weiser conservative C/C++ Garbage Collector (bdwgc, also known as bdw-gc, boehm-gc, libgc)

Home Page:https://www.hboehm.info/gc/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

disclaimtest, weakmaptest or middletest fail in zig build on Linux if enable_gc_debug and enable_redirect_malloc

ivmai opened this issue · comments

Source: master (c0936ed)
Build (disclaimtest): https://github.com/ivmai/bdwgc/actions/runs/7504908429/job/20433003879
Build (middletest): https://github.com/ivmai/bdwgc/actions/runs/7504908429/job/20433004753
Host: Linux/x86_64
Zig version: 0.12.0-dev.2076+8fd15c6ca
Occurrence: sometimes
How to build (disclaimtest): zig build -DBUILD_SHARED_LIBS=false -Denable_gc_assertions -Denable_gc_debug -Denable_redirect_malloc test
How to build (middletest): zig build -DBUILD_SHARED_LIBS=false -Denable_gc_assertions -Denable_gc_debug -Denable_redirect_malloc -Denable_rwlock -Denable_parallel_mark=false test
Output: run disclaimtest failure or run middletest failure

I failed to reproduce it locally (both cases).

About weakmap test:
Source: master (3abb17f)
Build: https://github.com/ivmai/bdwgc/actions/runs/7645092432/job/20830884673
Host: Ubuntu/x86_64
How to build and run tests: zig build -DBUILD_SHARED_LIBS=false -Denable_gc_debug=true -Denable_redirect_malloc=true -Denable_gc_assertions=true test