-
Notifications
You must be signed in to change notification settings - Fork 220
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
Panic running guide example on OSX #73
Comments
Yeah, this is probably the same as in #50 (comment). The real problem is that there is no backtrace anymore, which happened after upgrading glium. A similar error happens on Wayland (I did disable backtraces in glium because historically they've not been very useful). Not sure if this is also related to servo/webrender#3318, but I can't see any checks for the OpenGL context. The line that crashes is here: https://github.com/fschutt/glium/blob/cda2cc0229f430baa72b49a3e407c153221b3c8d/src/context/mod.rs#L645, however, since the lines (make_current() and is_current()) are directly after each other, this may be a caching issue with glium (happens too often, sadly). Can you run it in release mode and see if there's any output? |
In release mode, I get a blank window! |
I have exactly the same problem on macos. |
Maybe I meet the same issue, but I can see the backtrace:
Version bc0b00c, Any help? Update: Build and run in release mode successfully, no crash. |
Well, this has been "fixed" by simply removing that line. I don't know why this line was there, but I've gotten reports that it seems to work fine without it. So this was "fixed" in 60df3d6 - should work now. |
Description
Crash attempting to compile the code from the guide
Version / OS
Steps to Reproduce
Compile this code (from the guide):
Expected Behavior
Shows a window
Actual Behavior
Additional Information
Similar symptoms to #18, but that has a backtrace and appears in different code.
Happy to help debug, a mac is my main environment right now.
The text was updated successfully, but these errors were encountered: