Bug 278249

Summary: System settings and clock/NTP crash
Product: [Applications] systemsettings Reporter: tulan.kansen
Component: generalAssignee: System Settings Bugs <sourtooth+ssbugs>
Status: RESOLVED DUPLICATE    
Severity: crash    
Priority: NOR    
Version: 1.0   
Target Milestone: ---   
Platform: Ubuntu   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description tulan.kansen 2011-07-22 08:19:38 UTC
Application: systemsettings (1.0)
KDE Platform Version: 4.6.2 (4.6.2)
Qt Version: 4.7.2
Operating System: Linux 2.6.38-10-generic-pae i686
Distribution: Ubuntu 11.04

-- Information about the crash:
On kubuntu 11.04 with last updates, in "System Settings/Date & Time", if I choose a non functionning NTP server, apply and go back (and confirm in popup)  before the end of the process, I receive an error "Unable to authenticate / execute action : 6,", followed by a crash.

The crash can be reproduced every time.

-- Backtrace:
Application: Configuration du système (systemsettings), signal: Segmentation fault
[Current thread is 1 (Thread 0xb598c710 (LWP 17436))]

Thread 3 (Thread 0xb0d3bb70 (LWP 17437)):
#0  0xb5a77d41 in clock_gettime () from /lib/i386-linux-gnu/librt.so.1
#1  0xb6474dd8 in do_gettime () at tools/qelapsedtimer_unix.cpp:123
#2  qt_gettime () at tools/qelapsedtimer_unix.cpp:140
#3  0xb65414f2 in updateCurrentTime (this=0x9751234, tm=...) at kernel/qeventdispatcher_unix.cpp:339
#4  QTimerInfoList::timerWait (this=0x9751234, tm=...) at kernel/qeventdispatcher_unix.cpp:442
#5  0xb653fd32 in timerSourcePrepareHelper (src=<value optimized out>, timeout=0xb0d3b0dc) at kernel/qeventdispatcher_glib.cpp:136
#6  0xb653fdcd in timerSourcePrepare (source=0x9751200, timeout=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:169
#7  0xb5c5cfd4 in g_main_context_prepare () from /lib/i386-linux-gnu/libglib-2.0.so.0
#8  0xb5c5de63 in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0
#9  0xb5c5e524 in g_main_context_iteration () from /lib/i386-linux-gnu/libglib-2.0.so.0
#10 0xb6540577 in QEventDispatcherGlib::processEvents (this=0x95bb640, flags=...) at kernel/qeventdispatcher_glib.cpp:424
#11 0xb6512289 in QEventLoop::processEvents (this=0xb0d3b290, flags=...) at kernel/qeventloop.cpp:149
#12 0xb6512522 in QEventLoop::exec (this=0xb0d3b290, flags=...) at kernel/qeventloop.cpp:201
#13 0xb641c2a0 in QThread::exec (this=0x9747a00) at thread/qthread.cpp:492
#14 0xb64f3fdb in QInotifyFileSystemWatcherEngine::run (this=0x9747a00) at io/qfilesystemwatcher_inotify.cpp:248
#15 0xb641eda2 in QThreadPrivate::start (arg=0x9747a00) at thread/qthread_unix.cpp:320
#16 0xb5d11e99 in start_thread () from /lib/i386-linux-gnu/libpthread.so.0
#17 0xb624173e in clone () from /lib/i386-linux-gnu/libc.so.6

Thread 2 (Thread 0xabed3b70 (LWP 17438)):
#0  0xb624f5e5 in pthread_mutex_lock () from /lib/i386-linux-gnu/libc.so.6
#1  0xb5c5c802 in g_main_context_release () from /lib/i386-linux-gnu/libglib-2.0.so.0
#2  0xb5c5e04f in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0
#3  0xb5c5e92b in g_main_loop_run () from /lib/i386-linux-gnu/libglib-2.0.so.0
#4  0xac79a304 in ?? () from /usr/lib/i386-linux-gnu/libgio-2.0.so.0
#5  0xb5c872df in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0
#6  0xb5d11e99 in start_thread () from /lib/i386-linux-gnu/libpthread.so.0
#7  0xb624173e in clone () from /lib/i386-linux-gnu/libc.so.6

Thread 1 (Thread 0xb598c710 (LWP 17436)):
[KCrash Handler]
#7  0xb6468574 in length (s=<value optimized out>, d=..., field_width=0, arg=..., larg=..., fillChar=...) at ../../include/QtCore/../../src/corelib/tools/qstring.h:700
#8  replaceArgEscapes (s=<value optimized out>, d=..., field_width=0, arg=..., larg=..., fillChar=...) at tools/qstring.cpp:6367
#9  0xb6468948 in QString::arg (this=0xbfbba7dc, a=..., fieldWidth=0, fillChar=...) at tools/qstring.cpp:6487
#10 0xb6898303 in KLocalizedString::subs (this=0xbfbba844, a=..., fieldWidth=0, fillChar=...) at ../../kdecore/localization/klocalizedstring.cpp:908
#11 0xb29aa21d in i18n<QString> (this=0x80, code=4) at /usr/include/klocalizedstring.h:645
#12 Dtime::processHelperErrors (this=0x80, code=4) at ../../../kcontrol/dateandtime/dtime.cpp:275
#13 0xb29af293 in KclockModule::save (this=0x95d2320) at ../../../kcontrol/dateandtime/main.cpp:100
#14 0xb779292a in KCModuleProxy::save (this=0x961cae0) at ../../kutils/kcmoduleproxy.cpp:279
#15 0xb77702e3 in ModuleView::moduleSave (this=0x95d3570, module=0x961cae0) at ../../../systemsettings/core/ModuleView.cpp:318
#16 0xb7770615 in ModuleView::moduleSave (this=0x95d3570) at ../../../systemsettings/core/ModuleView.cpp:309
#17 0xb7772a23 in ModuleView::qt_metacall (this=0x95d3570, _c=QMetaObject::InvokeMetaMethod, _id=5, _a=0xbfbbaaa8) at ./ModuleView.moc:95
#18 0xb65196ba in QMetaObject::metacall (object=0x95d3570, cl=QMetaObject::InvokeMetaMethod, idx=32, argv=0xbfbbaaa8) at kernel/qmetaobject.cpp:237
#19 0xb65294ff in QMetaObject::activate (sender=0x95d9b18, m=0xb775778c, local_signal_index=0, argv=0xbfbbaaa8) at kernel/qobject.cpp:3287
#20 0xb7685fd3 in KPushButton::authorized (this=0x95d9b18, _t1=0x99dd720) at ./kpushbutton.moc:129
#21 0xb768604e in KPushButton::KPushButtonPrivate::slotClickedInternal (this=0x95da888) at ../../kdeui/widgets/kpushbutton.cpp:102
#22 0xb768617e in KPushButton::qt_metacall (this=0x95d9b18, _c=QMetaObject::InvokeMetaMethod, _id=3, _a=0xbfbbabe8) at ./kpushbutton.moc:88
#23 0xb65196ba in QMetaObject::metacall (object=0x95d9b18, cl=QMetaObject::InvokeMetaMethod, idx=44, argv=0xbfbbabe8) at kernel/qmetaobject.cpp:237
#24 0xb65294ff in QMetaObject::activate (sender=0x95d9b18, m=0xb73ac884, local_signal_index=2, argv=0xbfbbabe8) at kernel/qobject.cpp:3287
#25 0xb71527c9 in QAbstractButton::clicked (this=0x95d9b18, _t1=false) at .moc/release-shared/moc_qabstractbutton.cpp:206
#26 0xb6e6a326 in QAbstractButtonPrivate::emitClicked (this=0x95db610) at widgets/qabstractbutton.cpp:546
#27 0xb6e6bb94 in QAbstractButtonPrivate::click (this=0x95db610) at widgets/qabstractbutton.cpp:539
#28 0xb6e6be4e in QAbstractButton::mouseReleaseEvent (this=0x95d9b18, e=0xbfbbb344) at widgets/qabstractbutton.cpp:1121
#29 0xb6abf13a in QWidget::event (this=0x95d9b18, event=0xbfbbb344) at kernel/qwidget.cpp:8259
#30 0xb6e6ae9e in QAbstractButton::event (this=0x95d9b18, e=0xbfbbb344) at widgets/qabstractbutton.cpp:1080
#31 0xb6f08c52 in QPushButton::event (this=0x95d9b18, e=0xbfbbb344) at widgets/qpushbutton.cpp:683
#32 0xb6a66d24 in QApplicationPrivate::notify_helper (this=0x9342c48, receiver=0x95d9b18, e=0xbfbbb344) at kernel/qapplication.cpp:4462
#33 0xb6a6c201 in QApplication::notify (this=0xbfbbbbdc, receiver=0x95d9b18, e=0xbfbbb344) at kernel/qapplication.cpp:4023
#34 0xb759a3ca in KApplication::notify (this=0xbfbbbbdc, receiver=0x95d9b18, event=0xbfbbb344) at ../../kdeui/kernel/kapplication.cpp:311
#35 0xb65130bb in QCoreApplication::notifyInternal (this=0xbfbbbbdc, receiver=0x95d9b18, event=0xbfbbb344) at kernel/qcoreapplication.cpp:731
#36 0xb6a67c3b in sendSpontaneousEvent (receiver=0x95d9b18, event=0xbfbbb344, alienWidget=0x95d9b18, nativeWidget=0x93be8b0, buttonDown=0xb73b5c60, lastMouseReceiver=..., spontaneous=true) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:218
#37 QApplicationPrivate::sendMouseEvent (receiver=0x95d9b18, event=0xbfbbb344, alienWidget=0x95d9b18, nativeWidget=0x93be8b0, buttonDown=0xb73b5c60, lastMouseReceiver=..., spontaneous=true) at kernel/qapplication.cpp:3120
#38 0xb6af304c in QETWidget::translateMouseEvent (this=0x93be8b0, event=0xbfbbb86c) at kernel/qapplication_x11.cpp:4558
#39 0xb6af19b5 in QApplication::x11ProcessEvent (this=0xbfbbbbdc, event=0xbfbbb86c) at kernel/qapplication_x11.cpp:3680
#40 0xb6b1d5f4 in x11EventSourceDispatch (s=0x9345d00, callback=0, user_data=0x0) at kernel/qguieventdispatcher_glib.cpp:146
#41 0xb5c5daa8 in g_main_context_dispatch () from /lib/i386-linux-gnu/libglib-2.0.so.0
#42 0xb5c5e270 in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0
#43 0xb5c5e524 in g_main_context_iteration () from /lib/i386-linux-gnu/libglib-2.0.so.0
#44 0xb654053c in QEventDispatcherGlib::processEvents (this=0x9308428, flags=...) at kernel/qeventdispatcher_glib.cpp:422
#45 0xb6b1d1e5 in QGuiEventDispatcherGlib::processEvents (this=0x9308428, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#46 0xb6512289 in QEventLoop::processEvents (this=0xbfbbbb34, flags=...) at kernel/qeventloop.cpp:149
#47 0xb6512522 in QEventLoop::exec (this=0xbfbbbb34, flags=...) at kernel/qeventloop.cpp:201
#48 0xb6516ecc in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1008
#49 0xb6a648e7 in QApplication::exec () at kernel/qapplication.cpp:3736
#50 0x080570de in main (argc=) at ../../../systemsettings/app/main.cpp:49

Possible duplicates by query: bug 274737.

Reported using DrKonqi
Comment 1 Christoph Feck 2011-07-22 11:46:23 UTC

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