Bug 378339 - Crash in QQuickItem::isVisible() when removing characters in search text box
Summary: Crash in QQuickItem::isVisible() when removing characters in search text box
Status: RESOLVED UPSTREAM
Alias: None
Product: Discover
Classification: Applications
Component: discover (show other bugs)
Version: 5.9.4
Platform: Arch Linux Linux
: NOR crash
Target Milestone: ---
Assignee: Aleix Pol
URL: https://bugreports.qt.io/browse/QTBUG...
Keywords: drkonqi
: 377052 377989 378790 378917 379084 379112 379120 379337 379699 379757 379811 380488 381892 381973 382440 383464 384327 388281 388978 389168 389173 389946 390539 391259 391676 391841 391938 391942 391971 392658 392979 393001 393009 393381 (view as bug list)
Depends on:
Blocks:
 
Reported: 2017-04-01 10:48 UTC by dS810
Modified: 2018-04-22 01:28 UTC (History)
38 users (show)

See Also:
Latest Commit:
Version Fixed In: Qt 5.9.5


Attachments
New crash information added by DrKonqi (14.89 KB, text/plain)
2018-02-05 10:58 UTC, Trevor
Details

Note You need to log in before you can comment on or make changes to this bug.
Description dS810 2017-04-01 10:48:20 UTC
Application: plasma-discover (5.9.4)

Qt Version: 5.8.0
Frameworks Version: 5.32.0
Operating System: Linux 4.10.6-1-ARCH x86_64
Distribution (Platform): Archlinux Packages

-- Information about the crash:
- What I was doing when the application crashed:
1. Input search term "gim"
2. select a "non application" result for preview
3. select "application" on the left side
--> results will be filtered (OK!)
4. remove a char from your search term "gim" --> "gi"
--> Crash

The crash can be reproduced every time.

-- Backtrace:
Application: Entdecken (plasma-discover), signal: Segmentation fault
Using host libthread_db library "/usr/lib/libthread_db.so.1".
[Current thread is 1 (Thread 0x7fbacb2fe5c0 (LWP 2684))]

Thread 9 (Thread 0x7fba21079700 (LWP 2721)):
#0  0x00007fbac67ef67d in poll () at /usr/lib/libc.so.6
#1  0x00007fbac140d7a6 in  () at /usr/lib/libglib-2.0.so.0
#2  0x00007fbac140db32 in g_main_loop_run () at /usr/lib/libglib-2.0.so.0
#3  0x00007fba44530446 in  () at /usr/lib/libgio-2.0.so.0
#4  0x00007fbac1435175 in  () at /usr/lib/libglib-2.0.so.0
#5  0x00007fbac33472e7 in start_thread () at /usr/lib/libpthread.so.0
#6  0x00007fbac67f954f in clone () at /usr/lib/libc.so.6

Thread 8 (Thread 0x7fba2187a700 (LWP 2720)):
#0  0x00007fbac67ef67d in poll () at /usr/lib/libc.so.6
#1  0x00007fbac140d7a6 in  () at /usr/lib/libglib-2.0.so.0
#2  0x00007fbac140d8bc in g_main_context_iteration () at /usr/lib/libglib-2.0.so.0
#3  0x00007fbac140d901 in  () at /usr/lib/libglib-2.0.so.0
#4  0x00007fbac1435175 in  () at /usr/lib/libglib-2.0.so.0
#5  0x00007fbac33472e7 in start_thread () at /usr/lib/libpthread.so.0
#6  0x00007fbac67f954f in clone () at /usr/lib/libc.so.6

Thread 7 (Thread 0x7fba83df9700 (LWP 2696)):
#0  0x00007fbac67ef67d in poll () at /usr/lib/libc.so.6
#1  0x00007fbac140d7a6 in  () at /usr/lib/libglib-2.0.so.0
#2  0x00007fbac140d8bc in g_main_context_iteration () at /usr/lib/libglib-2.0.so.0
#3  0x00007fbac742906b in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/libQt5Core.so.5
#4  0x00007fbac73d289a in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/libQt5Core.so.5
#5  0x00007fbac71f4a73 in QThread::exec() () at /usr/lib/libQt5Core.so.5
#6  0x00007fbac71f96d8 in  () at /usr/lib/libQt5Core.so.5
#7  0x00007fbac33472e7 in start_thread () at /usr/lib/libpthread.so.0
#8  0x00007fbac67f954f in clone () at /usr/lib/libc.so.6

Thread 6 (Thread 0x7fba9b129700 (LWP 2691)):
#0  0x00007fbac7428792 in  () at /usr/lib/libQt5Core.so.5
#1  0x00007fbac140cc8d in g_main_context_prepare () at /usr/lib/libglib-2.0.so.0
#2  0x00007fbac140d6cb in  () at /usr/lib/libglib-2.0.so.0
#3  0x00007fbac140d8bc in g_main_context_iteration () at /usr/lib/libglib-2.0.so.0
#4  0x00007fbac742906b in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/libQt5Core.so.5
#5  0x00007fbac73d289a in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/libQt5Core.so.5
#6  0x00007fbac71f4a73 in QThread::exec() () at /usr/lib/libQt5Core.so.5
#7  0x00007fbac71f96d8 in  () at /usr/lib/libQt5Core.so.5
#8  0x00007fbac33472e7 in start_thread () at /usr/lib/libpthread.so.0
#9  0x00007fbac67f954f in clone () at /usr/lib/libc.so.6

Thread 5 (Thread 0x7fbaa48d0700 (LWP 2690)):
#0  0x00007fbac140d05f in g_main_context_check () at /usr/lib/libglib-2.0.so.0
#1  0x00007fbac140d744 in  () at /usr/lib/libglib-2.0.so.0
#2  0x00007fbac140d8bc in g_main_context_iteration () at /usr/lib/libglib-2.0.so.0
#3  0x00007fbac742906b in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/libQt5Core.so.5
#4  0x00007fbac73d289a in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/libQt5Core.so.5
#5  0x00007fbac71f4a73 in QThread::exec() () at /usr/lib/libQt5Core.so.5
#6  0x00007fbaca65efd6 in  () at /usr/lib/libQt5Quick.so.5
#7  0x00007fbac71f96d8 in  () at /usr/lib/libQt5Core.so.5
#8  0x00007fbac33472e7 in start_thread () at /usr/lib/libpthread.so.0
#9  0x00007fbac67f954f in clone () at /usr/lib/libc.so.6

Thread 4 (Thread 0x7fbaaebe4700 (LWP 2689)):
#0  0x00007fbac1452e64 in g_mutex_unlock () at /usr/lib/libglib-2.0.so.0
#1  0x00007fbac140d6be in  () at /usr/lib/libglib-2.0.so.0
#2  0x00007fbac140d8bc in g_main_context_iteration () at /usr/lib/libglib-2.0.so.0
#3  0x00007fbac742906b in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/libQt5Core.so.5
#4  0x00007fbac73d289a in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/libQt5Core.so.5
#5  0x00007fbac71f4a73 in QThread::exec() () at /usr/lib/libQt5Core.so.5
#6  0x00007fbac7d9e025 in  () at /usr/lib/libQt5Qml.so.5
#7  0x00007fbac71f96d8 in  () at /usr/lib/libQt5Core.so.5
#8  0x00007fbac33472e7 in start_thread () at /usr/lib/libpthread.so.0
#9  0x00007fbac67f954f in clone () at /usr/lib/libc.so.6

Thread 3 (Thread 0x7fbaafdf5700 (LWP 2688)):
#0  0x00007fbac1452e64 in g_mutex_unlock () at /usr/lib/libglib-2.0.so.0
#1  0x00007fbac140d33a in g_main_context_dispatch () at /usr/lib/libglib-2.0.so.0
#2  0x00007fbac140d810 in  () at /usr/lib/libglib-2.0.so.0
#3  0x00007fbac140d8bc in g_main_context_iteration () at /usr/lib/libglib-2.0.so.0
#4  0x00007fbac742906b in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/libQt5Core.so.5
#5  0x00007fbac73d289a in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/libQt5Core.so.5
#6  0x00007fbac71f4a73 in QThread::exec() () at /usr/lib/libQt5Core.so.5
#7  0x00007fbac9070125 in  () at /usr/lib/libQt5DBus.so.5
#8  0x00007fbac71f96d8 in  () at /usr/lib/libQt5Core.so.5
#9  0x00007fbac33472e7 in start_thread () at /usr/lib/libpthread.so.0
#10 0x00007fbac67f954f in clone () at /usr/lib/libc.so.6

Thread 2 (Thread 0x7fbab87cc700 (LWP 2687)):
#0  0x00007fbac67ef67d in poll () at /usr/lib/libc.so.6
#1  0x00007fbac11a68e0 in  () at /usr/lib/libxcb.so.1
#2  0x00007fbac11a8679 in xcb_wait_for_event () at /usr/lib/libxcb.so.1
#3  0x00007fbabb363239 in  () at /usr/lib/libQt5XcbQpa.so.5
#4  0x00007fbac71f96d8 in  () at /usr/lib/libQt5Core.so.5
#5  0x00007fbac33472e7 in start_thread () at /usr/lib/libpthread.so.0
#6  0x00007fbac67f954f in clone () at /usr/lib/libc.so.6

Thread 1 (Thread 0x7fbacb2fe5c0 (LWP 2684)):
[KCrash Handler]
#6  0x00007fbaca701734 in QQuickItem::isVisible() const () at /usr/lib/libQt5Quick.so.5
#7  0x00007fbaca701b61 in  () at /usr/lib/libQt5Quick.so.5
#8  0x00007fbaca70bc53 in QQuickItemPrivate::deliverKeyEvent(QKeyEvent*) () at /usr/lib/libQt5Quick.so.5
#9  0x00007fbaca70be91 in QQuickItem::event(QEvent*) () at /usr/lib/libQt5Quick.so.5
#10 0x00007fbac895334c in QApplicationPrivate::notify_helper(QObject*, QEvent*) () at /usr/lib/libQt5Widgets.so.5
#11 0x00007fbac895ab61 in QApplication::notify(QObject*, QEvent*) () at /usr/lib/libQt5Widgets.so.5
#12 0x00007fbac73d4440 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () at /usr/lib/libQt5Core.so.5
#13 0x00007fbaca701b7d in  () at /usr/lib/libQt5Quick.so.5
#14 0x00007fbaca70bc53 in QQuickItemPrivate::deliverKeyEvent(QKeyEvent*) () at /usr/lib/libQt5Quick.so.5
#15 0x00007fbaca70be91 in QQuickItem::event(QEvent*) () at /usr/lib/libQt5Quick.so.5
#16 0x00007fbac895334c in QApplicationPrivate::notify_helper(QObject*, QEvent*) () at /usr/lib/libQt5Widgets.so.5
#17 0x00007fbac895ab61 in QApplication::notify(QObject*, QEvent*) () at /usr/lib/libQt5Widgets.so.5
#18 0x00007fbac73d4440 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () at /usr/lib/libQt5Core.so.5
#19 0x00007fbaca701b7d in  () at /usr/lib/libQt5Quick.so.5
#20 0x00007fbaca70bc53 in QQuickItemPrivate::deliverKeyEvent(QKeyEvent*) () at /usr/lib/libQt5Quick.so.5
#21 0x00007fbaca70be91 in QQuickItem::event(QEvent*) () at /usr/lib/libQt5Quick.so.5
#22 0x00007fbac895334c in QApplicationPrivate::notify_helper(QObject*, QEvent*) () at /usr/lib/libQt5Widgets.so.5
#23 0x00007fbac895ab61 in QApplication::notify(QObject*, QEvent*) () at /usr/lib/libQt5Widgets.so.5
#24 0x00007fbac73d4440 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () at /usr/lib/libQt5Core.so.5
#25 0x00007fbaca701b7d in  () at /usr/lib/libQt5Quick.so.5
#26 0x00007fbaca70bc53 in QQuickItemPrivate::deliverKeyEvent(QKeyEvent*) () at /usr/lib/libQt5Quick.so.5
#27 0x00007fbaca70be91 in QQuickItem::event(QEvent*) () at /usr/lib/libQt5Quick.so.5
#28 0x00007fbac895334c in QApplicationPrivate::notify_helper(QObject*, QEvent*) () at /usr/lib/libQt5Widgets.so.5
#29 0x00007fbac895ab61 in QApplication::notify(QObject*, QEvent*) () at /usr/lib/libQt5Widgets.so.5
#30 0x00007fbac73d4440 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () at /usr/lib/libQt5Core.so.5
#31 0x00007fbaca71c5ad in QQuickWindow::sendEvent(QQuickItem*, QEvent*) () at /usr/lib/libQt5Quick.so.5
#32 0x00007fbaca71c75f in QQuickWindow::keyPressEvent(QKeyEvent*) () at /usr/lib/libQt5Quick.so.5
#33 0x00007fbac81cad05 in QWindow::event(QEvent*) () at /usr/lib/libQt5Gui.so.5
#34 0x00007fbaca7244a5 in QQuickWindow::event(QEvent*) () at /usr/lib/libQt5Quick.so.5
#35 0x00007fbac895334c in QApplicationPrivate::notify_helper(QObject*, QEvent*) () at /usr/lib/libQt5Widgets.so.5
#36 0x00007fbac895ab61 in QApplication::notify(QObject*, QEvent*) () at /usr/lib/libQt5Widgets.so.5
#37 0x00007fbac73d4440 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () at /usr/lib/libQt5Core.so.5
#38 0x00007fbac81bb4b8 in QGuiApplicationPrivate::processKeyEvent(QWindowSystemInterfacePrivate::KeyEvent*) () at /usr/lib/libQt5Gui.so.5
#39 0x00007fbac81c08a5 in QGuiApplicationPrivate::processWindowSystemEvent(QWindowSystemInterfacePrivate::WindowSystemEvent*) () at /usr/lib/libQt5Gui.so.5
#40 0x00007fbac819c44b in QWindowSystemInterface::sendWindowSystemEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/libQt5Gui.so.5
#41 0x00007fbabb3c39e0 in  () at /usr/lib/libQt5XcbQpa.so.5
#42 0x00007fbac140d5a7 in g_main_context_dispatch () at /usr/lib/libglib-2.0.so.0
#43 0x00007fbac140d810 in  () at /usr/lib/libglib-2.0.so.0
#44 0x00007fbac140d8bc in g_main_context_iteration () at /usr/lib/libglib-2.0.so.0
#45 0x00007fbac742904f in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/libQt5Core.so.5
#46 0x00007fbac73d289a in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/libQt5Core.so.5
#47 0x00007fbac73dade4 in QCoreApplication::exec() () at /usr/lib/libQt5Core.so.5
#48 0x000000000040d5d9 in  ()
#49 0x00007fbac672d511 in __libc_start_main () at /usr/lib/libc.so.6
#50 0x000000000040db5a in _start ()

Reported using DrKonqi
Comment 1 Aleix Pol 2017-04-13 01:19:59 UTC
Addressed by https://phabricator.kde.org/D5408
Comment 2 Dan Leinir Turthra Jensen 2017-04-18 10:53:34 UTC
Closed by commit https://commits.kde.org/kirigami/c06013e88e4f18b608253b5b11cb3f56c77f7d02
Comment 3 Dan Leinir Turthra Jensen 2017-04-18 10:59:44 UTC
*** Bug 378790 has been marked as a duplicate of this bug. ***
Comment 4 Dan Leinir Turthra Jensen 2017-04-18 11:13:32 UTC
*** Bug 377052 has been marked as a duplicate of this bug. ***
Comment 5 Dan Leinir Turthra Jensen 2017-04-18 11:15:35 UTC
*** Bug 378917 has been marked as a duplicate of this bug. ***
Comment 6 Dan Leinir Turthra Jensen 2017-04-20 09:33:04 UTC
*** Bug 377989 has been marked as a duplicate of this bug. ***
Comment 7 Dan Leinir Turthra Jensen 2017-04-24 10:09:56 UTC
*** Bug 379120 has been marked as a duplicate of this bug. ***
Comment 8 Dan Leinir Turthra Jensen 2017-04-24 10:11:09 UTC
*** Bug 379084 has been marked as a duplicate of this bug. ***
Comment 9 Dan Leinir Turthra Jensen 2017-04-24 10:12:10 UTC
*** Bug 379112 has been marked as a duplicate of this bug. ***
Comment 10 Aleix Pol 2017-05-22 12:44:31 UTC
*** Bug 379337 has been marked as a duplicate of this bug. ***
Comment 11 Aleix Pol 2017-05-22 12:44:52 UTC
*** Bug 379699 has been marked as a duplicate of this bug. ***
Comment 12 Aleix Pol 2017-05-22 16:10:03 UTC
*** Bug 379811 has been marked as a duplicate of this bug. ***
Comment 13 Aleix Pol 2017-05-22 16:11:04 UTC
*** Bug 379757 has been marked as a duplicate of this bug. ***
Comment 14 Aleix Pol 2017-06-07 12:56:58 UTC
*** Bug 380488 has been marked as a duplicate of this bug. ***
Comment 15 Dan Leinir Turthra Jensen 2017-07-06 10:12:14 UTC
*** Bug 381973 has been marked as a duplicate of this bug. ***
Comment 16 Dan Leinir Turthra Jensen 2017-07-06 10:13:01 UTC
*** Bug 381892 has been marked as a duplicate of this bug. ***
Comment 17 Dan Leinir Turthra Jensen 2017-07-18 13:04:21 UTC
*** Bug 382440 has been marked as a duplicate of this bug. ***
Comment 18 Aleix Pol 2017-09-04 15:16:53 UTC
*** Bug 383464 has been marked as a duplicate of this bug. ***
Comment 19 Aleix Pol 2017-09-04 15:56:02 UTC
*** Bug 384327 has been marked as a duplicate of this bug. ***
Comment 20 Nate Graham 2017-12-28 21:05:10 UTC
*** Bug 388281 has been marked as a duplicate of this bug. ***
Comment 21 Aleix Pol 2018-01-15 00:54:55 UTC
Seems to be happening still. Also on System Settings, so possibly a Kirigami issue.

As pointed out by Christoph Feck:
https://bugs.kde.org/buglist.cgi?bug_severity=crash&resolution=---&longdesc=QQuickItemPrivate%3A%3AdeliverKeyEvent&longdesc_type=allwordssubstr
Comment 22 Nate Graham 2018-01-18 16:14:56 UTC
*** Bug 388978 has been marked as a duplicate of this bug. ***
Comment 23 Nate Graham 2018-01-18 20:22:17 UTC
*** Bug 389173 has been marked as a duplicate of this bug. ***
Comment 24 Nate Graham 2018-01-20 15:31:03 UTC
This is caused by a Qt bug: https://bugreports.qt.io/browse/QTBUG-65881, which should be resolved by https://codereview.qt-project.org/#/c/217395, once that lands.
Comment 25 Trevor 2018-02-05 10:58:43 UTC
Created attachment 110349 [details]
New crash information added by DrKonqi

plasma-discover (5.11.5) using Qt 5.9.3

- What I was doing when the application crashed: Was trying to search for an application when it crashed. Regretfully I didn't wait for the search result for the last search; I suspect that's probably why it crashed on me.

-- Backtrace (Reduced):
#6  0x00007f75f4725d84 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
[...]
#8  0x00007f75f7794f23 in QQuickItemPrivate::deliverKeyEvent(QKeyEvent*) () from /usr/lib/x86_64-linux-gnu/libQt5Quick.so.5
#9  0x00007f75f7795185 in QQuickItem::event(QEvent*) () from /usr/lib/x86_64-linux-gnu/libQt5Quick.so.5
#10 0x00007f75f5d12b9c in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#11 0x00007f75f5d1a5a7 in QApplication::notify(QObject*, QEvent*) () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
Comment 26 Nate Graham 2018-02-06 22:17:30 UTC
*** Bug 389946 has been marked as a duplicate of this bug. ***
Comment 27 Nate Graham 2018-02-09 00:24:23 UTC
*** Bug 390114 has been marked as a duplicate of this bug. ***
Comment 28 Nate Graham 2018-02-19 18:33:47 UTC
*** Bug 390539 has been marked as a duplicate of this bug. ***
Comment 29 Nate Graham 2018-03-11 20:39:16 UTC
*** Bug 389168 has been marked as a duplicate of this bug. ***
Comment 30 Nate Graham 2018-03-16 21:23:36 UTC
*** Bug 391676 has been marked as a duplicate of this bug. ***
Comment 31 Nate Graham 2018-03-16 21:24:10 UTC
*** Bug 391841 has been marked as a duplicate of this bug. ***
Comment 32 Nate Graham 2018-03-16 21:24:25 UTC
*** Bug 391942 has been marked as a duplicate of this bug. ***
Comment 33 Nate Graham 2018-03-16 21:24:37 UTC
*** Bug 391938 has been marked as a duplicate of this bug. ***
Comment 34 Nate Graham 2018-03-16 21:28:37 UTC
*** Bug 391259 has been marked as a duplicate of this bug. ***
Comment 35 Aleix Pol 2018-03-18 17:48:44 UTC
*** Bug 391971 has been marked as a duplicate of this bug. ***
Comment 36 Nate Graham 2018-04-03 03:18:27 UTC
*** Bug 392658 has been marked as a duplicate of this bug. ***
Comment 37 Nate Graham 2018-04-07 14:30:22 UTC
*** Bug 392816 has been marked as a duplicate of this bug. ***
Comment 38 Nate Graham 2018-04-10 21:51:36 UTC
*** Bug 392979 has been marked as a duplicate of this bug. ***
Comment 39 Nate Graham 2018-04-11 15:02:47 UTC
*** Bug 393009 has been marked as a duplicate of this bug. ***
Comment 40 Nate Graham 2018-04-11 15:03:50 UTC
*** Bug 393001 has been marked as a duplicate of this bug. ***
Comment 41 Nate Graham 2018-04-22 01:28:13 UTC
*** Bug 393381 has been marked as a duplicate of this bug. ***