Bug 356916

Summary: Plasma 5.5 crashed when awaking
Product: [Plasma] plasmashell Reporter: kerrylange
Component: generalAssignee: David Edmundson <kde>
Status: RESOLVED FIXED    
Severity: crash CC: bhush94, demm, plasma-bugs, rex.morgan72
Priority: NOR Keywords: drkonqi
Version: 5.5.1   
Target Milestone: 1.0   
Platform: openSUSE   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description kerrylange 2015-12-19 17:40:38 UTC
Application: plasmashell (5.5.1)

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

-- Information about the crash:
- What I was doing when the application crashed:
My computer had been left on overnight and when I went to use it first thing in the morning, when the screen came back on, the crash reporting assistant was already in the bottom tray.

I have two screens, and both were attached when the computer was left overnight and when I went to use it first thing in the morning.

- Unusual behavior I noticed:
As the screens came back on, one of the screens flickered unusually and very briefly displayed randomly spaced thin vertical lines near the centre of the screen.

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

Thread 19 (Thread 0x7f8f121e2700 (LWP 12523)):
#0  0x00007f8f22715c1d in poll () at /lib64/libc.so.6
#1  0x00007f8f2764e422 in  () at /usr/lib64/libxcb.so.1
#2  0x00007f8f2765000f in xcb_wait_for_event () at /usr/lib64/libxcb.so.1
#3  0x00007f8f14964c29 in  () at /usr/lib64/libQt5XcbQpa.so.5
#4  0x00007f8f22e0c55f in  () at /usr/lib64/libQt5Core.so.5
#5  0x00007f8f21f1f0a4 in start_thread () at /lib64/libpthread.so.0
#6  0x00007f8f2271e04d in clone () at /lib64/libc.so.6

Thread 18 (Thread 0x7f8f0afc9700 (LWP 12530)):
#0  0x00007f8f22715c1d in poll () at /lib64/libc.so.6
#1  0x00007f8f1edf5e64 in  () at /usr/lib64/libglib-2.0.so.0
#2  0x00007f8f1edf5f7c in g_main_context_iteration () at /usr/lib64/libglib-2.0.so.0
#3  0x00007f8f2303da5b in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib64/libQt5Core.so.5
#4  0x00007f8f22fe4a63 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib64/libQt5Core.so.5
#5  0x00007f8f22e0784a in QThread::exec() () at /usr/lib64/libQt5Core.so.5
#6  0x00007f8f261105f8 in  () at /usr/lib64/libQt5Qml.so.5
#7  0x00007f8f22e0c55f in  () at /usr/lib64/libQt5Core.so.5
#8  0x00007f8f21f1f0a4 in start_thread () at /lib64/libpthread.so.0
#9  0x00007f8f2271e04d in clone () at /lib64/libc.so.6

Thread 17 (Thread 0x7f8efeb22700 (LWP 12531)):
#0  0x00007f8f22711ced in read () at /lib64/libc.so.6
#1  0x00007f8f1a8c4073 in  () at /usr/lib64/tls/libnvidia-tls.so.358.16
#2  0x00007f8f1ee36b60 in  () at /usr/lib64/libglib-2.0.so.0
#3  0x00007f8f1edf5999 in g_main_context_check () at /usr/lib64/libglib-2.0.so.0
#4  0x00007f8f1edf5df8 in  () at /usr/lib64/libglib-2.0.so.0
#5  0x00007f8f1edf5f7c in g_main_context_iteration () at /usr/lib64/libglib-2.0.so.0
#6  0x00007f8f2303da5b in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib64/libQt5Core.so.5
#7  0x00007f8f22fe4a63 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib64/libQt5Core.so.5
#8  0x00007f8f22e0784a in QThread::exec() () at /usr/lib64/libQt5Core.so.5
#9  0x00007f8f261105f8 in  () at /usr/lib64/libQt5Qml.so.5
#10 0x00007f8f22e0c55f in  () at /usr/lib64/libQt5Core.so.5
#11 0x00007f8f21f1f0a4 in start_thread () at /lib64/libpthread.so.0
#12 0x00007f8f2271e04d in clone () at /lib64/libc.so.6

Thread 16 (Thread 0x7f8efd27a700 (LWP 12532)):
#0  0x00007f8f22711ced in read () at /lib64/libc.so.6
#1  0x00007f8f1a8c4073 in  () at /usr/lib64/tls/libnvidia-tls.so.358.16
#2  0x00007f8f1ee36b60 in  () at /usr/lib64/libglib-2.0.so.0
#3  0x00007f8f1edf5999 in g_main_context_check () at /usr/lib64/libglib-2.0.so.0
#4  0x00007f8f1edf5df8 in  () at /usr/lib64/libglib-2.0.so.0
#5  0x00007f8f1edf5f7c in g_main_context_iteration () at /usr/lib64/libglib-2.0.so.0
#6  0x00007f8f2303da5b in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib64/libQt5Core.so.5
#7  0x00007f8f22fe4a63 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib64/libQt5Core.so.5
#8  0x00007f8f22e0784a in QThread::exec() () at /usr/lib64/libQt5Core.so.5
#9  0x00007f8f261105f8 in  () at /usr/lib64/libQt5Qml.so.5
#10 0x00007f8f22e0c55f in  () at /usr/lib64/libQt5Core.so.5
#11 0x00007f8f21f1f0a4 in start_thread () at /lib64/libpthread.so.0
#12 0x00007f8f2271e04d in clone () at /lib64/libc.so.6

Thread 15 (Thread 0x7f8ef77ba700 (LWP 12533)):
#0  0x00007f8f21f2305f in pthread_cond_wait@@GLIBC_2.3.2 () at /lib64/libpthread.so.0
#1  0x00007f8f288d37eb in  () at /usr/lib64/libQt5Script.so.5
#2  0x00007f8f288d3819 in  () at /usr/lib64/libQt5Script.so.5
#3  0x00007f8f21f1f0a4 in start_thread () at /lib64/libpthread.so.0
#4  0x00007f8f2271e04d in clone () at /lib64/libc.so.6

Thread 14 (Thread 0x7f8ef4d0a700 (LWP 12534)):
#0  0x00007f8f1ee37d14 in g_mutex_unlock () at /usr/lib64/libglib-2.0.so.0
#1  0x00007f8f1edf4f20 in g_main_context_acquire () at /usr/lib64/libglib-2.0.so.0
#2  0x00007f8f1edf5d25 in  () at /usr/lib64/libglib-2.0.so.0
#3  0x00007f8f1edf5f7c in g_main_context_iteration () at /usr/lib64/libglib-2.0.so.0
#4  0x00007f8f2303da5b in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib64/libQt5Core.so.5
#5  0x00007f8f22fe4a63 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib64/libQt5Core.so.5
#6  0x00007f8f22e0784a in QThread::exec() () at /usr/lib64/libQt5Core.so.5
#7  0x00007f8f26ca6f82 in  () at /usr/lib64/libQt5Quick.so.5
#8  0x00007f8f22e0c55f in  () at /usr/lib64/libQt5Core.so.5
#9  0x00007f8f21f1f0a4 in start_thread () at /lib64/libpthread.so.0
#10 0x00007f8f2271e04d in clone () at /lib64/libc.so.6

Thread 13 (Thread 0x7f8e6a384700 (LWP 12535)):
#0  0x00007f8f21f2305f in pthread_cond_wait@@GLIBC_2.3.2 () at /lib64/libpthread.so.0
#1  0x00007f8f22e0d57b in QWaitCondition::wait(QMutex*, unsigned long) () at /usr/lib64/libQt5Core.so.5
#2  0x00007f8f26d199cb in  () at /usr/lib64/libQt5Quick.so.5
#3  0x00007f8f26d19e63 in  () at /usr/lib64/libQt5Quick.so.5
#4  0x00007f8f22e0c55f in  () at /usr/lib64/libQt5Core.so.5
#5  0x00007f8f21f1f0a4 in start_thread () at /lib64/libpthread.so.0
#6  0x00007f8f2271e04d in clone () at /lib64/libc.so.6

Thread 12 (Thread 0x7f8e51f8f700 (LWP 12537)):
#0  0x00007f8f21f2305f in pthread_cond_wait@@GLIBC_2.3.2 () at /lib64/libpthread.so.0
#1  0x00007f8f22e0d57b in QWaitCondition::wait(QMutex*, unsigned long) () at /usr/lib64/libQt5Core.so.5
#2  0x00007f8f26d199cb in  () at /usr/lib64/libQt5Quick.so.5
#3  0x00007f8f26d19e63 in  () at /usr/lib64/libQt5Quick.so.5
#4  0x00007f8f22e0c55f in  () at /usr/lib64/libQt5Core.so.5
#5  0x00007f8f21f1f0a4 in start_thread () at /lib64/libpthread.so.0
#6  0x00007f8f2271e04d in clone () at /lib64/libc.so.6

Thread 11 (Thread 0x7f8e1affc700 (LWP 12568)):
#0  0x00007f8f21f2305f in pthread_cond_wait@@GLIBC_2.3.2 () at /lib64/libpthread.so.0
#1  0x00007f8f22e0d57b in QWaitCondition::wait(QMutex*, unsigned long) () at /usr/lib64/libQt5Core.so.5
#2  0x00007f8f26d199cb in  () at /usr/lib64/libQt5Quick.so.5
#3  0x00007f8f26d19e63 in  () at /usr/lib64/libQt5Quick.so.5
#4  0x00007f8f22e0c55f in  () at /usr/lib64/libQt5Core.so.5
#5  0x00007f8f21f1f0a4 in start_thread () at /lib64/libpthread.so.0
#6  0x00007f8f2271e04d in clone () at /lib64/libc.so.6

Thread 10 (Thread 0x7f8e1a7fb700 (LWP 12569)):
#0  0x00007f8f21f2305f in pthread_cond_wait@@GLIBC_2.3.2 () at /lib64/libpthread.so.0
#1  0x00007f8f22e0d57b in QWaitCondition::wait(QMutex*, unsigned long) () at /usr/lib64/libQt5Core.so.5
#2  0x00007f8f26d199cb in  () at /usr/lib64/libQt5Quick.so.5
#3  0x00007f8f26d19e63 in  () at /usr/lib64/libQt5Quick.so.5
#4  0x00007f8f22e0c55f in  () at /usr/lib64/libQt5Core.so.5
#5  0x00007f8f21f1f0a4 in start_thread () at /lib64/libpthread.so.0
#6  0x00007f8f2271e04d in clone () at /lib64/libc.so.6

Thread 9 (Thread 0x7f8e268eb700 (LWP 12572)):
#0  0x00007f8f21f2305f in pthread_cond_wait@@GLIBC_2.3.2 () at /lib64/libpthread.so.0
#1  0x00007f8f22e0d57b in QWaitCondition::wait(QMutex*, unsigned long) () at /usr/lib64/libQt5Core.so.5
#2  0x00007f8f26d199cb in  () at /usr/lib64/libQt5Quick.so.5
#3  0x00007f8f26d19e63 in  () at /usr/lib64/libQt5Quick.so.5
#4  0x00007f8f22e0c55f in  () at /usr/lib64/libQt5Core.so.5
#5  0x00007f8f21f1f0a4 in start_thread () at /lib64/libpthread.so.0
#6  0x00007f8f2271e04d in clone () at /lib64/libc.so.6

Thread 8 (Thread 0x7f8e27745700 (LWP 12573)):
#0  0x00007f8f21f2305f in pthread_cond_wait@@GLIBC_2.3.2 () at /lib64/libpthread.so.0
#1  0x00007f8f22e0d57b in QWaitCondition::wait(QMutex*, unsigned long) () at /usr/lib64/libQt5Core.so.5
#2  0x00007f8f26d199cb in  () at /usr/lib64/libQt5Quick.so.5
#3  0x00007f8f26d19e63 in  () at /usr/lib64/libQt5Quick.so.5
#4  0x00007f8f22e0c55f in  () at /usr/lib64/libQt5Core.so.5
#5  0x00007f8f21f1f0a4 in start_thread () at /lib64/libpthread.so.0
#6  0x00007f8f2271e04d in clone () at /lib64/libc.so.6

Thread 7 (Thread 0x7f8e19ffa700 (LWP 25967)):
#0  0x00007f8f21f2305f in pthread_cond_wait@@GLIBC_2.3.2 () at /lib64/libpthread.so.0
#1  0x00007f8f22e0d57b in QWaitCondition::wait(QMutex*, unsigned long) () at /usr/lib64/libQt5Core.so.5
#2  0x00007f8f26d199cb in  () at /usr/lib64/libQt5Quick.so.5
#3  0x00007f8f26d19e63 in  () at /usr/lib64/libQt5Quick.so.5
#4  0x00007f8f22e0c55f in  () at /usr/lib64/libQt5Core.so.5
#5  0x00007f8f21f1f0a4 in start_thread () at /lib64/libpthread.so.0
#6  0x00007f8f2271e04d in clone () at /lib64/libc.so.6

Thread 6 (Thread 0x7f8e1b7fd700 (LWP 28812)):
#0  0x00007f8f21f2305f in pthread_cond_wait@@GLIBC_2.3.2 () at /lib64/libpthread.so.0
#1  0x00007f8f22e0d57b in QWaitCondition::wait(QMutex*, unsigned long) () at /usr/lib64/libQt5Core.so.5
#2  0x00007f8f26d199cb in  () at /usr/lib64/libQt5Quick.so.5
#3  0x00007f8f26d19e63 in  () at /usr/lib64/libQt5Quick.so.5
#4  0x00007f8f22e0c55f in  () at /usr/lib64/libQt5Core.so.5
#5  0x00007f8f21f1f0a4 in start_thread () at /lib64/libpthread.so.0
#6  0x00007f8f2271e04d in clone () at /lib64/libc.so.6

Thread 5 (Thread 0x7f8e3864d700 (LWP 28838)):
#0  0x00007f8f21f2305f in pthread_cond_wait@@GLIBC_2.3.2 () at /lib64/libpthread.so.0
#1  0x00007f8f22e0d57b in QWaitCondition::wait(QMutex*, unsigned long) () at /usr/lib64/libQt5Core.so.5
#2  0x00007f8f26d199cb in  () at /usr/lib64/libQt5Quick.so.5
#3  0x00007f8f26d19e63 in  () at /usr/lib64/libQt5Quick.so.5
#4  0x00007f8f22e0c55f in  () at /usr/lib64/libQt5Core.so.5
#5  0x00007f8f21f1f0a4 in start_thread () at /lib64/libpthread.so.0
#6  0x00007f8f2271e04d in clone () at /lib64/libc.so.6

Thread 4 (Thread 0x7f8e1bffe700 (LWP 28839)):
#0  0x00007f8f21f2305f in pthread_cond_wait@@GLIBC_2.3.2 () at /lib64/libpthread.so.0
#1  0x00007f8f22e0d57b in QWaitCondition::wait(QMutex*, unsigned long) () at /usr/lib64/libQt5Core.so.5
#2  0x00007f8f26d199cb in  () at /usr/lib64/libQt5Quick.so.5
#3  0x00007f8f26d19e63 in  () at /usr/lib64/libQt5Quick.so.5
#4  0x00007f8f22e0c55f in  () at /usr/lib64/libQt5Core.so.5
#5  0x00007f8f21f1f0a4 in start_thread () at /lib64/libpthread.so.0
#6  0x00007f8f2271e04d in clone () at /lib64/libc.so.6

Thread 3 (Thread 0x7f8e3764b700 (LWP 29062)):
#0  0x00007f8f21f2305f in pthread_cond_wait@@GLIBC_2.3.2 () at /lib64/libpthread.so.0
#1  0x00007f8f22e0d57b in QWaitCondition::wait(QMutex*, unsigned long) () at /usr/lib64/libQt5Core.so.5
#2  0x00007f8f26d199cb in  () at /usr/lib64/libQt5Quick.so.5
#3  0x00007f8f26d19e63 in  () at /usr/lib64/libQt5Quick.so.5
#4  0x00007f8f22e0c55f in  () at /usr/lib64/libQt5Core.so.5
#5  0x00007f8f21f1f0a4 in start_thread () at /lib64/libpthread.so.0
#6  0x00007f8f2271e04d in clone () at /lib64/libc.so.6

Thread 2 (Thread 0x7f8e37e4c700 (LWP 29064)):
#0  0x00007f8f21f2305f in pthread_cond_wait@@GLIBC_2.3.2 () at /lib64/libpthread.so.0
#1  0x00007f8f22e0d57b in QWaitCondition::wait(QMutex*, unsigned long) () at /usr/lib64/libQt5Core.so.5
#2  0x00007f8f26d199cb in  () at /usr/lib64/libQt5Quick.so.5
#3  0x00007f8f26d19e63 in  () at /usr/lib64/libQt5Quick.so.5
#4  0x00007f8f22e0c55f in  () at /usr/lib64/libQt5Core.so.5
#5  0x00007f8f21f1f0a4 in start_thread () at /lib64/libpthread.so.0
#6  0x00007f8f2271e04d in clone () at /lib64/libc.so.6

Thread 1 (Thread 0x7f8f29202800 (LWP 12519)):
[KCrash Handler]
#6  0x00007f8f26050611 in QV4::QObjectWrapper::wrap(QV4::ExecutionEngine*, QObject*) () at /usr/lib64/libQt5Qml.so.5
#7  0x00007f8f25fd1a2c in QV4::ExecutionEngine::fromVariant(QVariant const&) () at /usr/lib64/libQt5Qml.so.5
#8  0x00007f8f26101061 in QV4::QmlContextWrapper::get(QV4::Managed*, QV4::String*, bool*) () at /usr/lib64/libQt5Qml.so.5
#9  0x00007f8f25fd9e29 in QV4::ExecutionContext::getProperty(QV4::String*) () at /usr/lib64/libQt5Qml.so.5
#10 0x00007f8f26067b87 in QV4::Runtime::getActivationProperty(QV4::ExecutionEngine*, int) () at /usr/lib64/libQt5Qml.so.5
#11 0x00007f8ef45057cd in  ()
#12 0x0000000000000000 in  ()

Possible duplicates by query: bug 356719, bug 356545, bug 355932, bug 355885, bug 355728.

Reported using DrKonqi
Comment 1 David Edmundson 2015-12-20 20:41:24 UTC
*** Bug 356942 has been marked as a duplicate of this bug. ***
Comment 2 David Edmundson 2015-12-27 22:13:06 UTC
Git commit c692bc53a8c5cf5802084085b9aed11203998d38 by David Edmundson.
Committed on 27/12/2015 at 22:12.
Pushed by davidedmundson into branch 'Plasma/5.5'.

Set root context properties on the right context

engine()->rootContext() will give a different result to
rootContext() when using a shared engine.

One being in the right context, the other being the context of the
shared engine. Using the latter means two panels end up sharing the same
object which leads to some interesting results and QML crashes in
QV4::QObjectWrapper::wrap when one gets deleted.

I've tested against 356545, but I think it's the cause of a lot of the
mystery QML bugs we couldn't figure out.
Related: bug 356545, bug 355885
REVIEW: 126491

M  +2    -2    shell/containmentconfigview.cpp
M  +2    -2    shell/panelconfigview.cpp
M  +1    -1    shell/panelview.cpp
M  +2    -2    shell/shellcorona.cpp

http://commits.kde.org/plasma-workspace/c692bc53a8c5cf5802084085b9aed11203998d38