I suspect at shutdown, the "QScreen" backing the qquickwindow is deleted
before the qquickwindow is closed - when that happens, qt still has gl
resources it wants to release, so tries to acquire a new shared gl
context and release them, before shutting down properly.

But this causes qtmir to try creating a new QPlatformOpenGLContext which
tries to create a Display, while mir is shutting down, and I suspect the
egl state is not suited to that.

Proper solution is to implement a QPlatformOffscreenSurface and use it
on shutdown

** Changed in: mir (Ubuntu)
       Status: New => Invalid

** Also affects: qtmir (Ubuntu)
   Importance: Undecided
       Status: New

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

** Also affects: qtmir
   Importance: Undecided
       Status: New

** Changed in: qtmir
       Status: New => Triaged

** Changed in: qtmir
   Importance: Undecided => High

** Changed in: qtmir
     Assignee: (unassigned) => Gerry Boland (gerboland)

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

Title:
  unity8 crashed with SIGABRT in
  __gnu_cxx::__verbose_terminate_handler() on exit

To manage notifications about this bug go to:
https://bugs.launchpad.net/qtmir/+bug/1427946/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to