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

dump: ensure Array eltype layout is initialized early #37594

Merged
merged 1 commit into from
Sep 21, 2020

Conversation

vtjnash
Copy link
Sponsor Member

@vtjnash vtjnash commented Sep 15, 2020

Deserializing an array needs to examine the element type (tparam0) layout. Usually we know the layout of a DataType is initialized early (when present). This also ensures that the path to it is initialized (for our case where it may be inline allocated with interior pointers).

Reported 4c805d2#comments by @KristofferC

Deserializing an array needs to examine the element type (tparam0)
layout. Usually we know the layout of a DataType is initialized early
(when present). This also ensures that the path to it is initialized
(for our case where it may be inline allocated with interior pointers).
@jonathan-laurent
Copy link

I am looking forward for this fix in 1.5.3 as this segfault bug had been blocking the next release of AlphaZero.jl. 👍

@KristofferC KristofferC mentioned this pull request Oct 21, 2020
15 tasks
@KristofferC
Copy link
Sponsor Member

Doesn't backport cleanly. Can push a backported commit to #38122

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bugfix This change fixes an existing bug
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants