Bug 330899 - Muon Update Manager
Summary: Muon Update Manager
Status: RESOLVED WORKSFORME
Alias: None
Product: muon
Classification: Unmaintained
Component: muon (show other bugs)
Version: 2.1.2
Platform: Ubuntu Linux
: NOR crash
Target Milestone: ---
Assignee: Jonathan Thomas
URL:
Keywords: drkonqi, triaged
Depends on:
Blocks:
 
Reported: 2014-02-07 23:58 UTC by John
Modified: 2018-10-27 02:54 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 John 2014-02-07 23:58:17 UTC
Application: muon (2.1.2)
KDE Platform Version: 4.12.1
Qt Version: 4.8.6
Operating System: Linux 3.8.11 x86_64
Distribution: Ubuntu 13.10

-- Information about the crash:
- What I was doing when the application crashed:I was requesting the program save the packages to a file. One of the options in File  (I think it was in File)

-- 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 0x7fc4aae1e7c0 (LWP 22221))]

Thread 2 (Thread 0x7fc495a7d700 (LWP 22241)):
#0  0x00007fc4a3a670ea in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#1  0x00007fc4a3a673c9 in g_mutex_unlock () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007fc4a3a277b6 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007fc4a83c0af6 in QEventDispatcherGlib::processEvents (this=0x7fc4880008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:427
#4  0x00007fc4a839230f in QEventLoop::processEvents (this=this@entry=0x7fc495a7cd70, flags=...) at kernel/qeventloop.cpp:149
#5  0x00007fc4a8392605 in QEventLoop::exec (this=this@entry=0x7fc495a7cd70, flags=...) at kernel/qeventloop.cpp:204
#6  0x00007fc4a828ec4f in QThread::exec (this=this@entry=0xcc0f40) at thread/qthread.cpp:537
#7  0x00007fc4a8373a33 in QInotifyFileSystemWatcherEngine::run (this=0xcc0f40) at io/qfilesystemwatcher_inotify.cpp:265
#8  0x00007fc4a829131f in QThreadPrivate::start (arg=0xcc0f40) at thread/qthread_unix.cpp:349
#9  0x00007fc4a3efff6e in start_thread (arg=0x7fc495a7d700) at pthread_create.c:311
#10 0x00007fc4a7c449cd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:113

Thread 1 (Thread 0x7fc4aae1e7c0 (LWP 22221)):
[KCrash Handler]
#5  0x00007fc4aa50030f in KFileDialog::KFileDialog (this=0x7fffb8f19210, startDir=..., filter=..., parent=<optimized out>, customWidget=0x0) at ../../kio/kfile/kfiledialog.cpp:266
#6  0x00007fc4aa501e6a in KFileDialogPrivate::getSaveFileName (dir=..., filter=..., parent=parent@entry=0xc3af50, caption=..., options=..., selectedFilter=selectedFilter@entry=0x0) at ../../kio/kfile/kfiledialog.cpp:751
#7  0x00007fc4aa502872 in KFileDialog::getSaveFileName (dir=..., filter=..., parent=parent@entry=0xc3af50, caption=...) at ../../kio/kfile/kfiledialog.cpp:707
#8  0x00007fc4aa7eb556 in QAptActions::saveInstalledPackagesList (this=0xe01ec0) at /build/buildd/muon-2.1.2/libmuonapt/QAptActions.cpp:262
#9  0x00007fc4aa7e510a in QAptActions::qt_static_metacall (_o=<optimized out>, _id=<optimized out>, _a=0x7fffb8f194a0, _c=<optimized out>) at /build/buildd/muon-2.1.2/obj-x86_64-linux-gnu/libmuonapt/moc_QAptActions.cpp:102
#10 0x00007fc4a83a7ae8 in QMetaObject::activate (sender=sender@entry=0xe0d140, m=m@entry=0x7fc4a982fde0 <QAction::staticMetaObject>, local_signal_index=local_signal_index@entry=1, argv=argv@entry=0x7fffb8f194a0) at kernel/qobject.cpp:3539
#11 0x00007fc4a8d7fab2 in QAction::triggered (this=this@entry=0xe0d140, _t1=false) at .moc/release-shared/moc_qaction.cpp:276
#12 0x00007fc4a8d81483 in QAction::activate (this=this@entry=0xe0d140, event=event@entry=QAction::Trigger) at kernel/qaction.cpp:1257
#13 0x00007fc4a91afb49 in QMenuPrivate::activateCausedStack (this=this@entry=0xe59b80, causedStack=..., action=action@entry=0xe0d140, action_e=action_e@entry=QAction::Trigger, self=self@entry=true) at widgets/qmenu.cpp:1038
#14 0x00007fc4a91b4079 in QMenuPrivate::activateAction (this=0xe59b80, action=0xe0d140, action_e=action_e@entry=QAction::Trigger, self=self@entry=true) at widgets/qmenu.cpp:1130
#15 0x00007fc4a91b7a45 in QMenu::mouseReleaseEvent (this=this@entry=0xe491c0, e=e@entry=0x7fffb8f19bd0) at widgets/qmenu.cpp:2372
#16 0x00007fc4a9b47525 in KMenu::mouseReleaseEvent (this=0xe491c0, e=0x7fffb8f19bd0) at ../../kdeui/widgets/kmenu.cpp:464
#17 0x00007fc4a8dd55be in QWidget::event (this=this@entry=0xe491c0, event=event@entry=0x7fffb8f19bd0) at kernel/qwidget.cpp:8376
#18 0x00007fc4a91b7e7b in QMenu::event (this=0xe491c0, e=0x7fffb8f19bd0) at widgets/qmenu.cpp:2481
#19 0x00007fc4a8d85e7c in QApplicationPrivate::notify_helper (this=this@entry=0xb15b10, receiver=receiver@entry=0xe491c0, e=e@entry=0x7fffb8f19bd0) at kernel/qapplication.cpp:4567
#20 0x00007fc4a8d8c62d in QApplication::notify (this=this@entry=0x7fffb8f1a400, receiver=receiver@entry=0xe491c0, e=e@entry=0x7fffb8f19bd0) at kernel/qapplication.cpp:4110
#21 0x00007fc4a9a90c6a in KApplication::notify (this=0x7fffb8f1a400, receiver=0xe491c0, event=0x7fffb8f19bd0) at ../../kdeui/kernel/kapplication.cpp:311
#22 0x00007fc4a839373d in QCoreApplication::notifyInternal (this=0x7fffb8f1a400, receiver=receiver@entry=0xe491c0, event=event@entry=0x7fffb8f19bd0) at kernel/qcoreapplication.cpp:953
#23 0x00007fc4a8d8bde3 in sendEvent (event=<optimized out>, receiver=<optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:231
#24 QApplicationPrivate::sendMouseEvent (receiver=receiver@entry=0xe491c0, event=event@entry=0x7fffb8f19bd0, alienWidget=alienWidget@entry=0x0, nativeWidget=nativeWidget@entry=0xe491c0, buttonDown=buttonDown@entry=0x7fc4a986b318 <qt_button_down>, lastMouseReceiver=..., spontaneous=spontaneous@entry=true) at kernel/qapplication.cpp:3178
#25 0x00007fc4a8e00dec in QETWidget::translateMouseEvent (this=this@entry=0xe491c0, event=event@entry=0x7fffb8f19f20) at kernel/qapplication_x11.cpp:4568
#26 0x00007fc4a8e00359 in QApplication::x11ProcessEvent (this=0x7fffb8f1a400, event=event@entry=0x7fffb8f19f20) at kernel/qapplication_x11.cpp:3627
#27 0x00007fc4a8e27c02 in x11EventSourceDispatch (s=0xb160c0, callback=0x0, user_data=0x0) at kernel/qguieventdispatcher_glib.cpp:146
#28 0x00007fc4a3a273b6 in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#29 0x00007fc4a3a27708 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#30 0x00007fc4a3a277ac in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#31 0x00007fc4a83c0ad5 in QEventDispatcherGlib::processEvents (this=0xae6120, flags=...) at kernel/qeventdispatcher_glib.cpp:425
#32 0x00007fc4a8e27cb6 in QGuiEventDispatcherGlib::processEvents (this=<optimized out>, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#33 0x00007fc4a839230f in QEventLoop::processEvents (this=this@entry=0x7fffb8f1a300, flags=...) at kernel/qeventloop.cpp:149
#34 0x00007fc4a8392605 in QEventLoop::exec (this=this@entry=0x7fffb8f1a300, flags=...) at kernel/qeventloop.cpp:204
#35 0x00007fc4a8397deb in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1225
#36 0x00007fc4a8d843cc in QApplication::exec () at kernel/qapplication.cpp:3828
#37 0x000000000041a05b in main (argc=1, argv=0x7fffb8f1a538) at /build/buildd/muon-2.1.2/muon/main.cpp:56

Reported using DrKonqi
Comment 1 Harald Sitter 2014-02-10 08:42:31 UTC
Is this crash reproducible?

If so, please do the following in a terminal

sudo apt-get install qapt-dbg
gdb --args update-manager --nofork
run

now the updater should come up as usual, try to trigger the crash and if/when it crashes in the terminal you should have a new prompt and enter

set logging on
print startDir
print this
print fileModule()
set logging off
quit
yes

this will create a file gdb.txt in your home directory containing the values of a bunch of variables, please attach the file to this report.


random developer note:
apparently the crash happens in
>     QWidget* fileQWidget = fileModule()->createFileWidget(startDir, this);
where startDir is a const ref KUrl, so most likely fileModule returns a nullptr even though it seems to have all sorts of fallbacks.
Comment 2 Andrew Crouthamel 2018-09-25 03:56:43 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 Andrew Crouthamel 2018-10-27 02:54:15 UTC
Dear Bug Submitter,

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!