← Back to team overview

touch-packages team mailing list archive

[Bug 1410457] Re: unity8 crashed with SIGSEGV in QHash<int, QWindowSystemInterface::TouchPoint>::remove()

 

Top frame of LP's backtrace rubbish. I got the following:

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0x7fb6d7051700 (LWP 3053)]
0x00007fb73bf9c463 in DisplayWindow::makeCurrent() () from /usr/lib/x86_64-linux-gnu/qt5/plugins/platforms/libqpa-mirserver.so
(gdb) bt
#0  0x00007fb73bf9c463 in DisplayWindow::makeCurrent() () from /usr/lib/x86_64-linux-gnu/qt5/plugins/platforms/libqpa-mirserver.so
#1  0x00007fb73bf9ec07 in MirOpenGLContext::makeCurrent(QPlatformSurface*) () from /usr/lib/x86_64-linux-gnu/qt5/plugins/platforms/libqpa-mirserver.so
#2  0x00007fb7456555c2 in QOpenGLContext::makeCurrent (this=0x10a92a0, surface=0xce9960) at kernel/qopenglcontext.cpp:813
#3  0x00007fb744abfb12 in QSGRenderThread::sync (this=0x131bc90) at scenegraph/qsgthreadedrenderloop.cpp:537
#4  0x00007fb744abfe98 in QSGRenderThread::syncAndRender (this=0x131bc90) at scenegraph/qsgthreadedrenderloop.cpp:587
#5  0x00007fb744ac07d8 in QSGRenderThread::run (this=0x131bc90) at scenegraph/qsgthreadedrenderloop.cpp:704
#6  0x00007fb743b3dd2e in QThreadPrivate::start (arg=0x131bc90) at thread/qthread_unix.cpp:345
#7  0x00007fb7423690a5 in start_thread (arg=0x7fb6d7051700) at pthread_create.c:309
#8  0x00007fb7432b190d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111

and the unity8 log shows me:

QtCompositor::setAllWindowsExposed false
DisplayWindow::event got QEvent::Hide
QtCompositor::setAllWindowsExposed true
DisplayWindow::event got QEvent::Show

So appears as if Qt is trying to render with the display off - which
will crash.

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

Title:
  DisplayWindow::makeCurrent crash with xmir apps

Status in Qt integration with the Mir display server:
  Confirmed
Status in qtmir package in Ubuntu:
  New
Status in unity8 package in Ubuntu:
  New

Bug description:
  This crash occurs when opening an Xmir window and leaving it idle for
  ~5-10 minutes.

  If you need steps to reproduce, please ping me.

  ProblemType: Crash
  DistroRelease: Ubuntu 15.04
  Package: unity8 8.02+15.04.20150109.2-0ubuntu1
  ProcVersionSignature: Ubuntu 3.18.0-8.9-generic 3.18.1
  Uname: Linux 3.18.0-8-generic x86_64
  ApportVersion: 2.15.1-0ubuntu2
  Architecture: amd64
  CrashCounter: 1
  Date: Tue Jan 13 11:57:45 2015
  ExecutablePath: /usr/bin/unity8
  ExecutableTimestamp: 1420800924
  InstallationDate: Installed on 2013-03-18 (666 days ago)
  InstallationMedia: Ubuntu 12.10 "Quantal Quetzal" - Release amd64 (20121017.5)
  ProcCmdline: unity8
  ProcCwd: /home/townsend
  ProcEnviron:
   LANGUAGE=en_US
   PATH=(custom, no user)
   XDG_RUNTIME_DIR=<set>
   LANG=en_US.UTF-8
   SHELL=/bin/bash
  SegvAnalysis:
   Segfault happened at: 0x7fb06a6fc357 <_ZN13DisplayWindow11makeCurrentEv+27>:	mov    (%rax),%rax
   PC (0x7fb06a6fc357) ok
   source "(%rax)" (0x00000030) not located in a known VMA region (needed readable region)!
   destination "%rax" ok
   Stack memory exhausted (SP below stack segment)
  SegvReason: reading NULL VMA
  Signal: 11
  SourcePackage: unity8
  StacktraceTop:
   DisplayWindow::makeCurrent() () from /usr/lib/x86_64-linux-gnu/qt5/plugins/platforms/libqpa-mirserver.so
   MirOpenGLContext::makeCurrent(QPlatformSurface*) () from /usr/lib/x86_64-linux-gnu/qt5/plugins/platforms/libqpa-mirserver.so
   QOpenGLContext::makeCurrent(QSurface*) () from /usr/lib/x86_64-linux-gnu/libQt5Gui.so.5
   ?? () from /usr/lib/x86_64-linux-gnu/libQt5Quick.so.5
   ?? () from /usr/lib/x86_64-linux-gnu/libQt5Quick.so.5
  Title: unity8 crashed with SIGSEGV in DisplayWindow::makeCurrent()
  UpgradeStatus: Upgraded to vivid on 2014-10-20 (85 days ago)
  UserGroups: adm autopilot cdrom dip lpadmin plugdev sambashare sudo vboxusers

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