Skip to content

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

Closed
dguenther opened this issue Nov 25, 2013 · 3 comments
Closed

Segmentation fault on window change #10659

dguenther opened this issue Nov 25, 2013 · 3 comments

Comments

@dguenther
Copy link
Contributor

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:

@thestinger
Copy link
Contributor

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.

@dguenther
Copy link
Contributor Author

I'll check with Jeremy and see if he has any feedback.

@dguenther
Copy link
Contributor Author

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!

flip1995 pushed a commit to flip1995/rust that referenced this issue Apr 23, 2023
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`
flip1995 pushed a commit to flip1995/rust that referenced this issue Apr 23, 2023
…on-macros, r=llogiq

Ignore `manual_slice_size_calculation` in code from macro expansions

changelog: none, assuming same release as rust-lang#10659
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants