Skip to content

Testing BSplineKit asserts in LLVM with Attribute after last parameter! #47245

Closed

Description

PkgEval:

(jl_XXRoRG) pkg> test BSplineKit
     Testing BSplineKit
      Status `/tmp/jl_UPK8kk/Project.toml`
...
Precompiling project...
  8 dependencies successfully precompiled in 3 seconds. 28 already precompiled.
     Testing Running tests...
Test Summary:   | Pass  Total  Time
DifferentialOps |   17     17  0.2s
Test Summary: | Pass  Total  Time
Knots         |   86     86  0.0s
Attribute after last parameter!
  %645 = call token (...) @llvm.julia.gc_preserve_begin(), !dbg !492
Attribute after last parameter!
  %646 = call token (...) @llvm.julia.gc_preserve_begin(), !dbg !494
Attribute after last parameter!
  %647 = call token (...) @llvm.julia.gc_preserve_begin(), !dbg !495
julia: /home/kc/julia/src/llvm-alloc-opt.cpp:1187: bool {anonymous}::AllocOpt::runOnFunction(llvm::Function&, llvm::function_ref<llvm::DominatorTree&()>): Assertion `!verifyFunction(F, &errs())' failed.

[151419] signal (6): Aborted
in expression starting at /home/kc/.julia/packages/BSplineKit/ltMBY/test/bsplines.jl:136
pthread_kill at /lib/x86_64-linux-gnu/libc.so.6 (unknown line)
raise 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: 0x7fc5fe42871a)
__assert_fail at /lib/x86_64-linux-gnu/libc.so.6 (unknown line)
runOnFunction at /home/kc/julia/src/llvm-alloc-opt.cpp:1187 [inlined]
runOnFunction at /home/kc/julia/src/llvm-alloc-opt.cpp:1179
runOnFunction at /home/kc/julia/src/llvm-alloc-opt.cpp:1201
_ZN4llvm13FPPassManager13runOnFunctionERNS_8FunctionE at /home/kc/julia/usr/bin/../lib/libLLVM-14jl.so (unknown line)
_ZN4llvm13FPPassManager11runOnModuleERNS_6ModuleE at /home/kc/julia/usr/bin/../lib/libLLVM-14jl.so (unknown line)
_ZN4llvm6legacy15PassManagerImpl3runERNS_6ModuleE at /home/kc/julia/usr/bin/../lib/libLLVM-14jl.so (unknown line)
operator() at /home/kc/julia/src/jitlayers.cpp:1109 [inlined]
withModuleDo<(anonymous namespace)::OptimizerT::operator()(llvm::orc::ThreadSafeModule, llvm::orc::MaterializationResponsibility&)::<lambda(llvm::Module&)> > at /home/kc/julia/usr/include/llvm/ExecutionEngine/Orc/ThreadSafeModule.h:136 [inlined]
operator() at /home/kc/julia/src/jitlayers.cpp:1081 [inlined]
CallImpl<(anonymous namespace)::OptimizerT> at /home/kc/julia/usr/include/llvm/ADT/FunctionExtras.h:222
`` 
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

No one assigned

    Labels

    regressionRegression in behavior compared to a previous version

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions