crystal-lang / crystal

The Crystal Programming Language
https://crystal-lang.org
Apache License 2.0
19.36k stars 1.62k forks source link

Interpreter: LLVM ERROR: Invalid size request on a scalable vector. Aborted (core dumped) #14771

Open philipp-classen opened 3 months ago

philipp-classen commented 3 months ago

Calling Log.info results in a core dump in the interpreter:

Using compiled compiler at github/crystal/.build/crystal
Crystal interpreter 1.13.0-dev [e279b3c7f] (2024-07-01).
EXPERIMENTAL SOFTWARE: if you find a bug, please consider opening an issue in
https://github.com/crystal-lang/crystal/issues/new/

icr:1> require "log"
 => nil
icr:2> Log.info { "test" }
LLVM ERROR: Invalid size request on a scalable vector.
Aborted (core dumped)

Can be reproduced on master (tested with e279b3c7f90a43ff654694d9f7726a244aeda988)

OS: Arch Linux

$ crystal --version
Crystal 1.12.2 (2024-06-01)

LLVM: 17.0.6
Default target: x86_64-pc-linux-gnu