Bug 271810

Summary: Systemsettings -> Removable Devices -> crashes after "forget"
Product: [Applications] systemsettings Reporter: Thomas <tlueber>
Component: generalAssignee: System Settings Bugs <sourtooth+ssbugs>
Status: RESOLVED DUPLICATE    
Severity: crash    
Priority: NOR    
Version First Reported In: 1.0   
Target Milestone: ---   
Platform: Ubuntu   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description Thomas 2011-04-26 22:43:57 UTC
Application: systemsettings (1.0)
KDE Platform Version: 4.4.5 (KDE 4.4.5)
Qt Version: 4.6.2
Operating System: Linux 2.6.32-31-generic i686
Distribution: Ubuntu 10.04.2 LTS

-- Information about the crash:
Issue still exists in Kubuntu 10.04, Bug should be fixed since 2010-03-26 but does not seem to be included/distributed

The crash can be reproduced every time.

 -- Backtrace:
Application: Systemeinstellungen (systemsettings), signal: Segmentation fault
[Current thread is 1 (Thread 0xb7804710 (LWP 19981))]

Thread 2 (Thread 0xb4e28b70 (LWP 19982)):
#0  0x02f12e16 in clock_gettime () from /lib/tls/i686/cmov/librt.so.1
#1  0x083196fb in qt_gettime () at kernel/qcore_unix.cpp:111
#2  0x0831e825 in QTimerInfoList::updateCurrentTime (this=0x89505c4) at kernel/qeventdispatcher_unix.cpp:340
#3  0x0831e86a in QTimerInfoList::timerWait (this=0x89505c4, tm=...) at kernel/qeventdispatcher_unix.cpp:443
#4  0x0831c818 in timerSourcePrepareHelper (src=<value optimized out>, timeout=0xb4e280cc) at kernel/qeventdispatcher_glib.cpp:136
#5  0x0831c8a5 in timerSourcePrepare (source=0x0, timeout=0x2f16ff4) at kernel/qeventdispatcher_glib.cpp:169
#6  0x0175caca in g_main_context_prepare () from /lib/libglib-2.0.so.0
#7  0x0175cee9 in ?? () from /lib/libglib-2.0.so.0
#8  0x0175d4b8 in g_main_context_iteration () from /lib/libglib-2.0.so.0
#9  0x0831c60f in QEventDispatcherGlib::processEvents (this=0x88eed30, flags=...) at kernel/qeventdispatcher_glib.cpp:414
#10 0x082ef059 in QEventLoop::processEvents (this=0xb4e28290, flags=) at kernel/qeventloop.cpp:149
#11 0x082ef4aa in QEventLoop::exec (this=0xb4e28290, flags=...) at kernel/qeventloop.cpp:201
#12 0x081eb5a8 in QThread::exec (this=0x894e170) at thread/qthread.cpp:487
#13 0x082cec1b in QInotifyFileSystemWatcherEngine::run (this=0x894e170) at io/qfilesystemwatcher_inotify.cpp:248
#14 0x081ee32e in QThreadPrivate::start (arg=0x894e170) at thread/qthread_unix.cpp:248
#15 0x00b4d96e in start_thread () from /lib/tls/i686/cmov/libpthread.so.0
#16 0x00abba4e in clone () from /lib/tls/i686/cmov/libc.so.6

Thread 1 (Thread 0xb7804710 (LWP 19981)):
[KCrash Handler]
#6  QString::toUtf8 (this=0xbfc79fdc) at tools/qstring.cpp:3531
#7  0x0080ab8d in KConfigBase::group (this=0xbfc79ee8, str=...) at ../../kdecore/config/kconfigbase.cpp:51
#8  0x01ca1779 in AutomounterSettings::deviceSettings (udi=...) at ../../../solid-device-automounter/lib/AutomounterSettings.cpp:27
#9  0x01ca17cf in AutomounterSettings::getDeviceIcon (udi=...) at ../../../solid-device-automounter/lib/AutomounterSettings.cpp:125
#10 0x01c9d7d5 in DeviceModel::data (this=0x883f750, index=..., role=1) at ../../../solid-device-automounter/kcm/DeviceModel.cpp:236
#11 0x014310b2 in QModelIndex::data (this=0x8841eb0, option=0xbfc7a1b4, index=...) at ../../include/QtCore/../../src/corelib/kernel/qabstractitemmodel.h:398
#12 QStyledItemDelegate::initStyleOption (this=0x8841eb0, option=0xbfc7a1b4, index=...) at itemviews/qstyleditemdelegate.cpp:340
#13 0x0143262b in QStyledItemDelegate::sizeHint (this=0x8841eb0, option=..., index=...) at itemviews/qstyleditemdelegate.cpp:445
#14 0x013c0f99 in QTreeView::sizeHintForColumn (this=0x898b120, column=0) at itemviews/qtreeview.cpp:2796
#15 0x013b81e2 in QTreeView::resizeColumnToContents (this=0x898b120, column=0) at itemviews/qtreeview.cpp:2589
#16 0x01c9902a in DeviceAutomounterKCM::loadLayout (this=0x898ca58) at ../../../solid-device-automounter/kcm/DeviceAutomounterKCM.cpp:217
#17 0x00761277 in KCModuleProxy::load (this=0x897b850) at ../../kutils/kcmoduleproxy.cpp:269
#18 0x00c99420 in ModuleView::moduleLoad (this=0x8842eb8) at ../../../systemsettings/core/ModuleView.cpp:310
#19 0x00c9c893 in ModuleView::qt_metacall (this=0x8842eb8, _c=QMetaObject::InvokeMetaMethod, _id=4, _a=0xbfc7a648) at ./ModuleView.moc:94
#20 0x082f5c9a in QMetaObject::metacall (object=0x8842eb8, cl=QMetaObject::InvokeMetaMethod, idx=31, argv=0xbfc7a648) at kernel/qmetaobject.cpp:237
#21 0x083043d5 in QMetaObject::activate (sender=0x87fec40, m=0x17128c4, local_signal_index=2, argv=0xbfc7a648) at kernel/qobject.cpp:3293
#22 0x01502479 in QAbstractButton::clicked (this=0x87fec40, _t1=false) at .moc/release-shared/moc_qabstractbutton.cpp:206
#23 0x011e1ea9 in QAbstractButtonPrivate::emitClicked (this=0x884be20) at widgets/qabstractbutton.cpp:546
#24 0x011e2cf4 in QAbstractButtonPrivate::click (this=0x884be20) at widgets/qabstractbutton.cpp:539
#25 0x011e2fae in QAbstractButton::mouseReleaseEvent (this=0x87fec40, e=0xbfc7ad80) at widgets/qabstractbutton.cpp:1121
#26 0x00e357f8 in QWidget::event (this=0x87fec40, event=0xbfc7ad80) at kernel/qwidget.cpp:7998
#27 0x011e1d4e in QAbstractButton::event (this=0x87fec40, e=0x20) at widgets/qabstractbutton.cpp:1080
#28 0x0128c1f2 in QPushButton::event (this=0x87fec40, e=0xbfc7ad80) at widgets/qpushbutton.cpp:679
#29 0x00dd74dc in QApplicationPrivate::notify_helper (this=0x85d9a48, receiver=0x87fec40, e=0xbfc7ad80) at kernel/qapplication.cpp:4300
#30 0x00dde9f7 in QApplication::notify (this=0xbfc7b63c, receiver=0x87fec40, e=0xbfc7ad80) at kernel/qapplication.cpp:3865
#31 0x0049940a in KApplication::notify (this=0xbfc7b63c, receiver=0x87fec40, event=0xbfc7ad80) at ../../kdeui/kernel/kapplication.cpp:302
#32 0x082f0a3b in QCoreApplication::notifyInternal (this=0xbfc7b63c, receiver=0x87fec40, event=0xbfc7ad80) at kernel/qcoreapplication.cpp:704
#33 0x00ddd952 in QCoreApplication::sendEvent (receiver=0x87fec40, event=0xbfc7ad80, alienWidget=0x87fec40, nativeWidget=0x8617bd8, buttonDown=0x171b058, lastMouseReceiver=..., spontaneous=true)
    at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215
#34 QApplicationPrivate::sendMouseEvent (receiver=0x87fec40, event=0xbfc7ad80, alienWidget=0x87fec40, nativeWidget=0x8617bd8, buttonDown=0x171b058, lastMouseReceiver=..., spontaneous=true)
    at kernel/qapplication.cpp:2965
#35 0x00e69088 in QETWidget::translateMouseEvent (this=0x8617bd8, event=0xbfc7b29c) at kernel/qapplication_x11.cpp:4368
#36 0x00e68511 in QApplication::x11ProcessEvent (this=0xbfc7b63c, event=0xbfc7b29c) at kernel/qapplication_x11.cpp:3379
#37 0x00e9760a in x11EventSourceDispatch (s=0x85d1700, callback=0, user_data=0x0) at kernel/qguieventdispatcher_glib.cpp:146
#38 0x017595e5 in g_main_context_dispatch () from /lib/libglib-2.0.so.0
#39 0x0175d2d8 in ?? () from /lib/libglib-2.0.so.0
#40 0x0175d4b8 in g_main_context_iteration () from /lib/libglib-2.0.so.0
#41 0x0831c5d5 in QEventDispatcherGlib::processEvents (this=0x85ac9c0, flags=...) at kernel/qeventdispatcher_glib.cpp:412
#42 0x00e97135 in QGuiEventDispatcherGlib::processEvents (this=0x85ac9c0, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#43 0x082ef059 in QEventLoop::processEvents (this=0xbfc7b594, flags=) at kernel/qeventloop.cpp:149
#44 0x082ef4aa in QEventLoop::exec (this=0xbfc7b594, flags=...) at kernel/qeventloop.cpp:201
#45 0x082f369f in QCoreApplication::exec () at kernel/qcoreapplication.cpp:981
#46 0x00dd7577 in QApplication::exec () at kernel/qapplication.cpp:3579
#47 0x08056b5e in main (argc=5, argv=0xbfc7b784) at ../../../systemsettings/app/main.cpp:49

This bug may be a duplicate of or related to bug 227883.

Possible duplicates by query: bug 246214, bug 235524.

Reported using DrKonqi
Comment 1 Christoph Feck 2011-04-29 18:38:19 UTC
Fixed in KDE 4.5 and 4.6.

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