-
Notifications
You must be signed in to change notification settings - Fork 2.5k
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
[BUG] While loop logic causes seg fault. #2696
Comments
No problem (confirmed OK on 2024-05-28)
Problem confirmed:
|
@ematejska @jopamer also asked on discord at https://discord.com/channels/1087530497313357884/1224434323193594059/1242260289060077589 |
@ematejska, @JoeLoser , @mzaks, @jopamer, @rd4com, @jdiggins Here's an interesting clue to the mystery. It works when the line
|
This is a compiler bug from one of our passes. It's hitting an assertion in our compiler stack inside LLVM:
FYI @jeff |
Thanks for filing! We'll take a look. |
Duplicate filed here: #2821 Reduced use-case from there:
|
Bug description
This issue started a few days ago with Mojo nightly version 2024.5.1002.
Edit 2024-05-28:
In the code shown below, function
app_run
causes a seg fault, butapp_close
alone compiles and works properly. The logic to exit each while loop is essentially identical but inverted. I presume that both functions should compile and work properly.Important: I just confirmed that this issue does NOT exist with Mojo stable version 24.3.0 (9882e19d).
stack_dump.txt
Steps to reproduce
The text was updated successfully, but these errors were encountered: