← Back to team overview

touch-packages team mailing list archive

[Bug 1427946] Re: unity8 crashed with SIGABRT in __gnu_cxx::__verbose_terminate_handler() on exit

 

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
Touch seeded packages, which is subscribed to mir in Ubuntu.
https://bugs.launchpad.net/bugs/1427946

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

Status in Qt integration with the Mir display server:
  Triaged
Status in mir package in Ubuntu:
  Invalid
Status in qtmir package in Ubuntu:
  Confirmed
Status in unity8 package in Ubuntu:
  Triaged

Bug description:
  Unity8 aborts on exit with:

  terminate called after throwing an instance of 'boost::exception_detail::clone_impl<boost::exception_detail::error_info_injector<std::runtime_error> >'
    what():  Nested Mir Display Error: Failed to update EGL surface.

  https://errors.ubuntu.com/problem/fc69b4f16d4d4571c83038bf9dc47b84135d9ced

  ProblemType: Crash
  DistroRelease: Ubuntu 15.04
  Package: unity8 8.02+15.04.20150302-0ubuntu1
  ProcVersionSignature: Ubuntu 3.19.0-7.7-generic 3.19.0
  Uname: Linux 3.19.0-7-generic i686
  ApportVersion: 2.16.2-0ubuntu1
  Architecture: i386
  Date: Wed Mar  4 02:22:30 2015
  ExecutablePath: /usr/bin/unity8
  InstallationDate: Installed on 2014-12-10 (83 days ago)
  InstallationMedia: Ubuntu 15.04 "Vivid Vervet" - Alpha i386 (20141209)
  ProcCmdline: unity8
  ProcEnviron:
   PATH=(custom, no user)
   XDG_RUNTIME_DIR=<set>
   LANG=pl_PL.UTF-8
   SHELL=/bin/bash
  Signal: 6
  SourcePackage: unity8
  StacktraceTop:
   __gnu_cxx::__verbose_terminate_handler() () from /usr/lib/i386-linux-gnu/libstdc++.so.6
   ?? () from /usr/lib/i386-linux-gnu/libstdc++.so.6
   std::terminate() () from /usr/lib/i386-linux-gnu/libstdc++.so.6
   __cxa_throw () from /usr/lib/i386-linux-gnu/libstdc++.so.6
   ?? () from /usr/lib/i386-linux-gnu/libmirserver.so.30
  Title: unity8 crashed with SIGABRT in __gnu_cxx::__verbose_terminate_handler()
  UpgradeStatus: No upgrade log present (probably fresh install)
  UserGroups:

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