Bug 311356 - muon crashes when checking for updates
Summary: muon crashes when checking for updates
Status: RESOLVED FIXED
Alias: None
Product: Discover
Classification: Applications
Component: Updates (interactive) (show other bugs)
Version: unspecified
Platform: Compiled Sources Linux
: NOR crash
Target Milestone: ---
Assignee: Jonathan Thomas
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-12-08 16:48 UTC by Axel Krebs
Modified: 2016-03-02 13:26 UTC (History)
2 users (show)

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 Axel Krebs 2012-12-08 16:48:00 UTC
Application: muon-updater (1.4.1)
KDE Platform Version: 4.9.4 (Compiled from sources)
Qt Version: 4.8.3
Operating System: Linux 3.5.0-19-generic x86_64
Distribution: Ubuntu 12.10

-- Information about the crash:
- my PC is running since 10 hours(?)
- when checking for updates, crash occurs

The crash can be reproduced some of the time.

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

Thread 3 (Thread 0x7f2094bcc700 (LWP 8873)):
#0  QTimerInfoList::repairTimersIfNeeded (this=0x7f2090002860) at kernel/qeventdispatcher_unix.cpp:403
#1  0x00007f20a8923781 in QTimerInfoList::timerWait (this=0x7f2090002860, tm=...) at kernel/qeventdispatcher_unix.cpp:451
#2  0x00007f20a89222cc in timerSourcePrepareHelper (src=<optimized out>, timeout=0x7f2094bcbc14) at kernel/qeventdispatcher_glib.cpp:136
#3  0x00007f20a8922375 in timerSourcePrepare (source=<optimized out>, timeout=<optimized out>) at kernel/qeventdispatcher_glib.cpp:169
#4  0x00007f20a200c618 in g_main_context_prepare () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#5  0x00007f20a200ccab in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#6  0x00007f20a200cea4 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#7  0x00007f20a8922c16 in QEventDispatcherGlib::processEvents (this=0x7f20900008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:426
#8  0x00007f20a88f32bf in QEventLoop::processEvents (this=this@entry=0x7f2094bcbdd0, flags=...) at kernel/qeventloop.cpp:149
#9  0x00007f20a88f3548 in QEventLoop::exec (this=0x7f2094bcbdd0, flags=...) at kernel/qeventloop.cpp:204
#10 0x00007f20a87f4b10 in QThread::exec (this=<optimized out>) at thread/qthread.cpp:501
#11 0x00007f20a88d39af in QInotifyFileSystemWatcherEngine::run (this=0x26a36c0) at io/qfilesystemwatcher_inotify.cpp:248
#12 0x00007f20a87f7aec in QThreadPrivate::start (arg=0x26a36c0) at thread/qthread_unix.cpp:338
#13 0x00007f20a28d3e9a in start_thread (arg=0x7f2094bcc700) at pthread_create.c:308
#14 0x00007f20a7501cbd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#15 0x0000000000000000 in ?? ()

Thread 2 (Thread 0x7f208d326700 (LWP 8880)):
#0  0x00007f20a74f6303 in __GI___poll (fds=<optimized out>, nfds=<optimized out>, timeout=<optimized out>) at ../sysdeps/unix/sysv/linux/poll.c:87
#1  0x00007f20a200cd84 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f20a200cea4 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f20a8922c16 in QEventDispatcherGlib::processEvents (this=0x7f20800008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:426
#4  0x00007f20a88f32bf in QEventLoop::processEvents (this=this@entry=0x7f208d325dd0, flags=...) at kernel/qeventloop.cpp:149
#5  0x00007f20a88f3548 in QEventLoop::exec (this=0x7f208d325dd0, flags=...) at kernel/qeventloop.cpp:204
#6  0x00007f20a87f4b10 in QThread::exec (this=<optimized out>) at thread/qthread.cpp:501
#7  0x00007f20a88d39af in QInotifyFileSystemWatcherEngine::run (this=0x299d790) at io/qfilesystemwatcher_inotify.cpp:248
#8  0x00007f20a87f7aec in QThreadPrivate::start (arg=0x299d790) at thread/qthread_unix.cpp:338
#9  0x00007f20a28d3e9a in start_thread (arg=0x7f208d326700) at pthread_create.c:308
#10 0x00007f20a7501cbd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#11 0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7f20aa563780 (LWP 8867)):
[KCrash Handler]
#6  0x00007f20a976f9b9 in operator[] (I=..., this=<optimized out>) at /usr/include/apt-pkg/depcache.h:360
#7  QApt::Package::state (this=0x2a006f0) at /build/buildd/qapt-1.4.1/src/package.cpp:745
#8  0x00007f20a9765551 in QApt::Backend::commitChanges (this=<optimized out>) at /build/buildd/qapt-1.4.1/src/backend.cpp:1033
#9  0x000000000040fbfb in MainWindow::startCommit (this=0x2653830) at /build/buildd/muon-1.4.1/updater/MainWindow.cpp:286
#10 0x00007f20a8909f5f in QMetaObject::activate (sender=0x270df70, m=<optimized out>, local_signal_index=<optimized out>, argv=0x7fff74eb8e30) at kernel/qobject.cpp:3547
#11 0x00007f20a7c95a32 in QAction::triggered (this=this@entry=0x270df70, _t1=false) at .moc/release-shared/moc_qaction.cpp:277
#12 0x00007f20a7c95c20 in QAction::activate (this=0x270df70, event=<optimized out>) at kernel/qaction.cpp:1257
#13 0x00007f20a805a51f in QAbstractButtonPrivate::click (this=this@entry=0x26e6a50) at widgets/qabstractbutton.cpp:530
#14 0x00007f20a805a7cc in QAbstractButton::mouseReleaseEvent (this=0x26f8630, e=0x7fff74eb96e0) at widgets/qabstractbutton.cpp:1123
#15 0x00007f20a811499a in QToolButton::mouseReleaseEvent (this=<optimized out>, e=<optimized out>) at widgets/qtoolbutton.cpp:718
#16 0x00007f20a7ceb850 in QWidget::event (this=0x26f8630, event=0x7fff74eb96e0) at kernel/qwidget.cpp:8371
#17 0x00007f20a7c9be9c in QApplicationPrivate::notify_helper (this=this@entry=0x24c72a0, receiver=receiver@entry=0x26f8630, e=e@entry=0x7fff74eb96e0) at kernel/qapplication.cpp:4562
#18 0x00007f20a7ca0b6b in QApplication::notify (this=<optimized out>, receiver=0x26f8630, e=0x7fff74eb96e0) at kernel/qapplication.cpp:4105
#19 0x00007f20a93321d6 in KApplication::notify (this=0x7fff74ebcef0, receiver=0x26f8630, event=0x7fff74eb96e0) at ../../kdeui/kernel/kapplication.cpp:311
#20 0x00007f20a88f456e in QCoreApplication::notifyInternal (this=0x7fff74ebcef0, receiver=0x26f8630, event=0x7fff74eb96e0) at kernel/qcoreapplication.cpp:915
#21 0x00007f20a7c9ccd3 in sendEvent (event=<optimized out>, receiver=<optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:231
#22 QApplicationPrivate::sendMouseEvent (receiver=0x26f8630, event=0x7fff74eb96e0, alienWidget=0x26f8630, nativeWidget=0x26def20, buttonDown=0x7f20a8778308 <qt_button_down>, lastMouseReceiver=..., spontaneous=true) at kernel/qapplication.cpp:3173
#23 0x00007f20a7d1a554 in QETWidget::translateMouseEvent (this=this@entry=0x26def20, event=event@entry=0x7fff74eb9e60) at kernel/qapplication_x11.cpp:4622
#24 0x00007f20a7d1944f in QApplication::x11ProcessEvent (this=0x7fff74ebcef0, event=0x7fff74eb9e60) at kernel/qapplication_x11.cpp:3737
#25 0x00007f20a7d40fa2 in x11EventSourceDispatch (s=0x24c8470, callback=0x0, user_data=0x0) at kernel/qguieventdispatcher_glib.cpp:146
#26 0x00007f20a200cab5 in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#27 0x00007f20a200cde8 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#28 0x00007f20a200cea4 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#29 0x00007f20a8922bf6 in QEventDispatcherGlib::processEvents (this=0x2491070, flags=...) at kernel/qeventdispatcher_glib.cpp:424
#30 0x00007f20a7d40c1e in QGuiEventDispatcherGlib::processEvents (this=<optimized out>, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#31 0x00007f20a88f889f in QCoreApplication::processEvents (flags=...) at kernel/qcoreapplication.cpp:1102
#32 0x00007f20a976d8b3 in QApt::CacheBuildProgress::Update (this=<optimized out>) at /build/buildd/qapt-1.4.1/src/cache.cpp:36
#33 0x00007f20a452a572 in pkgCacheGenerator::MergeList(pkgCacheGenerator::ListParser&, pkgCache::VerIterator*) () from /usr/lib/x86_64-linux-gnu/libapt-pkg.so.4.12
#34 0x00007f20a457e74a in debPackagesIndex::Merge(pkgCacheGenerator&, OpProgress*) const () from /usr/lib/x86_64-linux-gnu/libapt-pkg.so.4.12
#35 0x00007f20a4523642 in ?? () from /usr/lib/x86_64-linux-gnu/libapt-pkg.so.4.12
#36 0x00007f20a4526419 in pkgCacheGenerator::MakeStatusCache(pkgSourceList&, OpProgress*, MMap**, bool) () from /usr/lib/x86_64-linux-gnu/libapt-pkg.so.4.12
#37 0x00007f20a451d0d1 in pkgCacheFile::BuildCaches(OpProgress*, bool) () from /usr/lib/x86_64-linux-gnu/libapt-pkg.so.4.12
#38 0x00007f20a451d46c in pkgCacheFile::Open(OpProgress*, bool) () from /usr/lib/x86_64-linux-gnu/libapt-pkg.so.4.12
#39 0x00007f20a976d7c8 in QApt::Cache::open (this=<optimized out>) at /build/buildd/qapt-1.4.1/src/cache.cpp:85
#40 0x00007f20a9767441 in QApt::Backend::reloadCache (this=0x270ccb0) at /build/buildd/qapt-1.4.1/src/backend.cpp:198
#41 0x0000000000414b06 in UpdaterWidget::reload (this=0x26d8b50) at /build/buildd/muon-1.4.1/updater/UpdaterWidget.cpp:130
#42 0x0000000000410407 in MainWindow::reload (this=0x2653830) at /build/buildd/muon-1.4.1/updater/MainWindow.cpp:239
#43 0x000000000041011e in MainWindow::workerEvent (this=0x2653830, event=<optimized out>) at /build/buildd/muon-1.4.1/updater/MainWindow.cpp:179
#44 0x00007f20a8909f5f in QMetaObject::activate (sender=0x270ccb0, m=<optimized out>, local_signal_index=<optimized out>, argv=0x7fff74ebbf50) at kernel/qobject.cpp:3547
#45 0x00007f20a97857f1 in QApt::Backend::workerEvent (this=<optimized out>, _t1=QApt::CacheUpdateFinished) at /build/buildd/qapt-1.4.1/obj-x86_64-linux-gnu/src/moc_backend.cxx:267
#46 0x00007f20a8909f5f in QMetaObject::activate (sender=0x26fbe50, m=<optimized out>, local_signal_index=<optimized out>, argv=0x7fff74ebc0a0) at kernel/qobject.cpp:3547
#47 0x00007f20a9786801 in OrgKubuntuQaptworkerInterface::workerEvent (this=this@entry=0x26fbe50, _t1=2) at /build/buildd/qapt-1.4.1/obj-x86_64-linux-gnu/src/workerdbus.moc:242
#48 0x00007f20a9787402 in OrgKubuntuQaptworkerInterface::qt_static_metacall (_o=_o@entry=0x26fbe50, _c=_c@entry=QMetaObject::InvokeMetaMethod, _id=<optimized out>, _a=_a@entry=0x7fff74ebc450) at /build/buildd/qapt-1.4.1/obj-x86_64-linux-gnu/src/workerdbus.moc:108
#49 0x00007f20a9787eab in OrgKubuntuQaptworkerInterface::qt_metacall (this=0x26fbe50, _c=QMetaObject::InvokeMetaMethod, _id=<optimized out>, _a=0x7fff74ebc450) at /build/buildd/qapt-1.4.1/obj-x86_64-linux-gnu/src/workerdbus.moc:176
#50 0x00007f20a6112ed3 in QDBusConnectionPrivate::deliverCall (this=0x26ad5b0, object=0x26fbe50, msg=..., metaTypes=..., slotIdx=13) at qdbusintegrator.cpp:947
#51 0x00007f20a890943e in QObject::event (this=0x26fbe50, e=<optimized out>) at kernel/qobject.cpp:1195
#52 0x00007f20a7c9be9c in QApplicationPrivate::notify_helper (this=this@entry=0x24c72a0, receiver=receiver@entry=0x26fbe50, e=e@entry=0x358e5c0) at kernel/qapplication.cpp:4562
#53 0x00007f20a7ca030a in QApplication::notify (this=0x7fff74ebcef0, receiver=0x26fbe50, e=0x358e5c0) at kernel/qapplication.cpp:4423
#54 0x00007f20a93321d6 in KApplication::notify (this=0x7fff74ebcef0, receiver=0x26fbe50, event=0x358e5c0) at ../../kdeui/kernel/kapplication.cpp:311
#55 0x00007f20a88f456e in QCoreApplication::notifyInternal (this=0x7fff74ebcef0, receiver=receiver@entry=0x26fbe50, event=event@entry=0x358e5c0) at kernel/qcoreapplication.cpp:915
#56 0x00007f20a88f83f1 in sendEvent (event=0x358e5c0, receiver=0x26fbe50) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:231
#57 QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0x248f790) at kernel/qcoreapplication.cpp:1539
#58 0x00007f20a8922a63 in sendPostedEvents () at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:236
#59 postEventSourceDispatch (s=0x24b3e80) at kernel/qeventdispatcher_glib.cpp:279
#60 0x00007f20a200cab5 in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#61 0x00007f20a200cde8 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#62 0x00007f20a200cea4 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#63 0x00007f20a8922bf6 in QEventDispatcherGlib::processEvents (this=0x2491070, flags=...) at kernel/qeventdispatcher_glib.cpp:424
#64 0x00007f20a7d40c1e in QGuiEventDispatcherGlib::processEvents (this=<optimized out>, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#65 0x00007f20a88f32bf in QEventLoop::processEvents (this=this@entry=0x7fff74ebcdd0, flags=...) at kernel/qeventloop.cpp:149
#66 0x00007f20a88f3548 in QEventLoop::exec (this=0x7fff74ebcdd0, flags=...) at kernel/qeventloop.cpp:204
#67 0x00007f20a88f8708 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1187
#68 0x000000000040e2fa in main (argc=1, argv=0x7fff74ebd028) at /build/buildd/muon-1.4.1/updater/main.cpp:61

Reported using DrKonqi
Comment 1 Leszek Lesner 2013-03-22 18:43:11 UTC
I confirm that but the crash occurs after the checking for sources finishes at least its so in muon-updater 1.9.97
Comment 2 Harald Sitter 2014-03-21 00:16:55 UTC
Can you still reproduce this with a more recent muon version (2.1.x)?
Comment 3 Leszek Lesner 2014-03-21 07:36:06 UTC
The bug seems to be gone in newer versions. At least I don't experience it with version 2.1.x
Comment 4 Harald Sitter 2014-03-21 09:43:05 UTC
Thanks