Skip to content

Segmentation fault when exploring Core.svec allocation on Julia 1.12+ #96

@topolarity

Description

@topolarity
using AllocCheck
function svec_alloc(x)
    return Core.svec(x, 1)
end
AllocCheck.check_allocs(svec_alloc, (ErrorException,))

segfaults:

[234122] signal 11 (1): Segmentation fault
in expression starting at REPL[5]:1
typekeyvalue_hash at /cache/build/tester-amdci4-14/julialang/julia-release-1-dot-12/src/jltypes.c:1822 [inlined]
lookup_typevalue at /cache/build/tester-amdci4-14/julialang/julia-release-1-dot-12/src/jltypes.c:1136
lookup_arg_type_tuple at /cache/build/tester-amdci4-14/julialang/julia-release-1-dot-12/src/gf.c:3068 [inlined]
jl_lookup_generic_ at /cache/build/tester-amdci4-14/julialang/julia-release-1-dot-12/src/gf.c:4137 [inlined]
ijl_apply_generic at /cache/build/tester-amdci4-14/julialang/julia-release-1-dot-12/src/gf.c:4206
resolve_allocations at /home/topolarity/repos/AllocCheck.jl/src/classify.jl:209
#find_allocs!#43 at /home/topolarity/repos/AllocCheck.jl/src/AllocCheck.jl:138
find_allocs! at /home/topolarity/repos/AllocCheck.jl/src/AllocCheck.jl:96

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions