Bug 400251 - Muon segfault installing package (related to dependency issue)
Summary: Muon segfault installing package (related to dependency issue)
Status: RESOLVED WORKSFORME
Alias: None
Product: muon
Classification: Unmaintained
Component: muon (show other bugs)
Version: 5.8.0
Platform: Neon Linux
: NOR crash
Target Milestone: ---
Assignee: Jonathan Thomas
URL:
Keywords: drkonqi
: 405328 (view as bug list)
Depends on:
Blocks:
 
Reported: 2018-10-24 15:33 UTC by ascaris
Modified: 2022-10-21 05:01 UTC (History)
3 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments
New crash information added by DrKonqi (10.04 KB, text/plain)
2018-12-17 19:42 UTC, ascaris
Details
New crash information added by DrKonqi (9.80 KB, text/plain)
2019-03-26 15:18 UTC, ascaris
Details

Note You need to log in before you can comment on or make changes to this bug.
Description ascaris 2018-10-24 15:33:00 UTC
Application: muon (5.8.0)

Qt Version: 5.11.2
Frameworks Version: 5.51.0
Operating System: Linux 4.15.0-38-generic x86_64
Distribution: KDE neon User Edition 5.14

-- Information about the crash:
- What I was doing when the application crashed:
Discover reports that there is a new kernel version (in proposed; v=4.15.0.39-41).  I tried to use Muon to mark all upgrades and install, but it generates a dependency error.  Attempting to install linux-generic by itself failed with "Depends: linux-image-generic (= 4.15.0.39.41) but linux-image-generic (4.15.0.39.41) is to be installed" (the same version).  APT on the command line also fails with the dependency error, but reports the second one as 38-40.

I then attempted to install only linux-image-generic (39.41) with Muon (and the dependencies it brought with it), and it was almost done installing when Muon crashed.

The crash does not seem to be reproducible.

-- Backtrace:
Application: Muon Package Manager (muon), signal: Segmentation fault
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
[Current thread is 1 (Thread 0x7f3cdeb21880 (LWP 5612))]

Thread 5 (Thread 0x7f3ca8be3700 (LWP 5625)):
#0  0x00007f3cda7ae0b4 in __GI___libc_read (fd=86, buf=0x7f3ca8be2b5e, nbytes=10) at ../sysdeps/unix/sysv/linux/read.c:27
#1  0x00007f3ca97afff1 in pa_read () from /usr/lib/x86_64-linux-gnu/pulseaudio/libpulsecommon-11.1.so
#2  0x00007f3ca9a2e9fe in pa_mainloop_prepare () from /usr/lib/x86_64-linux-gnu/libpulse.so.0
#3  0x00007f3ca9a2f470 in pa_mainloop_iterate () from /usr/lib/x86_64-linux-gnu/libpulse.so.0
#4  0x00007f3ca9a2f530 in pa_mainloop_run () from /usr/lib/x86_64-linux-gnu/libpulse.so.0
#5  0x00007f3ca9a3d399 in ?? () from /usr/lib/x86_64-linux-gnu/libpulse.so.0
#6  0x00007f3ca97df2a8 in ?? () from /usr/lib/x86_64-linux-gnu/pulseaudio/libpulsecommon-11.1.so
#7  0x00007f3cd7d0e6db in start_thread (arg=0x7f3ca8be3700) at pthread_create.c:463
#8  0x00007f3cda7bf88f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 4 (Thread 0x7f3cbd023700 (LWP 5618)):
#0  0x00007f3cda7b2bf9 in __GI___poll (fds=0x7f3cb0004a10, nfds=1, timeout=9103) at ../sysdeps/unix/sysv/linux/poll.c:29
#1  0x00007f3cd5152539 in ?? () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f3cd515264c in g_main_context_iteration () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f3cdb0ed53b in QEventDispatcherGlib::processEvents (this=0x7f3cb0000b20, flags=...) at kernel/qeventdispatcher_glib.cpp:424
#4  0x00007f3cdb0917fa in QEventLoop::exec (this=this@entry=0x7f3cbd022d20, flags=..., flags@entry=...) at kernel/qeventloop.cpp:214
#5  0x00007f3cdaebcbba in QThread::exec (this=<optimized out>) at thread/qthread.cpp:525
#6  0x00007f3cdaec7adb in QThreadPrivate::start (arg=0x56126c34da40) at thread/qthread_unix.cpp:367
#7  0x00007f3cd7d0e6db in start_thread (arg=0x7f3cbd023700) at pthread_create.c:463
#8  0x00007f3cda7bf88f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 3 (Thread 0x7f3cbe452700 (LWP 5615)):
#0  0x00007f3cd5151e43 in g_main_context_check () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#1  0x00007f3cd51524e0 in ?? () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f3cd515264c in g_main_context_iteration () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f3cdb0ed53b in QEventDispatcherGlib::processEvents (this=0x7f3cb8000b20, flags=...) at kernel/qeventdispatcher_glib.cpp:424
#4  0x00007f3cdb0917fa in QEventLoop::exec (this=this@entry=0x7f3cbe451cf0, flags=..., flags@entry=...) at kernel/qeventloop.cpp:214
#5  0x00007f3cdaebcbba in QThread::exec (this=this@entry=0x7f3cd9665d60 <(anonymous namespace)::Q_QGS__q_manager::innerFunction()::holder>) at thread/qthread.cpp:525
#6  0x00007f3cd93ede45 in QDBusConnectionManager::run (this=0x7f3cd9665d60 <(anonymous namespace)::Q_QGS__q_manager::innerFunction()::holder>) at qdbusconnection.cpp:178
#7  0x00007f3cdaec7adb in QThreadPrivate::start (arg=0x7f3cd9665d60 <(anonymous namespace)::Q_QGS__q_manager::innerFunction()::holder>) at thread/qthread_unix.cpp:367
#8  0x00007f3cd7d0e6db in start_thread (arg=0x7f3cbe452700) at pthread_create.c:463
#9  0x00007f3cda7bf88f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 2 (Thread 0x7f3ccc261700 (LWP 5614)):
#0  0x00007f3cda7b2bf9 in __GI___poll (fds=0x7f3ccc260c28, nfds=1, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:29
#1  0x00007f3cd454e747 in ?? () from /usr/lib/x86_64-linux-gnu/libxcb.so.1
#2  0x00007f3cd455036a in xcb_wait_for_event () from /usr/lib/x86_64-linux-gnu/libxcb.so.1
#3  0x00007f3ccf01aed9 in QXcbEventReader::run (this=0x56126c1cc400) at qxcbconnection.cpp:1391
#4  0x00007f3cdaec7adb in QThreadPrivate::start (arg=0x56126c1cc400) at thread/qthread_unix.cpp:367
#5  0x00007f3cd7d0e6db in start_thread (arg=0x7f3ccc261700) at pthread_create.c:463
#6  0x00007f3cda7bf88f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 1 (Thread 0x7f3cdeb21880 (LWP 5612)):
[KCrash Handler]
#6  pkgDepCache::FindPkg (this=0x0, Name="linux-headers-generic") at /usr/include/apt-pkg/depcache.h:357
#7  QApt::Backend::package (this=this@entry=0x56126c34d050, name=...) at ./src/backend.cpp:346
#8  0x00007f3cde1d2a82 in QApt::Backend::search (this=0x56126c34d050, searchString=...) at ./src/backend.cpp:585
#9  0x000056126a23317a in PackageProxyModel::search (this=0x56126c2affb0, searchText=...) at ./src/PackageModel/PackageProxyModel.cpp:71
#10 0x000056126a2379ea in PackageWidget::startSearch (this=0x56126c25e8f0) at ./src/PackageModel/PackageWidget.cpp:409
#11 0x000056126a2264c0 in MainWindow::reload (this=0x56126c2380e0) at ./src/MainWindow.cpp:370
#12 0x000056126a226595 in MainWindow::transactionStatusChanged (this=0x56126c2380e0, status=<optimized out>) at ./src/MainWindow.cpp:304
#13 0x000056126a2523fb in MainWindow::qt_static_metacall (_o=<optimized out>, _id=<optimized out>, _a=<optimized out>, _c=<optimized out>) at ./obj-x86_64-linux-gnu/src/muon_autogen/EWIEGA46WW/moc_MainWindow.cpp:179
#14 0x00007f3cdb0c2565 in QMetaObject::activate (sender=sender@entry=0x56126d846a10, signalOffset=<optimized out>, local_signal_index=local_signal_index@entry=1, argv=argv@entry=0x7fff2d9cd140) at kernel/qobject.cpp:3771
#15 0x00007f3cdb0c2c37 in QMetaObject::activate (sender=sender@entry=0x56126d846a10, m=m@entry=0x7f3cde418ae0 <QApt::Transaction::staticMetaObject>, local_signal_index=local_signal_index@entry=1, argv=argv@entry=0x7fff2d9cd140) at kernel/qobject.cpp:3633
#16 0x00007f3cde204fc1 in QApt::Transaction::statusChanged (this=this@entry=0x56126d846a10, _t1=<optimized out>) at ./obj-x86_64-linux-gnu/src/QApt_autogen/EWIEGA46WW/moc_transaction.cpp:538
#17 0x00007f3cde1f8bd6 in QApt::Transaction::updateProperty (this=0x56126d846a10, type=<optimized out>, variant=...) at ./src/transaction.cpp:632
#18 0x00007f3cde205f4f in QApt::Transaction::qt_static_metacall (_o=0x56126d846a10, _c=<optimized out>, _id=<optimized out>, _a=<optimized out>) at ./obj-x86_64-linux-gnu/src/QApt_autogen/EWIEGA46WW/moc_transaction.cpp:286
#19 0x00007f3cdb0c2565 in QMetaObject::activate (sender=0x56126d8469a0, signalOffset=<optimized out>, local_signal_index=local_signal_index@entry=4, argv=argv@entry=0x7fff2d9cd390) at kernel/qobject.cpp:3771
#20 0x00007f3cdb0c2c37 in QMetaObject::activate (sender=<optimized out>, m=m@entry=0x7f3cde4186c0 <OrgKubuntuQaptworker3TransactionInterface::staticMetaObject>, local_signal_index=local_signal_index@entry=4, argv=argv@entry=0x7fff2d9cd390) at kernel/qobject.cpp:3633
#21 0x00007f3cde2029fc in OrgKubuntuQaptworker3TransactionInterface::propertyChanged (_t2=..., _t1=<optimized out>, this=<optimized out>) at ./obj-x86_64-linux-gnu/src/transactioninterface_p.moc:371
#22 OrgKubuntuQaptworker3TransactionInterface::qt_static_metacall (_o=_o@entry=0x56126d8469a0, _c=_c@entry=QMetaObject::InvokeMetaMethod, _id=_id@entry=4, _a=_a@entry=0x7fff2d9cd4f0) at ./obj-x86_64-linux-gnu/src/transactioninterface_p.moc:188
#23 0x00007f3cde203fe5 in OrgKubuntuQaptworker3TransactionInterface::qt_metacall (this=0x56126d8469a0, _c=QMetaObject::InvokeMetaMethod, _id=4, _a=0x7fff2d9cd4f0) at ./obj-x86_64-linux-gnu/src/transactioninterface_p.moc:312
#24 0x00007f3cd93f8f58 in QDBusConnectionPrivate::deliverCall (this=<optimized out>, object=<optimized out>, msg=..., metaTypes=..., slotIdx=<optimized out>) at qdbusintegrator.cpp:991
#25 0x00007f3cdb0c30d2 in QObject::event (this=0x56126d8469a0, e=<optimized out>) at kernel/qobject.cpp:1251
#26 0x00007f3cdbe21e1c in QApplicationPrivate::notify_helper (this=this@entry=0x56126c1d2830, receiver=receiver@entry=0x56126d8469a0, e=e@entry=0x7f3cb802e570) at kernel/qapplication.cpp:3727
#27 0x00007f3cdbe293ef in QApplication::notify (this=0x7fff2d9cdb80, receiver=0x56126d8469a0, e=0x7f3cb802e570) at kernel/qapplication.cpp:3486
#28 0x00007f3cdb0934d8 in QCoreApplication::notifyInternal2 (receiver=0x56126d8469a0, event=event@entry=0x7f3cb802e570) at kernel/qcoreapplication.cpp:1048
#29 0x00007f3cdb09601d in QCoreApplication::sendEvent (event=0x7f3cb802e570, receiver=<optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:234
#30 QCoreApplicationPrivate::sendPostedEvents (receiver=receiver@entry=0x0, event_type=event_type@entry=0, data=0x56126c1d29b0) at kernel/qcoreapplication.cpp:1745
#31 0x00007f3cdb0965d8 in QCoreApplication::sendPostedEvents (receiver=receiver@entry=0x0, event_type=event_type@entry=0) at kernel/qcoreapplication.cpp:1599
#32 0x00007f3cdb0edee3 in postEventSourceDispatch (s=0x56126c233ab0) at kernel/qeventdispatcher_glib.cpp:276
#33 0x00007f3cd5152387 in g_main_context_dispatch () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#34 0x00007f3cd51525c0 in ?? () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#35 0x00007f3cd515264c in g_main_context_iteration () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#36 0x00007f3cdb0ed51f in QEventDispatcherGlib::processEvents (this=0x56126c236bf0, flags=...) at kernel/qeventdispatcher_glib.cpp:422
#37 0x00007f3ccf0a6761 in QPAEventDispatcherGlib::processEvents (this=0x56126c236bf0, flags=...) at qeventdispatcher_glib.cpp:69
#38 0x00007f3cdb0917fa in QEventLoop::exec (this=this@entry=0x7fff2d9cdac0, flags=..., flags@entry=...) at kernel/qeventloop.cpp:214
#39 0x00007f3cdb09a9c0 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1336
#40 0x000056126a224915 in main (argc=<optimized out>, argv=<optimized out>) at ./src/main.cpp:62

Reported using DrKonqi
Comment 1 ascaris 2018-12-17 19:42:31 UTC
Created attachment 116972 [details]
New crash information added by DrKonqi

muon (5.8.0) using Qt 5.11.2

- What I was doing when the application crashed:

I had just selected vulkan-utils and vulkan-tools to install, and it seemed to finish installing them just before Muon crashed and closed.

-- Backtrace (Reduced):
#6  pkgDepCache::FindPkg (this=0x0, Name="vulkan-tools") at /usr/include/apt-pkg/depcache.h:357
#7  QApt::Backend::package (this=this@entry=0x55a965e764a0, name=...) at ./src/backend.cpp:346
#8  0x00007f24e0740a82 in QApt::Backend::search (this=0x55a965e764a0, searchString=...) at ./src/backend.cpp:585
#9  0x000055a964d5917a in PackageProxyModel::search (this=0x55a965dd9bb0, searchText=...) at ./src/PackageModel/PackageProxyModel.cpp:71
#10 0x000055a964d5d9ea in PackageWidget::startSearch (this=0x55a965dda180) at ./src/PackageModel/PackageWidget.cpp:409
Comment 2 Christoph Feck 2019-03-24 12:33:18 UTC
*** Bug 405328 has been marked as a duplicate of this bug. ***
Comment 3 ascaris 2019-03-26 15:18:00 UTC
Created attachment 119058 [details]
New crash information added by DrKonqi

muon (5.8.0) using Qt 5.12.0

- What I was doing when the application crashed:

Attempting to install a package in the normal manner in Muon.

-- Backtrace (Reduced):
#6  pkgDepCache::FindPkg (this=0x0, Name="xserver-xorg-input-libinput") at /usr/include/apt-pkg/depcache.h:357
#7  QApt::Backend::package (this=this@entry=0x5590ed3ff500, name=...) at ./src/backend.cpp:346
#8  0x00007f576afcca82 in QApt::Backend::search (this=0x5590ed3ff500, searchString=...) at ./src/backend.cpp:585
#9  0x00005590eb24c17a in PackageProxyModel::search (this=0x5590ed357660, searchText=...) at ./src/PackageModel/PackageProxyModel.cpp:71
#10 0x00005590eb2509ea in PackageWidget::startSearch (this=0x5590ed332590) at ./src/PackageModel/PackageWidget.cpp:409
Comment 4 Justin Zobel 2022-09-21 03:42:18 UTC
Thank you for reporting this crash in KDE software. As it has been a while since this issue was reported, can we please ask you to see if you can reproduce the crash with a recent software version?

If you can reproduce the issue, please change the status to "CONFIRMED" when replying. Thank you!
Comment 5 Bug Janitor Service 2022-10-06 04:50:39 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
mark the bug 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 6 Bug Janitor Service 2022-10-21 05:01:45 UTC
This bug has been in NEEDSINFO status with no change for at least
30 days. The bug is now 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

Thank you for helping us make KDE software even better for everyone!