supertux2 segfaults on native Mir with SDL_VIDEODRIVER=mir trying to call glXQueryVersion

Bug #1605478 reported by Daniel van Vugt
18
This bug affects 3 people
Affects Status Importance Assigned to Milestone
Glew
Fix Released
Unknown
glew (Ubuntu)
Triaged
High
Unassigned
libsdl2 (Ubuntu)
Invalid
High
Unassigned
supertux (Ubuntu)
Invalid
High
Unassigned

Bug Description

supertux2 crashes on native Mir, trying to call GLX functions...

Thread 1 "supertux2" received signal SIGSEGV, Segmentation fault.
0x00007ffff519a95d in XQueryExtension ()
   from /usr/lib/x86_64-linux-gnu/libX11.so.6
(gdb) bt
#0 0x00007ffff519a95d in XQueryExtension ()
   from /usr/lib/x86_64-linux-gnu/libX11.so.6
#1 0x00007ffff518e4c2 in XInitExtension ()
   from /usr/lib/x86_64-linux-gnu/libX11.so.6
#2 0x00007ffff6f8269c in ?? () from /usr/lib/x86_64-linux-gnu/mesa/libGL.so.1
#3 0x00007ffff6f7e041 in glXQueryVersion ()
   from /usr/lib/x86_64-linux-gnu/mesa/libGL.so.1
#4 0x00007ffff6d2eb34 in glxewInit ()
   from /usr/lib/x86_64-linux-gnu/libGLEW.so.1.13
#5 0x0000000000560eeb in GLRenderer::GLRenderer() ()
#6 0x000000000055e153 in GLVideoSystem::GLVideoSystem() ()
#7 0x00000000004f4b85 in VideoSystem::create(VideoSystem::Enum) ()
#8 0x00000000004ad662 in Main::launch_game() ()
#9 0x00000000004af0ad in Main::run(int, char**) ()
#10 0x00000000004a9f13 in main ()

summary: - supertux2 crashes on native Mir, trying to call GLX functions
+ supertux2 crashes on native Mir (which is an SDL2 platform), trying to
+ call GLX functions
Revision history for this message
Launchpad Janitor (janitor) wrote : Re: supertux2 crashes on native Mir (which is an SDL2 platform), trying to call GLX functions

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in glew (Ubuntu):
status: New → Confirmed
Changed in supertux (Ubuntu):
status: New → Confirmed
Revision history for this message
dinamic (dinamic6661) wrote :

i'm a little confused now because it doesn't crash for me

i launch supertux with 'ubuntu-app-launch supertux2' and runs ok and i don't see any Xmir loaded

Revision history for this message
Daniel van Vugt (vanvugt) wrote :

That's OK, then you can ignore this bug.

Changed in libsdl2 (Ubuntu):
status: New → Confirmed
summary: - supertux2 crashes on native Mir (which is an SDL2 platform), trying to
- call GLX functions
+ supertux2 can't start on native Mir with SDL_VIDEODRIVER=mir
summary: - supertux2 can't start on native Mir with SDL_VIDEODRIVER=mir
+ supertux2 segfaults on native Mir with SDL_VIDEODRIVER=mir trying to
+ call glXQueryVersion
Changed in supertux (Ubuntu):
importance: Undecided → High
Changed in libsdl2 (Ubuntu):
importance: Undecided → High
Changed in glew (Ubuntu):
importance: Undecided → High
Revision history for this message
Nigel Stewart (nigels) wrote :

Sounds likely to be this issue:
https://github.com/nigels-com/glew/issues/103

I can go ahead and release a GLEW 2.0.1 (bugfix release) if it's likely to be promptly downstreamed.

Revision history for this message
Daniel van Vugt (vanvugt) wrote :

Thanks. Ubuntu appears to just copy and use Debian glew releases. So yes, if you can get Debian to release 2.0.1 that would help us.

There's no huge demand for a fix but it's periodically confusing if we try supertux as a Mir test once or twice a year and each time (I) forget that it's this bug preventing it from working. Or preventing any glew app from working on Mir, I guess.

Changed in libsdl2 (Ubuntu):
status: Confirmed → Invalid
Changed in supertux (Ubuntu):
status: Confirmed → Invalid
Changed in glew (Ubuntu):
status: Confirmed → Triaged
Changed in glew:
status: Unknown → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.