Bug 354340

Summary: Plasma crashed after startup
Product: [Plasma] plasmashell Reporter: Ilya V. Portnov <portnov>
Component: generalAssignee: David Edmundson <kde>
Status: RESOLVED FIXED    
Severity: normal CC: andysem, azhchay, bshah, g_fretes, plasma-bugs, thuryn1
Priority: NOR    
Version First Reported In: 5.4.2   
Target Milestone: 1.0   
Platform: Kubuntu   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Ilya V. Portnov 2015-10-25 10:05:14 UTC
I just updated from KUbuntu 15.04 to Kubuntu 15.10. Right after reboot i got Plasma crash.

Application: plasmashell (5.4.2)

Qt Version: 5.4.2
Operating System: Linux 4.2.0-16-generic x86_64
Distribution: Ubuntu 15.10

-- Backtrace:
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 0x7f390a26b800 (LWP 1675))]

Thread 8 (Thread 0x7f38f5798700 (LWP 1681)):
#0  0x00007f3904a1a8dd in poll () at ../sysdeps/unix/syscall-template.S:81
#1  0x00007f3908a61bd2 in ?? () from /usr/lib/x86_64-linux-gnu/libxcb.so.1
#2  0x00007f3908a6374f in xcb_wait_for_event () from /usr/lib/x86_64-linux-gnu/libxcb.so.1
#3  0x00007f38f7ae2a39 in QXcbEventReader::run (this=0xf44840) at qxcbconnection.cpp:1105
#4  0x00007f390510d2be in QThreadPrivate::start (arg=0xf44840) at thread/qthread_unix.cpp:337
#5  0x00007f39041fc6aa in start_thread (arg=0x7f38f5798700) at pthread_create.c:333
#6  0x00007f3904a25eed in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 7 (Thread 0x7f38eefca700 (LWP 1724)):
#0  0x00007f3904a1a8dd in poll () at ../sysdeps/unix/syscall-template.S:81
#1  0x00007f39017c71ec in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f39017c72fc in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f390534429b in QEventDispatcherGlib::processEvents (this=0x7f38e80008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:420
#4  0x00007f39052ea75a in QEventLoop::exec (this=this@entry=0x7f38eefc9da0, flags=..., flags@entry=...) at kernel/qeventloop.cpp:204
#5  0x00007f39051083d4 in QThread::exec (this=this@entry=0x100c310) at thread/qthread.cpp:503
#6  0x00007f3907930f85 in QQmlThreadPrivate::run (this=0x100c310) at qml/ftw/qqmlthread.cpp:141
#7  0x00007f390510d2be in QThreadPrivate::start (arg=0x100c310) at thread/qthread_unix.cpp:337
#8  0x00007f39041fc6aa in start_thread (arg=0x7f38eefca700) at pthread_create.c:333
#9  0x00007f3904a25eed in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 6 (Thread 0x7f38e2ba0700 (LWP 1737)):
#0  0x00007f3904a1a8dd in poll () at ../sysdeps/unix/syscall-template.S:81
#1  0x00007f39017c71ec in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f39017c72fc in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f390534429b in QEventDispatcherGlib::processEvents (this=0x7f38dc0008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:420
#4  0x00007f39052ea75a in QEventLoop::exec (this=this@entry=0x7f38e2b9fda0, flags=..., flags@entry=...) at kernel/qeventloop.cpp:204
#5  0x00007f39051083d4 in QThread::exec (this=this@entry=0x12e2030) at thread/qthread.cpp:503
#6  0x00007f3907930f85 in QQmlThreadPrivate::run (this=0x12e2030) at qml/ftw/qqmlthread.cpp:141
#7  0x00007f390510d2be in QThreadPrivate::start (arg=0x12e2030) at thread/qthread_unix.cpp:337
#8  0x00007f39041fc6aa in start_thread (arg=0x7f38e2ba0700) at pthread_create.c:333
#9  0x00007f3904a25eed in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 5 (Thread 0x7f38dbfff700 (LWP 1754)):
#0  0x00007f390180b869 in g_mutex_lock () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#1  0x00007f39017c6c2c in g_main_context_check () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f39017c7190 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f39017c72fc in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#4  0x00007f390534429b in QEventDispatcherGlib::processEvents (this=0x7f38d00008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:420
#5  0x00007f39052ea75a in QEventLoop::exec (this=this@entry=0x7f38dbffeda0, flags=..., flags@entry=...) at kernel/qeventloop.cpp:204
#6  0x00007f39051083d4 in QThread::exec (this=this@entry=0xf4c180) at thread/qthread.cpp:503
#7  0x00007f3907930f85 in QQmlThreadPrivate::run (this=0xf4c180) at qml/ftw/qqmlthread.cpp:141
#8  0x00007f390510d2be in QThreadPrivate::start (arg=0xf4c180) at thread/qthread_unix.cpp:337
#9  0x00007f39041fc6aa in start_thread (arg=0x7f38dbfff700) at pthread_create.c:333
#10 0x00007f3904a25eed in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 4 (Thread 0x7f38da9c3700 (LWP 1759)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1  0x00007f3909cbc114 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Script.so.5
#2  0x00007f3909cbc159 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Script.so.5
#3  0x00007f39041fc6aa in start_thread (arg=0x7f38da9c3700) at pthread_create.c:333
#4  0x00007f3904a25eed in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 3 (Thread 0x7f384f443700 (LWP 1776)):
#0  0x00007f390180b880 in g_mutex_unlock () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#1  0x00007f39017c6baa in g_main_context_check () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f39017c7190 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f39017c72fc in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#4  0x00007f390534429b in QEventDispatcherGlib::processEvents (this=0x7f38480008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:420
#5  0x00007f39052ea75a in QEventLoop::exec (this=this@entry=0x7f384f442d50, flags=..., flags@entry=...) at kernel/qeventloop.cpp:204
#6  0x00007f39051083d4 in QThread::exec (this=this@entry=0x1645c60) at thread/qthread.cpp:503
#7  0x00007f39082acef6 in QQuickPixmapReader::run (this=0x1645c60) at util/qquickpixmapcache.cpp:797
#8  0x00007f390510d2be in QThreadPrivate::start (arg=0x1645c60) at thread/qthread_unix.cpp:337
#9  0x00007f39041fc6aa in start_thread (arg=0x7f384f443700) at pthread_create.c:333
#10 0x00007f3904a25eed in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 2 (Thread 0x7f383bc47700 (LWP 1915)):
#0  0x00007f3904a1649d in read () at ../sysdeps/unix/syscall-template.S:81
#1  0x00007f390180a4e0 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f39017c6cd4 in g_main_context_check () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f39017c7190 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#4  0x00007f39017c72fc in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#5  0x00007f390534429b in QEventDispatcherGlib::processEvents (this=0x7f38340008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:420
#6  0x00007f39052ea75a in QEventLoop::exec (this=this@entry=0x7f383bc46d80, flags=..., flags@entry=...) at kernel/qeventloop.cpp:204
#7  0x00007f39051083d4 in QThread::exec (this=<optimized out>) at thread/qthread.cpp:503
#8  0x00007f383dee18f7 in KCupsConnection::run() () from /usr/lib/x86_64-linux-gnu/libkcupslib.so
#9  0x00007f390510d2be in QThreadPrivate::start (arg=0x397ab60) at thread/qthread_unix.cpp:337
#10 0x00007f39041fc6aa in start_thread (arg=0x7f383bc47700) at pthread_create.c:333
#11 0x00007f3904a25eed in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 1 (Thread 0x7f390a26b800 (LWP 1675)):
[KCrash Handler]
#6  QBasicAtomicOps<8>::testAndSetRelaxed<QMutexData*> (currentValue=<synthetic pointer>, newValue=0x1, expectedValue=0x0, _q_value=@0x271: <error reading variable>) at ../../include/QtCore/../../src/corelib/arch/qatomic_x86.h:259
#7  QGenericAtomicOps<QBasicAtomicOps<8> >::testAndSetAcquire<QMutexData*, QMutexData*> (currentValue=<synthetic pointer>, newValue=<optimized out>, expectedValue=0x0, _q_value=@0x271: <error reading variable>) at ../../include/QtCore/../../src/corelib/thread/qgenericatomic.h:166
#8  QBasicAtomicPointer<QMutexData>::testAndSetAcquire (currentValue=<synthetic pointer>, newValue=<optimized out>, expectedValue=0x0, this=0x271, this@entry=0x1) at ../../include/QtCore/../../src/corelib/thread/qbasicatomic.h:270
#9  QBasicMutex::fastTryLock (current=<synthetic pointer>, this=0x271, this@entry=0x1) at thread/qmutex.h:82
#10 QMutex::lock (this=this@entry=0x271) at thread/qmutex.cpp:212
#11 0x00007f390789c64b in QQmlEnginePrivate::Locker::relock (this=0x7ffcd6c9d200) at qml/qqmlengine_p.h:341
#12 QQmlEnginePrivate::Locker::Locker (e=0x1, this=0x7ffcd6c9d200) at qml/qqmlengine_p.h:321
#13 QQmlEnginePrivate::typeCategory (this=0x1, t=t@entry=1198) at qml/qqmlengine.cpp:2171
#14 0x00007f39078ef7fb in flagsForPropertyType (propType=1198, engine=0x3d79ec0) at qml/qqmlpropertycache.cpp:118
#15 0x00007f39078efc3b in QQmlPropertyCache::resolve (this=this@entry=0x50614f0, data=data@entry=0x5062548) at qml/qqmlpropertycache.cpp:801
#16 0x00007f39078efc64 in QQmlPropertyCache::ensureResolved (this=this@entry=0x50614f0, p=p@entry=0x5062548) at qml/qqmlpropertycache.cpp:789
#17 0x00007f39078efe8e in QQmlPropertyCache::findProperty (this=0x50614f0, it=..., vmemo=<optimized out>, context=<optimized out>) at qml/qqmlpropertycache.cpp:996
#18 0x00007f390787637c in QQmlPropertyCache::property<QV4::String*> (context=0x4e3c8d0, object=0x1bf5da0, key=<synthetic pointer>, this=0x50614f0) at ../../include/QtQml/5.4.2/QtQml/private/../../../../../src/qml/qml/qqmlpropertycache_p.h:279
#19 QV4::QObjectWrapper::findProperty (this=this@entry=0x7f38384e02b0, engine=<optimized out>, qmlContext=qmlContext@entry=0x4e3c8d0, name=0x7f384db0ee70, revisionMode=revisionMode@entry=QV4::QObjectWrapper::IgnoreRevision, local=local@entry=0x7ffcd6c9d3e0) at jsruntime/qv4qobjectwrapper.cpp:258
#20 0x00007f390787d524 in QV4::QObjectWrapper::getQmlProperty (this=0x7f38384e02b0, ctx=0x7ffcd6c9d5e0, qmlContext=0x4e3c8d0, n=<optimized out>, revisionMode=QV4::QObjectWrapper::IgnoreRevision, hasProperty=0x0, includeImports=true) at jsruntime/qv4qobjectwrapper.cpp:285
#21 0x00007f390787da11 in QV4::QObjectWrapper::get (m=0x7f38384e02b0, name=0x7f384db0ee70, hasProperty=0x0) at jsruntime/qv4qobjectwrapper.cpp:678
#22 0x00007f3907886387 in QV4::Object::get (hasProperty=0x0, name=0x7f384db0ee70, this=<optimized out>) at jsruntime/qv4object_p.h:252
#23 QV4::Runtime::getProperty (ctx=0x7ffcd6c9d5e0, object=..., name=0x7f384db0ee70) at jsruntime/qv4runtime.cpp:668
#24 0x00007f38d801a124 in ?? ()
#25 0x0000000004dbf4f8 in ?? ()
#26 0x0000000005250780 in ?? ()
#27 0x0000000004e3c8d0 in ?? ()
#28 0x00000000014d48d0 in ?? ()
#29 0x00007ffcd6c9d650 in ?? ()
#30 0x00000000014d5ad0 in ?? ()
#31 0x00000000014dddd0 in ?? ()
#32 0x00007f38384df2f0 in ?? ()
#33 0x00007ffcd6c9d7e0 in ?? ()
#34 0x00007f390783b6d6 in QV4::SimpleScriptFunction::call (that=0x7f38dafff370, callData=<optimized out>) at jsruntime/qv4functionobject.cpp:512
#35 0x00007f39078883ae in QV4::Object::call (d=0x7f38dafff2b0, this=<optimized out>) at jsruntime/qv4object_p.h:278
#36 QV4::Runtime::callActivationProperty (context=0x7ffcd6c9d7e0, name=0x7f384db0edb0, callData=0x7f38dafff2b0) at jsruntime/qv4runtime.cpp:908
#37 0x00007f38d801bbe0 in ?? ()
#38 0x0000000000000000 in ?? ()

Отправить на https://bugs.kde.org/

Reproducible: Always
Comment 1 Marco Martin 2017-06-09 11:51:07 UTC
*** Bug 354427 has been marked as a duplicate of this bug. ***
Comment 2 Marco Martin 2017-06-09 11:51:16 UTC
*** Bug 362278 has been marked as a duplicate of this bug. ***
Comment 3 Marco Martin 2017-06-09 11:51:25 UTC
*** Bug 363401 has been marked as a duplicate of this bug. ***
Comment 4 Marco Martin 2017-06-09 11:51:42 UTC
*** Bug 379701 has been marked as a duplicate of this bug. ***
Comment 5 David Edmundson 2017-07-14 00:23:06 UTC
>Qt Version: 5.4.2

Blimey.

This was fixed in Qt 5.8
Search here for QqmlPropertyCache::resolve if you want to  find it