Bug 402700 - Pressing TAB in kickoff freezes plasma
Summary: Pressing TAB in kickoff freezes plasma
Status: RESOLVED FIXED
Alias: None
Product: plasmashell
Classification: Plasma
Component: Application Launcher (Kickoff) (show other bugs)
Version: 5.14.4
Platform: Other Linux
: HI major
Target Milestone: 1.0
Assignee: David Edmundson
URL:
Keywords:
: 402889 403485 (view as bug list)
Depends on:
Blocks:
 
Reported: 2018-12-30 07:49 UTC by Franz Trischberger
Modified: 2019-06-11 14:04 UTC (History)
5 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
kickoff before pressing TAB (21.05 KB, image/jpeg)
2019-01-14 07:08 UTC, Franz Trischberger
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Franz Trischberger 2018-12-30 07:49:01 UTC
STEPS TO REPRODUCE
1. Open kicker (e.g. with META_KEY)
2. Press TAB_KEY

OBSERVED RESULT
Plasma freezes with 100% CPU usage.

Backtrace:

#0  QQuickItemPrivate::nextPrevItemInTabFocusChain (item=item@entry=0x55ae7f611f20, forward=forward@entry=true) at items/qquickitem.cpp:2665
#1  0x00007f9ed70225f4 in QQuickItemPrivate::focusNextPrev (item=item@entry=0x55ae7f611f20, forward=forward@entry=true) at items/qquickitem.cpp:2489
#2  0x00007f9ed7022712 in QQuickItemPrivate::deliverKeyEvent (this=0x55ae7f611fe0, e=0x7ffe6051b230) at items/qquickitem.cpp:5169
#3  0x00007f9ed7022985 in QQuickItem::event (this=0x55ae7f611f20, ev=0x7ffe6051b230) at items/qquickitem.cpp:8057
#4  0x00007f9ed47d37ac in QApplicationPrivate::notify_helper (this=this@entry=0x55ae7dd859a0, receiver=receiver@entry=0x55ae7f611f20, e=e@entry=0x7ffe6051b230) at kernel/qapplication.cpp:3752                              
#5  0x00007f9ed47dad10 in QApplication::notify (this=0x7ffe6051b650, receiver=0x55ae7f611f20, e=0x7ffe6051b230) at kernel/qapplication.cpp:3499
#6  0x00007f9ed2f793d7 in QCoreApplication::notifyInternal2 (receiver=0x55ae7f611f20, event=0x7ffe6051b230) at
kernel/qcoreapplication.cpp:1061
#7  0x00007f9ed2f7966e in QCoreApplication::sendEvent (receiver=receiver@entry=0x55ae7f611f20, event=event@entry=0x7ffe6051b230) at kernel/qcoreapplication.cpp:1451
#8  0x00007f9ed702f40f in QQuickWindowPrivate::deliverKeyEvent (this=this@entry=0x7f9ebc0057d0, e=e@entry=0x7ffe6051b230) at items/qquickwindow.cpp:1699
#9  0x00007f9ed703461f in QQuickWindow::keyPressEvent (this=<optimized out>, e=0x7ffe6051b230) at items/qquickwindow.cpp:1682
#10 0x00007f9ed3523fb5 in QWindow::event (this=this@entry=0x55ae7ea17be0, ev=ev@entry=0x7ffe6051b230) at kernel/qwindow.cpp:2336
#11 0x00007f9ed703ee15 in QQuickWindow::event (this=this@entry=0x55ae7ea17be0, e=e@entry=0x7ffe6051b230) at items/qquickwindow.cpp:1673
#12 0x00007f9ed8d66a2b in PlasmaQuick::Dialog::event (this=0x55ae7ea17be0, event=0x7ffe6051b230) at /var/tmp/portage/kde-frameworks/plasma-5.53.0/work/plasma-framework-5.53.0/src/plasmaquick/dialog.cpp:1304               
#13 0x00007f9ed47d37ac in QApplicationPrivate::notify_helper (this=this@entry=0x55ae7dd859a0, receiver=receiver@entry=0x55ae7ea17be0, e=e@entry=0x7ffe6051b230) at kernel/qapplication.cpp:3752                              
#14 0x00007f9ed47dad10 in QApplication::notify (this=0x7ffe6051b650, receiver=0x55ae7ea17be0, e=0x7ffe6051b230) at kernel/qapplication.cpp:3499
#15 0x00007f9ed2f793d7 in QCoreApplication::notifyInternal2 (receiver=0x55ae7ea17be0, event=0x7ffe6051b230) at
kernel/qcoreapplication.cpp:1061
#16 0x00007f9ed2f7967e in QCoreApplication::sendSpontaneousEvent (receiver=receiver@entry=0x55ae7ea17be0, event=event@entry=0x7ffe6051b230) at kernel/qcoreapplication.cpp:1463                                              
#17 0x00007f9ed351551b in QGuiApplicationPrivate::processKeyEvent (e=0x55ae80b74c10) at kernel/qguiapplication.cpp:2228
#18 0x00007f9ed351a4f5 in QGuiApplicationPrivate::processWindowSystemEvent (e=e@entry=0x55ae80b74c10) at kernel/qguiapplication.cpp:1843
#19 0x00007f9ed34f575b in QWindowSystemInterface::sendWindowSystemEvents (flags=flags@entry=...) at kernel/qwindowsysteminterface.cpp:1068
#20 0x00007f9ec4dc8cca in xcbSourceDispatch (source=source@entry=0x55ae7dddf4d0) at qxcbeventdispatcher.cpp:105#21 0x00007f9ecc666817 in g_main_dispatch (context=0x7f9ebc004ff0) at /var/tmp/portage/dev-libs/glib-2.58.2/work/glib-2.58.2/glib/gmain.c:3182
#22 g_main_context_dispatch (context=context@entry=0x7f9ebc004ff0) at /var/tmp/portage/dev-libs/glib-2.58.2/work/glib-2.58.2/glib/gmain.c:3847
#23 0x00007f9ecc666a50 in g_main_context_iterate (context=context@entry=0x7f9ebc004ff0, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>)
    at /var/tmp/portage/dev-libs/glib-2.58.2/work/glib-2.58.2/glib/gmain.c:3920                               
#24 0x00007f9ecc666adc in g_main_context_iteration (context=0x7f9ebc004ff0, may_block=may_block@entry=1) at /var/tmp/portage/dev-libs/glib-2.58.2/work/glib-2.58.2/glib/gmain.c:3981                                         
#25 0x00007f9ed2fcf07f in QEventDispatcherGlib::processEvents (this=0x55ae7dde01e0, flags=...) at kernel/qeventdispatcher_glib.cpp:422
#26 0x00007f9ed2f781ca in QEventLoop::exec (this=this@entry=0x7ffe6051b530, flags=..., flags@entry=...) at kernel/qeventloop.cpp:225
#27 0x00007f9ed2f80bc0 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1364                       
#28 0x000055ae7d97af25 in main (argc=<optimized out>, argv=<optimized out>) at /var/tmp/portage/kde-plasma/plasma-workspace-5.14.4/work/plasma-workspace-5.14.4/shell/main.cpp:212


EXPECTED RESULT
Plasma should not freeze.


SOFTWARE/OS VERSIONS
Linux/KDE Plasma: Gentoo Linux
KDE Plasma Version: 5.14.4
KDE Frameworks Version: 5.53.0
Qt Version: 5.12.0

[note]
I hope kickoff is the correct component - this is about the default application launcher. I am running a localized plasma environment so I am not seeing the English/internal names. In general finding the correct category is extremely difficult, there seem to be hundreds to chose from. That makes reporting bugs quite time consuming.
Comment 1 David Edmundson 2018-12-30 15:02:12 UTC
Can you attach a screenshot of the menu before you press tab and reopen

When it freezes is the CPU using 100% of one core?

-----

If possible in gdb if you get that trace again can you run

"frame 3"
"print this->metaObject->className()"
Comment 2 Bug Janitor Service 2019-01-14 04:33:12 UTC
Dear Bug Submitter,

This bug has been in NEEDSINFO status with no change for at least
15 days. Please provide the requested information as soon as
possible and set the bug status as REPORTED. Due to regular bug
tracker maintenance, if the bug is still in NEEDSINFO status with
no change in 30 days the bug will be closed as RESOLVED > WORKSFORME
due to lack of needed information.

For more information about our bug triaging procedures please read the
wiki located here:
https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

If you have already provided the requested information, please
mark the bug as REPORTED so that the KDE team knows that the bug is
ready to be confirmed.

Thank you for helping us make KDE software even better for everyone!
Comment 3 Franz Trischberger 2019-01-14 07:08:02 UTC
plasmashell uses 100%.
Screenshot attached as requested.

There were updates in the meantime, so different backtrace:
#0  QtPrivate::RefCount::deref (this=0x562e08802330) at /usr/include/qt5/QtCore/qrefcount.h:68                         
#1  QList<QQuickItem*>::~QList (this=0x7ffdd58b6570, __in_chrg=<optimized out>) at /usr/include/qt5/QtCore/qlist.h:829 
#2  0x00007f13457c8bcb in QQuickItemPrivate::nextTabChildItem (item=item@entry=0x562e08bf14b0, start=<optimized out>,
    start@entry=0) at items/qquickitem.cpp:2505                                                                        
#3  0x00007f13457c9672 in QQuickItemPrivate::nextPrevItemInTabFocusChain (item=item@entry=0x562e07db2d20,
    forward=forward@entry=true) at items/qquickitem.cpp:2594                                                           
#4  0x00007f13457cc5f4 in QQuickItemPrivate::focusNextPrev (item=item@entry=0x562e07db2d20, forward=forward@entry=true)
    at items/qquickitem.cpp:2489                                                                                       
#5  0x00007f13457cc712 in QQuickItemPrivate::deliverKeyEvent (this=0x562e07db2de0, e=0x7ffdd58b6f30)                   
    at items/qquickitem.cpp:5169                                                                                       
#6  0x00007f13457cc985 in QQuickItem::event (this=0x562e07db2d20, ev=0x7ffdd58b6f30) at items/qquickitem.cpp:8057      
#7  0x00007f1342f7d7ac in QApplicationPrivate::notify_helper (this=this@entry=0x562e057e5870, receiver=receiver@entry=
    0x562e07db2d20, e=e@entry=0x7ffdd58b6f30) at kernel/qapplication.cpp:3752                                          
#8  0x00007f1342f84d10 in QApplication::notify (this=0x7ffdd58b7350, receiver=0x562e07db2d20, e=0x7ffdd58b6f30)        
    at kernel/qapplication.cpp:3499                                                                                    
#9  0x00007f13417233d7 in QCoreApplication::notifyInternal2 (receiver=0x562e07db2d20, event=0x7ffdd58b6f30)            
    at kernel/qcoreapplication.cpp:1061                                                                  
#10 0x00007f134172366e in QCoreApplication::sendEvent (receiver=receiver@entry=0x562e07db2d20,                         
    event=event@entry=0x7ffdd58b6f30) at kernel/qcoreapplication.cpp:1451                                              
#11 0x00007f13457d940f in QQuickWindowPrivate::deliverKeyEvent (this=this@entry=0x7f132c007090,                        
    e=e@entry=0x7ffdd58b6f30) at items/qquickwindow.cpp:1699                                                           
#12 0x00007f13457de61f in QQuickWindow::keyPressEvent (this=<optimized out>, e=0x7ffdd58b6f30)                         
    at items/qquickwindow.cpp:1682
[and so on]
I assume you want me to go into QQuickItem::event:
(gdb) print this->metaObject()->className()
$4 = 0x562e07dc8478 "TextField_QMLTYPE_129_QML_136"
Comment 4 Franz Trischberger 2019-01-14 07:08:44 UTC
Created attachment 117454 [details]
kickoff before pressing TAB
Comment 5 David Edmundson 2019-01-14 10:10:00 UTC
Thanks
Comment 6 Nate Graham 2019-01-15 18:27:22 UTC
Can reproduce in 5.14.4. Backtrace is the same.

Cannot reproduce with git master though.
Comment 7 Nate Graham 2019-01-15 18:56:17 UTC
*** Bug 402889 has been marked as a duplicate of this bug. ***
Comment 8 Patrick Silva 2019-01-22 09:31:13 UTC
*** Bug 403485 has been marked as a duplicate of this bug. ***
Comment 9 Pawel 2019-01-22 13:53:52 UTC
I can reproduce on Plasma 5.14.90 (KF 5.54).
Comment 10 Nate Graham 2019-06-11 14:04:53 UTC
Seems to have been fixed in Plasma 5.15.