Open hhaensel opened 6 days ago
I'm able to reproduce the crash using the above MWE on Julia 1.11.1. Both f3()
and f4()
crash for me.
Some background: table()
of StippleUI crashed in certain situations.
This is the commit to work around the bug: https://github.com/GenieFramework/StippleUI.jl/commit/28c630cb721c57eaaf010f6fb601e59d4e4f6402
I am also able to reproduce the crashes (both f3()
and f4()
) on Julia nightly (d9d1fc5be8).
Huh. Why did GitHub say I removed those labels?
Wow, you were fast! - It took me much more time to find out the culprit...
I can also confirm that the crash does not occur on Julia 1.10.6:
julia> f3()
1-element Vector{Any}:
1
julia> f4()
2-element Vector{Any}:
1:10
1
If someone can do a git bisect
between Julia 1.10 and 1.11, then we might be able to identify the commit that introduced the bug.
I'd also be interested in seeing if an assert build of Julia produces any useful messages.
git bisect
blames 0a82b71681028d6b1a49d580496f28ebc214a21e (#51317).
0a82b71681028d6b1a49d580496f28ebc214a21e is the first bad commit
commit 0a82b71681028d6b1a49d580496f28ebc214a21e
Author: Jameson Nash <vtjnash@gmail.com>
Date: Wed Sep 27 11:31:25 2023 +0200
inference: avoid inferring unreachable code methods (#51317)
base/compiler/abstractinterpretation.jl | 57 ++++++++++------
base/compiler/abstractlattice.jl | 8 ++-
base/compiler/optimize.jl | 4 +-
base/compiler/ssair/inlining.jl | 2 +-
base/compiler/ssair/passes.jl | 2 +-
base/compiler/tfuncs.jl | 117 ++++++++++++++++----------------
base/compiler/typelattice.jl | 4 +-
base/compiler/typeutils.jl | 17 +++--
test/compiler/inference.jl | 21 ++++++
9 files changed, 138 insertions(+), 94 deletions(-)
bisect found first bad commit
According to my tests splatting
collect(kwargs)
into an array crashes julia if kwargs are empty and two or more types are part of the array Here's my MNWE after some hours of drill-down.with the following message
EDIT: Tested on windows and mac-os and julia v1.11.1, does not occur in julia v1.10