| Summary: | segfault if opengl window could not get created | ||
|---|---|---|---|
| Product: | SDL | Reporter: | Martin Gerhardy <martin.gerhardy> |
| Component: | video | Assignee: | Sam Lantinga <slouken> |
| Status: | RESOLVED FIXED | QA Contact: | Sam Lantinga <slouken> |
| Severity: | normal | ||
| Priority: | P2 | CC: | carles.pages |
| Version: | 2.0.0 | ||
| Hardware: | x86_64 | ||
| OS: | Linux | ||
*** Bug 1330 has been marked as a duplicate of this bug. *** This should be fixed, thanks! http://hg.libsdl.org/SDL/rev/744ae9bdf5da Is it expected that the window creation fails, or is that a separate bug? |
Program received signal SIGSEGV, Segmentation fault. X11_DestroyWindowFramebuffer (_this=0x8df2178, window=0x8f3cb98) at src/video/x11/SDL_x11framebuffer.c:196 196 Display *display = data->videodata->display; (gdb) bt full #0 X11_DestroyWindowFramebuffer (_this=0x8df2178, window=0x8f3cb98) at src/video/x11/SDL_x11framebuffer.c:196 data = 0x0 display = <optimized out> #1 0x001c821a in SDL_DestroyWindow (window=0x8f3cb98) at src/video/SDL_video.c:1943 display = 0x1def60 #2 SDL_DestroyWindow (window=0x8f3cb98) at src/video/SDL_video.c:1922 No locals. #3 0x001c8e5c in SDL_CreateWindow (title=0x809f05d "MyApp 0.1", x=805240832, y=805240832, w=1024, h=768, flags=38) at src/video/SDL_video.c:1181 window = <optimized out>