Public bug reported:

Runing builddir/src/unity8 and closing it crashes for me.

gdb trace

(gdb) bt
#0  0x0000000000000000 in  ()
#1  0x00007ffff7191c41 in 
QGuiApplicationPrivate::processActivatedEvent(QWindowSystemInterfacePrivate::ActivatedWindowEvent*)
 (e=0x1d85790) at kernel/qguiapplication.cpp:1938
#2  0x00007ffff71920ed in 
QGuiApplicationPrivate::processWindowSystemEvent(QWindowSystemInterfacePrivate::WindowSystemEvent*)
 (e=e@entry=0x1d85790) at kernel/qguiapplication.cpp:1597
#3  0x00007ffff71775b8 in 
QWindowSystemInterface::sendWindowSystemEvents(QFlags<QEventLoop::ProcessEventsFlag>)
 (flags=...) at kernel/qwindowsysteminterface.cpp:572
#4  0x00007fffee36f250 in userEventSourceDispatch(GSource*, GSourceFunc, 
gpointer) (source=<optimized out>) at 
eventdispatchers/qeventdispatcher_glib.cpp:70
#5  0x00007ffff3e65117 in g_main_context_dispatch (context=0x7fffe40016f0) at 
/build/glib2.0-ZjeN9o/glib2.0-2.47.1/./glib/gmain.c:3154
#6  0x00007ffff3e65117 in g_main_context_dispatch 
(context=context@entry=0x7fffe40016f0) at 
/build/glib2.0-ZjeN9o/glib2.0-2.47.1/./glib/gmain.c:3769
#7  0x00007ffff3e65370 in g_main_context_iterate 
(context=context@entry=0x7fffe40016f0, block=block@entry=0, 
dispatch=dispatch@entry=1, self=<optimized out>) at 
/build/glib2.0-ZjeN9o/glib2.0-2.47.1/./glib/gmain.c:3840
#8  0x00007ffff3e6541c in g_main_context_iteration (context=0x7fffe40016f0, 
may_block=may_block@entry=0) at 
/build/glib2.0-ZjeN9o/glib2.0-2.47.1/./glib/gmain.c:3901
#9  0x00007ffff6ab227f in 
QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) 
(this=0x733220, flags=...) at kernel/qeventdispatcher_glib.cpp:418
#10 0x00007fffbdde862b in QLightDM::GreeterImpl::cancelPam() (this=0x6999b0) at 
/home/tsdgeos_work/phablet/unity8/unity8/plugins/IntegratedLightDM/liblightdm/GreeterPrivate.cpp:266
#11 0x00007fffbdde7774 in QLightDM::GreeterImpl::~GreeterImpl() (this=0x6999b0, 
__in_chrg=<optimized out>) at 
/home/tsdgeos_work/phablet/unity8/unity8/plugins/IntegratedLightDM/liblightdm/GreeterPrivate.cpp:65
#12 0x00007fffbdde77d0 in QLightDM::GreeterImpl::~GreeterImpl() (this=0x6999b0, 
__in_chrg=<optimized out>) at 
/home/tsdgeos_work/phablet/unity8/unity8/plugins/IntegratedLightDM/liblightdm/GreeterPrivate.cpp:66
#13 0x00007ffff6a89d2b in QObjectPrivate::deleteChildren() 
(this=this@entry=0xd9ab80) at kernel/qobject.cpp:1950
#14 0x00007ffff6a93620 in QObject::~QObject() (this=<optimized out>, 
__in_chrg=<optimized out>) at kernel/qobject.cpp:1030
#15 0x00007fffbdde47cc in QLightDM::Greeter::~Greeter() (this=0xe9be80, 
__in_chrg=<optimized out>) at 
/home/tsdgeos_work/phablet/unity8/unity8/plugins/IntegratedLightDM/liblightdm/Greeter.cpp:40
#16 0x00007fffbdde47fc in QLightDM::Greeter::~Greeter() (this=0xe9be80, 
__in_chrg=<optimized out>) at 
/home/tsdgeos_work/phablet/unity8/unity8/plugins/IntegratedLightDM/liblightdm/Greeter.cpp:42
#17 0x00007ffff6a89d2b in QObjectPrivate::deleteChildren() 
(this=this@entry=0xeca0d0) at kernel/qobject.cpp:1950
#18 0x00007ffff6a93620 in QObject::~QObject() (this=<optimized out>, 
__in_chrg=<optimized out>) at kernel/qobject.cpp:1030
#19 0x00007fffbdde460a in Greeter::~Greeter() (this=0xeacb30, 
__in_chrg=<optimized out>) at 
/home/tsdgeos_work/phablet/unity8/unity8/builddir/plugins/IntegratedLightDM/../../../plugins/IntegratedLightDM/Greeter.h:33
#20 0x00007fffbdde463a in Greeter::~Greeter() (this=0xeacb30, 
__in_chrg=<optimized out>) at 
/home/tsdgeos_work/phablet/unity8/unity8/builddir/plugins/IntegratedLightDM/../../../plugins/IntegratedLightDM/Greeter.h:33
#21 0x00007ffff6eecd82 in QQmlType::SingletonInstanceInfo::destroy(QQmlEngine*) 
() at /usr/lib/x86_64-linux-gnu/libQt5Qml.so.5
#22 0x00007ffff6ec39e0 in QQmlEngine::~QQmlEngine() () at 
/usr/lib/x86_64-linux-gnu/libQt5Qml.so.5
#23 0x00007ffff6ec3b09 in QQmlEngine::~QQmlEngine() () at 
/usr/lib/x86_64-linux-gnu/libQt5Qml.so.5
#24 0x000000000040f074 in ShellApplication::destroyResources() (this=0x63a0e0) 
at /home/tsdgeos_work/phablet/unity8/unity8/src/ShellApplication.cpp:140
#25 0x000000000040883c in main(int, char const**) (argc=1, argv=0x7fffffffdbb8) 
at /home/tsdgeos_work/phablet/unity8/unity8/src/main.cpp:32


Valgrind trace

==30432== Invalid read of size 8
==30432==    at 0x5718C30: 
QGuiApplicationPrivate::processActivatedEvent(QWindowSystemInterfacePrivate::ActivatedWindowEvent*)
 (in /usr/lib/x86_64-linux-gnu/libQt5Gui.so.5.4.2)
==30432==    by 0x57190EC: 
QGuiApplicationPrivate::processWindowSystemEvent(QWindowSystemInterfacePrivate::WindowSystemEvent*)
 (in /usr/lib/x86_64-linux-gnu/libQt5Gui.so.5.4.2)
==30432==    by 0x56FE5B7: 
QWindowSystemInterface::sendWindowSystemEvents(QFlags<QEventLoop::ProcessEventsFlag>)
 (in /usr/lib/x86_64-linux-gnu/libQt5Gui.so.5.4.2)
==30432==    by 0xEC9E24F: userEventSourceDispatch(_GSource*, int (*)(void*), 
void*) (in /usr/lib/x86_64-linux-gnu/qt5/plugins/platforms/libqxcb.so)
==30432==    by 0x8B2F116: g_main_context_dispatch (in 
/lib/x86_64-linux-gnu/libglib-2.0.so.0.4700.1)
==30432==    by 0x8B2F36F: g_main_context_iterate.isra.29 (in 
/lib/x86_64-linux-gnu/libglib-2.0.so.0.4700.1)
==30432==    by 0x8B2F41B: g_main_context_iteration (in 
/lib/x86_64-linux-gnu/libglib-2.0.so.0.4700.1)
==30432==    by 0x625527E: 
QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) (in 
/usr/lib/x86_64-linux-gnu/libQt5Core.so.5.4.2)
==30432==    by 0x2A7D362A: QLightDM::GreeterImpl::cancelPam() 
(GreeterPrivate.cpp:266)
==30432==    by 0x2A7D2773: QLightDM::GreeterImpl::~GreeterImpl() 
(GreeterPrivate.cpp:65)
==30432==    by 0x2A7D27CF: QLightDM::GreeterImpl::~GreeterImpl() 
(GreeterPrivate.cpp:66)
==30432==    by 0x622CD2A: QObjectPrivate::deleteChildren() (in 
/usr/lib/x86_64-linux-gnu/libQt5Core.so.5.4.2)
==30432==    by 0x623661F: QObject::~QObject() (in 
/usr/lib/x86_64-linux-gnu/libQt5Core.so.5.4.2)
==30432==    by 0x2A7CF7CB: QLightDM::Greeter::~Greeter() (Greeter.cpp:40)
==30432==    by 0x2A7CF7FB: QLightDM::Greeter::~Greeter() (Greeter.cpp:42)
==30432==    by 0x622CD2A: QObjectPrivate::deleteChildren() (in 
/usr/lib/x86_64-linux-gnu/libQt5Core.so.5.4.2)
==30432==    by 0x623661F: QObject::~QObject() (in 
/usr/lib/x86_64-linux-gnu/libQt5Core.so.5.4.2)
==30432==    by 0x2A7CF609: Greeter::~Greeter() (in 
/home/tsdgeos_work/phablet/unity8/unity8/builddir/plugins/IntegratedLightDM/libIntegratedLightDM-qml.so)
==30432==    by 0x2A7CF639: Greeter::~Greeter() (Greeter.h:33)
==30432==    by 0x5DC0D81: 
QQmlType::SingletonInstanceInfo::destroy(QQmlEngine*) (in 
/usr/lib/x86_64-linux-gnu/libQt5Qml.so.5.4.2)
==30432==    by 0x5D979DF: QQmlEngine::~QQmlEngine() (in 
/usr/lib/x86_64-linux-gnu/libQt5Qml.so.5.4.2)
==30432==    by 0x5D97B08: QQmlEngine::~QQmlEngine() (in 
/usr/lib/x86_64-linux-gnu/libQt5Qml.so.5.4.2)
==30432==    by 0x40F073: ShellApplication::destroyResources() 
(ShellApplication.cpp:140)
==30432==    by 0x40883B: main (main.cpp:32)
==30432==  Address 0x1949cc00 is 0 bytes inside a block of size 40 free'd
==30432==    at 0x4C2D28B: operator delete(void*) (vg_replace_malloc.c:575)
==30432==    by 0x4166F5: ShellView::~ShellView() (ShellView.h:22)
==30432==    by 0x40EFCB: ShellApplication::destroyResources() 
(ShellApplication.cpp:131)
==30432==    by 0x40883B: main (main.cpp:32)
==30432==  Block was alloc'd at
==30432==    at 0x4C2C12F: operator new(unsigned long) (vg_replace_malloc.c:333)
==30432==    by 0x40EA3E: ShellApplication::ShellApplication(int&, char**, 
bool) (ShellApplication.cpp:81)
==30432==    by 0x408823: main (main.cpp:28)
==30432== 
==30432== Invalid read of size 4
==30432==    at 0x6361284: ??? (in 
/usr/lib/x86_64-linux-gnu/libQt5Core.so.5.4.2)
==30432==    by 0xFFEFFF47F: ???
==30432==    by 0xFFEFFF3FE: ???
==30432==    by 0x262551A4C44712FF: ???
==30432==    by 0x27D4: ???
==30432==    by 0x4: ???
==30432==  Address 0x1949cc6e is 2 bytes before a block of size 720 free'd
==30432==    at 0x4C2D28B: operator delete(void*) (vg_replace_malloc.c:575)
==30432==    by 0x6236667: QObject::~QObject() (in 
/usr/lib/x86_64-linux-gnu/libQt5Core.so.5.4.2)
==30432==    by 0x571EA78: QWindow::~QWindow() (in 
/usr/lib/x86_64-linux-gnu/libQt5Gui.so.5.4.2)
==30432==    by 0x53F38B0: QQuickWindow::~QQuickWindow() (qquickwindow.cpp:1102)
==30432==    by 0x4166B4: ShellView::~ShellView() (ShellView.h:22)
==30432==    by 0x4166E9: ShellView::~ShellView() (ShellView.h:22)
==30432==    by 0x40EFCB: ShellApplication::destroyResources() 
(ShellApplication.cpp:131)
==30432==    by 0x40883B: main (main.cpp:32)
==30432==  Block was alloc'd at
==30432==    at 0x4C2C12F: operator new(unsigned long) (vg_replace_malloc.c:333)
==30432==    by 0x549E70C: QQuickView::QQuickView(QQmlEngine*, QWindow*) 
(qquickview.cpp:211)
==30432==    by 0x413209: ShellView::ShellView(QQmlEngine*, QObject*) 
(ShellView.cpp:27)
==30432==    by 0x40EA62: ShellApplication::ShellApplication(int&, char**, 
bool) (ShellApplication.cpp:81)
==30432==    by 0x408823: main (main.cpp:28)

** Affects: unity8 (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/1521138

Title:
  unity8 crashes when closing (as app inside unity7)

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

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

Reply via email to