Bug 361045

Summary: Plasma crashes after login
Product: [Plasma] plasmashell Reporter: interfaSys <website-kde>
Component: generalAssignee: David Edmundson <kde>
Status: RESOLVED NOT A BUG    
Severity: crash CC: bhush94, blitzkriegbop, plasma-bugs
Priority: NOR Keywords: drkonqi
Version: 5.5.4   
Target Milestone: 1.0   
Platform: Ubuntu   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description interfaSys 2016-03-27 17:01:10 UTC
Application: plasmashell (5.5.4)

Qt Version: 5.5.1
Operating System: Linux 4.4.0-15-generic i686
Distribution: Ubuntu Xenial Xerus (development branch)

-- Information about the crash:
- What I was doing when the application crashed: I just login and I see the colourful background, then plasma crashes.
I've tried turning off desktop effects, but it did not change anything

The crash can be reproduced every time.

-- Backtrace:
Application: Plasma (plasmashell), signal: Segmentation fault
Using host libthread_db library "/lib/i386-linux-gnu/libthread_db.so.1".
[Current thread is 1 (Thread 0xb1b56800 (LWP 1982))]

Thread 7 (Thread 0xb1723b40 (LWP 1985)):
#0  0xb77adc31 in __kernel_vsyscall ()
#1  0xb4dd4e0f in poll () at ../sysdeps/unix/syscall-template.S:84
#2  0xb714d41d in ?? () from /usr/lib/i386-linux-gnu/libxcb.so.1
#3  0xb714f59b in xcb_wait_for_event () from /usr/lib/i386-linux-gnu/libxcb.so.1
#4  0xb185b143 in QXcbEventReader::run (this=0x9ff3418) at qxcbconnection.cpp:1253
#5  0xb50b23fb in QThreadPrivate::start (arg=0x9ff3418) at thread/qthread_unix.cpp:331
#6  0xb4c892b5 in start_thread (arg=0xb1723b40) at pthread_create.c:333
#7  0xb4ddf04e in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:114

Thread 6 (Thread 0xb01d2b40 (LWP 1987)):
#0  0xb77adc31 in __kernel_vsyscall ()
#1  0xb4dd4e0f in poll () at ../sysdeps/unix/syscall-template.S:84
#2  0xb4483a90 in g_poll () from /lib/i386-linux-gnu/libglib-2.0.so.0
#3  0xb447507c in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0
#4  0xb44751b4 in g_main_context_iteration () from /lib/i386-linux-gnu/libglib-2.0.so.0
#5  0xb52e1a94 in QEventDispatcherGlib::processEvents (this=0xaf800470, flags=...) at kernel/qeventdispatcher_glib.cpp:420
#6  0xb5286893 in QEventLoop::processEvents (this=0xb01d21d4, flags=...) at kernel/qeventloop.cpp:128
#7  0xb5286cea in QEventLoop::exec (this=0xb01d21d4, flags=...) at kernel/qeventloop.cpp:204
#8  0xb50acedd in QThread::exec (this=0xa098ad8) at thread/qthread.cpp:503
#9  0xb691e7ff in QQmlThreadPrivate::run (this=0xa098ad8) at qml/ftw/qqmlthread.cpp:141
#10 0xb50b23fb in QThreadPrivate::start (arg=0xa098ad8) at thread/qthread_unix.cpp:331
#11 0xb4c892b5 in start_thread (arg=0xb01d2b40) at pthread_create.c:333
#12 0xb4ddf04e in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:114

Thread 5 (Thread 0xaa6afb40 (LWP 1988)):
#0  0xb77adc31 in __kernel_vsyscall ()
#1  0xb4dd4e0f in poll () at ../sysdeps/unix/syscall-template.S:84
#2  0xb4483a90 in g_poll () from /lib/i386-linux-gnu/libglib-2.0.so.0
#3  0xb447507c in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0
#4  0xb44751b4 in g_main_context_iteration () from /lib/i386-linux-gnu/libglib-2.0.so.0
#5  0xb52e1a94 in QEventDispatcherGlib::processEvents (this=0xa9d00470, flags=...) at kernel/qeventdispatcher_glib.cpp:420
#6  0xb5286893 in QEventLoop::processEvents (this=0xaa6af1d4, flags=...) at kernel/qeventloop.cpp:128
#7  0xb5286cea in QEventLoop::exec (this=0xaa6af1d4, flags=...) at kernel/qeventloop.cpp:204
#8  0xb50acedd in QThread::exec (this=0xa1f3098) at thread/qthread.cpp:503
#9  0xb691e7ff in QQmlThreadPrivate::run (this=0xa1f3098) at qml/ftw/qqmlthread.cpp:141
#10 0xb50b23fb in QThreadPrivate::start (arg=0xa1f3098) at thread/qthread_unix.cpp:331
#11 0xb4c892b5 in start_thread (arg=0xaa6afb40) at pthread_create.c:333
#12 0xb4ddf04e in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:114

Thread 4 (Thread 0xa936cb40 (LWP 1989)):
[KCrash Handler]
#7  0xae1b9f98 in nettle_yarrow256_update () from /usr/lib/i386-linux-gnu/libnettle.so.4
#8  0x9fb06c91 in ?? () from /usr/lib/i386-linux-gnu/libgnutls-deb0.so.28
#9  0x9fb06f96 in ?? () from /usr/lib/i386-linux-gnu/libgnutls-deb0.so.28
#10 0x9fa6f706 in ?? () from /usr/lib/i386-linux-gnu/libgnutls-deb0.so.28
#11 0x9fa630dd in gnutls_global_init () from /usr/lib/i386-linux-gnu/libgnutls-deb0.so.28
#12 0x9fa439e4 in ?? () from /usr/lib/i386-linux-gnu/libgnutls-deb0.so.28
#13 0xb77bd3e5 in call_init (l=<optimized out>, argc=argc@entry=3, argv=argv@entry=0xbfce5c04, env=0xbfce5c14) at dl-init.c:72
#14 0xb77bd50e in call_init (env=0xbfce5c14, argv=0xbfce5c04, argc=3, l=<optimized out>) at dl-init.c:30
#15 _dl_init (main_map=main_map@entry=0x9fe2fc98, argc=3, argv=0xbfce5c04, env=0xbfce5c14) at dl-init.c:120
#16 0xb77c1802 in dl_open_worker (a=0xa936b3bc) at dl-open.c:575
#17 0xb77bd284 in _dl_catch_error (objname=objname@entry=0xa936b3b4, errstring=errstring@entry=0xa936b3b8, mallocedp=mallocedp@entry=0xa936b3b3, operate=0xb77c1410 <dl_open_worker>, args=0xa936b3bc) at dl-error.c:187
#18 0xb77c0fa2 in _dl_open (file=0x9fe30570 "/usr/lib/i386-linux-gnu/qt5/qml/org/kde/plasma/printmanager/libprintmanager.so", mode=-2147483647, caller_dlopen=0xb52848b8 <QLibraryPrivate::load_sys()+1560>, nsid=<optimized out>, argc=3, argv=0xbfce5c04, env=0xbfce5c14) at dl-open.c:660
#19 0xb4bf0bf5 in dlopen_doit (a=0xa936b570) at dlopen.c:66
#20 0xb77bd284 in _dl_catch_error (objname=0xa8a070c4, errstring=0xa8a070c8, mallocedp=0xa8a070c0, operate=0xb4bf0b80 <dlopen_doit>, args=0xa936b570) at dl-error.c:187
#21 0xb4bf130d in _dlerror_run (operate=operate@entry=0xb4bf0b80 <dlopen_doit>, args=args@entry=0xa936b570) at dlerror.c:163
#22 0xb4bf0c9e in __dlopen (file=0x9fe30570 "/usr/lib/i386-linux-gnu/qt5/qml/org/kde/plasma/printmanager/libprintmanager.so", mode=1) at dlopen.c:87
#23 0xb52848b8 in QLibraryPrivate::load_sys (this=0x9fe2d950) at plugin/qlibrary_unix.cpp:227
#24 0xb527dc79 in QLibraryPrivate::load (this=0x9fe2d950) at plugin/qlibrary.cpp:534
#25 QLibraryPrivate::loadPlugin (this=0x9fe2d950) at plugin/qlibrary.cpp:582
#26 0xb52728df in QPluginLoader::load (this=0xa6bb5eb0) at plugin/qpluginloader.cpp:232
#27 0xb68f44f4 in QQmlImportDatabase::importDynamicPlugin (this=0xa24851c, filePath=..., uri=..., typeNamespace=..., vmaj=0, errors=0xa936bac0) at qml/qqmlimport.cpp:1973
#28 0xb68f5838 in QQmlImportsPrivate::importExtension (this=0xae41038, qmldirFilePath=..., uri=..., vmaj=0, vmin=2, database=0xa24851c, qmldir=0xa426fef8, errors=0xa936bac0) at qml/qqmlimport.cpp:927
#29 0xb68f63db in QQmlImportsPrivate::addLibraryImport (this=0xae41038, uri=..., prefix=..., vmaj=0, vmin=2, qmldirIdentifier=..., qmldirUrl=..., incomplete=false, database=0xa24851c, errors=0xa936bac0) at qml/qqmlimport.cpp:1266
#30 0xb68f665b in QQmlImports::addLibraryImport (this=0xae3f1a8, importDb=0xa24851c, uri=..., prefix=..., vmaj=0, vmin=2, qmldirIdentifier=..., qmldirUrl=..., incomplete=false, errors=0xa936bac0) at qml/qqmlimport.cpp:1497
#31 0xb68c281c in QQmlTypeLoader::Blob::addImport (this=0xae3f178, import=0xa4474938, errors=0xa936bac0) at qml/qqmltypeloader.cpp:1330
#32 0xb68c303f in QQmlTypeData::continueLoadFromIR (this=0xae3f178) at qml/qqmltypeloader.cpp:2172
#33 0xb68c395c in QQmlTypeData::dataReceived (this=0xae3f178, data=...) at qml/qqmltypeloader.cpp:2129
#34 0xb68bd9e0 in QQmlTypeLoader::setData (this=0xa2484cc, blob=0xae3f178, d=...) at qml/qqmltypeloader.cpp:1199
#35 0xb68be3d2 in QQmlTypeLoader::setData (this=0xa2484cc, blob=0xae3f178, file=0xa936bc94) at qml/qqmltypeloader.cpp:1191
#36 0xb68be736 in QQmlTypeLoader::loadThread (this=0xa2484cc, blob=0xae3f178) at qml/qqmltypeloader.cpp:1069
#37 0xb68bebe1 in QQmlTypeLoaderThread::loadThread (this=0xa2485a0, b=0xae3f178) at qml/qqmltypeloader.cpp:813
#38 0xb68c4466 in void QQmlThread::callMethodInThread<QQmlDataBlob*, QQmlDataBlob*, QQmlTypeLoaderThread>(void (QQmlTypeLoaderThread::*)(QQmlDataBlob*), QQmlDataBlob* const&)::I::call(QQmlThread*) (this=0xae41020, thread=0xa2485a0) at ../../include/QtQml/5.5.1/QtQml/private/../../../../../src/qml/qml/ftw/qqmlthread_p.h:154
#39 0xb691eb75 in QQmlThreadPrivate::threadEvent (this=0xa21c2a0) at qml/ftw/qqmlthread.cpp:190
#40 0xb691f279 in QQmlThreadPrivate::event (this=0xa21c2a0, e=0xae3f350) at qml/ftw/qqmlthread.cpp:128
#41 0xb5c1615a in QApplicationPrivate::notify_helper (this=0x9fea120, receiver=0xa21c2a0, e=0xae3f350) at kernel/qapplication.cpp:3716
#42 0xb5c1b81c in QApplication::notify (this=0xbfce5b08, receiver=0xa21c2a0, e=0xae3f350) at kernel/qapplication.cpp:3499
#43 0xb528975f in QCoreApplication::notifyInternal (this=0xbfce5b08, receiver=0xa21c2a0, event=0xae3f350) at kernel/qcoreapplication.cpp:965
#44 0xb528be3f in QCoreApplication::sendEvent (event=0xae3f350, receiver=<optimized out>) at kernel/qcoreapplication.h:224
#45 QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0x9fe96e8) at kernel/qcoreapplication.cpp:1593
#46 0xb528c327 in QCoreApplication::sendPostedEvents (receiver=0x0, event_type=0) at kernel/qcoreapplication.cpp:1451
#47 0xb52e1683 in postEventSourceDispatch (s=0xa8a00da0) at kernel/qeventdispatcher_glib.cpp:271
#48 0xb4474e49 in g_main_context_dispatch () from /lib/i386-linux-gnu/libglib-2.0.so.0
#49 0xb44750e9 in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0
#50 0xb44751b4 in g_main_context_iteration () from /lib/i386-linux-gnu/libglib-2.0.so.0
#51 0xb52e1a73 in QEventDispatcherGlib::processEvents (this=0xa8a00470, flags=...) at kernel/qeventdispatcher_glib.cpp:418
#52 0xb5286893 in QEventLoop::processEvents (this=0xa936c1d4, flags=...) at kernel/qeventloop.cpp:128
#53 0xb5286cea in QEventLoop::exec (this=0xa936c1d4, flags=...) at kernel/qeventloop.cpp:204
#54 0xb50acedd in QThread::exec (this=0xa21c2a0) at thread/qthread.cpp:503
#55 0xb691e7ff in QQmlThreadPrivate::run (this=0xa21c2a0) at qml/ftw/qqmlthread.cpp:141
#56 0xb50b23fb in QThreadPrivate::start (arg=0xa21c2a0) at thread/qthread_unix.cpp:331
#57 0xb4c892b5 in start_thread (arg=0xa936cb40) at pthread_create.c:333
#58 0xb4ddf04e in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:114

Thread 3 (Thread 0xa8124b40 (LWP 1990)):
#0  0xb77adc31 in __kernel_vsyscall ()
#1  0xb4c8ea7c in pthread_cond_wait@@GLIBC_2.3.2 () at ../sysdeps/unix/sysv/linux/i386/pthread_cond_wait.S:187
#2  0xb4deb7cd in __pthread_cond_wait (cond=0xb77198d0, mutex=0xb77198b8) at forward.c:149
#3  0xb75e1a2c in ?? () from /usr/lib/i386-linux-gnu/libQt5Script.so.5
#4  0xb75e1a6c in ?? () from /usr/lib/i386-linux-gnu/libQt5Script.so.5
#5  0xb4c892b5 in start_thread (arg=0xa8124b40) at pthread_create.c:333
#6  0xb4ddf04e in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:114

Thread 2 (Thread 0xa6a38b40 (LWP 1991)):
#0  0xb44bb3ff in g_mutex_lock () from /lib/i386-linux-gnu/libglib-2.0.so.0
#1  0xb447519f in g_main_context_iteration () from /lib/i386-linux-gnu/libglib-2.0.so.0
#2  0xb52e1a94 in QEventDispatcherGlib::processEvents (this=0xa6100470, flags=...) at kernel/qeventdispatcher_glib.cpp:420
#3  0xb5286893 in QEventLoop::processEvents (this=0xa6a38184, flags=...) at kernel/qeventloop.cpp:128
#4  0xb5286cea in QEventLoop::exec (this=0xa6a38184, flags=...) at kernel/qeventloop.cpp:204
#5  0xb50acedd in QThread::exec (this=0xa409fc8) at thread/qthread.cpp:503
#6  0xb6cfe8a9 in QQuickPixmapReader::run (this=0xa409fc8) at util/qquickpixmapcache.cpp:817
#7  0xb50b23fb in QThreadPrivate::start (arg=0xa409fc8) at thread/qthread_unix.cpp:331
#8  0xb4c892b5 in start_thread (arg=0xa6a38b40) at pthread_create.c:333
#9  0xb4ddf04e in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:114

Thread 1 (Thread 0xb1b56800 (LWP 1982)):
#0  0xb77adc31 in __kernel_vsyscall ()
#1  0xb4c8ea7c in pthread_cond_wait@@GLIBC_2.3.2 () at ../sysdeps/unix/sysv/linux/i386/pthread_cond_wait.S:187
#2  0xb4deb7cd in __pthread_cond_wait (cond=0xa248628, mutex=0xa248610) at forward.c:149
#3  0xb50b35d3 in QWaitConditionPrivate::wait (time=4294967295, this=0xa248610) at thread/qwaitcondition_unix.cpp:136
#4  QWaitCondition::wait (this=0xa21c2dc, mutex=0xa21c2d8, time=4294967295) at thread/qwaitcondition_unix.cpp:208
#5  0xb691efa4 in QQmlThreadPrivate::wait (this=<optimized out>) at qml/ftw/qqmlthread.cpp:56
#6  QQmlThread::internalCallMethodInThread (this=0xa2485a0, message=0xae41020) at qml/ftw/qqmlthread.cpp:321
#7  0xb68bed4d in QQmlThread::callMethodInThread<QQmlDataBlob*, QQmlDataBlob*, QQmlTypeLoaderThread> (arg=<synthetic pointer>, Member=<optimized out>, this=0xa2485a0) at ../../include/QtQml/5.5.1/QtQml/private/../../../../../src/qml/qml/ftw/qqmlthread_p.h:157
#8  QQmlTypeLoaderThread::load (b=0xae3f178, this=0xa2485a0) at qml/qqmltypeloader.cpp:752
#9  QQmlTypeLoader::load (this=0xa2484cc, blob=0xae3f178, mode=QQmlTypeLoader::PreferSynchronous) at qml/qqmltypeloader.cpp:931
#10 0xb68bf526 in QQmlTypeLoader::getType (this=0xa2484cc, url=..., mode=QQmlTypeLoader::PreferSynchronous) at qml/qqmltypeloader.cpp:1613
#11 0xb689d437 in QQmlComponentPrivate::loadUrl (this=0xae3efa8, newUrl=..., mode=QQmlComponent::PreferSynchronous) at qml/qqmlcomponent.cpp:682
#12 0xb689db31 in QQmlComponent::loadUrl (this=0xae3ef98, url=...) at qml/qqmlcomponent.cpp:639
#13 0xb706d9fd in ?? () from /usr/lib/i386-linux-gnu/libKF5Declarative.so.5
#14 0xb773c913 in PlasmaQuick::AppletQuickItem::init() () from /usr/lib/i386-linux-gnu/libKF5PlasmaQuick.so.5
#15 0xa937e38f in ?? () from /usr/lib/i386-linux-gnu/qt5/plugins/plasma/scriptengines/plasma_appletscript_declarative.so
#16 0xa937d32c in ?? () from /usr/lib/i386-linux-gnu/qt5/plugins/plasma/scriptengines/plasma_appletscript_declarative.so
#17 0xb52b63a0 in QMetaCallEvent::placeMetaCall (this=0xab26828, object=0xa9f5a10) at kernel/qobject.cpp:486
#18 0xb52ba1c3 in QObject::event (this=0xa9f5a10, e=0xab26828) at kernel/qobject.cpp:1239
#19 0xb6d988fa in QQuickItem::event (this=0xa9f5a10, ev=0xab26828) at items/qquickitem.cpp:7382
#20 0xa937e626 in ?? () from /usr/lib/i386-linux-gnu/qt5/plugins/plasma/scriptengines/plasma_appletscript_declarative.so
#21 0xb5c1615a in QApplicationPrivate::notify_helper (this=0x9fea120, receiver=0xa9f5a10, e=0xab26828) at kernel/qapplication.cpp:3716
#22 0xb5c1b81c in QApplication::notify (this=0xbfce5b08, receiver=0xa9f5a10, e=0xab26828) at kernel/qapplication.cpp:3499
#23 0xb528975f in QCoreApplication::notifyInternal (this=0xbfce5b08, receiver=0xa9f5a10, event=0xab26828) at kernel/qcoreapplication.cpp:965
#24 0xb528be3f in QCoreApplication::sendEvent (event=0xab26828, receiver=<optimized out>) at kernel/qcoreapplication.h:224
#25 QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0x9fe4e50) at kernel/qcoreapplication.cpp:1593
#26 0xb528c327 in QCoreApplication::sendPostedEvents (receiver=0x0, event_type=0) at kernel/qcoreapplication.cpp:1451
#27 0xb52e1683 in postEventSourceDispatch (s=0xa0138e8) at kernel/qeventdispatcher_glib.cpp:271
#28 0xb4474e49 in g_main_context_dispatch () from /lib/i386-linux-gnu/libglib-2.0.so.0
#29 0xb44750e9 in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0
#30 0xb44751b4 in g_main_context_iteration () from /lib/i386-linux-gnu/libglib-2.0.so.0
#31 0xb52e1a73 in QEventDispatcherGlib::processEvents (this=0xa0165e0, flags=...) at kernel/qeventdispatcher_glib.cpp:418
#32 0xb1890781 in QPAEventDispatcherGlib::processEvents (this=0xa0165e0, flags=...) at eventdispatchers/qeventdispatcher_glib.cpp:115
#33 0xb5286893 in QEventLoop::processEvents (this=0xbfce5a28, flags=...) at kernel/qeventloop.cpp:128
#34 0xb5286cea in QEventLoop::exec (this=0xbfce5a28, flags=...) at kernel/qeventloop.cpp:204
#35 0xb528f2c5 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1229
#36 0xb55ae931 in QGuiApplication::exec () at kernel/qguiapplication.cpp:1542
#37 0xb5c12024 in QApplication::exec () at kernel/qapplication.cpp:2976
#38 0x08071eee in main (argc=3, argv=0xbfce5c04) at ../../shell/main.cpp:181

Reported using DrKonqi
Comment 1 Rodolfo 2016-03-28 10:32:33 UTC
Same here.
Linux version 4.4.5-1-ARCH (builduser@tobias) (gcc version 5.3.0 (GCC) ) #1 SMP PREEMPT Thu Mar 10 07:38:19 CET 2016
KDE 4.14.18
Qt version 5.6.0
plasmashell 5.6.0
amd catalyst-test 15.12-3
Comment 2 interfaSys 2016-03-28 10:37:35 UTC
Some additional info.
This is on an old netbook and has been broken like this since an (accidental) upgrade from the previous version of Kubuntu to the dev branch before it reached beta2.
Comment 3 David Edmundson 2016-03-29 13:14:57 UTC
OK, so this is crashing in something unrelated to Plasma.

Qt tries to load all the Qt plugins:

#27 0xb68f44f4 in QQmlImportDatabase::importDynamicPlugin (this=0xa24851c, filePath=..., uri=..., typeNamespace=..., vmaj=0, errors=0xa936bac0) at qml/qqmlimport.cpp:1973

That calls the library init function

#11 0x9fa630dd in gnutls_global_init () from /usr/lib/i386-linux-gnu/libgnutls-deb0.so.28

which eventually crashes.

#7 0xae1b9f98 in nettle_yarrow256_update () 

I have literally no idea what libnettle is, but your system is broken - possibly one library being ABI incompatiable with another. 

Try reinstalling any Qt tls plugins, as well as libgnutls and libnettle.

Then talk to your distro