Bug 436489

Summary: Discover crashes when launched from system tray
Product: [Applications] Discover Reporter: Chris <num1766>
Component: discoverAssignee: Dan Leinir Turthra Jensen <leinir>
Status: RESOLVED UNMAINTAINED    
Severity: crash CC: aleixpol, khusainov.alexey, nate
Priority: NOR Keywords: drkonqi
Version: 5.12.8   
Target Milestone: ---   
Platform: Ubuntu   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:
Attachments: New crash information added by DrKonqi

Description Chris 2021-05-02 13:10:52 UTC
Application: plasma-discover (5.12.8)

Qt Version: 5.9.5
Frameworks Version: 5.44.0
Operating System: Linux 4.15.0-142-generic x86_64
Distribution: Ubuntu 18.04.5 LTS

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

I saw the icon telling me there were updates available, so I clicked on it.  This reveals the usual dropdown, telling me I have 17 packages to update, so I click "Update" and almost immediately the app crashes.  I am also able to cause the crash by launching the app from Application Launcher.

The crash can be reproduced every time.

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

Thread 8 (Thread 0x7f7eff7fe700 (LWP 24763)):
#0  0x00007f7f47633639 in syscall () at ../sysdeps/unix/sysv/linux/x86_64/syscall.S:38
#1  0x00007f7f47d35775 in QBasicMutex::lockInternal() () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#2  0x00007f7f455a4f96 in  () at /usr/lib/x86_64-linux-gnu/libQt5Network.so.5
#3  0x00007f7f455a5835 in  () at /usr/lib/x86_64-linux-gnu/libQt5Network.so.5
#4  0x00007f7f455818cc in QSslSocket::startClientEncryption() () at /usr/lib/x86_64-linux-gnu/libQt5Network.so.5
#5  0x00007f7f45582578 in  () at /usr/lib/x86_64-linux-gnu/libQt5Network.so.5
#6  0x00007f7f4558a379 in  () at /usr/lib/x86_64-linux-gnu/libQt5Network.so.5
#7  0x00007f7f47f4b555 in QMetaObject::activate(QObject*, int, int, void**) () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#8  0x00007f7f45554f09 in  () at /usr/lib/x86_64-linux-gnu/libQt5Network.so.5
#9  0x00007f7f45557e78 in  () at /usr/lib/x86_64-linux-gnu/libQt5Network.so.5
#10 0x00007f7f455687ed in  () at /usr/lib/x86_64-linux-gnu/libQt5Network.so.5
#11 0x00007f7f4a1f083c in QApplicationPrivate::notify_helper(QObject*, QEvent*) () at /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#12 0x00007f7f4a1f8104 in QApplication::notify(QObject*, QEvent*) () at /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#13 0x00007f7f47f1c8d8 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#14 0x00007f7f47f764ed in  () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#15 0x00007f7f41e1d537 in g_main_context_dispatch () at /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#16 0x00007f7f41e1d770 in  () at /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#17 0x00007f7f41e1d7fc in g_main_context_iteration () at /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#18 0x00007f7f47f758ab in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#19 0x00007f7f47f1a90a in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#20 0x00007f7f47d3923a in QThread::exec() () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#21 0x00007f7f47d3e17d in  () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#22 0x00007f7f43f4c6db in start_thread (arg=0x7f7eff7fe700) at pthread_create.c:463
#23 0x00007f7f4763971f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 7 (Thread 0x7f7f15246700 (LWP 24758)):
#0  0x00007f7f43f52ad3 in futex_wait_cancelable (private=<optimized out>, expected=0, futex_word=0x7f7f08046080) at ../sysdeps/unix/sysv/linux/futex-internal.h:88
#1  0x00007f7f43f52ad3 in __pthread_cond_wait_common (abstime=0x0, mutex=0x7f7f08046030, cond=0x7f7f08046058) at pthread_cond_wait.c:502
#2  0x00007f7f43f52ad3 in __pthread_cond_wait (cond=0x7f7f08046058, mutex=0x7f7f08046030) at pthread_cond_wait.c:655
#3  0x00007f7f47d3f5ab in QWaitCondition::wait(QMutex*, unsigned long) () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#4  0x00007f7f47d37c1b in QSemaphore::acquire(int) () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#5  0x00007f7f47f4b868 in QMetaObject::activate(QObject*, int, int, void**) () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#6  0x00007f7f455acdf2 in  () at /usr/lib/x86_64-linux-gnu/libQt5Network.so.5
#7  0x00007f7f455add4c in  () at /usr/lib/x86_64-linux-gnu/libQt5Network.so.5
#8  0x00007f7f47f4b555 in QMetaObject::activate(QObject*, int, int, void**) () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#9  0x00007f7f455abeb2 in  () at /usr/lib/x86_64-linux-gnu/libQt5Network.so.5
#10 0x00007f7f4550d23f in  () at /usr/lib/x86_64-linux-gnu/libQt5Network.so.5
#11 0x00007f7f4550e6cc in  () at /usr/lib/x86_64-linux-gnu/libQt5Network.so.5
#12 0x00007f7f47f4b555 in QMetaObject::activate(QObject*, int, int, void**) () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#13 0x00007f7f45580dd2 in QSslSocket::preSharedKeyAuthenticationRequired(QSslPreSharedKeyAuthenticator*) () at /usr/lib/x86_64-linux-gnu/libQt5Network.so.5
#14 0x00007f7f455a4cdc in  () at /usr/lib/x86_64-linux-gnu/libQt5Network.so.5
#15 0x00007f7f1528c1d6 in  () at /usr/lib/x86_64-linux-gnu/libssl.so.1.1
#16 0x00007f7f1528a36b in  () at /usr/lib/x86_64-linux-gnu/libssl.so.1.1
#17 0x00007f7f1529434e in  () at /usr/lib/x86_64-linux-gnu/libssl.so.1.1
#18 0x00007f7f15293247 in  () at /usr/lib/x86_64-linux-gnu/libssl.so.1.1
#19 0x00007f7f1527f4e4 in SSL_do_handshake () at /usr/lib/x86_64-linux-gnu/libssl.so.1.1
#20 0x00007f7f455a510d in  () at /usr/lib/x86_64-linux-gnu/libQt5Network.so.5
#21 0x00007f7f455a5835 in  () at /usr/lib/x86_64-linux-gnu/libQt5Network.so.5
#22 0x00007f7f455818cc in QSslSocket::startClientEncryption() () at /usr/lib/x86_64-linux-gnu/libQt5Network.so.5
#23 0x00007f7f45582578 in  () at /usr/lib/x86_64-linux-gnu/libQt5Network.so.5
#24 0x00007f7f4558a379 in  () at /usr/lib/x86_64-linux-gnu/libQt5Network.so.5
#25 0x00007f7f47f4b555 in QMetaObject::activate(QObject*, int, int, void**) () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#26 0x00007f7f45554f09 in  () at /usr/lib/x86_64-linux-gnu/libQt5Network.so.5
#27 0x00007f7f45557e78 in  () at /usr/lib/x86_64-linux-gnu/libQt5Network.so.5
#28 0x00007f7f455687ed in  () at /usr/lib/x86_64-linux-gnu/libQt5Network.so.5
#29 0x00007f7f4a1f083c in QApplicationPrivate::notify_helper(QObject*, QEvent*) () at /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#30 0x00007f7f4a1f8104 in QApplication::notify(QObject*, QEvent*) () at /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#31 0x00007f7f47f1c8d8 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#32 0x00007f7f47f764ed in  () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#33 0x00007f7f41e1d537 in g_main_context_dispatch () at /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#34 0x00007f7f41e1d770 in  () at /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#35 0x00007f7f41e1d7fc in g_main_context_iteration () at /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#36 0x00007f7f47f7588f in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#37 0x00007f7f47f1a90a in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#38 0x00007f7f47d3923a in QThread::exec() () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#39 0x00007f7f47d3e17d in  () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#40 0x00007f7f43f4c6db in start_thread (arg=0x7f7f15246700) at pthread_create.c:463
#41 0x00007f7f4763971f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 6 (Thread 0x7f7f1683d700 (LWP 24757)):
#0  0x00007f7f4762ccb9 in __GI___poll (fds=0x7f7f10004e10, nfds=1, timeout=10175) at ../sysdeps/unix/sysv/linux/poll.c:29
#1  0x00007f7f41e1d6e9 in  () at /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f7f41e1d7fc in g_main_context_iteration () at /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f7f47f758ab in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#4  0x00007f7f47f1a90a in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#5  0x00007f7f47d3923a in QThread::exec() () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#6  0x00007f7f47d3e17d in  () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#7  0x00007f7f43f4c6db in start_thread (arg=0x7f7f1683d700) at pthread_create.c:463
#8  0x00007f7f4763971f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 5 (Thread 0x7f7f1ffff700 (LWP 24756)):
#0  0x00007f7f4762ccb9 in __GI___poll (fds=0x7f7f18004db0, nfds=1, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:29
#1  0x00007f7f41e1d6e9 in  () at /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f7f41e1d7fc in g_main_context_iteration () at /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f7f47f758ab in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#4  0x00007f7f47f1a90a in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#5  0x00007f7f47d3923a in QThread::exec() () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#6  0x00007f7f4b1192a6 in  () at /usr/lib/x86_64-linux-gnu/libQt5Quick.so.5
#7  0x00007f7f47d3e17d in  () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#8  0x00007f7f43f4c6db in start_thread (arg=0x7f7f1ffff700) at pthread_create.c:463
#9  0x00007f7f4763971f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 4 (Thread 0x7f7f2f220700 (LWP 24755)):
#0  0x00007f7f47628184 in __GI___libc_read (fd=9, buf=0x7f7f2f21fb70, nbytes=16) at ../sysdeps/unix/sysv/linux/read.c:27
#1  0x00007f7f41e624c0 in  () at /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f7f41e1d1d7 in g_main_context_check () at /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f7f41e1d690 in  () at /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#4  0x00007f7f41e1d7fc in g_main_context_iteration () at /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#5  0x00007f7f47f758ab in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#6  0x00007f7f47f1a90a in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#7  0x00007f7f47d3923a in QThread::exec() () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#8  0x00007f7f4894f6f5 in  () at /usr/lib/x86_64-linux-gnu/libQt5Qml.so.5
#9  0x00007f7f47d3e17d in  () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#10 0x00007f7f43f4c6db in start_thread (arg=0x7f7f2f220700) at pthread_create.c:463
#11 0x00007f7f4763971f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 3 (Thread 0x7f7f30431700 (LWP 24753)):
#0  0x00007f7f4762ccb9 in __GI___poll (fds=0x7f7f28019230, nfds=1, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:29
#1  0x00007f7f41e1d6e9 in  () at /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f7f41e1d7fc in g_main_context_iteration () at /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f7f47f758ab in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#4  0x00007f7f47f1a90a in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#5  0x00007f7f47d3923a in QThread::exec() () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#6  0x00007f7f4912ad45 in  () at /usr/lib/x86_64-linux-gnu/libQt5DBus.so.5
#7  0x00007f7f47d3e17d in  () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#8  0x00007f7f43f4c6db in start_thread (arg=0x7f7f30431700) at pthread_create.c:463
#9  0x00007f7f4763971f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 2 (Thread 0x7f7f39b4b700 (LWP 24752)):
#0  0x00007f7f4762ccb9 in __GI___poll (fds=0x7f7f39b4aca8, nfds=1, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:29
#1  0x00007f7f41bb4747 in  () at /usr/lib/x86_64-linux-gnu/libxcb.so.1
#2  0x00007f7f41bb636a in xcb_wait_for_event () at /usr/lib/x86_64-linux-gnu/libxcb.so.1
#3  0x00007f7f3c8f85e9 in  () at /usr/lib/x86_64-linux-gnu/libQt5XcbQpa.so.5
#4  0x00007f7f47d3e17d in  () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#5  0x00007f7f43f4c6db in start_thread (arg=0x7f7f39b4b700) at pthread_create.c:463
#6  0x00007f7f4763971f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 1 (Thread 0x7f7f4c05c800 (LWP 24751)):
[KCrash Handler]
#6  0x00007f7f47556fb7 in __GI_raise (sig=sig@entry=6) at ../sysdeps/unix/sysv/linux/raise.c:51
#7  0x00007f7f47558921 in __GI_abort () at abort.c:79
#8  0x00007f7f47d28fb7 in  () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#9  0x00007f7f4b17c2a7 in QSGRenderLoop::handleContextCreationFailure(QQuickWindow*, bool) () at /usr/lib/x86_64-linux-gnu/libQt5Quick.so.5
#10 0x00007f7f4b17d275 in  () at /usr/lib/x86_64-linux-gnu/libQt5Quick.so.5
#11 0x00007f7f4b17de9a in  () at /usr/lib/x86_64-linux-gnu/libQt5Quick.so.5
#12 0x00007f7f49a403d5 in QWindow::event(QEvent*) () at /usr/lib/x86_64-linux-gnu/libQt5Gui.so.5
#13 0x00007f7f4b1f26c5 in QQuickWindow::event(QEvent*) () at /usr/lib/x86_64-linux-gnu/libQt5Quick.so.5
#14 0x00007f7f4a1f083c in QApplicationPrivate::notify_helper(QObject*, QEvent*) () at /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#15 0x00007f7f4a1f8104 in QApplication::notify(QObject*, QEvent*) () at /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#16 0x00007f7f47f1c8d8 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#17 0x00007f7f49a3549f in QGuiApplicationPrivate::processExposeEvent(QWindowSystemInterfacePrivate::ExposeEvent*) () at /usr/lib/x86_64-linux-gnu/libQt5Gui.so.5
#18 0x00007f7f49a360dd in QGuiApplicationPrivate::processWindowSystemEvent(QWindowSystemInterfacePrivate::WindowSystemEvent*) () at /usr/lib/x86_64-linux-gnu/libQt5Gui.so.5
#19 0x00007f7f49a0d2eb in QWindowSystemInterface::sendWindowSystemEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/x86_64-linux-gnu/libQt5Gui.so.5
#20 0x00007f7f3c95d260 in  () at /usr/lib/x86_64-linux-gnu/libQt5XcbQpa.so.5
#21 0x00007f7f41e1d537 in g_main_context_dispatch () at /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#22 0x00007f7f41e1d770 in  () at /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#23 0x00007f7f41e1d7fc in g_main_context_iteration () at /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#24 0x00007f7f47f7588f in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#25 0x00007f7f47f1a90a in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#26 0x00007f7f47f239b4 in QCoreApplication::exec() () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#27 0x0000561e6507c148 in  ()
#28 0x00007f7f47539bf7 in __libc_start_main (main=0x561e6507b870, argc=3, argv=0x7ffcd4cb3eb8, init=<optimized out>, fini=<optimized out>, rtld_fini=<optimized out>, stack_end=0x7ffcd4cb3ea8) at ../csu/libc-start.c:310
#29 0x0000561e6507c3ca in _start ()

Reported using DrKonqi
Comment 1 Nate Graham 2021-05-03 19:25:15 UTC
> Application: plasma-discover (5.12.8)
This version is no longer supported, and Kubuntu 18.04 is EOL. I would recommend upgrading to Kubuntu 20.04 which will get you Plasma 5.18, or Kubuntu 21.04 which will get you Plasma 5.21.
Comment 2 Alexey Khusainov 2022-01-13 05:50:45 UTC
Created attachment 145393 [details]
New crash information added by DrKonqi

plasma-discover (5.18.5) using Qt 5.12.8

Discover crashed after launching by clicking on icon in tray (with marker saying that updates are available).
Reproduced every time.

-- Backtrace (Reduced):
#6  __GI_raise (sig=sig@entry=6) at ../sysdeps/unix/sysv/linux/raise.c:50
#7  0x00007f9e2309d859 in __GI_abort () at abort.c:79
#8  0x00007f9e234d3aad in QMessageLogger::fatal(char const*, ...) const () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#9  0x00007f9e2517c065 in QSGRenderLoop::handleContextCreationFailure(QQuickWindow*, bool) () from /lib/x86_64-linux-gnu/libQt5Quick.so.5
[...]
#12 0x00007f9e240549ad in QWindow::event(QEvent*) () from /lib/x86_64-linux-gnu/libQt5Gui.so.5