Bug 463476 - kget crash because kget_mmsfactory.so cannot find libmms.so dependency
Summary: kget crash because kget_mmsfactory.so cannot find libmms.so dependency
Status: RESOLVED DUPLICATE of bug 332191
Alias: None
Product: kget
Classification: Applications
Component: general (show other bugs)
Version: 22.12.0
Platform: Arch Linux Linux
: NOR crash
Target Milestone: ---
Assignee: KGet authors
URL:
Keywords: drkonqi
Depends on:
Blocks:
 
Reported: 2022-12-26 06:48 UTC by Fei Chong
Modified: 2022-12-27 15:24 UTC (History)
3 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 Fei Chong 2022-12-26 06:48:16 UTC
Application: kget (22.12.0)

Qt Version: 5.15.7
Frameworks Version: 5.101.0
Operating System: Linux 6.0.12-zen1-1-zen x86_64
Windowing System: X11
Distribution: "Arch Linux"
DrKonqi: 5.26.4 [KCrashBackend]

-- Information about the crash:
kget provides /usr/lib/qt/plugins/kget/kget_mmsfactory.so, which depends on libmms.
But libmms is marked as optional dependency of kget, not required dependency.

The crash can be reproduced every time.

-- Backtrace:
Application: KGet (kget), signal: Segmentation fault

[KCrash Handler]
#4  0x00005585f5bab336 in ?? ()
#5  0x00007f7adfcbda51 in ?? () from /usr/lib/libQt5Core.so.5
#6  0x00007f7ae0bf77bd in QHeaderView::sectionCountChanged(int, int) () from /usr/lib/libQt5Widgets.so.5
#7  0x00007f7ae0bedb1f in QHeaderView::initializeSections(int, int) () from /usr/lib/libQt5Widgets.so.5
#8  0x00007f7ae0bf2407 in QHeaderView::initializeSections() () from /usr/lib/libQt5Widgets.so.5
#9  0x00007f7ae0bf2c00 in QHeaderView::reset() () from /usr/lib/libQt5Widgets.so.5
#10 0x00007f7ae0bf2780 in QHeaderView::setModel(QAbstractItemModel*) () from /usr/lib/libQt5Widgets.so.5
#11 0x00007f7ae0c467a4 in QTreeView::setModel(QAbstractItemModel*) () from /usr/lib/libQt5Widgets.so.5
#12 0x00005585f5bace02 in ?? ()
#13 0x00005585f5c055b4 in ?? ()
#14 0x00005585f5bfc778 in ?? ()
#15 0x00007f7adfcbda51 in ?? () from /usr/lib/libQt5Core.so.5
#16 0x00007f7ae133746c in KDBusService::activateRequested(QStringList const&, QString const&) () from /usr/lib/libKF5DBusAddons.so.5
#17 0x00007f7ae133af73 in KDBusService::Activate(QMap<QString, QVariant> const&) () from /usr/lib/libKF5DBusAddons.so.5
#18 0x00007f7ae1342fae in ?? () from /usr/lib/libKF5DBusAddons.so.5
#19 0x00007f7ae101245f in ?? () from /usr/lib/libQt5DBus.so.5
#20 0x00007f7ae0fd8a44 in ?? () from /usr/lib/libQt5DBus.so.5
#21 0x00007f7ae0fd9719 in ?? () from /usr/lib/libQt5DBus.so.5
#22 0x00007f7ae0fd975c in ?? () from /usr/lib/libQt5DBus.so.5
#23 0x00007f7adfcb0be0 in QObject::event(QEvent*) () from /usr/lib/libQt5Core.so.5
#24 0x00007f7ae0978b1c in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib/libQt5Widgets.so.5
#25 0x00007f7adfc8cf98 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () from /usr/lib/libQt5Core.so.5
#26 0x00007f7adfc8daa3 in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) () from /usr/lib/libQt5Core.so.5
#27 0x00007f7adfcd3e68 in ?? () from /usr/lib/libQt5Core.so.5
#28 0x00007f7addc6d87b in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#29 0x00007f7addcc4299 in ?? () from /usr/lib/libglib-2.0.so.0
#30 0x00007f7addc6c132 in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#31 0x00007f7adfcd7c4c in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQt5Core.so.5
#32 0x00007f7adfc8573c in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQt5Core.so.5
#33 0x00007f7ae0b736cb in QDialog::exec() () from /usr/lib/libQt5Widgets.so.5
#34 0x00007f7ae10f1a97 in KMessageBox::createKMessageBox(QDialog*, QDialogButtonBox*, QIcon const&, QString const&, QStringList const&, QString const&, bool*, QFlags<KMessageBox::Option>, QString const&, QMessageBox::Icon) () from /usr/lib/libKF5WidgetsAddons.so.5
#35 0x00007f7ae10f21bf in KMessageBox::createKMessageBox(QDialog*, QDialogButtonBox*, QMessageBox::Icon, QString const&, QStringList const&, QString const&, bool*, QFlags<KMessageBox::Option>, QString const&) () from /usr/lib/libKF5WidgetsAddons.so.5
#36 0x00007f7ae10f240e in ?? () from /usr/lib/libKF5WidgetsAddons.so.5
#37 0x00007f7ae10f277f in KMessageBox::questionTwoActions(QWidget*, QString const&, QString const&, KGuiItem const&, KGuiItem const&, QString const&, QFlags<KMessageBox::Option>) () from /usr/lib/libKF5WidgetsAddons.so.5
#38 0x00005585f5c065cb in ?? ()
#39 0x00005585f5b8cfb4 in ?? ()
#40 0x00007f7adf43c290 in ?? () from /usr/lib/libc.so.6
#41 0x00007f7adf43c34a in __libc_start_main () from /usr/lib/libc.so.6
#42 0x00005585f5b8dba5 in ?? ()
[Inferior 1 (process 2839591) detached]

Reported using DrKonqi
Comment 1 Nicolas Fella 2022-12-27 13:11:36 UTC
libmms is optional *at build time*. If KGet was built with mms support, which Arch does, then it has to be also installed at runtime, which Arch doesn't. Please report this to Arch
Comment 2 Antonio Rojas 2022-12-27 15:24:41 UTC
(In reply to Nicolas Fella from comment #1)
> libmms is optional *at build time*. If KGet was built with mms support,
> which Arch does, then it has to be also installed at runtime, which Arch
> doesn't. Please report this to Arch

Please don't. libmms is correctly listed as an optional dependency because it is used by a plugin, which is optional at runtime by definition. Your crash has absolutely nothing to do with libmms.

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