Bug 321215

Summary: Clock crashing when setting to get time from time server
Product: [Applications] systemsettings Reporter: Marcel Molendijk <bot1968>
Component: generalAssignee: Unassigned bugs mailing-list <unassigned-bugs>
Status: RESOLVED DUPLICATE    
Severity: crash CC: aloys_4, javier_garcia112
Priority: NOR    
Version: 4.10.3   
Target Milestone: ---   
Platform: Ubuntu   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:
Attachments: New crash information added by DrKonqi

Description Marcel Molendijk 2013-06-16 07:51:18 UTC
Application: kcmshell4 (4.10.3)
KDE Platform Version: 4.10.3
Qt Version: 4.8.4
Operating System: Linux 3.8.0-25-generic x86_64
Distribution: Ubuntu 13.04

-- Information about the crash:
- What I was doing when the application crashed:
This happens when I try to set the clock to get the time automatically from any time server. I guess it is related to the iMac where Kubuntu is installed on, since it did not happen in the years before, when I used an Intel laptop for Kubuntu. Also setting the timezone does not get any desired result (display the right time it does not). When I set the time manually, it is wrong again after reboot.

The crash can be reproduced every time.

-- Backtrace:
Application: KDE Configuratiemodule (kcmshell4), signal: Segmentation fault
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
[Current thread is 1 (Thread 0x7fd1038c47c0 (LWP 10941))]

Thread 3 (Thread 0x7fd0e7af0700 (LWP 10942)):
#0  0x00007fd1031ed3cd in poll () at ../sysdeps/unix/syscall-template.S:81
#1  0x00007fd0fde0a1dc in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007fd0fde0a6ba in g_main_loop_run () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007fd0e7de04f6 in ?? () from /usr/lib/x86_64-linux-gnu/libgio-2.0.so.0
#4  0x00007fd0fde2deb5 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#5  0x00007fd0fe926f8e in start_thread (arg=0x7fd0e7af0700) at pthread_create.c:311
#6  0x00007fd1031f9e1d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:113

Thread 2 (Thread 0x7fd0e6486700 (LWP 10943)):
#0  __pthread_mutex_unlock_usercnt (mutex=0x7fd0d4000a60, decr=1) at pthread_mutex_unlock.c:69
#1  0x00007fd0fde495f1 in g_mutex_unlock () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007fd0fde098f3 in g_main_context_prepare () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007fd0fde0a0fe in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#4  0x00007fd0fde0a304 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#5  0x00007fd101e11036 in QEventDispatcherGlib::processEvents (this=0x7fd0d40008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:426
#6  0x00007fd101de138f in QEventLoop::processEvents (this=this@entry=0x7fd0e6485d90, flags=...) at kernel/qeventloop.cpp:149
#7  0x00007fd101de1618 in QEventLoop::exec (this=this@entry=0x7fd0e6485d90, flags=...) at kernel/qeventloop.cpp:204
#8  0x00007fd101ce3410 in QThread::exec (this=this@entry=0x14e41f0) at thread/qthread.cpp:542
#9  0x00007fd101dc2edf in QInotifyFileSystemWatcherEngine::run (this=0x14e41f0) at io/qfilesystemwatcher_inotify.cpp:256
#10 0x00007fd101ce5bec in QThreadPrivate::start (arg=0x14e41f0) at thread/qthread_unix.cpp:338
#11 0x00007fd0fe926f8e in start_thread (arg=0x7fd0e6486700) at pthread_create.c:311
#12 0x00007fd1031f9e1d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:113

Thread 1 (Thread 0x7fd1038c47c0 (LWP 10941)):
[KCrash Handler]
#6  0x00007fd10213f920 in QString::shared_null () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#7  0x00007fd101dfa6a3 in QObject::connect (sender=sender@entry=0x15c4dc0, signal=0x7fd101ebe11d "timeout()", signal@entry=0x7fd101ebe11c "2timeout()", receiver=receiver@entry=0x1251130, method=0x7fd0f2523e7c "load()", method@entry=0x7fd0f2523e7b "1load()", type=Qt::AutoConnection, type@entry=Qt::AutoCompatConnection) at kernel/qobject.cpp:2587
#8  0x00007fd101dffe1a in QSingleShotTimer::QSingleShotTimer (this=0x15c4dc0, msec=5000, receiver=0x1251130, member=0x7fd0f2523e7b "1load()") at kernel/qtimer.cpp:300
#9  0x00007fd101dfff66 in QTimer::singleShot (msec=5000, receiver=0x1251130, member=0x7fd0f2523e7b "1load()") at kernel/qtimer.cpp:363
#10 0x00007fd0f25224b6 in ?? () from /usr/lib/kde4/kcm_clock.so
#11 0x00007fd102ee2807 in KCModuleProxy::save (this=<optimized out>) at ../../kutils/kcmoduleproxy.cpp:279
#12 0x00007fd102edeb60 in KCMultiDialogPrivate::apply (this=<optimized out>) at ../../kutils/kcmultidialog.cpp:300
#13 0x00007fd102edec67 in KCMultiDialog::slotOkClicked (this=0x108d100) at ../../kutils/kcmultidialog.cpp:334
#14 0x00007fd101df70ef in QMetaObject::activate (sender=0x1097460, m=m@entry=0x7fd102eb1820 <KPushButton::staticMetaObject>, local_signal_index=local_signal_index@entry=0, argv=argv@entry=0x7fff9f457970) at kernel/qobject.cpp:3539
#15 0x00007fd102b69a5f in KPushButton::authorized (this=<optimized out>, _t1=0x134d1a0) at ./kpushbutton.moc:143
#16 0x00007fd101df70ef in QMetaObject::activate (sender=sender@entry=0x1097460, m=m@entry=0x7fd101c53ca0 <QAbstractButton::staticMetaObject>, local_signal_index=local_signal_index@entry=2, argv=argv@entry=0x7fff9f457ac0) at kernel/qobject.cpp:3539
#17 0x00007fd1017f3c82 in QAbstractButton::clicked (this=this@entry=0x1097460, _t1=false) at .moc/release-shared/moc_qabstractbutton.cpp:220
#18 0x00007fd10154723e in QAbstractButtonPrivate::emitClicked (this=this@entry=0x1098550) at widgets/qabstractbutton.cpp:548
#19 0x00007fd101547a30 in QAbstractButtonPrivate::click (this=this@entry=0x1098550) at widgets/qabstractbutton.cpp:541
#20 0x00007fd101547c9c in QAbstractButton::mouseReleaseEvent (this=0x1097460, e=0x7fff9f458360) at widgets/qabstractbutton.cpp:1123
#21 0x00007fd1011d5a89 in QWidget::event (this=0x1097460, event=0x7fff9f458360) at kernel/qwidget.cpp:8375
#22 0x00007fd1011888ec in QApplicationPrivate::notify_helper (this=this@entry=0xeb0c40, receiver=receiver@entry=0x1097460, e=e@entry=0x7fff9f458360) at kernel/qapplication.cpp:4567
#23 0x00007fd10118ba33 in QApplication::notify (this=this@entry=0x7fff9f459180, receiver=receiver@entry=0x1097460, e=e@entry=0x7fff9f458360) at kernel/qapplication.cpp:4110
#24 0x00007fd102aa6af6 in KApplication::notify (this=0x7fff9f459180, receiver=0x1097460, event=0x7fff9f458360) at ../../kdeui/kernel/kapplication.cpp:311
#25 0x00007fd101de263e in QCoreApplication::notifyInternal (this=0x7fff9f459180, receiver=receiver@entry=0x1097460, event=event@entry=0x7fff9f458360) at kernel/qcoreapplication.cpp:946
#26 0x00007fd10118e933 in sendEvent (event=<optimized out>, receiver=<optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:231
#27 QApplicationPrivate::sendMouseEvent (receiver=receiver@entry=0x1097460, event=event@entry=0x7fff9f458360, alienWidget=alienWidget@entry=0x1097460, nativeWidget=nativeWidget@entry=0x108d100, buttonDown=buttonDown@entry=0x7fd101c66308 <qt_button_down>, lastMouseReceiver=..., spontaneous=spontaneous@entry=true) at kernel/qapplication.cpp:3178
#28 0x00007fd101203ec4 in QETWidget::translateMouseEvent (this=this@entry=0x108d100, event=event@entry=0x7fff9f458ae0) at kernel/qapplication_x11.cpp:4631
#29 0x00007fd101202ef1 in QApplication::x11ProcessEvent (this=0x7fff9f459180, event=event@entry=0x7fff9f458ae0) at kernel/qapplication_x11.cpp:3746
#30 0x00007fd10122e0b2 in x11EventSourceDispatch (s=0xeb3cd0, callback=0x0, user_data=0x0) at kernel/qguieventdispatcher_glib.cpp:146
#31 0x00007fd0fde09f05 in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#32 0x00007fd0fde0a248 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#33 0x00007fd0fde0a304 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#34 0x00007fd101e11036 in QEventDispatcherGlib::processEvents (this=0xe8a610, flags=...) at kernel/qeventdispatcher_glib.cpp:426
#35 0x00007fd10122e1ae in QGuiEventDispatcherGlib::processEvents (this=<optimized out>, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#36 0x00007fd101de138f in QEventLoop::processEvents (this=this@entry=0x7fff9f458ec0, flags=...) at kernel/qeventloop.cpp:149
#37 0x00007fd101de1618 in QEventLoop::exec (this=this@entry=0x7fff9f458ec0, flags=...) at kernel/qeventloop.cpp:204
#38 0x00007fd1016431c8 in QDialog::exec (this=0x108d100) at dialogs/qdialog.cpp:554
#39 0x00007fd1034cfb1c in kdemain () from /usr/lib/kde4/libkdeinit/libkdeinit4_kcmshell4.so
#40 0x00007fd103121ea5 in __libc_start_main (main=0x4006d0, argc=2, ubp_av=0x7fff9f4592b8, init=<optimized out>, fini=<optimized out>, rtld_fini=<optimized out>, stack_end=0x7fff9f4592a8) at libc-start.c:260
#41 0x0000000000400701 in _start ()

Reported using DrKonqi
Comment 1 Jekyll Wu 2013-06-16 13:25:55 UTC

*** This bug has been marked as a duplicate of bug 242648 ***
Comment 2 Christoph Feck 2013-06-18 17:06:30 UTC
*** Bug 321323 has been marked as a duplicate of this bug. ***
Comment 3 aloys 2013-07-02 15:21:13 UTC
Created attachment 80901 [details]
New crash information added by DrKonqi

kcmshell4 (4.10.4) on KDE Platform 4.10.4 using Qt 4.8.4

- Unusual behavior I noticed: everytime I start Mint 15 KDE, my clock is two hours behind. I reset the time in the system settings, but when I restart the computer the time is wrong again. I have reset the time in the Bios, but this is changed again after I start the computer anew. When I try to set the time in system settings to automatic, I get the crash. A popup screen appears with a warning number 6. It is impossible to change this, as it is not allowed.

-- Backtrace (Reduced):
#7  0x00007f065f6b36a3 in QObject::connect (sender=sender@entry=0xcdc4d0, signal=0x7f065f77711d "timeout()", signal@entry=0x7f065f77711c "2timeout()", receiver=receiver@entry=0x992ad0, method=0x7f064fe45e7c "load()", method@entry=0x7f064fe45e7b "1load()", type=Qt::AutoConnection, type@entry=Qt::AutoCompatConnection) at kernel/qobject.cpp:2587
#8  0x00007f065f6b8e1a in QSingleShotTimer::QSingleShotTimer (this=0xcdc4d0, msec=5000, receiver=0x992ad0, member=0x7f064fe45e7b "1load()") at kernel/qtimer.cpp:300
#9  0x00007f065f6b8f66 in QTimer::singleShot (msec=msec@entry=5000, receiver=receiver@entry=0x992ad0, member=member@entry=0x7f064fe45e7b "1load()") at kernel/qtimer.cpp:363
#10 0x00007f064fe444b6 in KclockModule::save (this=0x992ad0) at ../../../kcontrol/dateandtime/main.cpp:113
#11 0x00007f066079b807 in KCModuleProxy::save (this=<optimized out>) at ../../kutils/kcmoduleproxy.cpp:279