Bug 365916

Summary: Multiple clicks on the system tray crashes plasma shell
Product: [Plasma] plasmashell Reporter: idoitprone <monkeyboyted>
Component: generalAssignee: David Edmundson <kde>
Status: RESOLVED DUPLICATE    
Severity: crash CC: bhush94, plasma-bugs
Priority: NOR Keywords: drkonqi
Version: 5.5.5   
Target Milestone: 1.0   
Platform: openSUSE   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:
Attachments: Crash logs when clicking on a blutetooth icon

Description idoitprone 2016-07-21 00:17:00 UTC
Application: plasmashell (5.5.5)

Qt Version: 5.5.1
Operating System: Linux 4.1.27-24-default x86_64
Distribution: "openSUSE Leap 42.1 (x86_64)"

-- Information about the crash:
I was clicking on the chipboard constantly. I only manage to crash the plasma shell twice.

In other instance, I mange to crash the shell by repeatly clicking on the icon in the expanded system tray as indicated by the triangle array

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 0x7fb85d3ca7c0 (LWP 1730))]

Thread 7 (Thread 0x7fb83ffff700 (LWP 1817)):
#0  0x00007fb8568cbbfd in poll () at /lib64/libc.so.6
#1  0x00007fb852fa8e64 in g_main_context_iterate (priority=2147483647, n_fds=1, fds=0x7fb838003070, timeout=-1, context=0x7fb838000990) at gmain.c:4103
#2  0x00007fb852fa8e64 in g_main_context_iterate (context=context@entry=0x7fb838000990, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at gmain.c:3803
#3  0x00007fb852fa8f7c in g_main_context_iteration (context=0x7fb838000990, may_block=1) at gmain.c:3869
#4  0x00007fb8571f8d8b in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib64/libQt5Core.so.5
#5  0x00007fb85719fd53 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib64/libQt5Core.so.5
#6  0x00007fb856fc161a in QThread::exec() () at /usr/lib64/libQt5Core.so.5
#7  0x00007fb85a2d5e18 in  () at /usr/lib64/libQt5Qml.so.5
#8  0x00007fb856fc632f in  () at /usr/lib64/libQt5Core.so.5
#9  0x00007fb8560d50a4 in start_thread () at /lib64/libpthread.so.0
#10 0x00007fb8568d402d in clone () at /lib64/libc.so.6

Thread 6 (Thread 0x7fb832d6f700 (LWP 1821)):
#0  0x00007fb8568cbbfd in poll () at /lib64/libc.so.6
#1  0x00007fb852fa8e64 in g_main_context_iterate (priority=2147483647, n_fds=1, fds=0x7fb82c002e70, timeout=-1, context=0x7fb82c000990) at gmain.c:4103
#2  0x00007fb852fa8e64 in g_main_context_iterate (context=context@entry=0x7fb82c000990, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at gmain.c:3803
#3  0x00007fb852fa8f7c in g_main_context_iteration (context=0x7fb82c000990, may_block=1) at gmain.c:3869
#4  0x00007fb8571f8d8b in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib64/libQt5Core.so.5
#5  0x00007fb85719fd53 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib64/libQt5Core.so.5
#6  0x00007fb856fc161a in QThread::exec() () at /usr/lib64/libQt5Core.so.5
#7  0x00007fb85a2d5e18 in  () at /usr/lib64/libQt5Qml.so.5
#8  0x00007fb856fc632f in  () at /usr/lib64/libQt5Core.so.5
#9  0x00007fb8560d50a4 in start_thread () at /lib64/libpthread.so.0
#10 0x00007fb8568d402d in clone () at /lib64/libc.so.6

Thread 5 (Thread 0x7fb83155c700 (LWP 1822)):
#0  0x00007fb8568cbbfd in poll () at /lib64/libc.so.6
#1  0x00007fb852fa8e64 in g_main_context_iterate (priority=2147483647, n_fds=1, fds=0x7fb824003070, timeout=-1, context=0x7fb824000990) at gmain.c:4103
#2  0x00007fb852fa8e64 in g_main_context_iterate (context=context@entry=0x7fb824000990, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at gmain.c:3803
#3  0x00007fb852fa8f7c in g_main_context_iteration (context=0x7fb824000990, may_block=1) at gmain.c:3869
#4  0x00007fb8571f8d8b in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib64/libQt5Core.so.5
#5  0x00007fb85719fd53 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib64/libQt5Core.so.5
#6  0x00007fb856fc161a in QThread::exec() () at /usr/lib64/libQt5Core.so.5
#7  0x00007fb85a2d5e18 in  () at /usr/lib64/libQt5Qml.so.5
#8  0x00007fb856fc632f in  () at /usr/lib64/libQt5Core.so.5
#9  0x00007fb8560d50a4 in start_thread () at /lib64/libpthread.so.0
#10 0x00007fb8568d402d in clone () at /lib64/libc.so.6

Thread 4 (Thread 0x7fb82bbd7700 (LWP 1823)):
#0  0x00007fb8560d903f in pthread_cond_wait@@GLIBC_2.3.2 () at /lib64/libpthread.so.0
#1  0x00007fb85caa486b in  () at /usr/lib64/libQt5Script.so.5
#2  0x00007fb85caa4899 in  () at /usr/lib64/libQt5Script.so.5
#3  0x00007fb8560d50a4 in start_thread () at /lib64/libpthread.so.0
#4  0x00007fb8568d402d in clone () at /lib64/libc.so.6

Thread 3 (Thread 0x7fb7a3fff700 (LWP 1824)):
#0  0x00007fb8568c7ccd in read () at /lib64/libc.so.6
#1  0x00007fb852fe9b60 in g_wakeup_acknowledge (__nbytes=16, __buf=0x7fb7a3ffebb0, __fd=<optimized out>) at /usr/include/bits/unistd.h:44
#2  0x00007fb852fe9b60 in g_wakeup_acknowledge (wakeup=0x7fb824002780) at gwakeup.c:210
#3  0x00007fb852fa8999 in g_main_context_check (context=context@entry=0x7fb79c000990, max_priority=2147483647, fds=fds@entry=0x7fb79c003120, n_fds=n_fds@entry=1) at gmain.c:3600
#4  0x00007fb852fa8df8 in g_main_context_iterate (context=context@entry=0x7fb79c000990, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at gmain.c:3805
#5  0x00007fb852fa8f7c in g_main_context_iteration (context=0x7fb79c000990, may_block=1) at gmain.c:3869
#6  0x00007fb8571f8d8b in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib64/libQt5Core.so.5
#7  0x00007fb85719fd53 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib64/libQt5Core.so.5
#8  0x00007fb856fc161a in QThread::exec() () at /usr/lib64/libQt5Core.so.5
#9  0x00007fb85ae71282 in  () at /usr/lib64/libQt5Quick.so.5
#10 0x00007fb856fc632f in  () at /usr/lib64/libQt5Core.so.5
#11 0x00007fb8560d50a4 in start_thread () at /lib64/libpthread.so.0
#12 0x00007fb8568d402d in clone () at /lib64/libc.so.6

Thread 2 (Thread 0x7fb7945ad700 (LWP 1839)):
#0  0x00007fb852feacf9 in g_mutex_lock (mutex=mutex@entry=0x7fb78c000990) at gthread-posix.c:1336
#1  0x00007fb852fa86a1 in g_main_context_query (context=context@entry=0x7fb78c000990, max_priority=2147483647, timeout=timeout@entry=0x7fb7945acc9c, fds=fds@entry=0x7fb78c0048d0, n_fds=n_fds@entry=1) at gmain.c:3512
#2  0x00007fb852fa8dcf in g_main_context_iterate (context=context@entry=0x7fb78c000990, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at gmain.c:3790
#3  0x00007fb852fa8f7c in g_main_context_iteration (context=0x7fb78c000990, may_block=1) at gmain.c:3869
#4  0x00007fb8571f8d8b in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib64/libQt5Core.so.5
#5  0x00007fb85719fd53 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib64/libQt5Core.so.5
#6  0x00007fb856fc161a in QThread::exec() () at /usr/lib64/libQt5Core.so.5
#7  0x00007fb795bfacf7 in KCupsConnection::run() () at /usr/lib64/libkcupslib.so
#8  0x00007fb856fc632f in  () at /usr/lib64/libQt5Core.so.5
#9  0x00007fb8560d50a4 in start_thread () at /lib64/libpthread.so.0
#10 0x00007fb8568d402d in clone () at /lib64/libc.so.6

Thread 1 (Thread 0x7fb85d3ca7c0 (LWP 1730)):
[KCrash Handler]
#6  0x00007fb85a25ffe4 in QQmlContext::isValid() const () at /usr/lib64/libQt5Qml.so.5
#7  0x00007fb85a251921 in QQmlExpression::QQmlExpression(QQmlScriptString const&, QQmlContext*, QObject*, QObject*) () at /usr/lib64/libQt5Qml.so.5
#8  0x00007fb85ae4d2b4 in  () at /usr/lib64/libQt5Quick.so.5
#9  0x00007fb85a30a32f in QAbstractAnimationJob::setState(QAbstractAnimationJob::State) () at /usr/lib64/libQt5Qml.so.5
#10 0x00007fb85a30bad7 in QSequentialAnimationGroupJob::activateCurrentAnimation(bool) () at /usr/lib64/libQt5Qml.so.5
#11 0x00007fb85a30bbbc in QSequentialAnimationGroupJob::uncontrolledAnimationFinished(QAbstractAnimationJob*) () at /usr/lib64/libQt5Qml.so.5
#12 0x00007fb85a3098ad in QAbstractAnimationJob::finished() () at /usr/lib64/libQt5Qml.so.5
#13 0x00007fb85a30a535 in QAbstractAnimationJob::setState(QAbstractAnimationJob::State) () at /usr/lib64/libQt5Qml.so.5
#14 0x00007fb85ae90ef9 in QQuickAnimatorProxyJob::setWindow(QQuickWindow*) () at /usr/lib64/libQt5Quick.so.5
#15 0x00007fb8571d1cc6 in QMetaObject::activate(QObject*, int, int, void**) () at /usr/lib64/libQt5Core.so.5
#16 0x00007fb85aef6032 in QQuickItem::windowChanged(QQuickWindow*) () at /usr/lib64/libQt5Quick.so.5
#17 0x00007fb85af023cf in QQuickItemPrivate::derefWindow() () at /usr/lib64/libQt5Quick.so.5
#18 0x00007fb85af03634 in QQuickItem::setParentItem(QQuickItem*) () at /usr/lib64/libQt5Quick.so.5
#19 0x00007fb85af03ad6 in QQuickItem::~QQuickItem() () at /usr/lib64/libQt5Quick.so.5
#20 0x00007fb85af1ea96 in  () at /usr/lib64/libQt5Quick.so.5
#21 0x00007fb8571d2b18 in QObject::event(QEvent*) () at /usr/lib64/libQt5Core.so.5
#22 0x00007fb85af00cbb in QQuickItem::event(QEvent*) () at /usr/lib64/libQt5Quick.so.5
#23 0x00007fb85851ce7c in QApplicationPrivate::notify_helper(QObject*, QEvent*) () at /usr/lib64/libQt5Widgets.so.5
#24 0x00007fb858521cc8 in QApplication::notify(QObject*, QEvent*) () at /usr/lib64/libQt5Widgets.so.5
#25 0x00007fb8571a1e95 in QCoreApplication::notifyInternal(QObject*, QEvent*) () at /usr/lib64/libQt5Core.so.5
#26 0x00007fb8571a4057 in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) () at /usr/lib64/libQt5Core.so.5
#27 0x00007fb8571f98f3 in  () at /usr/lib64/libQt5Core.so.5
#28 0x00007fb852fa8c84 in g_main_context_dispatch (context=0x7fb8400016f0) at gmain.c:3122
#29 0x00007fb852fa8c84 in g_main_context_dispatch (context=context@entry=0x7fb8400016f0) at gmain.c:3737
#30 0x00007fb852fa8ed8 in g_main_context_iterate (context=context@entry=0x7fb8400016f0, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at gmain.c:3808
#31 0x00007fb852fa8f7c in g_main_context_iteration (context=0x7fb8400016f0, may_block=1) at gmain.c:3869
#32 0x00007fb8571f8d6c in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib64/libQt5Core.so.5
#33 0x00007fb85719fd53 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib64/libQt5Core.so.5
#34 0x00007fb8571a78f6 in QCoreApplication::exec() () at /usr/lib64/libQt5Core.so.5
#35 0x0000000000436b3d in main(int, char**) (argc=2, argv=<optimized out>) at /usr/src/debug/plasma-workspace-5.5.5/shell/main.cpp:184

Reported using DrKonqi
Comment 1 idoitprone 2016-07-21 00:35:03 UTC
I forgot to mention I enable Opengl 3.1 ES since Martin seems to complain about common bugs lately. I will try to see if this crash ever happens in Opengl 3.1 GLX. 

I wonder if it is related. Oh well
Comment 2 David Edmundson 2016-07-21 00:37:52 UTC
>I forgot to mention I enable Opengl 3.1 ES since Martin seems to complain about common bugs lately. I will try to see if this crash ever happens in Opengl 3.1 GLX. 

It's not. Dont' feel the need to try it.
Comment 3 David Edmundson 2016-07-21 00:42:42 UTC

*** This bug has been marked as a duplicate of bug 346740 ***
Comment 4 idoitprone 2016-07-21 00:42:57 UTC
Created attachment 100222 [details]
Crash logs when clicking on a blutetooth icon

It seems to be easier to reproduce this crash by repeatedly clicking bluetooth and I do not have bluetooth on this laptop