Bug 397698

Summary: "Discover" crashes and misreports number of updates available
Product: [Applications] Discover Reporter: Fredrick Brennan <copypaste>
Component: discoverAssignee: Aleix Pol <aleixpol>
Status: RESOLVED NOT A BUG    
Severity: crash CC: bugseforuns, nate
Priority: NOR Keywords: drkonqi
Version First Reported In: unspecified   
Target Milestone: ---   
Platform: Arch Linux   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description Fredrick Brennan 2018-08-21 10:21:45 UTC
Application: plasma-discover (5.13.4)

Qt Version: 5.11.1
Frameworks Version: 5.49.0
Operating System: Linux 4.17.11-arch1 x86_64
Distribution (Platform): Archlinux Packages

-- Information about the crash:
- What I was doing when the application crashed:

I updated manually through the command line (`pacman -Syu`) but "Discover" does not register this, claims 327 updates are available, and crashes when I press "Update"

The crash can be reproduced every time.

-- Backtrace:
Application: Discover (plasma-discover), signal: Aborted
Using host libthread_db library "/usr/lib/libthread_db.so.1".
[Current thread is 1 (Thread 0x15144ea98800 (LWP 2126))]

Thread 12 (Thread 0x15142ca59700 (LWP 2138)):
#0  0x0000151452ab6a1f in g_main_context_prepare () at /usr/lib/libglib-2.0.so.0
#1  0x0000151452ab744e in  () at /usr/lib/libglib-2.0.so.0
#2  0x0000151452ab763e in g_main_context_iteration () at /usr/lib/libglib-2.0.so.0
#3  0x00001514557974c4 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/libQt5Core.so.5
#4  0x0000151455742dac in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/libQt5Core.so.5
#5  0x000015145558bf59 in QThread::exec() () at /usr/lib/libQt5Core.so.5
#6  0x0000151455596005 in  () at /usr/lib/libQt5Core.so.5
#7  0x0000151454137a9d in start_thread () at /usr/lib/libpthread.so.0
#8  0x0000151455278a43 in clone () at /usr/lib/libc.so.6

Thread 11 (Thread 0x15142e623700 (LWP 2136)):
#0  0x000015145413def6 in pthread_cond_timedwait@@GLIBC_2.3.2 () at /usr/lib/libpthread.so.0
#1  0x000015145559669d in QWaitCondition::wait(QMutex*, unsigned long) () at /usr/lib/libQt5Core.so.5
#2  0x000015145558e0c4 in  () at /usr/lib/libQt5Core.so.5
#3  0x0000151455596005 in  () at /usr/lib/libQt5Core.so.5
#4  0x0000151454137a9d in start_thread () at /usr/lib/libpthread.so.0
#5  0x0000151455278a43 in clone () at /usr/lib/libc.so.6

Thread 10 (Thread 0x15142e824700 (LWP 2135)):
#0  0x000015145413def6 in pthread_cond_timedwait@@GLIBC_2.3.2 () at /usr/lib/libpthread.so.0
#1  0x000015145559669d in QWaitCondition::wait(QMutex*, unsigned long) () at /usr/lib/libQt5Core.so.5
#2  0x000015145558e0c4 in  () at /usr/lib/libQt5Core.so.5
#3  0x0000151455596005 in  () at /usr/lib/libQt5Core.so.5
#4  0x0000151454137a9d in start_thread () at /usr/lib/libpthread.so.0
#5  0x0000151455278a43 in clone () at /usr/lib/libc.so.6

Thread 9 (Thread 0x15142ea25700 (LWP 2134)):
#0  0x000015145413def6 in pthread_cond_timedwait@@GLIBC_2.3.2 () at /usr/lib/libpthread.so.0
#1  0x000015145559669d in QWaitCondition::wait(QMutex*, unsigned long) () at /usr/lib/libQt5Core.so.5
#2  0x000015145558e0c4 in  () at /usr/lib/libQt5Core.so.5
#3  0x0000151455596005 in  () at /usr/lib/libQt5Core.so.5
#4  0x0000151454137a9d in start_thread () at /usr/lib/libpthread.so.0
#5  0x0000151455278a43 in clone () at /usr/lib/libc.so.6

Thread 8 (Thread 0x15142f322700 (LWP 2133)):
#0  0x000015145413def6 in pthread_cond_timedwait@@GLIBC_2.3.2 () at /usr/lib/libpthread.so.0
#1  0x000015145559669d in QWaitCondition::wait(QMutex*, unsigned long) () at /usr/lib/libQt5Core.so.5
#2  0x000015145558e0c4 in  () at /usr/lib/libQt5Core.so.5
#3  0x0000151455596005 in  () at /usr/lib/libQt5Core.so.5
#4  0x0000151454137a9d in start_thread () at /usr/lib/libpthread.so.0
#5  0x0000151455278a43 in clone () at /usr/lib/libc.so.6

Thread 7 (Thread 0x15142f523700 (LWP 2132)):
#0  0x000015145526dbb1 in poll () at /usr/lib/libc.so.6
#1  0x0000151452ab7523 in  () at /usr/lib/libglib-2.0.so.0
#2  0x0000151452ab763e in g_main_context_iteration () at /usr/lib/libglib-2.0.so.0
#3  0x00001514557974c4 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/libQt5Core.so.5
#4  0x0000151455742dac in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/libQt5Core.so.5
#5  0x000015145558bf59 in QThread::exec() () at /usr/lib/libQt5Core.so.5
#6  0x0000151455596005 in  () at /usr/lib/libQt5Core.so.5
#7  0x0000151454137a9d in start_thread () at /usr/lib/libpthread.so.0
#8  0x0000151455278a43 in clone () at /usr/lib/libc.so.6

Thread 6 (Thread 0x15142f763700 (LWP 2131)):
#0  0x0000151452ab7612 in g_main_context_iteration () at /usr/lib/libglib-2.0.so.0
#1  0x00001514557974c4 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/libQt5Core.so.5
#2  0x0000151455742dac in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/libQt5Core.so.5
#3  0x000015145558bf59 in QThread::exec() () at /usr/lib/libQt5Core.so.5
#4  0x0000151455596005 in  () at /usr/lib/libQt5Core.so.5
#5  0x0000151454137a9d in start_thread () at /usr/lib/libpthread.so.0
#6  0x0000151455278a43 in clone () at /usr/lib/libc.so.6

Thread 5 (Thread 0x15143831c700 (LWP 2130)):
#0  0x0000151452ab43da in  () at /usr/lib/libglib-2.0.so.0
#1  0x0000151452ab6983 in g_main_context_prepare () at /usr/lib/libglib-2.0.so.0
#2  0x0000151452ab744e in  () at /usr/lib/libglib-2.0.so.0
#3  0x0000151452ab763e in g_main_context_iteration () at /usr/lib/libglib-2.0.so.0
#4  0x00001514557974c4 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/libQt5Core.so.5
#5  0x0000151455742dac in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/libQt5Core.so.5
#6  0x000015145558bf59 in QThread::exec() () at /usr/lib/libQt5Core.so.5
#7  0x00001514571b05bb in  () at /usr/lib/libQt5Quick.so.5
#8  0x0000151455596005 in  () at /usr/lib/libQt5Core.so.5
#9  0x0000151454137a9d in start_thread () at /usr/lib/libpthread.so.0
#10 0x0000151455278a43 in clone () at /usr/lib/libc.so.6

Thread 4 (Thread 0x1514433ee700 (LWP 2129)):
#0  0x000015145526dbb1 in poll () at /usr/lib/libc.so.6
#1  0x0000151452ab7523 in  () at /usr/lib/libglib-2.0.so.0
#2  0x0000151452ab763e in g_main_context_iteration () at /usr/lib/libglib-2.0.so.0
#3  0x00001514557974c4 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/libQt5Core.so.5
#4  0x0000151455742dac in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/libQt5Core.so.5
#5  0x000015145558bf59 in QThread::exec() () at /usr/lib/libQt5Core.so.5
#6  0x0000151455d210d9 in  () at /usr/lib/libQt5Qml.so.5
#7  0x0000151455596005 in  () at /usr/lib/libQt5Core.so.5
#8  0x0000151454137a9d in start_thread () at /usr/lib/libpthread.so.0
#9  0x0000151455278a43 in clone () at /usr/lib/libc.so.6

Thread 3 (Thread 0x151443fff700 (LWP 2128)):
#0  0x000015145526dbb1 in poll () at /usr/lib/libc.so.6
#1  0x0000151452ab7523 in  () at /usr/lib/libglib-2.0.so.0
#2  0x0000151452ab763e in g_main_context_iteration () at /usr/lib/libglib-2.0.so.0
#3  0x00001514557974c4 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/libQt5Core.so.5
#4  0x0000151455742dac in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/libQt5Core.so.5
#5  0x000015145558bf59 in QThread::exec() () at /usr/lib/libQt5Core.so.5
#6  0x0000151456a7cba6 in  () at /usr/lib/libQt5DBus.so.5
#7  0x0000151455596005 in  () at /usr/lib/libQt5Core.so.5
#8  0x0000151454137a9d in start_thread () at /usr/lib/libpthread.so.0
#9  0x0000151455278a43 in clone () at /usr/lib/libc.so.6

Thread 2 (Thread 0x15144b778700 (LWP 2127)):
#0  0x000015145526dbb1 in poll () at /usr/lib/libc.so.6
#1  0x000015145284e180 in  () at /usr/lib/libxcb.so.1
#2  0x000015145284fe4b in xcb_wait_for_event () at /usr/lib/libxcb.so.1
#3  0x000015144e527e1a in  () at /usr/lib/libQt5XcbQpa.so.5
#4  0x0000151455596005 in  () at /usr/lib/libQt5Core.so.5
#5  0x0000151454137a9d in start_thread () at /usr/lib/libpthread.so.0
#6  0x0000151455278a43 in clone () at /usr/lib/libc.so.6

Thread 1 (Thread 0x15144ea98800 (LWP 2126)):
[KCrash Handler]
#6  0x00001514551b4d7f in raise () at /usr/lib/libc.so.6
#7  0x000015145519f672 in abort () at /usr/lib/libc.so.6
#8  0x00001514555527fc in  () at /usr/lib/libQt5Core.so.5
#9  0x0000151457216c01 in QSGRenderLoop::handleContextCreationFailure(QQuickWindow*, bool) () at /usr/lib/libQt5Quick.so.5
#10 0x0000151457217cfe in  () at /usr/lib/libQt5Quick.so.5
#11 0x0000151457218425 in  () at /usr/lib/libQt5Quick.so.5
#12 0x0000151455f97805 in QWindow::event(QEvent*) () at /usr/lib/libQt5Gui.so.5
#13 0x00001514572949dc in QQuickWindow::event(QEvent*) () at /usr/lib/libQt5Quick.so.5
#14 0x000015145655ae14 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () at /usr/lib/libQt5Widgets.so.5
#15 0x00001514565626e1 in QApplication::notify(QObject*, QEvent*) () at /usr/lib/libQt5Widgets.so.5
#16 0x0000151455744119 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () at /usr/lib/libQt5Core.so.5
#17 0x0000151455f8c016 in QGuiApplicationPrivate::processExposeEvent(QWindowSystemInterfacePrivate::ExposeEvent*) () at /usr/lib/libQt5Gui.so.5
#18 0x0000151455f8cd4e in QGuiApplicationPrivate::processWindowSystemEvent(QWindowSystemInterfacePrivate::WindowSystemEvent*) () at /usr/lib/libQt5Gui.so.5
#19 0x0000151455f66a4c in QWindowSystemInterface::sendWindowSystemEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/libQt5Gui.so.5
#20 0x000015144e5bd31d in  () at /usr/lib/libQt5XcbQpa.so.5
#21 0x0000151455742dac in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/libQt5Core.so.5
#22 0x000015145574b0a6 in QCoreApplication::exec() () at /usr/lib/libQt5Core.so.5
#23 0x000055624debcde6 in  ()
#24 0x00001514551a1223 in __libc_start_main () at /usr/lib/libc.so.6
#25 0x000055624debd3aa in _start ()

Reported using DrKonqi
Comment 1 Nate Graham 2018-08-21 21:13:29 UTC
Did you run `pacman -Syu` while Discover was open, or did you open Discover after doing the update on the command line?
Comment 2 Patrick Silva 2018-08-27 15:23:36 UTC
I can confirm that Discover does not register update via command line (here Discover was open during the update), but I can not confirm the crash. On my Arch Linux Discover just installed the same updates again when I clicked "Updates" in the sidebar and "Update all" button.
Comment 3 Christoph Feck 2018-09-13 14:59:17 UTC
Thanks for the update. Can we close this ticket?
Comment 4 Andrew Crouthamel 2018-09-30 02:44:24 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 set the bug status 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 5 Nate Graham 2018-09-30 02:46:29 UTC
I think so.