odin-lang / Odin

Odin Programming Language
https://odin-lang.org
BSD 3-Clause "New" or "Revised" License
6.13k stars 551 forks source link

Stack Overflow #3853

Open MrJCraft opened 5 days ago

MrJCraft commented 5 days ago

Context

Odin:    dev-2024-07:b4ca044ae
    OS:      Windows 10 Professional (version: 22H2), build 19045.4529
    CPU:     AMD Ryzen Threadripper 3970X 32-Core Processor
    RAM:     130965 MiB
    Backend: LLVM 17.0.1

Expected Behavior

Compiler should output a working program or should report the issue to the user in the form of a warning or error

Current Behavior

when I compile with -o=speed or aggressive the compiler crashes, with a stack overflow, if its -o=minimal its fine.

Steps to Reproduce

https://github.com/MrJCraft/Test odin build src -o=speed

Failure Logs

callstack.txt

Kelimion commented 5 days ago

I dont know when it started so I dont know what line caused it. maybe with some help on how to find that info I could create reproduction steps possibly SIMD as it began after I started working on that section of my code, but my diff is over 1000Loc a lot of #soa structs, and f32x16

That's not actionable.

Kelimion commented 5 days ago

Closed because there is zero information here that would let us replicate it or even help you supply a way for us to replicate it.

Tetralux commented 5 days ago

I'm afraid that in cases like this you're best bet is probably to just incrementally delete code from your codebase until it works again, and then incrementally put it back until it breaks again.