Bug 354132

Summary: Crash when switching virtual desktop after opening an application in another desktop
Product: [Plasma] plasmashell Reporter: Davide <dgb.kde>
Component: generalAssignee: David Edmundson <kde>
Status: RESOLVED DUPLICATE    
Severity: crash CC: bhush94, plasma-bugs
Priority: NOR    
Version: 5.4.2   
Target Milestone: 1.0   
Platform: Debian testing   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Davide 2015-10-20 15:38:52 UTC
When I open a file with Dolphin using an application already opened in a different virtual desktop, and this operation causes a virtual desktop switch, if I immediately switch back with a keyboard shortcut, plasmashell crashes.

Reproducible: Always

Steps to Reproduce:
1. Open Kate on a virtual desktop
2. Switch desktop and launch Dolphin
3. Open a file with Dolphin using Kate: this should cause a desktop switch
4. Immediately switch back to Dolphin desktop (better with a keyboard shortcut)

Actual Results:  
Application: Plasma (plasmashell), signal: Segmentation fault


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

Thread 9 (Thread 0x7f65b73a8700 (LWP 16438)):
#0  0x00007f65c866c52d in poll () from /lib/x86_64-linux-gnu/libc.so.6
#1  0x00007f65cc6bc252 in ?? () from /usr/lib/x86_64-linux-gnu/libxcb.so.1
#2  0x00007f65cc6bdddf in xcb_wait_for_event () from /usr/lib/x86_64-linux-gnu/libxcb.so.1
#3  0x00007f65b95092f9 in ?? () from /usr/lib/x86_64-linux-gnu/qt5/plugins/platforms/libqxcb.so
#4  0x00007f65c8d5525e in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#5  0x00007f65c7e750a4 in start_thread () from /lib/x86_64-linux-gnu/libpthread.so.0
#6  0x00007f65c867506d in clone () from /lib/x86_64-linux-gnu/libc.so.6

Thread 8 (Thread 0x7f65b4ba9700 (LWP 16439)):
#0  0x00007f65c866c52d in poll () from /lib/x86_64-linux-gnu/libc.so.6
#1  0x00007f65c542d1dc in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f65c542d2ec in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f65c8f8be4b in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#4  0x00007f65c8f322ca in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#5  0x00007f65c8d50374 in QThread::exec() () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#6  0x00007f65cb585055 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Qml.so.5
#7  0x00007f65c8d5525e in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#8  0x00007f65c7e750a4 in start_thread () from /lib/x86_64-linux-gnu/libpthread.so.0
#9  0x00007f65c867506d in clone () from /lib/x86_64-linux-gnu/libc.so.6

Thread 7 (Thread 0x7f65ad2b4700 (LWP 16440)):
#0  0x00007f65c542a266 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#1  0x00007f65c542cb3a in g_main_context_check () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f65c542d180 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f65c542d2ec in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#4  0x00007f65c8f8be4b in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#5  0x00007f65c8f322ca in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#6  0x00007f65c8d50374 in QThread::exec() () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#7  0x00007f65cb585055 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Qml.so.5
#8  0x00007f65c8d5525e in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#9  0x00007f65c7e750a4 in start_thread () from /lib/x86_64-linux-gnu/libpthread.so.0
#10 0x00007f65c867506d in clone () from /lib/x86_64-linux-gnu/libc.so.6

Thread 6 (Thread 0x7f65a2990700 (LWP 16444)):
#0  0x00007f65c8d4d8af in QMutex::unlock() () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#1  0x00007f65c8f8b6b5 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#2  0x00007f65c542cc11 in g_main_context_check () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f65c542d180 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#4  0x00007f65c542d2ec in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#5  0x00007f65c8f8be4b in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#6  0x00007f65c8f322ca in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#7  0x00007f65c8d50374 in QThread::exec() () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#8  0x00007f65cb585055 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Qml.so.5
#9  0x00007f65c8d5525e in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#10 0x00007f65c7e750a4 in start_thread () from /lib/x86_64-linux-gnu/libpthread.so.0
#11 0x00007f65c867506d in clone () from /lib/x86_64-linux-gnu/libc.so.6

Thread 5 (Thread 0x7f65a12d2700 (LWP 16445)):
#0  0x00007f65c7e7908f in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/x86_64-linux-gnu/libpthread.so.0
#1  0x00007f65cd92c144 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Script.so.5
#2  0x00007f65cd92c189 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Script.so.5
#3  0x00007f65c7e750a4 in start_thread () from /lib/x86_64-linux-gnu/libpthread.so.0
#4  0x00007f65c867506d in clone () from /lib/x86_64-linux-gnu/libc.so.6

Thread 4 (Thread 0x7f659aebc700 (LWP 16446)):
#0  0x00007f65c7e7908f in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/x86_64-linux-gnu/libpthread.so.0
#1  0x00007f65c8d564fb in QWaitCondition::wait(QMutex*, unsigned long) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#2  0x00007f65cbf7550e in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Quick.so.5
#3  0x00007f65cbf75d93 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Quick.so.5
#4  0x00007f65c8d5525e in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#5  0x00007f65c7e750a4 in start_thread () from /lib/x86_64-linux-gnu/libpthread.so.0
#6  0x00007f65c867506d in clone () from /lib/x86_64-linux-gnu/libc.so.6

Thread 3 (Thread 0x7f650c30b700 (LWP 16451)):
#0  0x00007f65c7e7908f in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/x86_64-linux-gnu/libpthread.so.0
#1  0x00007f65c8d564fb in QWaitCondition::wait(QMutex*, unsigned long) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#2  0x00007f65cbf7550e in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Quick.so.5
#3  0x00007f65cbf75d93 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Quick.so.5
#4  0x00007f65c8d5525e in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#5  0x00007f65c7e750a4 in start_thread () from /lib/x86_64-linux-gnu/libpthread.so.0
#6  0x00007f65c867506d in clone () from /lib/x86_64-linux-gnu/libc.so.6

Thread 2 (Thread 0x7f650b3a9700 (LWP 16456)):
#0  0x00007f65c7e79438 in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib/x86_64-linux-gnu/libpthread.so.0
#1  0x00007f65c8d56436 in QWaitCondition::wait(QMutex*, unsigned long) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#2  0x00007f65c8d51fa3 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#3  0x00007f65c8d5525e in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#4  0x00007f65c7e750a4 in start_thread () from /lib/x86_64-linux-gnu/libpthread.so.0
#5  0x00007f65c867506d in clone () from /lib/x86_64-linux-gnu/libc.so.6

Thread 1 (Thread 0x7f65cdede940 (LWP 16437)):
[KCrash Handler]
#6  0x00007f65c8ee2c51 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#7  0x00007f65c8eddbba in QAbstractItemModel::endRemoveRows() () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#8  0x00007f650fdd8e7c in ?? () from /usr/lib/x86_64-linux-gnu/libtaskmanager.so.5
#9  0x00007f65c8f652fa in QMetaObject::activate(QObject*, int, int, void**) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#10 0x00007f650fdc9c62 in TaskManager::TaskGroup::itemRemoved(TaskManager::AbstractGroupableItem*) () from /usr/lib/x86_64-linux-gnu/libtaskmanager.so.5
#11 0x00007f650fdca9a0 in TaskManager::TaskGroup::Private::signalRemovals() () from /usr/lib/x86_64-linux-gnu/libtaskmanager.so.5
#12 0x00007f650fdcc199 in ?? () from /usr/lib/x86_64-linux-gnu/libtaskmanager.so.5
#13 0x00007f65c8f661c1 in QObject::event(QEvent*) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#14 0x00007f65c9a12b8c in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#15 0x00007f65c9a18230 in QApplication::notify(QObject*, QEvent*) () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#16 0x00007f65c8f34a8b in QCoreApplication::notifyInternal(QObject*, QEvent*) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#17 0x00007f65c8f36bc7 in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#18 0x00007f65c8f8ba23 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#19 0x00007f65c542cfe7 in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#20 0x00007f65c542d240 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#21 0x00007f65c542d2ec in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#22 0x00007f65c8f8be2f in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#23 0x00007f65c8f322ca in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#24 0x00007f65c8f39e3c in QCoreApplication::exec() () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#25 0x00000000004322c3 in main ()

-----------
kdeartwork                                    4:15.08.0-1
kdeartwork-emoticons                          4:15.08.0-1
kdeartwork-theme-icon                         4:15.08.0-1
kdeartwork-wallpapers                         4:15.08.0-1
kde-baseapps                                  4:15.08.1-1
kde-baseapps-bin                              4:15.08.1-1
kde-baseapps-data                             4:15.08.1-1
kde-cli-tools                                 4:5.4.2-1
kde-cli-tools-data                            4:5.4.2-1
kde-config-gtk-style                          4:5.4.2-1
kde-config-sddm                               4:5.4.2-1
kde-config-systemd                            1.2.1-2
kdeconnect                                    0.8-1
kded5                                         5.15.0-1
kde-icons-mono                                4:15.08.0-1
kde-l10n-it                                   4:4.14.0-3
kdelibs5-data                                 4:4.14.12-2
kdelibs5-plugins                              4:4.14.12-2
kdelibs-bin                                   4:4.14.12-2
kdepasswd                                     4:15.08.1-1
kdepimlibs-kio-plugins                        4:4.14.10-1
kdepim-runtime                                4:4.14.10-2
kdeplasma-addons-data                         4:5.4.2-1
kde-plasma-desktop                            5:90
kde-runtime                                   4:15.08.1-1
kde-runtime-data                              4:15.08.1-1
kde-style-breeze                              4:5.4.2-1
kde-style-breeze-qt4                          4:5.4.2-1
kde-style-breeze-qt4                          4:5.4.2-1
kde-style-oxygen-qt4                          4:5.4.2-1
kde-style-oxygen-qt4                          4:5.4.2-1
kde-style-oxygen-qt5                          4:5.4.2-1
kde-style-oxygen-qt5                          4:5.4.2-1
kdevelop                                      4:4.7.1-2
kdevelop-data                                 4:4.7.1-2
kdevelop-php                                  1.7.0-1
kdevelop-php-docs                             1.7.0-1
kdevplatform8-libs                            1.7.1-1
kde-window-manager                            4:5.4.2-1
libakonadi-kde4                               4:4.14.10-1
libdbusmenu-qt2:amd64                         0.9.3+15.10.20150604-1
libdbusmenu-qt5-2:amd64                       0.9.3+15.10.20150604-1
libkde3support4                               4:4.14.12-2
libkdeclarative5                              4:4.14.12-2
libkdecorations2-5v5                          4:5.4.2-1
libkdecorations2private5v5                    4:5.4.2-1
libkdecore5                                   4:4.14.12-2
libkdepim4                                    4:4.14.10-2
libkdepimdbusinterfaces4                      4:4.14.10-2
libkdesu5                                     4:4.14.12-2
libkdeui5                                     4:4.14.12-2
libkdewebkit5                                 4:4.14.12-2
libkf5bluezqt6:amd64                          5.15.0-1
libkf5bluezqt-data                            5.15.0-1
libkf5dbusaddons5:amd64                       5.15.0-1
libkf5dbusaddons-data                         5.15.0-1
libkf5kdelibs4support5:amd64                  5.15.0-1
libkf5kdelibs4support-data                    5.15.0-1
libkf5networkmanagerqt6                       5.15.0-1
libkf5su-data                                 5.15.0-1
liblightdm-qt-3-0                             1.16.2-1
libntrack-qt4-1                               016-1.3
libphonon4qt5-4:amd64                         4:4.8.3-2
libpolkit-qt-1-1:amd64                        0.112.0-4
libpolkit-qt5-1-1:amd64                       0.112.0-4
libpoppler-qt4-4:amd64                        0.26.5-4
libpoppler-qt5-1:amd64                        0.26.5-4
libqca-qt5-2:amd64                            2.1.0.3-4
libqt4-dbus:amd64                             4:4.8.7+dfsg-3
libqt4-declarative:amd64                      4:4.8.7+dfsg-3
libqt4-designer:amd64                         4:4.8.7+dfsg-3
libqt4-help:amd64                             4:4.8.7+dfsg-3
libqt4-network:amd64                          4:4.8.7+dfsg-3
libqt4-opengl:amd64                           4:4.8.7+dfsg-3
libqt4-qt3support:amd64                       4:4.8.7+dfsg-3
libqt4-script:amd64                           4:4.8.7+dfsg-3
libqt4-sql:amd64                              4:4.8.7+dfsg-3
libqt4-sql-mysql:amd64                        4:4.8.7+dfsg-3
libqt4-sql-psql:amd64                         4:4.8.7+dfsg-3
libqt4-sql-sqlite:amd64                       4:4.8.7+dfsg-3
libqt4-svg:amd64                              4:4.8.7+dfsg-3
libqt4-test:amd64                             4:4.8.7+dfsg-3
libqt4-xml:amd64                              4:4.8.7+dfsg-3
libqt4-xmlpatterns:amd64                      4:4.8.7+dfsg-3
libqt5clucene5:amd64                          5.4.2-3
libqt5concurrent5:amd64                       5.4.2+dfsg-9
libqt5core5a:amd64                            5.4.2+dfsg-9
libqt5dbus5:amd64                             5.4.2+dfsg-9
libqt5designer5:amd64                         5.4.2-3
libqt5designercomponents5:amd64               5.4.2-3
libqt5gui5:amd64                              5.4.2+dfsg-9
libqt5help5:amd64                             5.4.2-3
libqt5multimedia5:amd64                       5.4.2-3
libqt5multimediaquick-p5:amd64                5.4.2-3
libqt5network5:amd64                          5.4.2+dfsg-9
libqt5opengl5:amd64                           5.4.2+dfsg-9
libqt5printsupport5:amd64                     5.4.2+dfsg-9
libqt5qml5:amd64                              5.4.2-6
libqt5quick5:amd64                            5.4.2-6
libqt5quickwidgets5:amd64                     5.4.2-6
libqt5script5:amd64                           5.4.2+dfsg-4
libqt5sql5:amd64                              5.4.2+dfsg-9
libqt5sql5-sqlite:amd64                       5.4.2+dfsg-9
libqt5svg5:amd64                              5.4.2-3
libqt5webkit5:amd64                           5.4.2+dfsg-3
libqt5widgets5:amd64                          5.4.2+dfsg-9
libqt5x11extras5:amd64                        5.4.2-2+b1
libqt5xml5:amd64                              5.4.2+dfsg-9
libqtcore4:amd64                              4:4.8.7+dfsg-3
libqtdbus4:amd64                              4:4.8.7+dfsg-3
libqtgui4:amd64                               4:4.8.7+dfsg-3
libqtscript4-core:amd64                       0.2.0-1
libqtscript4-gui:amd64                        0.2.0-1
libqtscript4-network:amd64                    0.2.0-1
libqtscript4-sql:amd64                        0.2.0-1
libqtscript4-uitools:amd64                    0.2.0-1
libqtscript4-xml:amd64                        0.2.0-1
libqtwebkit4:amd64                            2.3.4.dfsg-5
lightdm-kde-greeter                           0.3.2.2-1
oxygencursors                                 0.0.2012-06-kde4.8-2.1
phonon4qt5:amd64                              4:4.8.3-2
phonon4qt5-backend-vlc:amd64                  0.8.2-1
polkit-kde-agent-1                            4:5.4.2-1
qdbus-qt5                                     5.4.2-3
qml-module-org-kde-bluezqt:amd64              5.15.0-1
qml-module-org-kde-bluezqt:amd64              5.15.0-1
qml-module-org-kde-draganddrop:amd64          5.15.0-1
qml-module-org-kde-extensionplugin:amd64      5.15.0-1
qml-module-org-kde-kcoreaddons:amd64          5.15.0-1
qml-module-org-kde-kio:amd64                  5.15.0-1
qml-module-org-kde-kquickcontrolsaddons:amd64 5.15.0-1
qml-module-org-kde-kquickcontrols:amd64       5.15.0-1
qml-module-org-kde-kwindowsystem:amd64        5.15.0-1
qml-module-org-kde-solid:amd64                5.15.0-1
qml-module-qtgraphicaleffects:amd64           5.4.2-2+b1
qml-module-qt-labs-folderlistmodel:amd64      5.4.2-6
qml-module-qt-labs-settings:amd64             5.4.2-6
qml-module-qtmultimedia:amd64                 5.4.2-3
qml-module-qtquick2:amd64                     5.4.2-6
qml-module-qtquick-controls:amd64             5.4.2-2+b1
qml-module-qtquick-controls-styles-breeze     4:5.4.2-1
qml-module-qtquick-dialogs:amd64              5.4.2-2+b1
qml-module-qtquick-layouts:amd64              5.4.2-2+b1
qml-module-qtquick-privatewidgets:amd64       5.4.2-2+b1
qml-module-qtquick-window2:amd64              5.4.2-6
qml-module-qtwebkit:amd64                     5.4.2+dfsg-3
qtchooser                                     52-gae5eeef-2
qtcore4-l10n                                  4:4.8.7+dfsg-3
qtdeclarative5-kf5declarative                 5.15.0-1
qtdeclarative5-kf5solid                       5.15.0-1
qtdeclarative5-kf5solid                       5.15.0-1
qttools5-dev-tools                            5.4.2-3
Comment 1 David Edmundson 2015-12-13 20:04:59 UTC

*** This bug has been marked as a duplicate of bug 342763 ***