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

codegen: add missing initialization for PhiC nodes #43029

Merged
merged 1 commit into from
Nov 12, 2021
Merged

Conversation

vtjnash
Copy link
Member

@vtjnash vtjnash commented Nov 10, 2021

Our Phi handling assumes that it can references undefined memory, and
get back legal results, but our PhiC nodes were not initialized, so the
Phi node might see uninitialized results, and then cause the GC to
crash. This was observed in PkgEval on the PoreMatMod.jl package to
occur in recent Julia versions and master.

Our Phi handling assumes that it can references undefined memory, and
get back legal results, but our PhiC nodes were not initialized, so the
Phi node might see uninitialized results, and then cause the GC to
crash. This was observed in PkgEval on the PoreMatMod.jl package to
occur in recent Julia versions and master.
@vtjnash vtjnash added compiler:codegen Generation of LLVM IR and native code embarrassing-bugfix Whoops! backport 1.7 labels Nov 10, 2021
@vtjnash vtjnash merged commit ec3ec02 into master Nov 12, 2021
@vtjnash vtjnash deleted the jn/phic-init branch November 12, 2021 15:43
KristofferC pushed a commit that referenced this pull request Nov 15, 2021
Our Phi handling assumes that it can references undefined memory, and
get back legal results, but our PhiC nodes were not initialized, so the
Phi node might see uninitialized results, and then cause the GC to
crash. This was observed in PkgEval on the PoreMatMod.jl package to
occur in recent Julia versions and master.

(cherry picked from commit ec3ec02)
daviehh pushed a commit to daviehh/julia that referenced this pull request Nov 16, 2021
Our Phi handling assumes that it can references undefined memory, and
get back legal results, but our PhiC nodes were not initialized, so the
Phi node might see uninitialized results, and then cause the GC to
crash. This was observed in PkgEval on the PoreMatMod.jl package to
occur in recent Julia versions and master.

(cherry picked from commit ec3ec02)
LilithHafner pushed a commit to LilithHafner/julia that referenced this pull request Feb 22, 2022
Our Phi handling assumes that it can references undefined memory, and
get back legal results, but our PhiC nodes were not initialized, so the
Phi node might see uninitialized results, and then cause the GC to
crash. This was observed in PkgEval on the PoreMatMod.jl package to
occur in recent Julia versions and master.
LilithHafner pushed a commit to LilithHafner/julia that referenced this pull request Mar 8, 2022
Our Phi handling assumes that it can references undefined memory, and
get back legal results, but our PhiC nodes were not initialized, so the
Phi node might see uninitialized results, and then cause the GC to
crash. This was observed in PkgEval on the PoreMatMod.jl package to
occur in recent Julia versions and master.
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 embarrassing-bugfix Whoops!
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants