Bug 354704

Summary: Plasma sometimes crash
Product: [Plasma] plasmashell Reporter: opensuse.lietuviu.kalba
Component: generalAssignee: David Edmundson <kde>
Status: RESOLVED DUPLICATE    
Severity: crash CC: andrejoh, bhush94, opensuse.lietuviu.kalba, plasma-bugs, russellgreene8
Priority: NOR Keywords: drkonqi
Version: 5.4.2   
Target Milestone: 1.0   
Platform: openSUSE   
OS: Linux   
See Also: https://bugs.kde.org/show_bug.cgi?id=351485
Latest Commit: Version Fixed In:
Attachments: New crash information added by DrKonqi
How to reproduce - video (webm)
Crash backtrace after hover mouse over Activities context menu
New crash information added by DrKonqi

Description opensuse.lietuviu.kalba 2015-11-01 19:40:11 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:
Go to Desktop Settings, enter into Icons , select to Get more icons, in search enter Star, select StarSapphireKDE Icon set, press Install. After few time – crash. Though Icon theme installed, I can use it.

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

Thread 10 (Thread 0x7f960e4d9700 (LWP 1951)):
#0  0x00007f961df59c1d in poll () from /lib64/libc.so.6
#1  0x00007f9622e5f422 in ?? () from /usr/lib64/libxcb.so.1
#2  0x00007f9622e6100f in xcb_wait_for_event () from /usr/lib64/libxcb.so.1
#3  0x00007f9610629c29 in ?? () from /usr/lib64/libQt5XcbQpa.so.5
#4  0x00007f961e65055f in QThreadPrivate::start (arg=0x1728bf0) at thread/qthread_unix.cpp:331
#5  0x00007f961d7630a4 in start_thread () from /lib64/libpthread.so.0
#6  0x00007f961df6204d in clone () from /lib64/libc.so.6

Thread 9 (Thread 0x7f96075ef700 (LWP 2018)):
#0  0x00007f961e649b8a in testAndSetRelaxed<QMutexData*> (currentValue=<synthetic pointer>, newValue=0x1, expectedValue=0x0, _q_value=@0x17ebfc8: 0x1) at ../../src/corelib/arch/qatomic_x86.h:259
#1  testAndSetAcquire<QMutexData*, QMutexData*> (currentValue=<synthetic pointer>, newValue=0x1, expectedValue=0x0, _q_value=@0x17ebfc8: 0x1) at ../../src/corelib/thread/qgenericatomic.h:166
#2  testAndSetAcquire (currentValue=<synthetic pointer>, newValue=0x1, expectedValue=0x0, this=0x17ebfc8, this@entry=0x1) at ../../src/corelib/thread/qbasicatomic.h:278
#3  fastTryLock (current=<synthetic pointer>, this=0x17ebfc8, this@entry=0x1) at thread/qmutex.h:82
#4  QMutex::lock (this=this@entry=0x17ebfc8) at thread/qmutex.cpp:212
#5  0x00007f961e882555 in QMutexLocker (m=0x17ebfc8, this=<synthetic pointer>) at ../../src/corelib/thread/qmutex.h:128
#6  canWaitLocked (this=0x17ebfa0) at ../../src/corelib/thread/qthread_p.h:249
#7  postEventSourcePrepare (timeout=<synthetic pointer>, s=0x7f96000012d0) at kernel/qeventdispatcher_glib.cpp:254
#8  postEventSourceCheck (source=0x7f96000012d0) at kernel/qeventdispatcher_glib.cpp:264
#9  0x00007f961a64a8f1 in g_main_context_check () from /usr/lib64/libglib-2.0.so.0
#10 0x00007f961a64adf8 in ?? () from /usr/lib64/libglib-2.0.so.0
#11 0x00007f961a64af7c in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#12 0x00007f961e881a5b in QEventDispatcherGlib::processEvents (this=0x7f96000008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:420
#13 0x00007f961e828a63 in QEventLoop::exec (this=this@entry=0x7f96075eedf0, flags=..., flags@entry=...) at kernel/qeventloop.cpp:204
#14 0x00007f961e64b84a in QThread::exec (this=<optimized out>) at thread/qthread.cpp:503
#15 0x00007f962191b5f8 in ?? () from /usr/lib64/libQt5Qml.so.5
#16 0x00007f961e65055f in QThreadPrivate::start (arg=0x17ebdf0) at thread/qthread_unix.cpp:331
#17 0x00007f961d7630a4 in start_thread () from /lib64/libpthread.so.0
#18 0x00007f961df6204d in clone () from /lib64/libc.so.6

Thread 8 (Thread 0x7f95f40f0700 (LWP 2023)):
#0  0x00007f961df59c1d in poll () from /lib64/libc.so.6
#1  0x00007f961a64ae64 in ?? () from /usr/lib64/libglib-2.0.so.0
#2  0x00007f961a64af7c in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#3  0x00007f961e881a5b in QEventDispatcherGlib::processEvents (this=0x7f95ec0008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:420
#4  0x00007f961e828a63 in QEventLoop::exec (this=this@entry=0x7f95f40efdf0, flags=..., flags@entry=...) at kernel/qeventloop.cpp:204
#5  0x00007f961e64b84a in QThread::exec (this=<optimized out>) at thread/qthread.cpp:503
#6  0x00007f962191b5f8 in ?? () from /usr/lib64/libQt5Qml.so.5
#7  0x00007f961e65055f in QThreadPrivate::start (arg=0x19f12d0) at thread/qthread_unix.cpp:331
#8  0x00007f961d7630a4 in start_thread () from /lib64/libpthread.so.0
#9  0x00007f961df6204d in clone () from /lib64/libc.so.6

Thread 7 (Thread 0x7f95f2aa0700 (LWP 2041)):
#0  0x00007f961d76705f in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00007f96240c37eb in ?? () from /usr/lib64/libQt5Script.so.5
#2  0x00007f96240c3819 in ?? () from /usr/lib64/libQt5Script.so.5
#3  0x00007f961d7630a4 in start_thread () from /lib64/libpthread.so.0
#4  0x00007f961df6204d in clone () from /lib64/libc.so.6

Thread 6 (Thread 0x7f95f1289700 (LWP 2042)):
#0  0x00007f961a68cd14 in g_mutex_unlock () from /usr/lib64/libglib-2.0.so.0
#1  0x00007f961a64a4a0 in g_main_context_prepare () from /usr/lib64/libglib-2.0.so.0
#2  0x00007f961a64ad80 in ?? () from /usr/lib64/libglib-2.0.so.0
#3  0x00007f961a64af7c in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#4  0x00007f961e881a5b in QEventDispatcherGlib::processEvents (this=0x7f95640008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:420
#5  0x00007f961e828a63 in QEventLoop::exec (this=this@entry=0x7f95f1288df0, flags=..., flags@entry=...) at kernel/qeventloop.cpp:204
#6  0x00007f961e64b84a in QThread::exec (this=<optimized out>) at thread/qthread.cpp:503
#7  0x00007f962191b5f8 in ?? () from /usr/lib64/libQt5Qml.so.5
#8  0x00007f961e65055f in QThreadPrivate::start (arg=0x17e4850) at thread/qthread_unix.cpp:331
#9  0x00007f961d7630a4 in start_thread () from /lib64/libpthread.so.0
#10 0x00007f961df6204d in clone () from /lib64/libc.so.6

Thread 5 (Thread 0x7f9568fb4700 (LWP 2046)):
#0  0x00007f961df6ecb6 in clock_gettime () from /lib64/libc.so.6
#1  0x00007f961e700b06 in qt_clock_gettime (ts=0x7f9568fb3b40, clock=<optimized out>) at tools/qelapsedtimer_unix.cpp:105
#2  do_gettime (frac=<synthetic pointer>, sec=<synthetic pointer>) at tools/qelapsedtimer_unix.cpp:156
#3  qt_gettime () at tools/qelapsedtimer_unix.cpp:165
#4  0x00007f961e880089 in QTimerInfoList::updateCurrentTime (this=this@entry=0x7f9560002ed0) at kernel/qtimerinfo_unix.cpp:84
#5  0x00007f961e880615 in QTimerInfoList::timerWait (this=0x7f9560002ed0, tm=...) at kernel/qtimerinfo_unix.cpp:381
#6  0x00007f961e88182e in timerSourcePrepareHelper (timeout=0x7f9568fb3bf4, src=<optimized out>) at kernel/qeventdispatcher_glib.cpp:127
#7  timerSourcePrepare (source=<optimized out>, timeout=0x7f9568fb3bf4) at kernel/qeventdispatcher_glib.cpp:160
#8  0x00007f961a64a4ad in g_main_context_prepare () from /usr/lib64/libglib-2.0.so.0
#9  0x00007f961a64ad80 in ?? () from /usr/lib64/libglib-2.0.so.0
#10 0x00007f961a64af7c in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#11 0x00007f961e881a5b in QEventDispatcherGlib::processEvents (this=0x7f95600008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:420
#12 0x00007f961e828a63 in QEventLoop::exec (this=this@entry=0x7f9568fb3db0, flags=..., flags@entry=...) at kernel/qeventloop.cpp:204
#13 0x00007f961e64b84a in QThread::exec (this=<optimized out>) at thread/qthread.cpp:503
#14 0x00007f96224a7f82 in ?? () from /usr/lib64/libQt5Quick.so.5
#15 0x00007f961e65055f in QThreadPrivate::start (arg=0x2094e60) at thread/qthread_unix.cpp:331
#16 0x00007f961d7630a4 in start_thread () from /lib64/libpthread.so.0
#17 0x00007f961df6204d in clone () from /lib64/libc.so.6

Thread 4 (Thread 0x7f9554835700 (LWP 2060)):
#0  idleTimerSourcePrepare (source=0x7f9550002d20, timeout=0x7f9554834c14) at kernel/qeventdispatcher_glib.cpp:197
#1  0x00007f961a64a4ad in g_main_context_prepare () from /usr/lib64/libglib-2.0.so.0
#2  0x00007f961a64ad80 in ?? () from /usr/lib64/libglib-2.0.so.0
#3  0x00007f961a64af7c in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#4  0x00007f961e881a5b in QEventDispatcherGlib::processEvents (this=0x7f95500008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:420
#5  0x00007f961e828a63 in QEventLoop::exec (this=this@entry=0x7f9554834dd0, flags=..., flags@entry=...) at kernel/qeventloop.cpp:204
#6  0x00007f961e64b84a in QThread::exec (this=<optimized out>) at thread/qthread.cpp:503
#7  0x00007f9555e81b77 in KCupsConnection::run() () from /usr/lib64/libkcupslib.so
#8  0x00007f961e65055f in QThreadPrivate::start (arg=0x2e3c730) at thread/qthread_unix.cpp:331
#9  0x00007f961d7630a4 in start_thread () from /lib64/libpthread.so.0
#10 0x00007f961df6204d in clone () from /lib64/libc.so.6

Thread 3 (Thread 0x7f953e472700 (LWP 4748)):
#0  0x00007f961e880607 in QTimerInfoList::timerWait (this=0x6b2ebf0, tm=...) at kernel/qtimerinfo_unix.cpp:380
#1  0x00007f961e88182e in timerSourcePrepareHelper (timeout=0x7f953e471c54, src=<optimized out>) at kernel/qeventdispatcher_glib.cpp:127
#2  timerSourcePrepare (source=<optimized out>, timeout=0x7f953e471c54) at kernel/qeventdispatcher_glib.cpp:160
#3  0x00007f961a64a4ad in g_main_context_prepare () from /usr/lib64/libglib-2.0.so.0
#4  0x00007f961a64ad80 in ?? () from /usr/lib64/libglib-2.0.so.0
#5  0x00007f961a64af7c in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#6  0x00007f961e881a5b in QEventDispatcherGlib::processEvents (this=0x5884dd0, flags=...) at kernel/qeventdispatcher_glib.cpp:420
#7  0x00007f961e828a63 in QEventLoop::exec (this=this@entry=0x7f953e471e10, flags=..., flags@entry=...) at kernel/qeventloop.cpp:204
#8  0x00007f961e64b84a in QThread::exec (this=<optimized out>) at thread/qthread.cpp:503
#9  0x00007f961e65055f in QThreadPrivate::start (arg=0x6a1cac0) at thread/qthread_unix.cpp:331
#10 0x00007f961d7630a4 in start_thread () from /lib64/libpthread.so.0
#11 0x00007f961df6204d in clone () from /lib64/libc.so.6

Thread 2 (Thread 0x7f9540141700 (LWP 5103)):
[KCrash Handler]
#6  testAndSetRelaxed<QMutexData*> (currentValue=<synthetic pointer>, newValue=0x1, expectedValue=0x0, _q_value=@0x84: <error reading variable>) at ../../src/corelib/arch/qatomic_x86.h:259
#7  testAndSetAcquire<QMutexData*, QMutexData*> (currentValue=<synthetic pointer>, newValue=0x1, expectedValue=0x0, _q_value=@0x84: <error reading variable>) at ../../src/corelib/thread/qgenericatomic.h:166
#8  testAndSetAcquire (currentValue=<synthetic pointer>, newValue=0x1, expectedValue=0x0, this=this@entry=0x84) at ../../src/corelib/thread/qbasicatomic.h:278
#9  fastTryLock (current=<synthetic pointer>, this=this@entry=0x84) at thread/qmutex.h:82
#10 QMutex::lock (this=this@entry=0x84) at thread/qmutex.cpp:212
#11 0x00007f961e64f798 in QMutexLocker (m=0x84, this=<synthetic pointer>) at ../../src/corelib/thread/qmutex.h:128
#12 QThreadPrivate::finish (arg=arg@entry=0x2c53fa0) at thread/qthread_unix.cpp:343
#13 0x00007f961e650581 in ~__pthread_cleanup_class (this=<synthetic pointer>, __in_chrg=<optimized out>) at /usr/include/pthread.h:572
#14 QThreadPrivate::start (arg=0x2c53fa0) at thread/qthread_unix.cpp:333
#15 0x00007f961d7630a4 in start_thread () from /lib64/libpthread.so.0
#16 0x00007f961df6204d in clone () from /lib64/libc.so.6

Thread 1 (Thread 0x7f96249f27c0 (LWP 1947)):
#0  0x00007f961a64823d in ?? () from /usr/lib64/libglib-2.0.so.0
#1  0x00007f961a64a44b in g_main_context_prepare () from /usr/lib64/libglib-2.0.so.0
#2  0x00007f961a64ad80 in ?? () from /usr/lib64/libglib-2.0.so.0
#3  0x00007f961a64af7c in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#4  0x00007f961e881a3c in QEventDispatcherGlib::processEvents (this=0x1757f20, flags=...) at kernel/qeventdispatcher_glib.cpp:418
#5  0x00007f961e828a63 in QEventLoop::exec (this=0x7ffc0d86b130, flags=...) at kernel/qeventloop.cpp:204
#6  0x00007f961fd19620 in QMenu::exec(QPoint const&, QAction*) () from /usr/lib64/libQt5Widgets.so.5
#7  0x00007f956a7553c8 in ?? () from /usr/lib64/qt5/qml/org/kde/private/desktopcontainment/folder/libfolderplugin.so
#8  0x00007f956a77306a in ?? () from /usr/lib64/qt5/qml/org/kde/private/desktopcontainment/folder/libfolderplugin.so
#9  0x00007f956a7748ab in ?? () from /usr/lib64/qt5/qml/org/kde/private/desktopcontainment/folder/libfolderplugin.so
#10 0x00007f96218db749 in ?? () from /usr/lib64/libQt5Qml.so.5
#11 0x00007f962185f222 in ?? () from /usr/lib64/libQt5Qml.so.5
#12 0x00007f962185fa63 in ?? () from /usr/lib64/libQt5Qml.so.5
#13 0x00007f962186053f in QV4::QObjectMethod::callInternal(QV4::CallData*) () from /usr/lib64/libQt5Qml.so.5
#14 0x00007f9621874e35 in QV4::Runtime::callProperty(QV4::ExecutionEngine*, int, QV4::CallData*) () from /usr/lib64/libQt5Qml.so.5
#15 0x00007f95f00f3ae8 in ?? ()
#16 0x00007ffc0d86ba20 in ?? ()
#17 0x00007ffc0d86b9a0 in ?? ()
#18 0x0003000000000007 in ?? ()
#19 0x0001800000000000 in ?? ()
#20 0x0000000000000000 in ?? ()

Possible duplicates by query: bug 354243, bug 354168, bug 354134, bug 353804, bug 353132.

Reported using DrKonqi
Comment 1 opensuse.lietuviu.kalba 2015-11-01 19:43:25 UTC
After this crash Folder View widget in desktop disappeared...
Comment 2 opensuse.lietuviu.kalba 2015-12-09 18:36:35 UTC
Created attachment 95956 [details]
New crash information added by DrKonqi

plasmashell (5.5.0) using Qt 5.5.0

- What I was doing when the application crashed:

Go to Dolphin settings, Services tab. Enable Activities service (to associate activities with files). In Dolphin right click mouse, hover mouse on Activities menu entry in context menu. Dolphin crash without notification. Then right-click in Desktop Folder View widget on some folder, hover mouse on Activities menu entry in context menu. Whole Plasma crash and restarts. This error notification appears.

-- Backtrace (Reduced):
#6  testAndSetRelaxed<QMutexData*> (currentValue=<synthetic pointer>, newValue=0x1, expectedValue=0x0, _q_value=@0x84: <error reading variable>) at ../../src/corelib/arch/qatomic_x86.h:259
#7  testAndSetAcquire<QMutexData*, QMutexData*> (currentValue=<synthetic pointer>, newValue=0x1, expectedValue=0x0, _q_value=@0x84: <error reading variable>) at ../../src/corelib/thread/qgenericatomic.h:166
#8  testAndSetAcquire (currentValue=<synthetic pointer>, newValue=0x1, expectedValue=0x0, this=this@entry=0x84) at ../../src/corelib/thread/qbasicatomic.h:278
#9  fastTryLock (current=<synthetic pointer>, this=this@entry=0x84) at thread/qmutex.h:82
#10 QMutex::lock (this=this@entry=0x84) at thread/qmutex.cpp:212
Comment 3 David Edmundson 2015-12-20 21:05:06 UTC
*** Bug 356885 has been marked as a duplicate of this bug. ***
Comment 4 Russell Greene 2015-12-26 22:10:58 UTC
I cannot reproduce this but, it works flawlessly. Icon theme installed, no crash.

plasmashell version 5.4.2
Comment 5 opensuse.lietuviu.kalba 2016-01-13 08:32:11 UTC
I can no longer reproduce in KDE Plasma 5.5.3

P.S. StarSapphireKDE incon theme description has warning about high RAM usage
Comment 6 opensuse.lietuviu.kalba 2016-01-13 08:53:56 UTC
Created attachment 96617 [details]
How to reproduce - video (webm)

But I can reproduce in KDE Plasma 5.5.1 with similar backtrace (drKonqi says it is the same bug!) using another instructions:
1. in Dolphin enable "File to activity linking plugin"
2. rigth-click at any file/folder a) in Dolphin b) or in desktop folder widget
3. hover mouse over Activies context menu
Comment 7 opensuse.lietuviu.kalba 2016-01-13 08:59:13 UTC
Created attachment 96618 [details]
Crash backtrace after hover mouse over Activities context menu
Comment 8 opensuse.lietuviu.kalba 2016-01-13 09:27:49 UTC
Created attachment 96619 [details]
New crash information added by DrKonqi

plasmashell (5.5.3) using Qt 5.5.1

I can also reproduce in KDE Plasma 5.5.3 by same instructions as above (mouse over Activities context menu)

-- Backtrace (Reduced):
#6  testAndSetRelaxed<QMutexData*> (currentValue=<synthetic pointer>, newValue=0x1, expectedValue=0x0, _q_value=@0x84: <error reading variable>) at ../../src/corelib/arch/qatomic_x86.h:259
#7  testAndSetAcquire<QMutexData*, QMutexData*> (currentValue=<synthetic pointer>, newValue=0x1, expectedValue=0x0, _q_value=@0x84: <error reading variable>) at ../../src/corelib/thread/qgenericatomic.h:166
#8  testAndSetAcquire (currentValue=<synthetic pointer>, newValue=0x1, expectedValue=0x0, this=this@entry=0x84) at ../../src/corelib/thread/qbasicatomic.h:278
#9  fastTryLock (current=<synthetic pointer>, this=this@entry=0x84) at thread/qmutex.h:82
#10 QMutex::lock (this=this@entry=0x84) at thread/qmutex.cpp:212
Comment 9 opensuse.lietuviu.kalba 2016-01-13 11:42:59 UTC

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