Skip to content

Segmentation fault in test/ccall.jl with ASAN #44558

@tkf

Description

@tkf

On Julia 1.9-DEV (88690bc which is a trivial commit based on 8076517) I get

$ tmp/test-asan/asan/usr/bin/julia-debug -e 'Base.runtests(ARGS)' ccall
Test  (Worker) | Time (s) | GC (s) | GC % | Alloc (MB) | RSS (MB)
ccall      (1) |        started at 2022-03-10T21:45:26.765

signal (11): Segmentation fault
in expression starting at /home/arakaki/repos/watch/_wt/julia/workspace3/tmp/test-asan/asan/usr/share/julia/test/
ccall.jl:1196
_ZNK4llvm4Type7isSizedEPNS_15SmallPtrSetImplIPS0_EE at /home/arakaki/repos/watch/_wt/julia/workspace3/tmp/test-as
an/asan/usr/bin/../lib/libLLVM-13jl.so (unknown line)
Allocations: 17855965 (Pool: 0; Other: 17855965); GC: 331
Allocations: 17855965 (Pool: 0; Other: 17855965); GC: 331
ERROR: A test has failed. Please submit a bug report (https://github.com/JuliaLang/julia/issues)
including error messages above and the output of versioninfo():
Julia Version 1.9.0-DEV.166
Commit 88690bcd7e (2022-03-10 06:22 UTC)
DEBUG build
Platform Info:
  OS: Linux (x86_64-unknown-linux-gnu)
  CPU: 128 × AMD EPYC 7502 32-Core Processor
  WORD_SIZE: 64
  LIBM: libopenlibm
  LLVM: libLLVM-13.0.1 (ORCJIT, znver2)
  Threads: 1 on 128 virtual cores

Found in JuliaCI/julia-buildkite#51

Metadata

Metadata

Assignees

No one assigned

    Labels

    asan trophy caseBugs found using asanbugIndicates an unexpected problem or unintended behavior

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions