Bug 392136 - Discover crash
Summary: Discover crash
Status: RESOLVED DOWNSTREAM
Alias: None
Product: Discover
Classification: Applications
Component: discover (show other bugs)
Version: 5.12.3
Platform: Arch Linux Linux
: NOR crash
Target Milestone: ---
Assignee: Aleix Pol
URL:
Keywords: drkonqi, triaged
Depends on:
Blocks:
 
Reported: 2018-03-21 13:12 UTC by Daniel Green
Modified: 2019-04-19 13:17 UTC (History)
2 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 Daniel Green 2018-03-21 13:12:51 UTC
Application: plasma-discover (5.12.3)

Qt Version: 5.10.1
Frameworks Version: 5.44.0
Operating System: Linux 4.15.7-1-ARCH x86_64
Distribution: "Arch Linux"

-- Information about the crash:
The systemtray icon had a blue dot, do I double-clicked it. It started to launch, but then just crashed.

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

Thread 10 (Thread 0x7fd4460b9700 (LWP 24822)):
#0  0x00007fd486dbb3d8 in read () at /usr/lib/libc.so.6
#1  0x00007fd48144d7d1 in  () at /usr/lib/libglib-2.0.so.0
#2  0x00007fd481407ac8 in g_main_context_check () at /usr/lib/libglib-2.0.so.0
#3  0x00007fd481407f96 in  () at /usr/lib/libglib-2.0.so.0
#4  0x00007fd48140810e in g_main_context_iteration () at /usr/lib/libglib-2.0.so.0
#5  0x00007fd48770b314 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/libQt5Core.so.5
#6  0x00007fd4876ad3db in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/libQt5Core.so.5
#7  0x00007fd4874bc7ae in QThread::exec() () at /usr/lib/libQt5Core.so.5
#8  0x00007fd4874c1b4d in  () at /usr/lib/libQt5Core.so.5
#9  0x00007fd48363908c in start_thread () at /usr/lib/libpthread.so.0
#10 0x00007fd486dc9e7f in clone () at /usr/lib/libc.so.6

Thread 9 (Thread 0x7fd454bf0700 (LWP 24815)):
#0  0x00007fd48363f6fd in pthread_cond_timedwait@@GLIBC_2.3.2 () at /usr/lib/libpthread.so.0
#1  0x00007fd4874c2ee1 in QWaitCondition::wait(QMutex*, unsigned long) () at /usr/lib/libQt5Core.so.5
#2  0x00007fd4874bedb1 in  () at /usr/lib/libQt5Core.so.5
#3  0x00007fd4874c1b4d in  () at /usr/lib/libQt5Core.so.5
#4  0x00007fd48363908c in start_thread () at /usr/lib/libpthread.so.0
#5  0x00007fd486dc9e7f in clone () at /usr/lib/libc.so.6

Thread 8 (Thread 0x7fd455e9a700 (LWP 24814)):
#0  0x00007fd48363f6fd in pthread_cond_timedwait@@GLIBC_2.3.2 () at /usr/lib/libpthread.so.0
#1  0x00007fd4874c2ee1 in QWaitCondition::wait(QMutex*, unsigned long) () at /usr/lib/libQt5Core.so.5
#2  0x00007fd4874bedb1 in  () at /usr/lib/libQt5Core.so.5
#3  0x00007fd4874c1b4d in  () at /usr/lib/libQt5Core.so.5
#4  0x00007fd48363908c in start_thread () at /usr/lib/libpthread.so.0
#5  0x00007fd486dc9e7f in clone () at /usr/lib/libc.so.6

Thread 7 (Thread 0x7fd45669b700 (LWP 24813)):
#0  0x00007fd48b595410 in __tls_get_addr () at /lib64/ld-linux-x86-64.so.2
#1  0x00007fd4874c0927 in  () at /usr/lib/libQt5Core.so.5
#2  0x00007fd48770b712 in  () at /usr/lib/libQt5Core.so.5
#3  0x00007fd4814079fa in g_main_context_check () at /usr/lib/libglib-2.0.so.0
#4  0x00007fd481407f96 in  () at /usr/lib/libglib-2.0.so.0
#5  0x00007fd48140810e in g_main_context_iteration () at /usr/lib/libglib-2.0.so.0
#6  0x00007fd48770b314 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/libQt5Core.so.5
#7  0x00007fd4876ad3db in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/libQt5Core.so.5
#8  0x00007fd4874bc7ae in QThread::exec() () at /usr/lib/libQt5Core.so.5
#9  0x00007fd4874c1b4d in  () at /usr/lib/libQt5Core.so.5
#10 0x00007fd48363908c in start_thread () at /usr/lib/libpthread.so.0
#11 0x00007fd486dc9e7f in clone () at /usr/lib/libc.so.6

Thread 6 (Thread 0x7fd45753c700 (LWP 24812)):
#0  0x00007fd486dbf97b in poll () at /usr/lib/libc.so.6
#1  0x00007fd481407ff3 in  () at /usr/lib/libglib-2.0.so.0
#2  0x00007fd48140810e in g_main_context_iteration () at /usr/lib/libglib-2.0.so.0
#3  0x00007fd48770b314 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/libQt5Core.so.5
#4  0x00007fd4876ad3db in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/libQt5Core.so.5
#5  0x00007fd4874bc7ae in QThread::exec() () at /usr/lib/libQt5Core.so.5
#6  0x00007fd4874c1b4d in  () at /usr/lib/libQt5Core.so.5
#7  0x00007fd48363908c in start_thread () at /usr/lib/libpthread.so.0
#8  0x00007fd486dc9e7f in clone () at /usr/lib/libc.so.6

Thread 5 (Thread 0x7fd465539700 (LWP 24811)):
#0  0x00007fd486dbf97b in poll () at /usr/lib/libc.so.6
#1  0x00007fd481407ff3 in  () at /usr/lib/libglib-2.0.so.0
#2  0x00007fd48140810e in g_main_context_iteration () at /usr/lib/libglib-2.0.so.0
#3  0x00007fd48770b314 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/libQt5Core.so.5
#4  0x00007fd4876ad3db in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/libQt5Core.so.5
#5  0x00007fd4874bc7ae in QThread::exec() () at /usr/lib/libQt5Core.so.5
#6  0x00007fd48a90d50b in  () at /usr/lib/libQt5Quick.so.5
#7  0x00007fd4874c1b4d in  () at /usr/lib/libQt5Core.so.5
#8  0x00007fd48363908c in start_thread () at /usr/lib/libpthread.so.0
#9  0x00007fd486dc9e7f in clone () at /usr/lib/libc.so.6

Thread 4 (Thread 0x7fd46e525700 (LWP 24810)):
#0  0x00007fd486dbf97b in poll () at /usr/lib/libc.so.6
#1  0x00007fd481407ff3 in  () at /usr/lib/libglib-2.0.so.0
#2  0x00007fd48140810e in g_main_context_iteration () at /usr/lib/libglib-2.0.so.0
#3  0x00007fd48770b314 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/libQt5Core.so.5
#4  0x00007fd4876ad3db in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/libQt5Core.so.5
#5  0x00007fd4874bc7ae in QThread::exec() () at /usr/lib/libQt5Core.so.5
#6  0x00007fd4880bc379 in  () at /usr/lib/libQt5Qml.so.5
#7  0x00007fd4874c1b4d in  () at /usr/lib/libQt5Core.so.5
#8  0x00007fd48363908c in start_thread () at /usr/lib/libpthread.so.0
#9  0x00007fd486dc9e7f in clone () at /usr/lib/libc.so.6

Thread 3 (Thread 0x7fd46f736700 (LWP 24809)):
#0  0x00007fd486dbb3d8 in read () at /usr/lib/libc.so.6
#1  0x00007fd48144d7d1 in  () at /usr/lib/libglib-2.0.so.0
#2  0x00007fd481407ac8 in g_main_context_check () at /usr/lib/libglib-2.0.so.0
#3  0x00007fd481407f96 in  () at /usr/lib/libglib-2.0.so.0
#4  0x00007fd48140810e in g_main_context_iteration () at /usr/lib/libglib-2.0.so.0
#5  0x00007fd48770b314 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/libQt5Core.so.5
#6  0x00007fd4876ad3db in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/libQt5Core.so.5
#7  0x00007fd4874bc7ae in QThread::exec() () at /usr/lib/libQt5Core.so.5
#8  0x00007fd489412416 in  () at /usr/lib/libQt5DBus.so.5
#9  0x00007fd4874c1b4d in  () at /usr/lib/libQt5Core.so.5
#10 0x00007fd48363908c in start_thread () at /usr/lib/libpthread.so.0
#11 0x00007fd486dc9e7f in clone () at /usr/lib/libc.so.6

Thread 2 (Thread 0x7fd478741700 (LWP 24808)):
#0  0x00007fd486dbf97b in poll () at /usr/lib/libc.so.6
#1  0x00007fd4811a0180 in  () at /usr/lib/libxcb.so.1
#2  0x00007fd4811a1e4b in xcb_wait_for_event () at /usr/lib/libxcb.so.1
#3  0x00007fd47b4ee82a in  () at /usr/lib/libQt5XcbQpa.so.5
#4  0x00007fd4874c1b4d in  () at /usr/lib/libQt5Core.so.5
#5  0x00007fd48363908c in start_thread () at /usr/lib/libpthread.so.0
#6  0x00007fd486dc9e7f in clone () at /usr/lib/libc.so.6

Thread 1 (Thread 0x7fd48b727600 (LWP 24807)):
[KCrash Handler]
#6  0x00007fd486d08860 in raise () at /usr/lib/libc.so.6
#7  0x00007fd486d09ec9 in abort () at /usr/lib/libc.so.6
#8  0x00007fd4874ab8e8 in  () at /usr/lib/libQt5Core.so.5
#9  0x00007fd48a971e1b in QSGRenderLoop::handleContextCreationFailure(QQuickWindow*, bool) () at /usr/lib/libQt5Quick.so.5
#10 0x00007fd48a972e62 in  () at /usr/lib/libQt5Quick.so.5
#11 0x00007fd48a973aba in  () at /usr/lib/libQt5Quick.so.5
#12 0x00007fd4884f7865 in QWindow::event(QEvent*) () at /usr/lib/libQt5Gui.so.5
#13 0x00007fd48a9f0f26 in QQuickWindow::event(QEvent*) () at /usr/lib/libQt5Quick.so.5
#14 0x00007fd488cf5fec in QApplicationPrivate::notify_helper(QObject*, QEvent*) () at /usr/lib/libQt5Widgets.so.5
#15 0x00007fd488cfd9c6 in QApplication::notify(QObject*, QEvent*) () at /usr/lib/libQt5Widgets.so.5
#16 0x00007fd4876aeda0 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () at /usr/lib/libQt5Core.so.5
#17 0x00007fd4884ec383 in QGuiApplicationPrivate::processExposeEvent(QWindowSystemInterfacePrivate::ExposeEvent*) () at /usr/lib/libQt5Gui.so.5
#18 0x00007fd4884ed00e in QGuiApplicationPrivate::processWindowSystemEvent(QWindowSystemInterfacePrivate::WindowSystemEvent*) () at /usr/lib/libQt5Gui.so.5
#19 0x00007fd4884c429c in QWindowSystemInterface::sendWindowSystemEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/libQt5Gui.so.5
#20 0x00007fd47b57648d in  () at /usr/lib/libQt5XcbQpa.so.5
#21 0x00007fd4876ad3db in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/libQt5Core.so.5
#22 0x00007fd4876b67d8 in QCoreApplication::exec() () at /usr/lib/libQt5Core.so.5
#23 0x000056180c2d2d8f in  ()
#24 0x00007fd486cf4f4a in __libc_start_main () at /usr/lib/libc.so.6
#25 0x000056180c2d301a in _start ()

Reported using DrKonqi
Comment 1 Aleix Pol 2018-03-27 15:49:11 UTC
It would be interesting to know what output you get from executing plasma-discover on the terminal.

It seems like a driver incompatibility though.
Comment 2 Andrew Crouthamel 2018-09-28 03:24:14 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 3 Daniel Green 2018-10-06 20:22:41 UTC
Application: plasma-discover (5.13.5)

Qt Version: 5.11.2
Frameworks Version: 5.50.0
Operating System: Linux 4.18.9-arch1-1-ARCH x86_64
Distribution: "Arch Linux"


[dan@alexandria ~]$ plasma-discoveru
QGLXContext: Failed to create dummy context
failed to acquire GL context to resolve capabilities, using defaults..
QQmlComponent: Created graphical object was not placed in the graphics scene.
qml: Warning: ToolbarApplicationHeader is deprecated, remove and use the automatic internal toolbar instead.
file:///usr/lib/qt/qml/org/kde/kirigami.2/GlobalDrawer.qml:258: TypeError: Cannot read property 'length' of undefined
file:///usr/lib/qt/qml/org/kde/kirigami.2/GlobalDrawer.qml:293: TypeError: Cannot read property 'length' of undefined
file:///usr/lib/qt/qml/org/kde/kirigami.2/GlobalDrawer.qml:292: TypeError: Cannot read property 'length' of undefined
invalid kns backend! "/etc/xdg/ksysguard.knsrc" because: "Config group not found! Check your KNS3 installation."
invalid kns backend! "/etc/xdg/servicemenu.knsrc" because: "Config group not found! Check your KNS3 installation."
error loading "flatpak-backend" "Cannot load library /usr/lib/qt/plugins/discover/flatpak-backend.so: (libflatpak.so.0: cannot open shared object file: No such file or directory)" QJsonObject({"IID":"org.kde.muon.AbstractResourcesBackendFactory","MetaData":{},"className":"FlatpakBackendFactory","debug":false,"version":330497})
no packages for "fr.handbrake.ghb"
no packages for "org.kde.kbackup"
no packages for "net.sourceforge.kid3"
setting currentApplicationBackend PackageKitBackend(0x56429d542200)
Failed to create OpenGL context for format QSurfaceFormat(version 2.0, options QFlags<QSurfaceFormat::FormatOption>(), depthBufferSize 24, redBufferSize -1, greenBufferSize -1, blueBufferSize -1, alphaBufferSize -1, stencilBufferSize 8, samples -1, swapBehavior QSurfaceFormat::SwapBehavior(DoubleBuffer), swapInterval 1, colorSpace QSurfaceFormat::ColorSpace(DefaultColorSpace), profile  QSurfaceFormat::OpenGLContextProfile(NoProfile)) 
KCrash: crashing... crashRecursionCounter = 2
KCrash: Application Name = plasma-discover path = /usr/bin pid = 25672
KCrash: Arguments: /usr/bin/plasma-discover 
KCrash: Attempting to start /usr/lib/drkonqi from kdeinit
sock_file=/run/user/1000/kdeinit5__0
QSocketNotifier: Invalid socket 29 and type 'Write', disabling...
QSocketNotifier: Invalid socket 27 and type 'Write', disabling...
QSocketNotifier: Invalid socket 30 and type 'Write', disabling...

[1]+  Stopped                 plasma-discover
[dan@alexandria ~]$ QSocketNotifier: Invalid socket 8 and type 'Read', disabling...

[1]+  Broken pipe             plasma-discover
[dan@alexandria ~]$
Comment 4 Nate Graham 2018-10-06 22:12:05 UTC
your latest crash clearly shows the problem:


> error loading "flatpak-backend" "Cannot load library /usr/lib/qt/plugins
> /discover/flatpak-backend.so: (libflatpak.so.0: cannot open shared object
> file: No such file or directory)" 
It seems like the flatpak library couldn't be found on your machine. This is either user error (you deleted the Flatpak library, but not the Discover Flatpak backend), or a distro packaging error (it allowed the Discover Flatpak backend be installed without the Flatpak library).

If you install the Flatpak library, Discover should launch again.
Comment 5 Daniel Green 2018-10-06 22:46:34 UTC
I suspect a packaging error then, since until now I'd never done anything (install or remove) with the Flatpak library. I did just install Flatpak manually and now discover is fine. So this does seem to be resolved and I'll see about filing a ticket on the Arch package.
Comment 6 Daniel Green 2018-10-06 22:49:54 UTC
Is Flatpak support built by default? Looking at the discover PKGBUILD (https://git.archlinux.org/svntogit/packages.git/tree/trunk/PKGBUILD?h=packages/discover) I see Flatpak listed as an optional depends, but nothing about it in the build instructions.
Comment 7 Nate Graham 2018-10-06 22:53:28 UTC
The Arch packaging should make Flatpak a hard dependency for the Discover Flatpak backend, if it's packaged separately.
Comment 8 martha simons 2019-04-19 13:17:24 UTC
[dan@alexandria ~]$ plasma-discoveru
QGLXContext: Failed to create dummy context
failed to acquire GL context to resolve capabilities, using defaults..
QQmlComponent: Created graphical object was not placed in the graphics scene.
qml: Warning: ToolbarApplicationHeader is deprecated, remove and use the automatic internal toolbar instead.
file:///usr/lib/qt/qml/org/kde/kirigami.2/GlobalDrawer.qml:258: TypeError: Cannot read property 'length' of undefined
file:///usr/lib/qt/qml/org/kde/kirigami.2/GlobalDrawer.qml:293: TypeError: Cannot read property 'length' of undefined
file:///usr/lib/qt/qml/org/kde/kirigami.2/GlobalDrawer.qml:292: TypeError: Cannot read property 'length' of undefined
invalid kns backend! "/etc/xdg/ksysguard.knsrc" because: "Config group not found! Check your KNS3 installation."
invalid kns backend! "/etc/xdg/servicemenu.knsrc" because: "Config group not found! Check your KNS3 installation."
error loading "flatpak-backend" "Cannot load library /usr/lib/qt/plugins/discover/flatpak-backend.so: (libflatpak.so.0: cannot open shared object file: No such file or directory)" QJsonObject({"IID":"org.kde.muon.AbstractResourcesBackendFactory","MetaData":{},"className":"FlatpakBackendFactory","debug":false,"version":330497})
no packages for "fr.handbrake.ghb"
no packages for "org.kde.kbackup"
no packages for "net.sourceforge.kid3"
setting currentApplicationBackend PackageKitBackend(0x56429d542200)
Failed to create OpenGL context for format QSurfaceFormat(version 2.0, options QFlags<QSurfaceFormat::FormatOption>(), depthBufferSize 24, redBufferSize -1, greenBufferSize -1, blueBufferSize -1, alphaBufferSize -1, stencilBufferSize 8, samples -1, swapBehavior QSurfaceFormat::SwapBehavior(DoubleBuffer), swapInterval 1, colorSpace QSurfaceFormat::ColorSpace(DefaultColorSpace), profile  QSurfaceFormat::OpenGLContextProfile(NoProfile)) 
KCrash: crashing... crashRecursionCounter = 2
KCrash: Application Name = plasma-discover path = /usr/bin pid = 25672 https://goo.gl/nMnd46
KCrash: Arguments: /usr/bin/plasma-discover 
KCrash: Attempting to start /usr/lib/drkonqi from kdeinit
sock_file=/run/user/1000/kdeinit5__0
QSocketNotifier: Invalid socket 29 and type 'Write', disabling...
QSocketNotifier: Invalid socket 27 and type 'Write', disabling...
QSocketNotifier: Invalid socket 30 and type 'Write', disabling...