Skip to content

Segfault in jl_object_id__cold when testing CountdownNumbers #57333

@KristofferC

Description

@KristofferC

The repo for this package seems to have been deleted so I hosted a fork here: https://github.com/KristofferC/CountdownNumbers.jl. The exact time it segfaults varies a bit. I did a very brief look into the source code and didn't immediately see anything strange.

     Testing Running tests...
[ Info: Running test case 1 of 10
[ Info: Running test case 2 of 10
[ Info: Running test case 3 of 10
┌ Warning: Could not find exact solution. Closest solution has L1 error 91
└ @ CountdownNumbers ~/JuliaPkgs/CountdownNumbers/src/public.jl:35
[ Info: Running test case 4 of 10
[ Info: Running test case 5 of 10

[43009] signal 11 (2): Segmentation fault: 11
in expression starting at /Users/kristoffercarlsson/JuliaPkgs/CountdownNumbers/test/runtests.jl:4
jl_object_id__cold at /Users/julia/.julia/scratchspaces/a66863c6-20e8-4ff4-8a62-49f30b1f605e/agent-cache/default-honeycrisp-XG3Q6T6R70.0/build/default-honeycrisp-XG3Q6T6R70-0/julialang/julia-master/src/builtins.c:441
ijl_object_id_ at /Users/julia/.julia/scratchspaces/a66863c6-20e8-4ff4-8a62-49f30b1f605e/agent-cache/default-honeycrisp-XG3Q6T6R70.0/build/default-honeycrisp-XG3Q6T6R70-0/julialang/julia-master/src/builtins.c:481 [inlined]
ijl_object_id at /Users/julia/.julia/scratchspaces/a66863c6-20e8-4ff4-8a62-49f30b1f605e/agent-cache/default-honeycrisp-XG3Q6T6R70.0/build/default-honeycrisp-XG3Q6T6R70-0/julialang/julia-master/src/builtins.c:487 [inlined]
immut_id_ at /Users/julia/.julia/scratchspaces/a66863c6-20e8-4ff4-8a62-49f30b1f605e/agent-cache/default-honeycrisp-XG3Q6T6R70.0/build/default-honeycrisp-XG3Q6T6R70-0/julialang/julia-master/src/builtins.c:413
objectid at ./runtime_internals.jl:847 [inlined]
hash at ./hashing.jl:36 [inlined]
hash at ./hashing.jl:28 [inlined]
hashindex at ./dict.jl:128 [inlined]
ht_keyindex2_shorthash! at ./dict.jl:269
setindex! at ./dict.jl:356
push! at ./set.jl:137
unknown function (ip: 0x11497411b) at (unknown file)
_all_formulas at /Users/kristoffercarlsson/JuliaPkgs/CountdownNumbers/src/generate_formulas.jl:15
unknown function (ip: 0x114a6d07f) at (unknown file)
_all_formulas at /Users/kristoffercarlsson/JuliaPkgs/CountdownNumbers/src/generate_formulas.jl:36 [inlined]
numbers at /Users/kristoffercarlsson/JuliaPkgs/CountdownNumbers/src/public.jl:19
unknown function (ip: 0x1148bbd67) at (unknown file)
macro expansion at /Users/kristoffercarlsson/JuliaPkgs/CountdownNumbers/test/runtests.jl:20 [inlined]

Metadata

Metadata

Assignees

No one assigned

    Labels

    GCGarbage collectorbugIndicates an unexpected problem or unintended behaviorcompiler:codegenGeneration of LLVM IR and native code

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions