jeremyletang / rust-sfml

SFML bindings for Rust
Other
638 stars 88 forks source link

Segmentation fault on window change #15

Closed dguenther closed 11 years ago

dguenther commented 11 years ago

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 posted an issue in the rust repo, but they wanted to make sure it's not an SFML issue. I'm not certain if this is an SFML problem or a problem with my code 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:

jeremyletang commented 11 years ago

Hi,

I've just test your program, and i can't reproduce the bug. It's strange, i'm on OSX Mavericks too and i have no segfaults.

I test later today on Fedora, and i can tell you if can reproduce the bug.

Do you think that you can reproduce your bug with a minimal test case?

Which version of SFML do you use ? I use the last version from the Github Master of SFML. If your version is older, maybe it can be a bug solved recently?

dguenther commented 11 years ago

I'll try it with the master branch of SFML later today. I'm using version 2.0 binaries from the SFML website right now. If that doesn't fix it, I'll see if I can make a test case. Thanks for your help!

dguenther commented 11 years ago

Seems to work fine with the SFML master branch. Strange that I don't think that problem existed until recently... anyway, thanks again for your help!