Skip to content
New issue

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

GC_move_long_link failed on Linux/x86_64 if redirect malloc and gc-debug #661

Open
ivmai opened this issue Sep 7, 2024 · 3 comments
Open

Comments

@ivmai
Copy link
Owner

ivmai commented Sep 7, 2024

Source: release-7_4 (d50367e)
Build: https://app.travis-ci.com/github/ivmai/bdwgc/jobs/625906318
Host: Ubuntu 16.04.7 LTS / x86_64
Compiler: gcc
How to build/test: ./configure --enable-redirect-malloc --enable-gc-debug --enable-cplusplus --enable-gc-assertions && make -j check
Occurrence: 1/3
Output (gctest.log):

GC Warning: USE_PROC_FOR_LIBRARIES + GC_LINUX_THREADS performs poorly.
GC_move_long_link(link,link) failed
Test failed

Probably relates to issue #288

@ivmai
Copy link
Owner Author

ivmai commented Sep 7, 2024

Alternative output:

GC_move_disappearing_link(link,link) failed

@ivmai
Copy link
Owner Author

ivmai commented Sep 7, 2024

Observed also on release-8_0 branch

@ivmai
Copy link
Owner Author

ivmai commented Sep 24, 2024

Probably same root cause.
Source: master (3939446)
Build: https://github.com/ivmai/bdwgc/actions/runs/11019026341/job/30600667442
Host: Linux/x86_64
Config: zig build -Dtarget=native -DBUILD_SHARED_LIBS=false -Dbuild_cord=true -Ddisable_handle_fork=false -Denable_cplusplus=true -Denable_gc_assertions=true -Denable_gc_debug=true -Denable_large_config=false -Denable_munmap=false -Denable_parallel_mark=true -Denable_redirect_malloc=true -Denable_rwlock=true -Denable_thread_local_alloc=true -Denable_threads=true -Denable_werror test
Fail in weaktestmap

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant