Bug 383303 - Discover crashes upon double clicking an RPM file
Summary: Discover crashes upon double clicking an RPM file
Status: RESOLVED NOT A BUG
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-08-09 07:26 UTC by K Chandrasekhar Omkar
Modified: 2017-10-17 00:36 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description K Chandrasekhar Omkar 2017-08-09 07:26:31 UTC
Application: plasma-discover (5.10.1)

Qt Version: 5.7.1
Frameworks Version: 5.35.0
Operating System: Linux 4.11.8-300.fc26.i686 i686
Distribution (Platform): Fedora RPMs

-- Information about the crash:
I opened firefox browser and downloaded google chrome RPM file. Double clicked the RPM file and Discover started loading, meanwhile a pop-up saying that Discover is crashed is generated.

The crash can be reproduced every time.

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

Thread 9 (Thread 0xa9bffb40 (LWP 2045)):
#0  0xb7707cd9 in __kernel_vsyscall ()
#1  0xb4d05f93 in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#2  0xb5517caf in QWaitCondition::wait(QMutex*, unsigned long) () from /lib/libQt5Core.so.5
#3  0xb551388a in QThreadPoolThread::run() () from /lib/libQt5Core.so.5
#4  0xb55174fa in QThreadPrivate::start(void*) () from /lib/libQt5Core.so.5
#5  0xb4cff2d9 in start_thread () from /lib/libpthread.so.0
#6  0xb51ae6b6 in clone () from /lib/libc.so.6

Thread 8 (Thread 0xaa5ffb40 (LWP 2044)):
#0  0xb7707cd9 in __kernel_vsyscall ()
#1  0xb4d05f93 in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#2  0xb5517caf in QWaitCondition::wait(QMutex*, unsigned long) () from /lib/libQt5Core.so.5
#3  0xb551388a in QThreadPoolThread::run() () from /lib/libQt5Core.so.5
#4  0xb55174fa in QThreadPrivate::start(void*) () from /lib/libQt5Core.so.5
#5  0xb4cff2d9 in start_thread () from /lib/libpthread.so.0
#6  0xb51ae6b6 in clone () from /lib/libc.so.6

Thread 7 (Thread 0xaafffb40 (LWP 2043)):
#0  0xb7707cd9 in __kernel_vsyscall ()
#1  0xb5199bdf in read () from /lib/libc.so.6
#2  0xb28d03f7 in g_wakeup_acknowledge () from /lib/libglib-2.0.so.0
#3  0xb2883de3 in g_main_context_check () from /lib/libglib-2.0.so.0
#4  0xb28842e5 in g_main_context_iterate.isra () from /lib/libglib-2.0.so.0
#5  0xb28844ab in g_main_context_iteration () from /lib/libglib-2.0.so.0
#6  0xb57445bf in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib/libQt5Core.so.5
#7  0xb56e6f2a in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib/libQt5Core.so.5
#8  0xb5512118 in QThread::exec() () from /lib/libQt5Core.so.5
#9  0xb551226b in QThread::run() () from /lib/libQt5Core.so.5
#10 0xb55174fa in QThreadPrivate::start(void*) () from /lib/libQt5Core.so.5
#11 0xb4cff2d9 in start_thread () from /lib/libpthread.so.0
#12 0xb51ae6b6 in clone () from /lib/libc.so.6

Thread 6 (Thread 0xab9b6b40 (LWP 2042)):
#0  0xb77076df in ?? ()
#1  0xb7707a55 in __vdso_clock_gettime ()
#2  0xb51bd421 in clock_gettime () from /lib/libc.so.6
#3  0xb55a7f4a in qt_gettime() () from /lib/libQt5Core.so.5
#4  0xb574288a in QTimerInfoList::updateCurrentTime() () from /lib/libQt5Core.so.5
#5  0xb574412f in timerSourceCheckHelper(GTimerSource*) () from /lib/libQt5Core.so.5
#6  0xb2883cba in g_main_context_check () from /lib/libglib-2.0.so.0
#7  0xb28842e5 in g_main_context_iterate.isra () from /lib/libglib-2.0.so.0
#8  0xb28844ab in g_main_context_iteration () from /lib/libglib-2.0.so.0
#9  0xb57445bf in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib/libQt5Core.so.5
#10 0xb56e6f2a in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib/libQt5Core.so.5
#11 0xb5512118 in QThread::exec() () from /lib/libQt5Core.so.5
#12 0xb551226b in QThread::run() () from /lib/libQt5Core.so.5
#13 0xb55174fa in QThreadPrivate::start(void*) () from /lib/libQt5Core.so.5
#14 0xb4cff2d9 in start_thread () from /lib/libpthread.so.0
#15 0xb51ae6b6 in clone () from /lib/libc.so.6

Thread 5 (Thread 0xadf32b40 (LWP 2041)):
#0  0xb5744322 in socketNotifierSourceCheck(_GSource*) () from /lib/libQt5Core.so.5
#1  0xb2883cba in g_main_context_check () from /lib/libglib-2.0.so.0
#2  0xb28842e5 in g_main_context_iterate.isra () from /lib/libglib-2.0.so.0
#3  0xb28844ab in g_main_context_iteration () from /lib/libglib-2.0.so.0
#4  0xb57445bf in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib/libQt5Core.so.5
#5  0xb56e6f2a in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib/libQt5Core.so.5
#6  0xb5512118 in QThread::exec() () from /lib/libQt5Core.so.5
#7  0xb735f968 in QQuickPixmapReader::run() () from /lib/libQt5Quick.so.5
#8  0xb55174fa in QThreadPrivate::start(void*) () from /lib/libQt5Core.so.5
#9  0xb4cff2d9 in start_thread () from /lib/libpthread.so.0
#10 0xb51ae6b6 in clone () from /lib/libc.so.6

Thread 4 (Thread 0xaf6f4b40 (LWP 2039)):
#0  0xb7707cd9 in __kernel_vsyscall ()
#1  0xb51a1d5f in poll () from /lib/libc.so.6
#2  0xb289491b in g_poll () from /lib/libglib-2.0.so.0
#3  0xb288434e in g_main_context_iterate.isra () from /lib/libglib-2.0.so.0
#4  0xb28844ab in g_main_context_iteration () from /lib/libglib-2.0.so.0
#5  0xb57445bf in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib/libQt5Core.so.5
#6  0xb56e6f2a in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib/libQt5Core.so.5
#7  0xb5512118 in QThread::exec() () from /lib/libQt5Core.so.5
#8  0xb5e4c606 in QQmlThreadPrivate::run() () from /lib/sse2/libQt5Qml.so.5
#9  0xb55174fa in QThreadPrivate::start(void*) () from /lib/libQt5Core.so.5
#10 0xb4cff2d9 in start_thread () from /lib/libpthread.so.0
#11 0xb51ae6b6 in clone () from /lib/libc.so.6

Thread 3 (Thread 0xb0ab6b40 (LWP 2038)):
#0  0xb550e4e7 in QMutex::unlock() () from /lib/libQt5Core.so.5
#1  0xb5744450 in postEventSourcePrepare(_GSource*, int*) () from /lib/libQt5Core.so.5
#2  0xb288374d in g_main_context_prepare () from /lib/libglib-2.0.so.0
#3  0xb2884242 in g_main_context_iterate.isra () from /lib/libglib-2.0.so.0
#4  0xb28844ab in g_main_context_iteration () from /lib/libglib-2.0.so.0
#5  0xb57445bf in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib/libQt5Core.so.5
#6  0xb56e6f2a in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib/libQt5Core.so.5
#7  0xb5512118 in QThread::exec() () from /lib/libQt5Core.so.5
#8  0xb6bee950 in QDBusConnectionManager::run() () from /lib/libQt5DBus.so.5
#9  0xb55174fa in QThreadPrivate::start(void*) () from /lib/libQt5Core.so.5
#10 0xb4cff2d9 in start_thread () from /lib/libpthread.so.0
#11 0xb51ae6b6 in clone () from /lib/libc.so.6

Thread 2 (Thread 0xb1ba6b40 (LWP 2037)):
#0  0xb7707cd9 in __kernel_vsyscall ()
#1  0xb51a1d5f in poll () from /lib/libc.so.6
#2  0xb2774d9a in _xcb_conn_wait () from /lib/libxcb.so.1
#3  0xb2777514 in xcb_wait_for_event () from /lib/libxcb.so.1
#4  0xb207e37b in QXcbEventReader::run() () from /lib/libQt5XcbQpa.so.5
#5  0xb55174fa in QThreadPrivate::start(void*) () from /lib/libQt5Core.so.5
#6  0xb4cff2d9 in start_thread () from /lib/libpthread.so.0
#7  0xb51ae6b6 in clone () from /lib/libc.so.6

Thread 1 (Thread 0xb237bac0 (LWP 2036)):
[KCrash Handler]
#7  0xaa7cd8aa in FlatpakBackend::setupFlatpakInstallations(_GError**) () from /usr/lib/qt5/plugins/discover/flatpak-backend.so
#8  0xaa7d4e3e in FlatpakBackend::FlatpakBackend(QObject*) () from /usr/lib/qt5/plugins/discover/flatpak-backend.so
#9  0xaa7d888c in FlatpakBackendFactory::newInstance(QObject*, QString const&) const () from /usr/lib/qt5/plugins/discover/flatpak-backend.so
#10 0xb726319a in DiscoverBackendsFactory::backendForFile(QString const&, QString const&) const () from /usr/lib/plasma-discover/libDiscoverCommon.so
#11 0xb726397f in DiscoverBackendsFactory::backend(QString const&) const () from /usr/lib/plasma-discover/libDiscoverCommon.so
#12 0xb7263e55 in DiscoverBackendsFactory::allBackends() const () from /usr/lib/plasma-discover/libDiscoverCommon.so
#13 0xb724ed6e in ResourcesModel::registerAllBackends() () from /usr/lib/plasma-discover/libDiscoverCommon.so
#14 0xb7276880 in ResourcesModel::qt_static_metacall(QObject*, QMetaObject::Call, int, void**) () from /usr/lib/plasma-discover/libDiscoverCommon.so
#15 0xb57138d9 in QMetaCallEvent::placeMetaCall(QObject*) () from /lib/libQt5Core.so.5
#16 0xb5717043 in QObject::event(QEvent*) () from /lib/libQt5Core.so.5
#17 0xb6545144 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /lib/libQt5Widgets.so.5
#18 0xb654d7e7 in QApplication::notify(QObject*, QEvent*) () from /lib/libQt5Widgets.so.5
#19 0xb56e846a in QCoreApplication::notifyInternal2(QObject*, QEvent*) () from /lib/libQt5Core.so.5
#20 0xb56eaacf in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) () from /lib/libQt5Core.so.5
#21 0xb56eb0a3 in QCoreApplication::sendPostedEvents(QObject*, int) () from /lib/libQt5Core.so.5
#22 0xb5744522 in postEventSourceDispatch(_GSource*, int (*)(void*), void*) () from /lib/libQt5Core.so.5
#23 0xb2883fc9 in g_main_context_dispatch () from /lib/libglib-2.0.so.0
#24 0xb28843f0 in g_main_context_iterate.isra () from /lib/libglib-2.0.so.0
#25 0xb28844ab in g_main_context_iteration () from /lib/libglib-2.0.so.0
#26 0xb574459f in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib/libQt5Core.so.5
#27 0xb20bca56 in QPAEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib/libQt5XcbQpa.so.5
#28 0xb56e6f2a in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib/libQt5Core.so.5
#29 0xb56efc6d in QCoreApplication::exec() () from /lib/libQt5Core.so.5
#30 0xb6033d94 in QGuiApplication::exec() () from /lib/libQt5Gui.so.5
#31 0xb6545084 in QApplication::exec() () from /lib/libQt5Widgets.so.5
#32 0x800d69de in main ()

Possible duplicates by query: bug 382871, bug 382339, bug 382188, bug 381188.

Reported using DrKonqi
Comment 1 Aleix Pol 2017-08-09 10:53:22 UTC
You should be getting this issue every time you run Discover, not just when opening a file, as it's crashing in initialization code.
Can you confirm?

Also, would it be possible to get a backtrace with debug symbols?
Comment 2 K Chandrasekhar Omkar 2017-08-09 11:22:50 UTC
Hi,

You are right. Discover crashes everytime its opened.

Please guide me on how to get debug symbols.
Comment 3 Aleix Pol 2017-08-10 14:04:43 UTC
Here's some information by your distribution:
https://fedoraproject.org/wiki/StackTraces#What_are_debugging_symbols.2C_and_why_are_they_important.3F

Also I'd recommend to update your version of Discover, 5.10.4 has some bugfixes that might suit you.
Comment 4 Aleix Pol 2017-08-10 14:04:58 UTC
Here's some information by your distribution:
https://fedoraproject.org/wiki/StackTraces#What_are_debugging_symbols.2C_and_why_are_they_important.3F

Also I'd recommend to update your version of Discover, 5.10.4 has some bugfixes that might suit you.
Comment 5 Christoph Feck 2017-09-04 14:44:22 UTC
If this is still reproducible, please add a backtrace with debug symbols for discover. If comment #3 did not help, please ask in a forum of your distribution how to install them.
Comment 6 Christoph Feck 2017-09-20 20:23:09 UTC
If you can provide the information requested in comment #5, please add it.
Comment 7 Christoph Feck 2017-10-04 12:50:06 UTC
To further investigate this issue, KDE developers need the information requested in comment #5. If you can provide it, or need help with finding that information, please add a comment.
Comment 8 Christoph Feck 2017-10-17 00:36:22 UTC
No response, changing status. If you have new information, please add a comment.