-
Notifications
You must be signed in to change notification settings - Fork 53
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
Crash on macOS #67
Comments
Hi! Thanks for reporting this! I probably wouldn't have seen it otherwise. 😄 Could you provide more information about your computer and rust versions? Here are some of the things I'm looking for:
Does the example from the piston_window repository run? You can run it by downloading or cloning the piston_window repository and then running:
|
I can try it tonight when I’m home |
@sunjay Saw your post on twitter and had a free cycle to test: Both work correctly with stable rust: 1.25.0 The piston_window example DOES NOT work with the rust nightly... thus probably why Turtle isn't working either. The piston_window example fails with "allocator memory exhausted", Illegal instruction: 4 |
@cuyler Thank you so much! I opened an issue in piston_window so the problem can be discussed there. It sounds like this is working on stable Rust, so I encourage anyone running into this issue to work on stable until this is fixed. In the meantime, if anyone is able to debug this further and find a way to fix the issue, that would definitely be appreciated! 😄 |
@crazymykl was kind enough to look into this. This issue can be closed once the issue in the piston_window repository is closed and we have updated our dependencies and verified the fix. |
I’ll verify this works this afternoon, when I get a few free moments. |
Thanks! The build seems to be failing so we'll need to figure out why. I am happy to accept this once that is fixed. 😄 |
Cross-posting from #80:
So basically, I don't know how to fix this and I don't have the resources (operating system, time, etc.) at the moment to look into it. To see exactly what went wrong, look at the PR comments in #80. I'm going to leave this issue open in order to track that the problem exists, but I won't personally be looking into the solution any time soon. If you are willing to look into this, here are some hints that may help:
Who knows? Maybe this is actually a trivial fix and I just don't have a Mac to figure it out. Sorry for not being able to address this sooner! |
Honestly, I got super busy with other things and completely spaced this. I’ll put it back into my task rotation and see if I can make some sense out of it. |
Thank you! I really appreciate that! |
Sorry this took so long to get around to! I've updated piston_window to the latest version. Could someone with a Mac test to see if the library is working now?
Let me know if everything looks good. Thanks! 😄 |
👍 Both work as expected on MacOS Mojave 10.14.4. |
Awesome! Thank you for trying it out! Please don't hesitate to let me know if more issues come up. Opening a new issue is probably better than re-opening this one. 😄 Thanks everyone! 🎉 |
There's a reported crash on macOS: https://www.reddit.com/r/rust/comments/88xt9a/turtle_crashes_on_macos/
While trying to reproduce, I got the following:
The text was updated successfully, but these errors were encountered: