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

crash with parameter less function #196

Open
Pangoraw opened this issue Oct 25, 2024 · 0 comments
Open

crash with parameter less function #196

Pangoraw opened this issue Oct 25, 2024 · 0 comments

Comments

@Pangoraw
Copy link
Collaborator

julia> f = Reactant.compile(()) do
           a = ones(Float64, 2, 2)
           b = Reactant.promote_to(Reactant.TracedRArray{Float64,2}, a)
           return b
       end;
       f()

[431649] signal 11 (1): Segmentation fault
in expression starting at REPL[2]:1
llvm_type_rewrite at /cache/build/builder-demeter6-6/julialang/julia-master/src/ccall.cpp:402
emit_llvmcall at /cache/build/builder-demeter6-6/julialang/julia-master/src/ccall.cpp:846
emit_intrinsic at /cache/build/builder-demeter6-6/julialang/julia-master/src/intrinsics.cpp:1265
emit_call at /cache/build/builder-demeter6-6/julialang/julia-master/src/codegen.cpp:5201
emit_expr at /cache/build/builder-demeter6-6/julialang/julia-master/src/codegen.cpp:6199
emit_ssaval_assign at /cache/build/builder-demeter6-6/julialang/julia-master/src/codegen.cpp:5745
emit_stmtpos at /cache/build/builder-demeter6-6/julialang/julia-master/src/codegen.cpp:6023 [inlined]
emit_function at /cache/build/builder-demeter6-6/julialang/julia-master/src/codegen.cpp:9207
jl_emit_code at /cache/build/builder-demeter6-6/julialang/julia-master/src/codegen.cpp:9541
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

1 participant