Bug 358300

Summary: Plasma crashed during xdg-utils-1.1.1 unit testing
Product: [Plasma] plasmashell Reporter: Alexey Chernov <4ernov>
Component: generalAssignee: David Edmundson <kde>
Status: RESOLVED DUPLICATE    
Severity: crash CC: bhush94, plasma-bugs
Priority: NOR Keywords: drkonqi
Version: 5.5.3   
Target Milestone: 1.0   
Platform: Compiled Sources   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Alexey Chernov 2016-01-21 09:01:42 UTC
Application: plasmashell (5.5.3)
 (Compiled from sources)
Qt Version: 5.5.1
Operating System: Linux 4.3.3 x86_64

-- Information about the crash:
- What I was doing when the application crashed:
I've been testing xdg-utils-1.1.1 package before installing it, it interacts with DE during this and one of these test cases crashed Plasma.

-- Backtrace:
Application: Plasma (plasmashell), signal: Aborted
Using host libthread_db library "/lib/libthread_db.so.1".
[Current thread is 1 (Thread 0x7f2749e2e7c0 (LWP 2137))]

Thread 7 (Thread 0x7f272df0b700 (LWP 2142)):
#0  0x00007f274140edbd in poll () from /lib/libc.so.6
#1  0x00007f2747acc152 in _xcb_conn_wait () from /usr/X11R6/lib64/libxcb.so.1
#2  0x00007f2747ace2e9 in xcb_wait_for_event () from /usr/X11R6/lib64/libxcb.so.1
#3  0x00007f272fe8aaf9 in QXcbEventReader::run (this=0xfee0f0) at qxcbconnection.cpp:1229
#4  0x00007f27420081e0 in QThreadPrivate::start (arg=0xfee0f0) at thread/qthread_unix.cpp:331
#5  0x00007f27407703e4 in start_thread () from /lib/libpthread.so.0
#6  0x00007f2741417d0d in clone () from /lib/libc.so.6

Thread 6 (Thread 0x7f27271cf700 (LWP 2153)):
#0  0x00007f274140edbd in poll () from /lib/libc.so.6
#1  0x00007f273ca31fe4 in g_main_context_iterate.isra () from /usr/lib/libglib-2.0.so.0
#2  0x00007f273ca320ec in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#3  0x00007f27422471fb in QEventDispatcherGlib::processEvents (this=0x7f27200008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:420
#4  0x00007f27421ec622 in QEventLoop::exec (this=this@entry=0x7f27271cedf0, flags=..., flags@entry=...) at kernel/qeventloop.cpp:204
#5  0x00007f2742002693 in QThread::exec (this=this@entry=0x10ed1e0) at thread/qthread.cpp:503
#6  0x00007f27464c2235 in QQmlThreadPrivate::run (this=0x10ed1e0) at qml/ftw/qqmlthread.cpp:141
#7  0x00007f27420081e0 in QThreadPrivate::start (arg=0x10ed1e0) at thread/qthread_unix.cpp:331
#8  0x00007f27407703e4 in start_thread () from /lib/libpthread.so.0
#9  0x00007f2741417d0d in clone () from /lib/libc.so.6

Thread 5 (Thread 0x7f271dd38700 (LWP 2170)):
#0  0x00007f2740775f5f in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#1  0x00007f2724998a8a in radeon_drm_cs_emit_ioctl () from /usr/X11/lib/dri/r600_dri.so
#2  0x00007f27249982b7 in impl_thrd_routine () from /usr/X11/lib/dri/r600_dri.so
#3  0x00007f27407703e4 in start_thread () from /lib/libpthread.so.0
#4  0x00007f2741417d0d in clone () from /lib/libc.so.6

Thread 4 (Thread 0x7f2718fd2700 (LWP 2171)):
#0  0x00007f274140edbd in poll () from /lib/libc.so.6
#1  0x00007f273ca31fe4 in g_main_context_iterate.isra () from /usr/lib/libglib-2.0.so.0
#2  0x00007f273ca320ec in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#3  0x00007f27422471fb in QEventDispatcherGlib::processEvents (this=0x7f27140008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:420
#4  0x00007f27421ec622 in QEventLoop::exec (this=this@entry=0x7f2718fd1df0, flags=..., flags@entry=...) at kernel/qeventloop.cpp:204
#5  0x00007f2742002693 in QThread::exec (this=this@entry=0x13cafc0) at thread/qthread.cpp:503
#6  0x00007f27464c2235 in QQmlThreadPrivate::run (this=0x13cafc0) at qml/ftw/qqmlthread.cpp:141
#7  0x00007f27420081e0 in QThreadPrivate::start (arg=0x13cafc0) at thread/qthread_unix.cpp:331
#8  0x00007f27407703e4 in start_thread () from /lib/libpthread.so.0
#9  0x00007f2741417d0d in clone () from /lib/libc.so.6

Thread 3 (Thread 0x7f2713454700 (LWP 2173)):
#0  0x00007f273ca82c70 in g_mutex_lock () from /usr/lib/libglib-2.0.so.0
#1  0x00007f273ca31375 in g_main_context_prepare () from /usr/lib/libglib-2.0.so.0
#2  0x00007f273ca31f13 in g_main_context_iterate.isra () from /usr/lib/libglib-2.0.so.0
#3  0x00007f273ca320ec in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#4  0x00007f27422471fb in QEventDispatcherGlib::processEvents (this=0x7f270c0008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:420
#5  0x00007f27421ec622 in QEventLoop::exec (this=this@entry=0x7f2713453df0, flags=..., flags@entry=...) at kernel/qeventloop.cpp:204
#6  0x00007f2742002693 in QThread::exec (this=this@entry=0x1458f90) at thread/qthread.cpp:503
#7  0x00007f27464c2235 in QQmlThreadPrivate::run (this=0x1458f90) at qml/ftw/qqmlthread.cpp:141
#8  0x00007f27420081e0 in QThreadPrivate::start (arg=0x1458f90) at thread/qthread_unix.cpp:331
#9  0x00007f27407703e4 in start_thread () from /lib/libpthread.so.0
#10 0x00007f2741417d0d in clone () from /lib/libc.so.6

Thread 2 (Thread 0x7f268a6da700 (LWP 2221)):
#0  0x00007f274140edbd in poll () from /lib/libc.so.6
#1  0x00007f273ca31fe4 in g_main_context_iterate.isra () from /usr/lib/libglib-2.0.so.0
#2  0x00007f273ca320ec in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#3  0x00007f27422471fb in QEventDispatcherGlib::processEvents (this=0x7f26840008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:420
#4  0x00007f27421ec622 in QEventLoop::exec (this=this@entry=0x7f268a6d9db0, flags=..., flags@entry=...) at kernel/qeventloop.cpp:204
#5  0x00007f2742002693 in QThread::exec (this=this@entry=0x178bd70) at thread/qthread.cpp:503
#6  0x00007f27470a6f62 in QQuickPixmapReader::run (this=0x178bd70) at util/qquickpixmapcache.cpp:760
#7  0x00007f27420081e0 in QThreadPrivate::start (arg=0x178bd70) at thread/qthread_unix.cpp:331
#8  0x00007f27407703e4 in start_thread () from /lib/libpthread.so.0
#9  0x00007f2741417d0d in clone () from /lib/libc.so.6

Thread 1 (Thread 0x7f2749e2e7c0 (LWP 2137)):
[KCrash Handler]
#5  0x00007f2741362528 in raise () from /lib/libc.so.6
#6  0x00007f274136397a in abort () from /lib/libc.so.6
#7  0x00007f2741ff3c4e in qt_message_fatal (context=..., message=<synthetic pointer>) at global/qlogging.cpp:1578
#8  QMessageLogger::fatal (this=this@entry=0x7ffe12992800, msg=msg@entry=0x7f27422a4a30 "ASSERT: \"%s\" in file %s, line %d") at global/qlogging.cpp:781
#9  0x00007f2741fecc34 in qt_assert (assertion=assertion@entry=0x7f274233fe06 "!this->isEmpty()", file=file@entry=0x7f274233fda8 "../../include/QtCore/../../src/corelib/tools/qstack.h", line=line@entry=57) at global/qglobal.cpp:2966
#10 0x00007f274219c1b9 in QStack<QAbstractItemModelPrivate::Change>::pop (this=this@entry=0x23db9b0) at ../../include/QtCore/../../src/corelib/tools/qstack.h:57
#11 0x00007f27421967ff in QAbstractItemModel::endRemoveRows (this=0x23db580) at itemmodels/qabstractitemmodel.cpp:2671
#12 0x00007f2683bbdb84 in TaskManager::TasksModel::qt_static_metacall(QObject*, QMetaObject::Call, int, void**) () from /usr/kde5/lib/libtaskmanager.so.5
#13 0x00007f274221eae8 in QMetaObject::activate (sender=0x2771d70, signalOffset=<optimized out>, local_signal_index=<optimized out>, argv=<optimized out>) at kernel/qobject.cpp:3713
#14 0x00007f2683ba4322 in TaskManager::TaskGroup::itemRemoved(TaskManager::AbstractGroupableItem*) () from /usr/kde5/lib/libtaskmanager.so.5
#15 0x00007f2683ba502b in TaskManager::TaskGroup::Private::signalRemovals() () from /usr/kde5/lib/libtaskmanager.so.5
#16 0x00007f274221f1a1 in QObject::event (this=0x2771d70, e=<optimized out>) at kernel/qobject.cpp:1239
#17 0x00007f274380cc54 in QApplicationPrivate::notify_helper (this=this@entry=0xfce730, receiver=receiver@entry=0x2771d70, e=e@entry=0x3260770) at kernel/qapplication.cpp:3716
#18 0x00007f2743814b58 in QApplication::notify (this=0x7ffe12993230, receiver=0x2771d70, e=0x3260770) at kernel/qapplication.cpp:3499
#19 0x00007f27421eeca3 in QCoreApplication::notifyInternal (this=0x7ffe12993230, receiver=0x2771d70, event=event@entry=0x3260770) at kernel/qcoreapplication.cpp:965
#20 0x00007f27421f1a4a in QCoreApplication::sendEvent (event=0x3260770, receiver=<optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:224
#21 QCoreApplicationPrivate::sendPostedEvents (receiver=receiver@entry=0x0, event_type=event_type@entry=0, data=0xfc44f0) at kernel/qcoreapplication.cpp:1593
#22 0x00007f27421f1e88 in QCoreApplication::sendPostedEvents (receiver=receiver@entry=0x0, event_type=event_type@entry=0) at kernel/qcoreapplication.cpp:1451
#23 0x00007f2742246dc3 in postEventSourceDispatch (s=0x102aad0) at kernel/qeventdispatcher_glib.cpp:271
#24 0x00007f273ca31df7 in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#25 0x00007f273ca32048 in g_main_context_iterate.isra () from /usr/lib/libglib-2.0.so.0
#26 0x00007f273ca320ec in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#27 0x00007f27422471df in QEventDispatcherGlib::processEvents (this=0x10244b0, flags=...) at kernel/qeventdispatcher_glib.cpp:418
#28 0x00007f27421ec622 in QEventLoop::exec (this=this@entry=0x7ffe129930e0, flags=..., flags@entry=...) at kernel/qeventloop.cpp:204
#29 0x00007f27421f4ded in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1229
#30 0x0000000000431eb7 in main ()

Possible duplicates by query: bug 357674, bug 355943, bug 355334, bug 354472, bug 349696.

Reported using DrKonqi
Comment 1 David Edmundson 2016-01-21 09:22:53 UTC

*** This bug has been marked as a duplicate of bug 342763 ***
Comment 2 David Edmundson 2016-01-21 09:35:24 UTC
Can you link to the test you were running? Would love it if we had a way to reliably reproduce this bug.
Comment 3 Alexey Chernov 2016-01-21 09:49:57 UTC
They are triggered too fast one by one, but I'm trying to find the reproducing one, so I hope to detect it and write here.
Comment 4 Alexey Chernov 2016-01-21 14:58:22 UTC
Unfortunately, I didn't manage to reproduce it with running unit tests again — seems that it was caused my some collision when I tried to close windows it opened during tests while it kept opening more windows. I tried to repeat this as well, but never managed to get this crash again.