Public bug reported:

When trying to create a window with unsupported OpenGL attributes,
instead of failing gracefully (and then being able to try with a new set
of attributes), an X error occurs instead, terminating the program. The
error looks like this:

  X Error of failed request:  BadWindow (invalid Window parameter)
    Major opcode of failed request:  4 (X_DestroyWindow)
    Resource id in failed request:  0x0
    Serial number of failed request:  154
    Current serial number in output stream:  156

This was a known bug in SDL2 that has been fixed in this commit:
https://hg.libsdl.org/SDL/rev/2088cd828335

Only artful ships a package that is impacted by the bug, other ubuntu
versions ship either an SDL2 version that is older, or a version that
contains the fix. Would it be possible to backport the fix to the artful
package?

** Affects: libsdl2 (Ubuntu)
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1762033

Title:
  X BadWindow error when attemtping to create a window with unsupported
  OpenGL attributes

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/libsdl2/+bug/1762033/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to