Bug 345785 - Crash when opening kicker and starting keynavigation
Summary: Crash when opening kicker and starting keynavigation
Status: RESOLVED FIXED
Alias: None
Product: plasmashell
Classification: Plasma
Component: Application Menu (Kicker) (show other bugs)
Version: master
Platform: Other Linux
: NOR normal
Target Milestone: 1.0
Assignee: Eike Hein
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-04-02 03:39 UTC by Bhushan Shah
Modified: 2015-04-02 17:49 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Bhushan Shah 2015-04-02 03:39:09 UTC
I can not reproduce this very clearly but it happened to twice today and many times yesterday, I will try to figure out the exact steps to reproduce and post it here.

Backtrace is useless because of no Qt debug symbols.. but nothing I can do about that at moment

Thread 1 (Thread 0x7f2bf46c57c0 (LWP 9125)):
[KCrash Handler]
#6  0x00007f2bf26eb7f4 in QQuickItem::isVisible() const () from /usr/lib/libQt5Quick.so.5
#7  0x00007f2bf26eed42 in QQuickKeyNavigationAttached::setFocusNavigation(QQuickItem*, char const*, Qt::FocusReason) () from /usr/lib/libQt5Quick.so.5
#8  0x00007f2bf26ef0a1 in QQuickKeyNavigationAttached::keyPressed(QKeyEvent*, bool) () from /usr/lib/libQt5Quick.so.5
#9  0x00007f2bf26f4f8e in QQuickItemPrivate::deliverKeyEvent(QKeyEvent*) () from /usr/lib/libQt5Quick.so.5
#10 0x00007f2bf26f50e5 in QQuickItem::event(QEvent*) () from /usr/lib/libQt5Quick.so.5
#11 0x00007f2bf0641acc in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib/libQt5Widgets.so.5
#12 0x00007f2bf0646f10 in QApplication::notify(QObject*, QEvent*) () from /usr/lib/libQt5Widgets.so.5
#13 0x00007f2befb48d1b in QCoreApplication::notifyInternal(QObject*, QEvent*) () from /usr/lib/libQt5Core.so.5
#14 0x00007f2bf26eb921 in ?? () from /usr/lib/libQt5Quick.so.5
#15 0x00007f2bf26f4fa3 in QQuickItemPrivate::deliverKeyEvent(QKeyEvent*) () from /usr/lib/libQt5Quick.so.5
#16 0x00007f2bf26f50e5 in QQuickItem::event(QEvent*) () from /usr/lib/libQt5Quick.so.5
#17 0x00007f2bf0641acc in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib/libQt5Widgets.so.5
#18 0x00007f2bf0646f10 in QApplication::notify(QObject*, QEvent*) () from /usr/lib/libQt5Widgets.so.5
#19 0x00007f2befb48d1b in QCoreApplication::notifyInternal(QObject*, QEvent*) () from /usr/lib/libQt5Core.so.5
#20 0x00007f2bf2705728 in QQuickWindow::sendEvent(QQuickItem*, QEvent*) () from /usr/lib/libQt5Quick.so.5
#21 0x00007f2befe7ff25 in QWindow::event(QEvent*) () from /usr/lib/libQt5Gui.so.5
#22 0x00007f2bf270d223 in QQuickWindow::event(QEvent*) () from /usr/lib/libQt5Quick.so.5
#23 0x00007f2bf4272c99 in PlasmaQuick::Dialog::event (this=0x52c2630, event=0x7ffe5446a5d0) at /home/bshah/aur/plasma-framework-git/src/plasma-framework/src/plasmaquick/dialog.cpp:1154
#24 0x00007f2bf0641acc in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib/libQt5Widgets.so.5
#25 0x00007f2bf0646f10 in QApplication::notify(QObject*, QEvent*) () from /usr/lib/libQt5Widgets.so.5
#26 0x00007f2befb48d1b in QCoreApplication::notifyInternal(QObject*, QEvent*) () from /usr/lib/libQt5Core.so.5
#27 0x00007f2befe743e1 in QGuiApplicationPrivate::processKeyEvent(QWindowSystemInterfacePrivate::KeyEvent*) () from /usr/lib/libQt5Gui.so.5
#28 0x00007f2befe792e5 in QGuiApplicationPrivate::processWindowSystemEvent(QWindowSystemInterfacePrivate::WindowSystemEvent*) () from /usr/lib/libQt5Gui.so.5
#29 0x00007f2befe5e1ef in QWindowSystemInterface::sendWindowSystemEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQt5Gui.so.5
#30 0x00007f2be15eb1d0 in ?? () from /usr/lib/qt/plugins/platforms/libqxcb.so
#31 0x00007f2bec07771d in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#32 0x00007f2bec077a08 in ?? () from /usr/lib/libglib-2.0.so.0
#33 0x00007f2bec077abc in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#34 0x00007f2befba1077 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQt5Core.so.5
#35 0x00007f2befb467b2 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQt5Core.so.5
#36 0x00007f2befb4e18c in QCoreApplication::exec() () from /usr/lib/libQt5Core.so.5
#37 0x0000000000432dc0 in main (argc=<optimized out>, argv=<optimized out>) at /home/bshah/aur/plasma-workspace-git/src/plasma-workspace/shell/main.cpp:154

Steps to reproduce :

1) Open kicker
2) Try to open submenus
3) Press arrow key(s)
Comment 1 Bhushan Shah 2015-04-02 03:42:19 UTC
Oh, this turns out to be easy one

1) open kicker
2) search something
3) clear search field (using backspace keys)
4) press up/down arrow keys
5) crash
Comment 2 Bhushan Shah 2015-04-02 04:02:32 UTC
(In reply to Bhushan Shah from comment #1)
> 2) search something

I should mention that you have to search something which opens Desktop Search/Bookmarks column.
Comment 3 Eike Hein 2015-04-02 17:49:05 UTC
Git commit c4b1a24ab103b75fc830107781d32df6bc741644 by Eike Hein.
Committed on 02/04/2015 at 17:48.
Pushed by hein into branch 'Plasma/5.2'.

Fix crash when wrapping around the leftmost list + search field sandwich by keyboard nav.

M  +8    -7    applets/kicker/package/contents/ui/FullRepresentation.qml
M  +16   -1    applets/kicker/package/contents/ui/ItemListView.qml
M  +6    -0    applets/kicker/package/contents/ui/RunnerResultsList.qml

http://commits.kde.org/plasma-desktop/c4b1a24ab103b75fc830107781d32df6bc741644