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

segfault in gc binarytree.jl test #52757

Closed
vtjnash opened this issue Jan 5, 2024 · 1 comment
Closed

segfault in gc binarytree.jl test #52757

vtjnash opened this issue Jan 5, 2024 · 1 comment
Assignees
Labels
ci Continuous integration rr trace included

Comments

@vtjnash
Copy link
Member

vtjnash commented Jan 5, 2024

gc                                                (1) |        started at 2024-01-04T13:38:07.111 on pid 533
[8487] signal 11 (1): Segmentation fault
in expression starting at /cache/build/tester-amdci4-8/julialang/julia-master/julia-6779fa96e4/share/julia/test/gc/binarytree.jl:53
jl_datatype_layout at /cache/build/builder-amdci5-4/julialang/julia-master/src/julia.h:1328 [inlined]
immut_id_ at /cache/build/builder-amdci5-4/julialang/julia-master/src/builtins.c:393
jl_idset_peek_bp at /cache/build/builder-amdci5-4/julialang/julia-master/src/idset.c:34
gc                                                (1) |         failed at 2024-01-04T13:39:02.947

https://buildkite.com/julialang/julia-master/builds/31785#018cd431-1edc-46d7-ad8a-6669680d7607 (@d-netto)

@vtjnash vtjnash added ci Continuous integration rr trace included labels Jan 5, 2024
@d-netto d-netto self-assigned this Jan 5, 2024
@vtjnash
Copy link
Member Author

vtjnash commented Feb 13, 2024

More binarytree trouble, this time with both an rr trace and then a heap corruption notice https://buildkite.com/julialang/julia-master/builds/33576#_

KristofferC pushed a commit that referenced this issue Feb 26, 2024
This aims to slightly simplify the synchronization by making
`n_threads_marking` the sole memory location of relevance for it, it
also removes the fast path, because being protected by the lock is
quite important so that the observed gc state arrays are valid.

Fixes: #53350
Fixes: #52757
Maybe fixes: #53026
Co-authored-by: Jameson Nash <[email protected]>

(cherry picked from commit a96726b)
tecosaur pushed a commit to tecosaur/julia that referenced this issue Mar 4, 2024
This aims to slightly simplify the synchronization by making
`n_threads_marking` the sole memory location of relevance for it, it
also removes the fast path, because being protected by the lock is
quite important so that the observed gc state arrays are valid.

Fixes: JuliaLang#53350
Fixes: JuliaLang#52757
Maybe fixes: JuliaLang#53026
Co-authored-by: Jameson Nash <[email protected]>
mkitti pushed a commit to mkitti/julia that referenced this issue Mar 7, 2024
This aims to slightly simplify the synchronization by making
`n_threads_marking` the sole memory location of relevance for it, it
also removes the fast path, because being protected by the lock is
quite important so that the observed gc state arrays are valid.

Fixes: JuliaLang#53350
Fixes: JuliaLang#52757
Maybe fixes: JuliaLang#53026
Co-authored-by: Jameson Nash <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ci Continuous integration rr trace included
Projects
None yet
2 participants