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

Asserts on upcoming Julia 1.10 #933

Closed
KristofferC opened this issue Jul 7, 2023 · 2 comments
Closed

Asserts on upcoming Julia 1.10 #933

KristofferC opened this issue Jul 7, 2023 · 2 comments

Comments

@KristofferC
Copy link

Project.toml formatting |    3      3  0.5s
Test Summary: |Time
Piracy        | None  0.0s
julia: /workspace/srcdir/llvm-project/llvm/lib/IR/Instructions.cpp:525: void llvm::CallInst::init(llvm::FunctionType*, llvm::Value*, llvm::ArrayRef<llvm::Value*>, llvm::ArrayRef<llvm::OperandBundleDefT<llvm::Value*> >, const llvm::Twine&): Assertion `(Args.size() == FTy->getNumParams() || (FTy->isVarArg() && Args.size() > FTy->getNumParams())) && "Calling a function with bad signature!"' failed.

[87] signal (6.-6): Aborted
in expression starting at /home/pkgeval/.julia/packages/Enzyme/gS4lp/test/abi.jl:4
gsignal at /lib/x86_64-linux-gnu/libc.so.6 (unknown line)

PkgEval log: https://s3.amazonaws.com/julialang-reports/nanosoldier/pkgeval/by_hash/c9a32f4_vs_e4ee485/Enzyme.primary.log

@KristofferC
Copy link
Author

Here is another one:

julia: /workspace/srcdir/llvm-project/llvm/lib/IR/Instructions.cpp:525: void llvm::CallInst::init(llvm::FunctionType*, llvm::Value*, llvm::ArrayRef<llvm::Value*>, llvm::ArrayRef<llvm::OperandBundleDefT<llvm::Value*> >, const llvm::Twine&): Assertion `(Args.size() == FTy->getNumParams() || (FTy->isVarArg() && Args.size() > FTy->getNumParams())) && "Calling a function with bad signature!"' failed.

[33] signal (6.-6): Aborted
in expression starting at /home/pkgeval/.julia/packages/TransformVariables/tUgRO/test/runtests.jl:383
gsignal at /lib/x86_64-linux-gnu/libc.so.6 (unknown line)
abort at /lib/x86_64-linux-gnu/libc.so.6 (unknown line)
unknown function (ip: 0x7fc3460cb40e)
__assert_fail at /lib/x86_64-linux-gnu/libc.so.6 (unknown line)
_ZN4llvm8CallInst4initEPNS_12FunctionTypeEPNS_5ValueENS_8ArrayRefIS4_EENS5_INS_17OperandBundleDefTIS4_EEEERKNS_5TwineE at /opt/julia/bin/../lib/julia/libLLVM-15jl.so (unknown line)
_ZN4llvm13IRBuilderBase10CreateCallEPNS_12FunctionTypeEPNS_5ValueENS_8ArrayRefIS4_EERKNS_5TwineEPNS_6MDNodeE at /opt/julia/bin/../lib/julia/libLLVM-15jl.so (unknown line)
LLVMBuildCall2 at /opt/julia/bin/../lib/julia/libLLVM-15jl.so (unknown line)
LLVMBuildCall2 at /home/pkgeval/.julia/packages/LLVM/5aiiG/lib/15/libLLVM_h.jl:3199
call! at /home/pkgeval/.julia/packages/LLVM/5aiiG/src/irbuilder.jl:425 [inlined]
call! at /home/pkgeval/.julia/packages/LLVM/5aiiG/src/irbuilder.jl:424 [inlined]
lower_convention at /home/pkgeval/.julia/packages/Enzyme/gS4lp/src/compiler.jl:8571
#codegen#193 at /home/pkgeval/.julia/packages/Enzyme/gS4lp/src/compiler.jl:9044
codegen at /home/pkgeval/.julia/packages/Enzyme/gS4lp/src/compiler.jl:8695 [inlined]
_thunk at /home/pkgeval/.julia/packages/Enzyme/gS4lp/src/compiler.jl:9603
_thunk at /home/pkgeval/.julia/packages/Enzyme/gS4lp/src/compiler.jl:9600 [inlined]
cached_compilation at /home/pkgeval/.julia/packages/Enzyme/gS4lp/src/compiler.jl:9638 [inlined]
#s272#222 at /home/pkgeval/.julia/packages/Enzyme/gS4lp/src/compiler.jl:9700 [inlined]
#s272#222 at ./none:0

PkgEval log: https://s3.amazonaws.com/julialang-reports/nanosoldier/pkgeval/by_hash/c9a32f4_vs_e4ee485/TransformVariables.primary.log

@wsmoses
Copy link
Member

wsmoses commented Jul 13, 2023

This should be fixed on main, please reopen if persists (and will tag today)..

@wsmoses wsmoses closed this as completed Jul 13, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants