You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Thread 1 ".odin-wrapped" received signal SIGSEGV, Segmentation fault.
0x00007fffefd8ece2 in LLVMIsConstant () from /nix/store/gkb76wz2dmx7x8d8xlf78gg1bxnf6l6m-llvm-18.1.8-lib/lib/libLLVM.so.18.1
(gdb)
pietrovismara
changed the title
Nil check on [N]rawptr compiles but crashes on launch
Compiler segfaults when nil checking [N]rawptr
Feb 23, 2025
Context
Odin: dev-2024-12:7be003557
OS: Windows 11 Professional (version: 23H2), build 22631.4890
CPU: 12th Gen Intel(R) Core(TM) i7-12700K
RAM: 32509 MiB
Backend: LLVM 18.1.8
Expected Behavior
I'd expect the compiler to fail with
Cannot convert untyped value 'nil' to '[4]rawptr' from 'untyped nil'
Failure Information (for bugs)
This bug has also been confirmed to happen on
dev-2025-02
.Steps to Reproduce
The text was updated successfully, but these errors were encountered: