Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Stack Overflow #3853

Open
MrJCraft opened this issue Jul 1, 2024 · 3 comments
Open

Stack Overflow #3853

MrJCraft opened this issue Jul 1, 2024 · 3 comments
Labels

Comments

@MrJCraft
Copy link

MrJCraft commented Jul 1, 2024

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 Kelimion closed this as completed Jul 1, 2024
@Kelimion
Copy link
Member

Kelimion commented Jul 1, 2024

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
Copy link
Member

Kelimion commented Jul 1, 2024

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
Copy link
Contributor

Tetralux commented Jul 1, 2024

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.

@Kelimion Kelimion reopened this Jul 1, 2024
@laytan laytan added the windows label Aug 11, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

4 participants