Skip to content

Conversation

@vtjnash
Copy link
Member

@vtjnash vtjnash commented Oct 17, 2023

ccall was not creating roots for the contents of struct values which contained roots on the stack, as expected to align with GC.@preserve, and causing many segfaults for #51319

ccall was not creating roots for the contents of struct values which
contained roots on the stack, as expected to align with `GC.@preserve`
@vtjnash vtjnash added compiler:codegen Generation of LLVM IR and native code backport 1.10 Change should be backported to the 1.10 release labels Oct 17, 2023
@vtjnash vtjnash added the merge me PR is reviewed. Merge when all tests are passing label Oct 17, 2023
@vtjnash vtjnash merged commit e36f65f into master Oct 18, 2023
@vtjnash vtjnash deleted the jn/ccall-struct-roots branch October 18, 2023 13:54
@oscardssmith oscardssmith removed the merge me PR is reviewed. Merge when all tests are passing label Oct 18, 2023
KristofferC pushed a commit that referenced this pull request Oct 23, 2023
ccall was not creating roots for the contents of struct values which
contained roots on the stack, as expected to align with `GC.@preserve`,
and causing many segfaults for #51319

(cherry picked from commit e36f65f)
@KristofferC KristofferC removed the backport 1.10 Change should be backported to the 1.10 release label Nov 6, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

compiler:codegen Generation of LLVM IR and native code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants