Bug 381188 - Discover crash on start
Summary: Discover crash on start
Status: RESOLVED DUPLICATE of bug 380496
Alias: None
Product: Discover
Classification: Applications
Component: discover (show other bugs)
Version: 5.10.1
Platform: Fedora RPMs Linux
: NOR crash
Target Milestone: ---
Assignee: Aleix Pol
URL:
Keywords: drkonqi
Depends on:
Blocks:
 
Reported: 2017-06-14 06:58 UTC by Mustafa Muhammad
Modified: 2017-07-10 01:05 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
New crash information added by DrKonqi (9.46 KB, text/plain)
2017-07-09 19:19 UTC, Glenn Johnson
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Mustafa Muhammad 2017-06-14 06:58:25 UTC
Application: plasma-discover (5.10.1)

Qt Version: 5.7.1
Frameworks Version: 5.35.0
Operating System: Linux 4.11.0-2.fc26.x86_64 x86_64
Distribution (Platform): Fedora RPMs

-- Information about the crash:
- What I was doing when the application crashed:
Just opened discover on a fresh installation of F26 beta, happens everytime.
I think I know the problem, flatpack is not installed, maybe this is causing the crash.
I didn't generate better backtrace because I think I knew the problem, I can do so if you want, but after installing flatpak it doesn't crash on start anymore.

The crash can be reproduced every time.

-- Backtrace:
Application: Discover (plasma-discover), signal: Segmentation fault
Using host libthread_db library "/lib64/libthread_db.so.1".
[Current thread is 1 (Thread 0x7fb920c268c0 (LWP 5289))]

Thread 5 (Thread 0x7fb8f702e700 (LWP 5294)):
#0  0x00007fb91bde8dad in poll () from /lib64/libc.so.6
#1  0x00007fb915100599 in g_main_context_iterate.isra () from /lib64/libglib-2.0.so.0
#2  0x00007fb9151006ac in g_main_context_iteration () from /lib64/libglib-2.0.so.0
#3  0x00007fb91cc04d0b in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib64/libQt5Core.so.5
#4  0x00007fb91cbb4b8a in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib64/libQt5Core.so.5
#5  0x00007fb91ca09efa in QThread::exec() () from /lib64/libQt5Core.so.5
#6  0x00007fb9202af8a6 in QQuickPixmapReader::run() () from /lib64/libQt5Quick.so.5
#7  0x00007fb91ca0e1ee in QThreadPrivate::start(void*) () from /lib64/libQt5Core.so.5
#8  0x00007fb91a95736d in start_thread () from /lib64/libpthread.so.0
#9  0x00007fb91bdf4e9f in clone () from /lib64/libc.so.6

Thread 4 (Thread 0x7fb8fd788700 (LWP 5292)):
#0  0x00007fb91bde8dad in poll () from /lib64/libc.so.6
#1  0x00007fb915100599 in g_main_context_iterate.isra () from /lib64/libglib-2.0.so.0
#2  0x00007fb9151006ac in g_main_context_iteration () from /lib64/libglib-2.0.so.0
#3  0x00007fb91cc04d0b in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib64/libQt5Core.so.5
#4  0x00007fb91cbb4b8a in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib64/libQt5Core.so.5
#5  0x00007fb91ca09efa in QThread::exec() () from /lib64/libQt5Core.so.5
#6  0x00007fb91d4bf3c5 in QQmlThreadPrivate::run() () from /lib64/libQt5Qml.so.5
#7  0x00007fb91ca0e1ee in QThreadPrivate::start(void*) () from /lib64/libQt5Core.so.5
#8  0x00007fb91a95736d in start_thread () from /lib64/libpthread.so.0
#9  0x00007fb91bdf4e9f in clone () from /lib64/libc.so.6

Thread 3 (Thread 0x7fb8fe999700 (LWP 5291)):
#0  0x00007fb91bde8dad in poll () from /lib64/libc.so.6
#1  0x00007fb915100599 in g_main_context_iterate.isra () from /lib64/libglib-2.0.so.0
#2  0x00007fb9151006ac in g_main_context_iteration () from /lib64/libglib-2.0.so.0
#3  0x00007fb91cc04d0b in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib64/libQt5Core.so.5
#4  0x00007fb91cbb4b8a in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib64/libQt5Core.so.5
#5  0x00007fb91ca09efa in QThread::exec() () from /lib64/libQt5Core.so.5
#6  0x00007fb920d74709 in QDBusConnectionManager::run() () from /lib64/libQt5DBus.so.5
#7  0x00007fb91ca0e1ee in QThreadPrivate::start(void*) () from /lib64/libQt5Core.so.5
#8  0x00007fb91a95736d in start_thread () from /lib64/libpthread.so.0
#9  0x00007fb91bdf4e9f in clone () from /lib64/libc.so.6

Thread 2 (Thread 0x7fb90708a700 (LWP 5290)):
#0  0x00007fb91bde8dad in poll () from /lib64/libc.so.6
#1  0x00007fb9149fec97 in _xcb_conn_wait () from /lib64/libxcb.so.1
#2  0x00007fb914a00a8a in xcb_wait_for_event () from /lib64/libxcb.so.1
#3  0x00007fb90b74cb99 in QXcbEventReader::run() () from /lib64/libQt5XcbQpa.so.5
#4  0x00007fb91ca0e1ee in QThreadPrivate::start(void*) () from /lib64/libQt5Core.so.5
#5  0x00007fb91a95736d in start_thread () from /lib64/libpthread.so.0
#6  0x00007fb91bdf4e9f in clone () from /lib64/libc.so.6

Thread 1 (Thread 0x7fb920c268c0 (LWP 5289)):
[KCrash Handler]
#6  0x00007fb8e72e35fd in FlatpakBackend::setupFlatpakInstallations(_GError**) () from /usr/lib64/qt5/plugins/discover/flatpak-backend.so
#7  0x00007fb8e72e9a38 in FlatpakBackend::FlatpakBackend(QObject*) () from /usr/lib64/qt5/plugins/discover/flatpak-backend.so
#8  0x00007fb8e72ec6bb in FlatpakBackendFactory::newInstance(QObject*, QString const&) const () from /usr/lib64/qt5/plugins/discover/flatpak-backend.so
#9  0x00007fb91ff77427 in DiscoverBackendsFactory::backendForFile(QString const&, QString const&) const () from /usr/lib64/plasma-discover/libDiscoverCommon.so
#10 0x00007fb91ff77abb in DiscoverBackendsFactory::backend(QString const&) const () from /usr/lib64/plasma-discover/libDiscoverCommon.so
#11 0x00007fb91ff77f27 in DiscoverBackendsFactory::allBackends() const () from /usr/lib64/plasma-discover/libDiscoverCommon.so
#12 0x00007fb91ff66a0a in ResourcesModel::registerAllBackends() () from /usr/lib64/plasma-discover/libDiscoverCommon.so
#13 0x00007fb91ff87a15 in ResourcesModel::qt_static_metacall(QObject*, QMetaObject::Call, int, void**) () from /usr/lib64/plasma-discover/libDiscoverCommon.so
#14 0x00007fb91cbde199 in QObject::event(QEvent*) () from /lib64/libQt5Core.so.5
#15 0x00007fb91dbf5d9c in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /lib64/libQt5Widgets.so.5
#16 0x00007fb91dbfd3d4 in QApplication::notify(QObject*, QEvent*) () from /lib64/libQt5Widgets.so.5
#17 0x00007fb91cbb5b8b in QCoreApplication::notifyInternal2(QObject*, QEvent*) () from /lib64/libQt5Core.so.5
#18 0x00007fb91cbb7d6b in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) () from /lib64/libQt5Core.so.5
#19 0x00007fb91cc04c73 in postEventSourceDispatch(_GSource*, int (*)(void*), void*) () from /lib64/libQt5Core.so.5
#20 0x00007fb915100277 in g_main_context_dispatch () from /lib64/libglib-2.0.so.0
#21 0x00007fb915100618 in g_main_context_iterate.isra () from /lib64/libglib-2.0.so.0
#22 0x00007fb9151006ac in g_main_context_iteration () from /lib64/libglib-2.0.so.0
#23 0x00007fb91cc04cef in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib64/libQt5Core.so.5
#24 0x00007fb91cbb4b8a in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib64/libQt5Core.so.5
#25 0x00007fb91cbbc7dc in QCoreApplication::exec() () from /lib64/libQt5Core.so.5
#26 0x000056535b7036c0 in main ()

Reported using DrKonqi
Comment 1 Christoph Feck 2017-06-26 13:24:28 UTC
Related to bug 380496.

Does installing 'flatpak' help to resolve the crash?
Comment 2 Mustafa Muhammad 2017-07-01 19:05:33 UTC
(In reply to Christoph Feck from comment #1)
> Related to bug 380496.
> 
> Does installing 'flatpak' help to resolve the crash?

Yes, it does.
Comment 3 Glenn Johnson 2017-07-09 19:19:10 UTC
Created attachment 106522 [details]
New crash information added by DrKonqi

plasma-discover (5.10.1) using Qt 5.7.1

- What I was doing when the application crashed:

Attempting to install Google Chrome browser. Installing flatpack did not make any difference.

-- Backtrace (Reduced):
#6  0x00007f147b1935fd in FlatpakBackend::setupFlatpakInstallations(_GError**) () from /usr/lib64/qt5/plugins/discover/flatpak-backend.so
#7  0x00007f147b199a38 in FlatpakBackend::FlatpakBackend(QObject*) () from /usr/lib64/qt5/plugins/discover/flatpak-backend.so
#8  0x00007f147b19c6bb in FlatpakBackendFactory::newInstance(QObject*, QString const&) const () from /usr/lib64/qt5/plugins/discover/flatpak-backend.so
#9  0x00007f14c8707427 in DiscoverBackendsFactory::backendForFile(QString const&, QString const&) const () from /usr/lib64/plasma-discover/libDiscoverCommon.so
#10 0x00007f14c8707abb in DiscoverBackendsFactory::backend(QString const&) const () from /usr/lib64/plasma-discover/libDiscoverCommon.so
Comment 4 Aleix Pol 2017-07-10 01:05:36 UTC
Glenn, please report a separate bug, it's not the same issue.
Comment 5 Aleix Pol 2017-07-10 01:05:53 UTC

*** This bug has been marked as a duplicate of bug 380496 ***