Bug 356894

Summary: plasmashell crash at KDE login
Product: [Plasma] plasmashell Reporter: smkr <steve.mckuhr>
Component: generalAssignee: David Edmundson <kde>
Status: RESOLVED UPSTREAM    
Severity: crash CC: araujorodrigo1984, bernie, bshah, ja, plasma-bugs-null
Priority: NOR Keywords: drkonqi
Version First Reported In: 5.5.0   
Target Milestone: 1.0   
Platform: Fedora RPMs   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description smkr 2015-12-19 01:12:39 UTC
Application: plasmashell (5.5.0)

Qt Version: 5.5.1
Operating System: Linux 4.2.7-300.fc23.x86_64 x86_64
Distribution: "Fedora release 23 (Twenty Three)"

-- Information about the crash:
- What I was doing when the application crashed:

Logging in consistently triggers the crash. It only happens when the laptop is docked connected to the external monitor.

The crash can be reproduced every time.

-- Backtrace:
Application: Plasma (plasmashell), signal: Segmentation fault
Using host libthread_db library "/lib64/libthread_db.so.1".
[Current thread is 1 (Thread 0x7fa3c9607940 (LWP 2925))]

Thread 7 (Thread 0x7fa3a96e8700 (LWP 2945)):
#0  0x00007fa3c0fefffd in poll () from /lib64/libc.so.6
#1  0x00007fa3c74a4272 in poll (__timeout=-1, __nfds=1, __fds=0x7fa3a96e7b80) at /usr/include/bits/poll2.h:46
#2  _xcb_conn_wait (c=c@entry=0x563163105d00, cond=cond@entry=0x563163105d40, vector=vector@entry=0x0, count=count@entry=0x0) at xcb_conn.c:459
#3  0x00007fa3c74a5ee7 in xcb_wait_for_event (c=0x563163105d00) at xcb_in.c:693
#4  0x00007fa3ab66cda9 in QXcbEventReader::run (this=0x563163110290) at qxcbconnection.cpp:1254
#5  0x00007fa3c1bf83ce in QThreadPrivate::start (arg=0x563163110290) at thread/qthread_unix.cpp:331
#6  0x00007fa3c033360a in start_thread () from /lib64/libpthread.so.0
#7  0x00007fa3c0ffba9d in clone () from /lib64/libc.so.6

Thread 6 (Thread 0x7fa3a2b34700 (LWP 2982)):
#0  0x00007fa3bc55c734 in g_mutex_unlock () from /lib64/libglib-2.0.so.0
#1  0x00007fa3bc517d19 in g_main_context_dispatch () from /lib64/libglib-2.0.so.0
#2  0x00007fa3bc5181d0 in g_main_context_iterate.isra () from /lib64/libglib-2.0.so.0
#3  0x00007fa3bc51827c in g_main_context_iteration () from /lib64/libglib-2.0.so.0
#4  0x00007fa3c1e2ff0b in QEventDispatcherGlib::processEvents (this=0x7fa39c0008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:420
#5  0x00007fa3c1dd6f0a in QEventLoop::exec (this=this@entry=0x7fa3a2b33c60, flags=..., flags@entry=...) at kernel/qeventloop.cpp:204
#6  0x00007fa3c1bf3424 in QThread::exec (this=this@entry=0x5631631de780) at thread/qthread.cpp:503
#7  0x00007fa3c5f3db45 in QQmlThreadPrivate::run (this=0x5631631de780) at /usr/src/debug/qtdeclarative-opensource-src-5.5.1/src/qml/qml/ftw/qqmlthread.cpp:141
#8  0x00007fa3c1bf83ce in QThreadPrivate::start (arg=0x5631631de780) at thread/qthread_unix.cpp:331
#9  0x00007fa3c033360a in start_thread () from /lib64/libpthread.so.0
#10 0x00007fa3c0ffba9d in clone () from /lib64/libc.so.6

Thread 5 (Thread 0x7fa399d2f700 (LWP 3063)):
#0  0x00007fa3c0febbdd in read () from /lib64/libc.so.6
#1  0x00007fa3bc55b390 in g_wakeup_acknowledge () from /lib64/libglib-2.0.so.0
#2  0x00007fa3bc517c64 in g_main_context_check () from /lib64/libglib-2.0.so.0
#3  0x00007fa3bc518110 in g_main_context_iterate.isra () from /lib64/libglib-2.0.so.0
#4  0x00007fa3bc51827c in g_main_context_iteration () from /lib64/libglib-2.0.so.0
#5  0x00007fa3c1e2ff0b in QEventDispatcherGlib::processEvents (this=0x7fa3940008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:420
#6  0x00007fa3c1dd6f0a in QEventLoop::exec (this=this@entry=0x7fa399d2ec60, flags=..., flags@entry=...) at kernel/qeventloop.cpp:204
#7  0x00007fa3c1bf3424 in QThread::exec (this=this@entry=0x5631634def70) at thread/qthread.cpp:503
#8  0x00007fa3c5f3db45 in QQmlThreadPrivate::run (this=0x5631634def70) at /usr/src/debug/qtdeclarative-opensource-src-5.5.1/src/qml/qml/ftw/qqmlthread.cpp:141
#9  0x00007fa3c1bf83ce in QThreadPrivate::start (arg=0x5631634def70) at thread/qthread_unix.cpp:331
#10 0x00007fa3c033360a in start_thread () from /lib64/libpthread.so.0
#11 0x00007fa3c0ffba9d in clone () from /lib64/libc.so.6

Thread 4 (Thread 0x7fa393fff700 (LWP 3112)):
#0  0x00007fa3c0fefffd in poll () from /lib64/libc.so.6
#1  0x00007fa3bc51816c in g_main_context_iterate.isra () from /lib64/libglib-2.0.so.0
#2  0x00007fa3bc51827c in g_main_context_iteration () from /lib64/libglib-2.0.so.0
#3  0x00007fa3c1e2ff0b in QEventDispatcherGlib::processEvents (this=0x7fa38c0008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:420
#4  0x00007fa3c1dd6f0a in QEventLoop::exec (this=this@entry=0x7fa393ffec60, flags=..., flags@entry=...) at kernel/qeventloop.cpp:204
#5  0x00007fa3c1bf3424 in QThread::exec (this=this@entry=0x5631635c8740) at thread/qthread.cpp:503
#6  0x00007fa3c5f3db45 in QQmlThreadPrivate::run (this=0x5631635c8740) at /usr/src/debug/qtdeclarative-opensource-src-5.5.1/src/qml/qml/ftw/qqmlthread.cpp:141
#7  0x00007fa3c1bf83ce in QThreadPrivate::start (arg=0x5631635c8740) at thread/qthread_unix.cpp:331
#8  0x00007fa3c033360a in start_thread () from /lib64/libpthread.so.0
#9  0x00007fa3c0ffba9d in clone () from /lib64/libc.so.6

Thread 3 (Thread 0x7fa3929be700 (LWP 3142)):
#0  0x00007fa3c0338b10 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00007fa3c8d95514 in QTWTF::TCMalloc_PageHeap::scavengerThread (this=0x7fa3c907e380 <QTWTF::pageheap_memory>) at /usr/src/debug/qtscript-opensource-src-5.5.1/src/3rdparty/javascriptcore/JavaScriptCore/wtf/FastMalloc.cpp:2359
#2  0x00007fa3c8d95559 in QTWTF::TCMalloc_PageHeap::runScavengerThread (context=<optimized out>) at /usr/src/debug/qtscript-opensource-src-5.5.1/src/3rdparty/javascriptcore/JavaScriptCore/wtf/FastMalloc.cpp:1464
#3  0x00007fa3c033360a in start_thread () from /lib64/libpthread.so.0
#4  0x00007fa3c0ffba9d in clone () from /lib64/libc.so.6

Thread 2 (Thread 0x7fa30bdf9700 (LWP 3149)):
#0  0x00007fa3c0fefffd in poll () from /lib64/libc.so.6
#1  0x00007fa3bc51816c in g_main_context_iterate.isra () from /lib64/libglib-2.0.so.0
#2  0x00007fa3bc51827c in g_main_context_iteration () from /lib64/libglib-2.0.so.0
#3  0x00007fa3c1e2ff0b in QEventDispatcherGlib::processEvents (this=0x7fa3040008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:420
#4  0x00007fa3c1dd6f0a in QEventLoop::exec (this=this@entry=0x7fa30bdf8c10, flags=..., flags@entry=...) at kernel/qeventloop.cpp:204
#5  0x00007fa3c1bf3424 in QThread::exec (this=this@entry=0x5631638aa360) at thread/qthread.cpp:503
#6  0x00007fa3c6aea8d6 in QQuickPixmapReader::run (this=0x5631638aa360) at /usr/src/debug/qtdeclarative-opensource-src-5.5.1/src/quick/util/qquickpixmapcache.cpp:760
#7  0x00007fa3c1bf83ce in QThreadPrivate::start (arg=0x5631638aa360) at thread/qthread_unix.cpp:331
#8  0x00007fa3c033360a in start_thread () from /lib64/libpthread.so.0
#9  0x00007fa3c0ffba9d in clone () from /lib64/libc.so.6

Thread 1 (Thread 0x7fa3c9607940 (LWP 2925)):
[KCrash Handler]
#5  QXcbScreen::mapFromNative (this=0x0, pos=...) at qxcbscreen.cpp:249
#6  0x00007fa3ab6851b8 in QXcbWindow::handleLeaveNotifyEvent (this=0x5631635ab510, event=<optimized out>) at qxcbwindow.cpp:2345
#7  0x00007fa3ab66eab5 in QXcbConnection::handleXcbEvent (this=this@entry=0x563163104420, event=event@entry=0x7fa3a4005550) at qxcbconnection.cpp:1086
#8  0x00007fa3ab66f433 in QXcbConnection::processXcbEvents (this=0x563163104420) at qxcbconnection.cpp:1527
#9  0x00007fa3c1e091b1 in QObject::event (this=0x563163104420, e=<optimized out>) at kernel/qobject.cpp:1239
#10 0x00007fa3c338e41c in QApplicationPrivate::notify_helper (this=this@entry=0x5631630f9b30, receiver=receiver@entry=0x563163104420, e=e@entry=0x7fa3a4006a80) at kernel/qapplication.cpp:3716
#11 0x00007fa3c33938e6 in QApplication::notify (this=0x7ffca604d360, receiver=0x563163104420, e=0x7fa3a4006a80) at kernel/qapplication.cpp:3499
#12 0x00007fa3c1dd977b in QCoreApplication::notifyInternal (this=0x7ffca604d360, receiver=0x563163104420, event=event@entry=0x7fa3a4006a80) at kernel/qcoreapplication.cpp:965
#13 0x00007fa3c1ddbb76 in QCoreApplication::sendEvent (event=0x7fa3a4006a80, receiver=<optimized out>) at kernel/qcoreapplication.h:224
#14 QCoreApplicationPrivate::sendPostedEvents (receiver=receiver@entry=0x0, event_type=event_type@entry=0, data=0x5631630ef550) at kernel/qcoreapplication.cpp:1593
#15 0x00007fa3c1ddc058 in QCoreApplication::sendPostedEvents (receiver=receiver@entry=0x0, event_type=event_type@entry=0) at kernel/qcoreapplication.cpp:1451
#16 0x00007fa3c1e2fae3 in postEventSourceDispatch (s=0x563163139c10) at kernel/qeventdispatcher_glib.cpp:271
#17 0x00007fa3bc517e3a in g_main_context_dispatch () from /lib64/libglib-2.0.so.0
#18 0x00007fa3bc5181d0 in g_main_context_iterate.isra () from /lib64/libglib-2.0.so.0
#19 0x00007fa3bc51827c in g_main_context_iteration () from /lib64/libglib-2.0.so.0
#20 0x00007fa3c1e2feef in QEventDispatcherGlib::processEvents (this=0x56316313a300, flags=...) at kernel/qeventdispatcher_glib.cpp:418
#21 0x00007fa3c1dd6f0a in QEventLoop::exec (this=this@entry=0x7ffca604d200, flags=..., flags@entry=...) at kernel/qeventloop.cpp:204
#22 0x00007fa3c1ddefec in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1229
#23 0x00005631625fe8a4 in main ()

Reported using DrKonqi
Comment 1 smkr 2015-12-19 05:07:12 UTC
Excerpts from .xsession-errors:

   Application::crashHandler() called with signal 11; recent crashes: 1
   QXcbConnection: XCB error: 3 (BadWindow), sequence: 1115, resource id: 35651610, major code: 12 (ConfigureWindow), minor code: 0
   Failed to register device: "device id 'xrandr-Dell Inc.-DELL U3014-P1V6N363139L' already exists"
   Failed to register device: "device id 'xrandr-Dell Inc.-DELL U3014-P1V6N363139L' already exists"
   EDID ICC Profile already exists "/home/smkr/.local/share/icc/edid-e903b249edbcfc19b81d35794e219d2b.icc"
   EDID ICC Profile already exists "/home/smkr/.local/share/icc/edid-e903b249edbcfc19b81d35794e219d2b.icc"
   QXcbConnection: XCB error: 3 (BadWindow), sequence: 1320, resource id: 29360162, major code: 3 (GetWindowAttributes), minor code: 0
   QXcbConnection: XCB error: 9 (BadDrawable), sequence: 1321, resource id: 29360162, major code: 14 (GetGeometry), minor code: 0
   QXcbConnection: XCB error: 3 (BadWindow), sequence: 1324, resource id: 29360163, major code: 3 (GetWindowAttributes), minor code: 0
   KCrash: Application 'plasmashell' crashing...
   KCrash: Attempting to start /usr/libexec/drkonqi from kdeinit
Comment 2 smkr 2015-12-19 05:11:31 UTC
Possible duplicate of https://bugs.kde.org/show_bug.cgi?id=341497?
Comment 3 David Edmundson 2015-12-27 19:43:41 UTC
Will be fixed with Qt 5.6

see https://codereview.qt-project.org/#/c/138201/
Comment 4 David Edmundson 2016-01-14 00:32:44 UTC
*** Bug 357685 has been marked as a duplicate of this bug. ***
Comment 5 David Edmundson 2016-02-22 13:39:13 UTC
*** Bug 359650 has been marked as a duplicate of this bug. ***
Comment 6 Marco Martin 2016-03-17 15:03:49 UTC
*** Bug 360277 has been marked as a duplicate of this bug. ***
Comment 7 Rodrigo de Araujo 2016-03-17 16:49:03 UTC
Ok. Thanks!

Em 17-03-2016 12:03, Marco Martin via KDE Bugzilla escreveu:
> https://bugs.kde.org/show_bug.cgi?id=356894
>
> Marco Martin <notmart@gmail.com> changed:
>
>             What    |Removed                     |Added
> ----------------------------------------------------------------------------
>                   CC|                            |araujorodrigo1984@gmail.com
>
> --- Comment #6 from Marco Martin <notmart@gmail.com> ---
> *** Bug 360277 has been marked as a duplicate of this bug. ***
>