Odin icon indicating copy to clipboard operation
Odin copied to clipboard

Stack Overflow

Open MrJCraft opened this issue 1 year ago • 3 comments

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

MrJCraft avatar Jul 01 '24 19:07 MrJCraft

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 avatar Jul 01 '24 19:07 Kelimion

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.

Kelimion avatar Jul 01 '24 19:07 Kelimion

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.

Tetralux avatar Jul 01 '24 19:07 Tetralux

the Issue was fixed at some point between updates.

MrJCraft avatar Feb 22 '25 16:02 MrJCraft