-
Notifications
You must be signed in to change notification settings - Fork 13.3k
Segmentation fault on window change #10659
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
Comments
There's not really anything that can be acted upon unless it's narrowed down to actually being a Rust bug. I would equal likelihood of it being an SFML issue, or more likely just a bug in the usage of SFML. |
I'll check with Jeremy and see if he has any feedback. |
It seems to work fine with the latest SFML/CSFML master branch, so that must have been the issue. I'm not sure why the problem didn't appear until now. Thanks for the advice! |
Suggest `std::mem::size_of_val` instead of `std::mem::size_of_value` This fixes the incorrect suggestion to use `std::mem::size_of_value`. It should be [`std::mem::size_of_val`](https://doc.rust-lang.org/std/mem/fn.size_of_val.html). changelog: [`manual_slice_size_calculation`]: suggest `std::mem::size_of_val` rather than `std::mem::size_of_value`
…on-macros, r=llogiq Ignore `manual_slice_size_calculation` in code from macro expansions changelog: none, assuming same release as rust-lang#10659
This bug just popped up where if I run my program, then click off of the main window to the console window, the program segfaults almost immediately. I'm not certain that this is a rust problem as it doesn't seem to repro on test programs. Also, I'm running OS X Mavericks. Here's a paste of the log I get back: http://pastebin.com/4AtNFacV
Repro steps:
./main <rompath>
from a terminal window.The text was updated successfully, but these errors were encountered: