Bug 386015 - Discover crashes in QQuickItemPrivate::deliverKeyEvent() while searching
Summary: Discover crashes in QQuickItemPrivate::deliverKeyEvent() while searching
Status: RESOLVED UPSTREAM
Alias: None
Product: Discover
Classification: Applications
Component: discover (show other bugs)
Version: 5.10.5
Platform: Ubuntu Linux
: NOR crash
Target Milestone: ---
Assignee: Aleix Pol
URL: https://bugreports.qt.io/browse/QTBUG...
Keywords: drkonqi
: 386300 387371 387605 389032 389202 (view as bug list)
Depends on:
Blocks:
 
Reported: 2017-10-21 09:06 UTC by Bob
Modified: 2018-01-20 15:30 UTC (History)
6 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Bob 2017-10-21 09:06:40 UTC
Application: plasma-discover (5.10.5)

Qt Version: 5.9.1
Frameworks Version: 5.38.0
Operating System: Linux 4.10.0-33-generic x86_64
Distribution: Ubuntu 17.10

-- Information about the crash:
Main behaviour causing crash - crashed 3 times in a row searching for new programs. search terms used win ff, sound konvertor, flac. strange behaviour of empty window on right side popping up while scrolling though list with cursor. Secondary comments, Discover very unstable on my system, often crashing while updating or searching. Added artful Kubuntu Backports in sources

The crash can be reproduced sometimes.

-- Backtrace:
Application: Discover (plasma-discover), signal: Segmentation fault
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
[Current thread is 1 (Thread 0x7f090dd455c0 (LWP 3625))]

Thread 11 (Thread 0x7f08b7bbc700 (LWP 3639)):
#0  0x00007f0909474901 in __GI___poll (fds=0x7f08ac002de0, nfds=1, timeout=34232) at ../sysdeps/unix/sysv/linux/poll.c:29
#1  0x00007f0903e21169 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f0903e2127c in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f0909db449b in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#4  0x00007f0909d59e3a in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#5  0x00007f0909b793ca in QThread::exec() () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#6  0x00007f0909b7e29d in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#7  0x00007f0905ce97fc in start_thread (arg=0x7f08b7bbc700) at pthread_create.c:465
#8  0x00007f0909480b0f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 10 (Thread 0x7f08c5190700 (LWP 3637)):
#0  0x00007f0909474901 in __GI___poll (fds=0x7f08bc022840, nfds=1, timeout=19231) at ../sysdeps/unix/sysv/linux/poll.c:29
#1  0x00007f0903e21169 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f0903e2127c in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f0909db449b in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#4  0x00007f0909d59e3a in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#5  0x00007f0909b793ca in QThread::exec() () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#6  0x00007f0909b7e29d in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#7  0x00007f0905ce97fc in start_thread (arg=0x7f08c5190700) at pthread_create.c:465
#8  0x00007f0909480b0f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 9 (Thread 0x7f08c66dc700 (LWP 3636)):
#0  0x00007f0909474901 in __GI___poll (fds=0x7f08b8002de0, nfds=1, timeout=9231) at ../sysdeps/unix/sysv/linux/poll.c:29
#1  0x00007f0903e21169 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f0903e2127c in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f0909db449b in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#4  0x00007f0909d59e3a in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#5  0x00007f0909b793ca in QThread::exec() () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#6  0x00007f0909b7e29d in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#7  0x00007f0905ce97fc in start_thread (arg=0x7f08c66dc700) at pthread_create.c:465
#8  0x00007f0909480b0f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 8 (Thread 0x7f08c7fff700 (LWP 3633)):
#0  0x00007f0909474901 in __GI___poll (fds=0x559805c00210, nfds=1, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:29
#1  0x00007f0903e21169 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f0903e21502 in g_main_loop_run () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f08cde65b26 in ?? () from /usr/lib/x86_64-linux-gnu/libgio-2.0.so.0
#4  0x00007f0903e48645 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#5  0x00007f0905ce97fc in start_thread (arg=0x7f08c7fff700) at pthread_create.c:465
#6  0x00007f0909480b0f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 7 (Thread 0x7f08cc803700 (LWP 3632)):
#0  0x00007f0909474901 in __GI___poll (fds=0x559805bd7a50, nfds=1, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:29
#1  0x00007f0903e21169 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f0903e2127c in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f0903e212c1 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#4  0x00007f0903e48645 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#5  0x00007f0905ce97fc in start_thread (arg=0x7f08cc803700) at pthread_create.c:465
#6  0x00007f0909480b0f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 6 (Thread 0x7f08d7fff700 (LWP 3631)):
#0  update_get_addr (ti=0x7f090a2156a0) at ../elf/dl-tls.c:813
#1  0x00007f090db93f38 in __tls_get_addr () at ../sysdeps/x86_64/tls_get_addr.S:55
#2  0x00007f0909b7d126 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#3  0x00007f0909db439a in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#4  0x00007f0903e206a8 in g_main_context_prepare () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#5  0x00007f0903e2109b in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#6  0x00007f0903e2127c in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#7  0x00007f0909db449b in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#8  0x00007f0909d59e3a in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#9  0x00007f0909b793ca in QThread::exec() () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#10 0x00007f090d003846 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Quick.so.5
#11 0x00007f0909b7e29d in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#12 0x00007f0905ce97fc in start_thread (arg=0x7f08d7fff700) at pthread_create.c:465
#13 0x00007f0909480b0f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 5 (Thread 0x7f08df800700 (LWP 3630)):
#0  0x00007f0905cf0072 in futex_wait_cancelable (private=<optimized out>, expected=0, futex_word=0x559805848420) at ../sysdeps/unix/sysv/linux/futex-internal.h:88
#1  __pthread_cond_wait_common (abstime=0x0, mutex=0x5598058483d0, cond=0x5598058483f8) at pthread_cond_wait.c:502
#2  __pthread_cond_wait (cond=0x5598058483f8, mutex=0x5598058483d0) at pthread_cond_wait.c:655
#3  0x00007f08e8771b8b in ?? () from /usr/lib/x86_64-linux-gnu/dri/nouveau_dri.so
#4  0x00007f08e8771aa7 in ?? () from /usr/lib/x86_64-linux-gnu/dri/nouveau_dri.so
#5  0x00007f0905ce97fc in start_thread (arg=0x7f08df800700) at pthread_create.c:465
#6  0x00007f0909480b0f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 4 (Thread 0x7f08f0a61700 (LWP 3629)):
#0  0x00007f090946fffd in __GI___libc_read (fd=9, buf=0x7f08f0a60a70, nbytes=16) at ../sysdeps/unix/sysv/linux/read.c:26
#1  0x00007f0903e65280 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f0903e20c4b in g_main_context_check () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f0903e21110 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#4  0x00007f0903e2127c in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#5  0x00007f0909db449b in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#6  0x00007f0909d59e3a in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#7  0x00007f0909b793ca in QThread::exec() () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#8  0x00007f090a784f45 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Qml.so.5
#9  0x00007f0909b7e29d in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#10 0x00007f0905ce97fc in start_thread (arg=0x7f08f0a61700) at pthread_create.c:465
#11 0x00007f0909480b0f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 3 (Thread 0x7f08f1c72700 (LWP 3628)):
#0  0x00007f0903e2058c in g_main_context_prepare () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#1  0x00007f0903e2109b in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f0903e2127c in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f0909db449b in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#4  0x00007f0909d59e3a in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#5  0x00007f0909b793ca in QThread::exec() () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#6  0x00007f090bf08e45 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5DBus.so.5
#7  0x00007f0909b7e29d in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#8  0x00007f0905ce97fc in start_thread (arg=0x7f08f1c72700) at pthread_create.c:465
#9  0x00007f0909480b0f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 2 (Thread 0x7f08fa691700 (LWP 3627)):
#0  0x00007f0909474901 in __GI___poll (fds=0x7f08fa690bb8, nfds=1, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:29
#1  0x00007f0903bba747 in ?? () from /usr/lib/x86_64-linux-gnu/libxcb.so.1
#2  0x00007f0903bbc53a in xcb_wait_for_event () from /usr/lib/x86_64-linux-gnu/libxcb.so.1
#3  0x00007f08fcbebf09 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5XcbQpa.so.5
#4  0x00007f0909b7e29d in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#5  0x00007f0905ce97fc in start_thread (arg=0x7f08fa691700) at pthread_create.c:465
#6  0x00007f0909480b0f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 1 (Thread 0x7f090dd455c0 (LWP 3625)):
[KCrash Handler]
#6  0x00007f090ab96159 in QGuiApplicationPrivate::sendQWindowEventToQPlatformWindow(QWindow*, QEvent*) () from /usr/lib/x86_64-linux-gnu/libQt5Gui.so.5
#7  0x00007f090b361d6b in QApplication::notify(QObject*, QEvent*) () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#8  0x00007f0909d5bde8 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#9  0x00007f090d0b75b5 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Quick.so.5
#10 0x00007f090d0c307b in QQuickItemPrivate::deliverKeyEvent(QKeyEvent*) () from /usr/lib/x86_64-linux-gnu/libQt5Quick.so.5
#11 0x00007f090d0c32c5 in QQuickItem::event(QEvent*) () from /usr/lib/x86_64-linux-gnu/libQt5Quick.so.5
#12 0x00007f090b35a46c in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#13 0x00007f090b361d34 in QApplication::notify(QObject*, QEvent*) () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#14 0x00007f0909d5bde8 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#15 0x00007f090d0b75b5 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Quick.so.5
#16 0x00007f090d0c307b in QQuickItemPrivate::deliverKeyEvent(QKeyEvent*) () from /usr/lib/x86_64-linux-gnu/libQt5Quick.so.5
#17 0x00007f090d0c32c5 in QQuickItem::event(QEvent*) () from /usr/lib/x86_64-linux-gnu/libQt5Quick.so.5
#18 0x00007f090b35a46c in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#19 0x00007f090b361d34 in QApplication::notify(QObject*, QEvent*) () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#20 0x00007f0909d5bde8 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#21 0x00007f090d0b75b5 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Quick.so.5
#22 0x00007f090d0c307b in QQuickItemPrivate::deliverKeyEvent(QKeyEvent*) () from /usr/lib/x86_64-linux-gnu/libQt5Quick.so.5
#23 0x00007f090d0c32c5 in QQuickItem::event(QEvent*) () from /usr/lib/x86_64-linux-gnu/libQt5Quick.so.5
#24 0x00007f090b35a46c in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#25 0x00007f090b361d34 in QApplication::notify(QObject*, QEvent*) () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#26 0x00007f0909d5bde8 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#27 0x00007f090d0b75b5 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Quick.so.5
#28 0x00007f090d0c307b in QQuickItemPrivate::deliverKeyEvent(QKeyEvent*) () from /usr/lib/x86_64-linux-gnu/libQt5Quick.so.5
#29 0x00007f090d0c32c5 in QQuickItem::event(QEvent*) () from /usr/lib/x86_64-linux-gnu/libQt5Quick.so.5
#30 0x00007f090b35a46c in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#31 0x00007f090b361d34 in QApplication::notify(QObject*, QEvent*) () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#32 0x00007f0909d5bde8 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#33 0x00007f090d0d45a8 in QQuickWindow::sendEvent(QQuickItem*, QEvent*) () from /usr/lib/x86_64-linux-gnu/libQt5Quick.so.5
#34 0x00007f090d0d47bf in QQuickWindow::keyPressEvent(QKeyEvent*) () from /usr/lib/x86_64-linux-gnu/libQt5Quick.so.5
#35 0x00007f090abaad35 in QWindow::event(QEvent*) () from /usr/lib/x86_64-linux-gnu/libQt5Gui.so.5
#36 0x00007f090d0dbd05 in QQuickWindow::event(QEvent*) () from /usr/lib/x86_64-linux-gnu/libQt5Quick.so.5
#37 0x00007f090b35a46c in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#38 0x00007f090b361d34 in QApplication::notify(QObject*, QEvent*) () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#39 0x00007f0909d5bde8 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#40 0x00007f090ab9bab0 in QGuiApplicationPrivate::processKeyEvent(QWindowSystemInterfacePrivate::KeyEvent*) () from /usr/lib/x86_64-linux-gnu/libQt5Gui.so.5
#41 0x00007f090aba0a05 in QGuiApplicationPrivate::processWindowSystemEvent(QWindowSystemInterfacePrivate::WindowSystemEvent*) () from /usr/lib/x86_64-linux-gnu/libQt5Gui.so.5
#42 0x00007f090ab78cab in QWindowSystemInterface::sendWindowSystemEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQt5Gui.so.5
#43 0x00007f08fcc4e5a0 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5XcbQpa.so.5
#44 0x00007f0903e20fb7 in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#45 0x00007f0903e211f0 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#46 0x00007f0903e2127c in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#47 0x00007f0909db447f in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#48 0x00007f0909d59e3a in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#49 0x00007f0909d62da4 in QCoreApplication::exec() () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#50 0x00005598032a4fa8 in ?? ()
#51 0x00007f090938d1c1 in __libc_start_main (main=0x5598032a46d0, argc=1, argv=0x7ffdd2b8f848, init=<optimized out>, fini=<optimized out>, rtld_fini=<optimized out>, stack_end=0x7ffdd2b8f838) at ../csu/libc-start.c:308
#52 0x00005598032a522a in _start ()

Reported using DrKonqi
Comment 1 Nate Graham 2017-11-07 17:35:24 UTC
*** Bug 386300 has been marked as a duplicate of this bug. ***
Comment 2 Nate Graham 2017-11-28 03:38:51 UTC
*** Bug 387371 has been marked as a duplicate of this bug. ***
Comment 3 Nate Graham 2017-12-05 03:07:25 UTC
*** Bug 387605 has been marked as a duplicate of this bug. ***
Comment 4 Aleix Pol 2018-01-16 00:55:37 UTC
*** Bug 389032 has been marked as a duplicate of this bug. ***
Comment 5 Nate Graham 2018-01-18 17:16:21 UTC
Also QQuickItemPrivate::deliverKeyEvent(), just like Bug 378339. Shall we mark it as a duplicate?
Comment 6 Nate Graham 2018-01-19 19:10:52 UTC
*** Bug 389202 has been marked as a duplicate of this bug. ***
Comment 7 Nate Graham 2018-01-20 15:30:57 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.