Bug 285652

Summary: Failure to set date/time
Product: [Applications] systemsettings Reporter: Andrew <xenon.sailor>
Component: generalAssignee: System Settings Bugs <sourtooth+ssbugs>
Status: RESOLVED DUPLICATE    
Severity: crash CC: 4r7h3157
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Ubuntu   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:
Attachments: New crash information added by DrKonqi

Description Andrew 2011-11-03 13:31:15 UTC
Application: kcmshell4 ()
KDE Platform Version: 4.7.2 (4.7.2)
Qt Version: 4.7.4
Operating System: Linux 3.0.0-12-generic i686
Distribution: Ubuntu 11.10

-- Information about the crash:
- What I was doing when the application crashed: tried to reset the time ( right click on time > opens "adjust date and time"), selected time zone, screen greyed out, then app closed. Opened again and set OK, but the time is still an hour slow!

-- Backtrace:
Application: KDE Control Module (kcmshell4), signal: Segmentation fault
[Current thread is 1 (Thread 0xb77d8980 (LWP 2051))]

Thread 3 (Thread 0xb47ffb70 (LWP 2052)):
#0  0x0094a416 in __kernel_vsyscall ()
#1  0x00c5340e in poll () from /lib/i386-linux-gnu/libc.so.6
#2  0x053d634b in g_poll () from /lib/i386-linux-gnu/libglib-2.0.so.0
#3  0x053c7896 in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0
#4  0x053c7f9b in g_main_loop_run () from /lib/i386-linux-gnu/libglib-2.0.so.0
#5  0x05577cea in ?? () from /usr/lib/i386-linux-gnu/libgio-2.0.so.0
#6  0x053ee5f4 in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0
#7  0x007c1d31 in start_thread () from /lib/i386-linux-gnu/libpthread.so.0
#8  0x00c620ce in clone () from /lib/i386-linux-gnu/libc.so.6
Backtrace stopped: Not enough registers or memory available to unwind further

Thread 2 (Thread 0xadf6db70 (LWP 2053)):
#0  0x00ad7d10 in clock_gettime () from /lib/i386-linux-gnu/librt.so.1
#1  0x024f87d5 in do_gettime (frac=0xadf6d020, sec=0xadf6d018) at tools/qelapsedtimer_unix.cpp:123
#2  qt_gettime () at tools/qelapsedtimer_unix.cpp:140
#3  0x025cb4b6 in QTimerInfoList::updateCurrentTime (this=0xb3e0074c) at kernel/qeventdispatcher_unix.cpp:339
#4  0x025cb80a in QTimerInfoList::timerWait (this=0xb3e0074c, tm=...) at kernel/qeventdispatcher_unix.cpp:442
#5  0x025ca053 in timerSourcePrepareHelper (src=<optimized out>, timeout=0xadf6d12c) at kernel/qeventdispatcher_glib.cpp:136
#6  0x025ca0ed in timerSourcePrepare (source=0xb3e00718, timeout=<optimized out>) at kernel/qeventdispatcher_glib.cpp:169
#7  0x053c688c in g_main_context_prepare () from /lib/i386-linux-gnu/libglib-2.0.so.0
#8  0x053c7637 in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0
#9  0x053c7c2a in g_main_context_iteration () from /lib/i386-linux-gnu/libglib-2.0.so.0
#10 0x025cab37 in QEventDispatcherGlib::processEvents (this=0x8665130, flags=...) at kernel/qeventdispatcher_glib.cpp:424
#11 0x0259b1dd in QEventLoop::processEvents (this=0xadf6d2b0, flags=...) at kernel/qeventloop.cpp:149
#12 0x0259b421 in QEventLoop::exec (this=0xadf6d2b0, flags=...) at kernel/qeventloop.cpp:201
#13 0x0249e90b in QThread::exec (this=0x8b05e08) at thread/qthread.cpp:498
#14 0x0257be2d in QInotifyFileSystemWatcherEngine::run (this=0x8b05e08) at io/qfilesystemwatcher_inotify.cpp:248
#15 0x024a17b3 in QThreadPrivate::start (arg=0x8b05e08) at thread/qthread_unix.cpp:331
#16 0x007c1d31 in start_thread () from /lib/i386-linux-gnu/libpthread.so.0
#17 0x00c620ce in clone () from /lib/i386-linux-gnu/libc.so.6
Backtrace stopped: Not enough registers or memory available to unwind further

Thread 1 (Thread 0xb77d8980 (LWP 2051)):
[KCrash Handler]
#7  length (this=0x94) at ../../include/QtCore/../../src/corelib/tools/qstring.h:700
#8  replaceArgEscapes (s=<optimized out>, d=..., field_width=0, arg=..., larg=..., fillChar=...) at tools/qstring.cpp:6367
#9  0x024ec49b in QString::arg (this=0xbfbc13f8, a=..., fieldWidth=0, fillChar=...) at tools/qstring.cpp:6487
#10 0x004ce266 in KLocalizedString::subs (this=0xbfbc1478, a=..., fieldWidth=0, fillChar=...) at ../../kdecore/localization/klocalizedstring.cpp:908
#11 0x062eb416 in i18n<QString> (a1=..., text=0x62f21ac "Unable to contact time server: %1.") at /usr/include/klocalizedstring.h:645
#12 Dtime::processHelperErrors (this=0x0, code=4) at ../../../kcontrol/dateandtime/dtime.cpp:275
#13 0x062f0ddf in KclockModule::save (this=0x866e610) at ../../../kcontrol/dateandtime/main.cpp:100
#14 0x001d86ea in KCModuleProxy::save (this=0x85149d8) at ../../kutils/kcmoduleproxy.cpp:279
#15 0x001d4fd8 in KCMultiDialogPrivate::apply (this=0x8514468) at ../../kutils/kcmultidialog.cpp:300
#16 0x001d635c in KCMultiDialog::qt_metacall (this=0x84dee28, _c=QMetaObject::InvokeMetaMethod, _id=<optimized out>, _a=0xbfbc1718) at ./kcmultidialog.moc:95
#17 0x005d8fa2 in KCMShellMultiDialog::qt_metacall (this=0x84dee28, _c=QMetaObject::InvokeMetaMethod, _id=79, _a=0xbfbc1718) at ./main.moc:130
#18 0x025a2b7d in metacall (argv=0xbfbc1718, idx=79, cl=QMetaObject::InvokeMetaMethod, object=0x84dee28) at kernel/qmetaobject.cpp:237
#19 QMetaObject::metacall (object=0x84dee28, cl=QMetaObject::InvokeMetaMethod, idx=79, argv=0xbfbc1718) at kernel/qmetaobject.cpp:232
#20 0x025b1a6a in QMetaObject::activate (sender=0x85161b0, m=0x113c610, local_signal_index=0, argv=0xbfbc1718) at kernel/qobject.cpp:3278
#21 0x00fe1e25 in KPushButton::authorized (this=0x85161b0, _t1=0x87a0fc8) at ./kpushbutton.moc:129
#22 0x00fe1ea6 in KPushButton::KPushButtonPrivate::slotClickedInternal (this=0x8540368) at ../../kdeui/widgets/kpushbutton.cpp:102
#23 0x00fe1fcb in KPushButton::qt_metacall (this=0x85161b0, _c=QMetaObject::InvokeMetaMethod, _id=3, _a=0xbfbc1858) at ./kpushbutton.moc:88
#24 0x025a2b7d in metacall (argv=0xbfbc1858, idx=44, cl=QMetaObject::InvokeMetaMethod, object=0x85161b0) at kernel/qmetaobject.cpp:237
#25 QMetaObject::metacall (object=0x85161b0, cl=QMetaObject::InvokeMetaMethod, idx=44, argv=0xbfbc1858) at kernel/qmetaobject.cpp:232
#26 0x025b1a6a in QMetaObject::activate (sender=0x85161b0, m=0x1bf8a28, local_signal_index=2, argv=0xbfbc1858) at kernel/qobject.cpp:3278
#27 0x019b1e1d in QAbstractButton::clicked (this=0x85161b0, _t1=false) at .moc/release-shared/moc_qabstractbutton.cpp:206
#28 0x016b058d in QAbstractButtonPrivate::emitClicked (this=0x85428d0) at widgets/qabstractbutton.cpp:546
#29 0x016b1bfb in QAbstractButtonPrivate::click (this=0x85428d0) at widgets/qabstractbutton.cpp:539
#30 0x016b1eb6 in QAbstractButton::mouseReleaseEvent (this=0x85161b0, e=0xbfbc1e0c) at widgets/qabstractbutton.cpp:1121
#31 0x012f6f98 in QWidget::event (this=0x85161b0, event=0xbfbc1e0c) at kernel/qwidget.cpp:8295
#32 0x016b1159 in QAbstractButton::event (this=0x85161b0, e=0xbfbc1e0c) at widgets/qabstractbutton.cpp:1080
#33 0x01753798 in QPushButton::event (this=0x85161b0, e=0xbfbc1e0c) at widgets/qpushbutton.cpp:683
#34 0x0129cd54 in notify_helper (e=0xbfbc1e0c, receiver=0x85161b0, this=0x841b158) at kernel/qapplication.cpp:4486
#35 QApplicationPrivate::notify_helper (this=0x841b158, receiver=0x85161b0, e=0xbfbc1e0c) at kernel/qapplication.cpp:4458
#36 0x012a2dbb in QApplication::notify (this=0x841b158, receiver=0x85161b0, e=0xbfbc1e0c) at kernel/qapplication.cpp:4047
#37 0x00ef3681 in KApplication::notify (this=0xbfbc2628, receiver=0x85161b0, event=0xbfbc1e0c) at ../../kdeui/kernel/kapplication.cpp:311
#38 0x0259c19e in QCoreApplication::notifyInternal (this=0xbfbc2628, receiver=0x85161b0, event=0xbfbc1e0c) at kernel/qcoreapplication.cpp:787
#39 0x0129dd15 in sendEvent (event=<optimized out>, receiver=<optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215
#40 QApplicationPrivate::sendMouseEvent (receiver=0x85161b0, event=0xbfbc1e0c, alienWidget=0x85161b0, nativeWidget=0x84dee28, buttonDown=0x1c07eb4, lastMouseReceiver=..., spontaneous=true) at kernel/qapplication.cpp:3146
#41 0x0132a2c4 in QETWidget::translateMouseEvent (this=0x84dee28, event=0xbfbc228c) at kernel/qapplication_x11.cpp:4568
#42 0x01328e4d in QApplication::x11ProcessEvent (this=0xbfbc2628, event=0xbfbc228c) at kernel/qapplication_x11.cpp:3690
#43 0x0135524c in x11EventSourceDispatch (s=0x841a680, callback=0, user_data=0x0) at kernel/qguieventdispatcher_glib.cpp:146
#44 0x053c725f in g_main_context_dispatch () from /lib/i386-linux-gnu/libglib-2.0.so.0
#45 0x053c7990 in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0
#46 0x053c7c2a in g_main_context_iteration () from /lib/i386-linux-gnu/libglib-2.0.so.0
#47 0x025caada in QEventDispatcherGlib::processEvents (this=0x84029d0, flags=...) at kernel/qeventdispatcher_glib.cpp:422
#48 0x01354e3a in QGuiEventDispatcherGlib::processEvents (this=0x84029d0, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#49 0x0259b1dd in QEventLoop::processEvents (this=0xbfbc2590, flags=...) at kernel/qeventloop.cpp:149
#50 0x0259b421 in QEventLoop::exec (this=0xbfbc2590, flags=...) at kernel/qeventloop.cpp:201
#51 0x017d47c9 in QDialog::exec (this=0x84dee28) at dialogs/qdialog.cpp:552
#52 0x005dba89 in kdemain (_argc=2, _argv=0xbfbc28c4) at ../../kcmshell/main.cpp:292
#53 0x0804850b in main (argc=2, argv=0xbfbc28c4) at kcmshell4_dummy.cpp:3

Possible duplicates by query: bug 278249, bug 274737.

Reported using DrKonqi
Comment 1 Christoph Feck 2011-11-04 00:23:20 UTC

*** This bug has been marked as a duplicate of bug 284724 ***
Comment 2 Art Heist 2012-03-01 20:34:34 UTC
Created attachment 69226 [details]
New crash information added by DrKonqi

kcmshell4 () on KDE Platform 4.7.4 (4.7.4) using Qt 4.7.4

- Custom settings of the application:
The time displayed on my kde bottom bar is not right during day time (set at UTC) but then switch to local time around 8 pm local.
Changing the time does not solve the problem, and ticking the box to set it automatically provoke the crash reported here.

-- Backtrace (Reduced):
#6  length (this=<optimized out>) at ../../include/QtCore/../../src/corelib/tools/qstring.h:700
#7  replaceArgEscapes (s=<optimized out>, d=..., field_width=0, arg=..., larg=..., fillChar=...) at tools/qstring.cpp:6367
#8  0x00007fc690e5f4dd in QString::arg (this=0x7fff1e0c7490, a=..., fieldWidth=0, fillChar=...) at tools/qstring.cpp:6487
#9  0x00007fc69169169b in KLocalizedString::subs (this=<optimized out>, a=..., fieldWidth=0, fillChar=<optimized out>) at ../../kdecore/localization/klocalizedstring.cpp:908
#10 0x00007fc68321f908 in i18n<QString> (a1=..., text=0x7fc683225a58 "Unable to contact time server: %1.") at /usr/include/klocalizedstring.h:645