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

** Changed in: qtubuntu (Ubuntu)
       Status: New => Confirmed

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to qtubuntu in Ubuntu.
https://bugs.launchpad.net/bugs/1580118

Title:
  GLContext: if creating a context fails, deleting it causes crash

Status in qtubuntu package in Ubuntu:
  Confirmed

Bug description:
  See here:
  http://paste.ubuntu.com/16343869/

  this is the relevant code from qsgthreadedrendererloop.cpp:

          if (!w->thread->gl) {
              w->thread->gl = new QOpenGLContext();
              if (qt_gl_global_share_context())
                  w->thread->gl->setShareContext(qt_gl_global_share_context());
              w->thread->gl->setFormat(w->window->requestedFormat());
              w->thread->gl->setScreen(w->window->screen());
              if (!w->thread->gl->create()) {
                  const bool isEs = w->thread->gl->isOpenGLES();
                  delete w->thread->gl;
                  w->thread->gl = 0;
                  handleContextCreationFailure(w->window, isEs);
                  return;
              }

  
  Qt is creating a GL context object, but creation fails. In cleaning up, 
QtUbuntu crashes as it's tries to release an invalid context.

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

-- 
Mailing list: https://launchpad.net/~touch-packages
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~touch-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to