-
-
Notifications
You must be signed in to change notification settings - Fork 5.5k
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
illegal instruction crash #3852
Comments
ghost
assigned JeffBezanson
Jul 28, 2013
llvm is generating an instruction there defined to be undefined.
Doing some manual digging, the fault is in line 138, which is finfer'd as follows:
|
simplified test-case: julia> function f()
local x
for i = 1:10
x = println
end
x("hi")
end
# methods for generic function f
f() at none:2 verifier on:
verifier off (assertions on): julia> f()
Assertion failed: (L->isLCSSAForm(*DT)), function runOnLoop, file /Users/jameson/Documents/no-backup/julia/deps/llvm-3.2/lib/Transforms/Utils/LCSSA.cpp, line 170.
Stack dump:
0. Running pass 'Loop Pass Manager' on function '@julia_f1142'
1. Running pass 'Loop-Closed SSA Form Pass' on basic block '%L'
Illegal instruction: 4 |
Nice digging! |
KristofferC
pushed a commit
that referenced
this issue
Mar 26, 2024
Stdlib: Pkg URL: https://github.com/JuliaLang/Pkg.jl.git Stdlib branch: master Julia branch: master Old commit: 6859d6857 New commit: 162634c56 Julia version: 1.12.0-DEV Pkg version: 1.12.0 Bump invoked by: @KristofferC Powered by: [BumpStdlibs.jl](https://github.com/JuliaLang/BumpStdlibs.jl) Diff: JuliaLang/Pkg.jl@6859d68...162634c ``` $ git log --oneline 6859d6857..162634c56 162634c56 Add workspace feature (#3841) a4ec712eb Remove outdated UUID instructions (#3855) 9c6356fa9 collect e.g. weak deps from project even if it is not a package (#3852) ``` Co-authored-by: Dilum Aluthge <dilum@aluthge.com>
IanButterworth
pushed a commit
that referenced
this issue
Oct 7, 2024
…0d22b (#56032) Stdlib: Pkg URL: https://github.com/JuliaLang/Pkg.jl.git Stdlib branch: release-1.11 Julia branch: backports-release-1.11 Old commit: 6ceafca8e New commit: aba90d22b Julia version: 1.11.0 Pkg version: 1.11.0 Bump invoked by: @IanButterworth Powered by: [BumpStdlibs.jl](https://github.com/JuliaLang/BumpStdlibs.jl) Diff: JuliaLang/Pkg.jl@6ceafca...aba90d2 ``` $ git log --oneline 6ceafca8e..aba90d22b aba90d22b Merge pull request #4037 from JuliaLang/backports-release-1.11 76eaa4caa Fix julia#55850 by using safe_realpath instead of abspath in projname (#4025) df38587fb warn if General is installed via the old slow methods (#4022) 1475b628a update package extension naming docs (#4000) 72dc85e80 Tweak sentence syntax in getting-started.md (#4020) 0b2397089 make `add` and `dev` on a package remove it from the set of weak dependencies (#3865) ee2d51054 collect e.g. weak deps from project even if it is not a package (#3852) ``` Co-authored-by: Dilum Aluthge <dilum@aluthge.com>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I've run into an
Illegal instruction (core dumped)
crash by trying to run some old code. I can reproduce the crash on two linux 64-bit machines using 1613b3b.I've removed much of the surrounding code to get a 150-line test case which always crashes: https://gist.github.com/mlubin/6095957. JuMP must be installed. Unfortunately I couldn't simplify it any more than this.
The GDB backtrace isn't very helpful:
The text was updated successfully, but these errors were encountered: