Bug 355932

Summary: plasmashell segfaults after wakeup from suspend with one display less connected
Product: [Plasma] plasmashell Reporter: Oliver Kurz <okurz>
Component: generalAssignee: David Edmundson <kde>
Status: RESOLVED DUPLICATE    
Severity: crash CC: bhush94, leoni.massimiliano1, notmart, olaf.the.lost.viking, plasma-bugs
Priority: NOR Keywords: drkonqi
Version: 5.4.2   
Target Milestone: 1.0   
Platform: openSUSE   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Oliver Kurz 2015-11-26 11:11:46 UTC
Application: plasmashell (5.4.2)

Qt Version: 5.5.0
Operating System: Linux 4.1.12-1-default x86_64
Distribution: "openSUSE Leap 42.1 (x86_64)"

-- Information about the crash:
- What I was doing when the application crashed:
 - notebook in docking station with internal display enabled plus external display connected over DP
 - suspend notebook
 - disconnect suspended notebook from docking station
 - wake up notebook
 - observe segfault of plasmashell

The crash can be reproduced sometimes.

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

Thread 8 (Thread 0x7f54c8687700 (LWP 11090)):
#0  0x00007f54d8139c1d in poll () at /lib64/libc.so.6
#1  0x00007f54dd03f422 in  () at /usr/lib64/libxcb.so.1
#2  0x00007f54dd04100f in xcb_wait_for_event () at /usr/lib64/libxcb.so.1
#3  0x00007f54ca7d7c29 in  () at /usr/lib64/libQt5XcbQpa.so.5
#4  0x00007f54d883055f in  () at /usr/lib64/libQt5Core.so.5
#5  0x00007f54d79430a4 in start_thread () at /lib64/libpthread.so.0
#6  0x00007f54d814204d in clone () at /lib64/libc.so.6

Thread 7 (Thread 0x7f54c5a72700 (LWP 11094)):
#0  0x00007f54d8135ced in read () at /lib64/libc.so.6
#1  0x00007f54d486bb60 in  () at /usr/lib64/libglib-2.0.so.0
#2  0x00007f54d482a999 in g_main_context_check () at /usr/lib64/libglib-2.0.so.0
#3  0x00007f54d482adf8 in  () at /usr/lib64/libglib-2.0.so.0
#4  0x00007f54d482af7c in g_main_context_iteration () at /usr/lib64/libglib-2.0.so.0
#5  0x00007f54d8a61a5b in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib64/libQt5Core.so.5
#6  0x00007f54d8a08a63 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib64/libQt5Core.so.5
#7  0x00007f54d882b84a in QThread::exec() () at /usr/lib64/libQt5Core.so.5
#8  0x00007f54dbafb5f8 in  () at /usr/lib64/libQt5Qml.so.5
#9  0x00007f54d883055f in  () at /usr/lib64/libQt5Core.so.5
#10 0x00007f54d79430a4 in start_thread () at /lib64/libpthread.so.0
#11 0x00007f54d814204d in clone () at /lib64/libc.so.6

Thread 6 (Thread 0x7f54b4725700 (LWP 11112)):
#0  0x00007f54d486cd14 in g_mutex_unlock () at /usr/lib64/libglib-2.0.so.0
#1  0x00007f54d482ad1d in  () at /usr/lib64/libglib-2.0.so.0
#2  0x00007f54d482af7c in g_main_context_iteration () at /usr/lib64/libglib-2.0.so.0
#3  0x00007f54d8a61a5b in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib64/libQt5Core.so.5
#4  0x00007f54d8a08a63 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib64/libQt5Core.so.5
#5  0x00007f54d882b84a in QThread::exec() () at /usr/lib64/libQt5Core.so.5
#6  0x00007f54dbafb5f8 in  () at /usr/lib64/libQt5Qml.so.5
#7  0x00007f54d883055f in  () at /usr/lib64/libQt5Core.so.5
#8  0x00007f54d79430a4 in start_thread () at /lib64/libpthread.so.0
#9  0x00007f54d814204d in clone () at /lib64/libc.so.6

Thread 5 (Thread 0x7f54b2d7d700 (LWP 11115)):
#0  0x00007f54dea09185 in update_get_addr () at /lib64/ld-linux-x86-64.so.2
#1  0x00007f54d882f582 in  () at /usr/lib64/libQt5Core.so.5
#2  0x00007f54d8a6196a in  () at /usr/lib64/libQt5Core.so.5
#3  0x00007f54d482a4ad in g_main_context_prepare () at /usr/lib64/libglib-2.0.so.0
#4  0x00007f54d482ad80 in  () at /usr/lib64/libglib-2.0.so.0
#5  0x00007f54d482af7c in g_main_context_iteration () at /usr/lib64/libglib-2.0.so.0
#6  0x00007f54d8a61a5b in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib64/libQt5Core.so.5
#7  0x00007f54d8a08a63 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib64/libQt5Core.so.5
#8  0x00007f54d882b84a in QThread::exec() () at /usr/lib64/libQt5Core.so.5
#9  0x00007f54dbafb5f8 in  () at /usr/lib64/libQt5Qml.so.5
#10 0x00007f54d883055f in  () at /usr/lib64/libQt5Core.so.5
#11 0x00007f54d79430a4 in start_thread () at /lib64/libpthread.so.0
#12 0x00007f54d814204d in clone () at /lib64/libc.so.6

Thread 4 (Thread 0x7f54b1456700 (LWP 11116)):
#0  0x00007f54d794705f in pthread_cond_wait@@GLIBC_2.3.2 () at /lib64/libpthread.so.0
#1  0x00007f54de2a37eb in  () at /usr/lib64/libQt5Script.so.5
#2  0x00007f54de2a3819 in  () at /usr/lib64/libQt5Script.so.5
#3  0x00007f54d79430a4 in start_thread () at /lib64/libpthread.so.0
#4  0x00007f54d814204d in clone () at /lib64/libc.so.6

Thread 3 (Thread 0x7f54aa7e5700 (LWP 11118)):
#0  0x00007f54d8139c1d in poll () at /lib64/libc.so.6
#1  0x00007f54d482ae64 in  () at /usr/lib64/libglib-2.0.so.0
#2  0x00007f54d482af7c in g_main_context_iteration () at /usr/lib64/libglib-2.0.so.0
#3  0x00007f54d8a61a5b in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib64/libQt5Core.so.5
#4  0x00007f54d8a08a63 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib64/libQt5Core.so.5
#5  0x00007f54d882b84a in QThread::exec() () at /usr/lib64/libQt5Core.so.5
#6  0x00007f54dc687f82 in  () at /usr/lib64/libQt5Quick.so.5
#7  0x00007f54d883055f in  () at /usr/lib64/libQt5Core.so.5
#8  0x00007f54d79430a4 in start_thread () at /lib64/libpthread.so.0
#9  0x00007f54d814204d in clone () at /lib64/libc.so.6

Thread 2 (Thread 0x7f5416b6b700 (LWP 11161)):
#0  0x00007f54d8139c1d in poll () at /lib64/libc.so.6
#1  0x00007f54d482ae64 in  () at /usr/lib64/libglib-2.0.so.0
#2  0x00007f54d482af7c in g_main_context_iteration () at /usr/lib64/libglib-2.0.so.0
#3  0x00007f54d8a61a5b in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib64/libQt5Core.so.5
#4  0x00007f54d8a08a63 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib64/libQt5Core.so.5
#5  0x00007f54d882b84a in QThread::exec() () at /usr/lib64/libQt5Core.so.5
#6  0x00007f54181b8b77 in KCupsConnection::run() () at /usr/lib64/libkcupslib.so
#7  0x00007f54d883055f in  () at /usr/lib64/libQt5Core.so.5
#8  0x00007f54d79430a4 in start_thread () at /lib64/libpthread.so.0
#9  0x00007f54d814204d in clone () at /lib64/libc.so.6

Thread 1 (Thread 0x7f54debbd7c0 (LWP 11088)):
[KCrash Handler]
#6  0x00007f54dba3b62b in QV4::QObjectWrapper::wrap(QV4::ExecutionEngine*, QObject*) () at /usr/lib64/libQt5Qml.so.5
#7  0x00007f54db9bca2c in QV4::ExecutionEngine::fromVariant(QVariant const&) () at /usr/lib64/libQt5Qml.so.5
#8  0x00007f54dbaec061 in QV4::QmlContextWrapper::get(QV4::Managed*, QV4::String*, bool*) () at /usr/lib64/libQt5Qml.so.5
#9  0x00007f54db9c4e29 in QV4::ExecutionContext::getProperty(QV4::String*) () at /usr/lib64/libQt5Qml.so.5
#10 0x00007f54dba52b87 in QV4::Runtime::getActivationProperty(QV4::ExecutionEngine*, int) () at /usr/lib64/libQt5Qml.so.5
#11 0x00007f54b006e7cd in  ()
#12 0x0000000000e75d40 in  ()
#13 0x0000000000000000 in  ()

Possible duplicates by query: bug 355885, bug 355728, bug 355725, bug 355431, bug 355302.

Reported using DrKonqi
Comment 1 Marco Martin 2015-12-03 16:19:49 UTC

*** This bug has been marked as a duplicate of bug 355885 ***
Comment 2 Oliver Kurz 2015-12-03 16:30:41 UTC
(In reply to Marco Martin from comment #1)
> *** This bug has been marked as a duplicate of bug 355885 ***

Could you explain how this is related to "removing a desktop icon"? If you say it is similar because of the stack trace then probably the summary line of bug 355885 should be updated accordingly to help other potential bug reporters finding the issue.
Comment 3 David Edmundson 2016-01-26 19:25:19 UTC
*** Bug 356668 has been marked as a duplicate of this bug. ***