Bug 309137

Summary: System config crashed while configuring a new time server
Product: [Applications] systemsettings Reporter: Amaury Carrade <amaury>
Component: generalAssignee: Unassigned bugs mailing-list <unassigned-bugs>
Status: RESOLVED DUPLICATE    
Severity: crash CC: amaury, beigas, theonhighgod, warkd3423
Priority: NOR    
Version: 1.0   
Target Milestone: ---   
Platform: Ubuntu   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:
Attachments: New crash information added by DrKonqi
New crash information added by DrKonqi
New crash information added by DrKonqi

Description Amaury Carrade 2012-10-28 11:51:49 UTC
Application: systemsettings (1.0)
KDE Platform Version: 4.9.2
Qt Version: 4.8.3
Operating System: Linux 3.5.0-18-generic i686
Distribution: Ubuntu 12.10

-- Information about the crash:
- What I was doing when the application crashed:
 Configuring a new time server (pool.ntp.org). This crash was repeated 2 times. 

And even without crash, the time server is not saved. If I enter “pool.ntp.org” as a time server, the app say (in French, sorry): “Impossible d'authentifier / d'exécuter l'action : 6, ” (Translation: “Unable to authenticate / execute the action : 6, ”). And I receive the same message for “europe.pool.ntp.org”.

The crash can be reproduced some of the time.

-- Backtrace:
Application: Configuration du système (systemsettings), signal: Segmentation fault
Using host libthread_db library "/lib/i386-linux-gnu/libthread_db.so.1".
[Current thread is 1 (Thread 0xb1f56740 (LWP 23712))]

Thread 3 (Thread 0xae980b40 (LWP 23713)):
#0  0xb307edcd in clock_gettime () from /lib/i386-linux-gnu/librt.so.1
#1  0xb6010fb5 in do_gettime (frac=0xae97ff70, sec=0xae97ff68) at tools/qelapsedtimer_unix.cpp:123
#2  qt_gettime () at tools/qelapsedtimer_unix.cpp:140
#3  0xb60f836e in QTimerInfoList::updateCurrentTime (this=0xae002074) at kernel/qeventdispatcher_unix.cpp:343
#4  0x7fffffff in ?? ()
#5  0xb60f86fa in QTimerInfoList::timerWait (this=0xae002074, tm=...) at kernel/qeventdispatcher_unix.cpp:450
#6  0x7fffffff in ?? ()

Thread 2 (Thread 0xad6a6b40 (LWP 23716)):
#0  0xb337dc4d in __pthread_mutex_unlock_usercnt () from /lib/i386-linux-gnu/libpthread.so.0
#1  0xb5db48a4 in pthread_mutex_unlock () from /lib/i386-linux-gnu/libc.so.6
#2  0xb32e6cc0 in g_mutex_unlock () from /lib/i386-linux-gnu/libglib-2.0.so.0
#3  0xb32a569d in g_main_context_query () from /lib/i386-linux-gnu/libglib-2.0.so.0
#4  0xb32a5c5e in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0
#5  0xb32a61db in g_main_loop_run () from /lib/i386-linux-gnu/libglib-2.0.so.0
#6  0xadf72aba in ?? () from /usr/lib/i386-linux-gnu/libgio-2.0.so.0
#7  0xb32cb303 in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0
#8  0xb337ad4c in start_thread () from /lib/i386-linux-gnu/libpthread.so.0
#9  0xb5da6d3e in clone () from /lib/i386-linux-gnu/libc.so.6

Thread 1 (Thread 0xb1f56740 (LWP 23712)):
[KCrash Handler]
#7  0xb0d09adb in icudt48_dat () from /usr/lib/i386-linux-gnu/libicudata.so.48
#8  0xb60e0c49 in QObject::connect (sender=0x9ce5d68, signal=0x4 <Address 0x4 out of bounds>, receiver=0x9e3fb98, method=0xae17c58c "1load()", type=Qt::AutoConnection) at kernel/qobject.cpp:2588
#9  0xb60e4f68 in QSingleShotTimer::QSingleShotTimer (this=0x9ce5d68, msec=5000, receiver=0x9e3fb98, member=0xae17c58c "1load()") at kernel/qtimer.cpp:300
#10 0xb60e5190 in QTimer::singleShot (msec=5000, receiver=0x9e3fb98, member=0xae17c58c "1load()") at kernel/qtimer.cpp:363
#11 0xae17a97c in KclockModule::save (this=0x9e3fb98) at ../../../kcontrol/dateandtime/main.cpp:113
#12 0xb74a90ea in KCModuleProxy::save (this=0x9dacdb8) at ../../kutils/kcmoduleproxy.cpp:279
#13 0xb7484cf1 in ModuleView::moduleSave (this=this@entry=0x9971e20, module=module@entry=0x9dacdb8) at ../../../systemsettings/core/ModuleView.cpp:289
#14 0xb7484f5a in resolveChanges (currentProxy=0x9dacdb8, this=0x9971e20) at ../../../systemsettings/core/ModuleView.cpp:247
#15 ModuleView::resolveChanges (this=0x9971e20, currentProxy=0x9dacdb8) at ../../../systemsettings/core/ModuleView.cpp:227
#16 0xb7484faa in ModuleView::resolveChanges (this=0x9971e20) at ../../../systemsettings/core/ModuleView.cpp:224
#17 0xaf50bbe8 in IconMode::backToOverview (this=0x97d4a90) at ../../../systemsettings/icons/IconMode.cpp:145
#18 0xb60dded6 in QMetaObject::activate (sender=0x9971f70, m=0xb70263b8 <QAction::staticMetaObject>, local_signal_index=1, argv=0xbfe6c4f8) at kernel/qobject.cpp:3547
#19 0xb66ab10d in QAction::triggered (this=this@entry=0x9971f70, _t1=false) at .moc/release-shared/moc_qaction.cpp:277
#20 0xb66ab3ac in QAction::activate (this=0x9971f70, event=QAction::Trigger) at kernel/qaction.cpp:1257
#21 0xb6ba72d0 in trigger (this=<optimized out>) at ../../include/QtGui/../../src/gui/kernel/qaction.h:218
#22 QToolButton::nextCheckState (this=0x99dd170) at widgets/qtoolbutton.cpp:1144
#23 0xb6ad1ee7 in QAbstractButtonPrivate::click (this=this@entry=0x99dd188) at widgets/qabstractbutton.cpp:530
#24 0xb6ad21e6 in QAbstractButton::mouseReleaseEvent (this=0x99dd170, e=0xbfe6cc44) at widgets/qabstractbutton.cpp:1123
#25 0xb6ba736d in QToolButton::mouseReleaseEvent (this=0x99dd170, e=0xbfe6cc44) at widgets/qtoolbutton.cpp:718
#26 0xb670b6df in QWidget::event (this=0x99dd170, event=0xbfe6cc44) at kernel/qwidget.cpp:8371
#27 0xb6ad15a2 in QAbstractButton::event (this=0x99dd170, e=0xbfe6cc44) at widgets/qabstractbutton.cpp:1082
#28 0xb6ba8a4d in QToolButton::event (this=0x99dd170, event=0xbfe6cc44) at widgets/qtoolbutton.cpp:1160
#29 0xb66b239c in QApplicationPrivate::notify_helper (this=0x96888b0, receiver=0x99dd170, e=0xbfe6cc44) at kernel/qapplication.cpp:4562
#30 0xb66b7892 in QApplication::notify (this=0x96888b0, receiver=0x99dd170, e=0xbfe6cc44) at kernel/qapplication.cpp:4105
#31 0xb7225e91 in KApplication::notify (this=0xbfe6d43c, receiver=0x99dd170, event=0xbfe6cc44) at ../../kdeui/kernel/kapplication.cpp:311
#32 0xb60c578e in QCoreApplication::notifyInternal (this=0xbfe6d43c, receiver=0x99dd170, event=0xbfe6cc44) at kernel/qcoreapplication.cpp:915
#33 0xb66b3206 in sendEvent (event=<optimized out>, receiver=<optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:231
#34 QApplicationPrivate::sendMouseEvent (receiver=0x99dd170, event=0xbfe6cc44, alienWidget=0x99dd170, nativeWidget=0x97e8d20, buttonDown=0xb7043d14 <qt_button_down>, lastMouseReceiver=..., spontaneous=true) at kernel/qapplication.cpp:3173
#35 0xb673ea75 in QETWidget::translateMouseEvent (this=0x97e8d20, event=0xbfe6d06c) at kernel/qapplication_x11.cpp:4622
#36 0xb673d705 in QApplication::x11ProcessEvent (this=0xbfe6d43c, event=0xbfe6d06c) at kernel/qapplication_x11.cpp:3737
#37 0xb6768dc4 in x11EventSourceDispatch (s=0x968ae00, callback=0x0, user_data=0x0) at kernel/qguieventdispatcher_glib.cpp:146
#38 0xb32a59e3 in g_main_context_dispatch () from /lib/i386-linux-gnu/libglib-2.0.so.0
#39 0xb32a5d80 in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0
#40 0xb32a5e61 in g_main_context_iteration () from /lib/i386-linux-gnu/libglib-2.0.so.0
#41 0xb60f7981 in QEventDispatcherGlib::processEvents (this=0x9658ea0, flags=...) at kernel/qeventdispatcher_glib.cpp:424
#42 0xb67689aa in QGuiEventDispatcherGlib::processEvents (this=0x9658ea0, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#43 0xb60c426c in QEventLoop::processEvents (this=this@entry=0xbfe6d368, flags=...) at kernel/qeventloop.cpp:149
#44 0xb60c4561 in QEventLoop::exec (this=0xbfe6d368, flags=...) at kernel/qeventloop.cpp:204
#45 0xb60c9cba in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1187
#46 0xb66affc4 in QApplication::exec () at kernel/qapplication.cpp:3823
#47 0x08050422 in main (argc=5, argv=0xbfe6d514) at ../../../systemsettings/app/main.cpp:49

Reported using DrKonqi
Comment 1 Christoph Feck 2012-10-28 14:46:44 UTC

*** This bug has been marked as a duplicate of bug 242648 ***
Comment 2 matthew A 2012-11-03 22:14:27 UTC
Created attachment 74981 [details]
New crash information added by DrKonqi

kcmshell4 () on KDE Platform 4.9.2 using Qt 4.8.3

- What I was doing when the application crashed:

When i changed the time server , then clicked apply got the error message :
Unable to authenticate/execute the action: 6

then application crashed

-- Backtrace (Reduced):
#7  0x00007f58095eae13 in QObject::connect (sender=0x1b1be70, signal=0x7f58096a6904 "timeout()", receiver=0x17a54a0, method=0x7f57fa0cfe2d "load()", type=Qt::AutoConnection) at kernel/qobject.cpp:2588
#8  0x00007f58095eeb4a in QSingleShotTimer::QSingleShotTimer (this=0x1b1be70, msec=5000, receiver=0x17a54a0, member=0x7f57fa0cfe2c "1load()") at kernel/qtimer.cpp:300
#9  0x00007f58095eecf6 in QTimer::singleShot (msec=5000, receiver=0x17a54a0, member=0x7f57fa0cfe2c "1load()") at kernel/qtimer.cpp:363
#10 0x00007f57fa0ce3d6 in KclockModule::save (this=0x17a54a0) at ../../../kcontrol/dateandtime/main.cpp:113
#11 0x00007f580a6c84a7 in KCModuleProxy::save (this=<optimized out>) at ../../kutils/kcmoduleproxy.cpp:279
Comment 3 warkd3423 2012-11-25 05:04:52 UTC
Created attachment 75463 [details]
New crash information added by DrKonqi

kcmshell4 () on KDE Platform 4.8.5 (4.8.5) using Qt 4.8.1

Selecting time server from provided ntp pools

-- Backtrace (Reduced):
#6  QObject::connect (sender=0x110f090, signal=<optimized out>, receiver=0x127a200, method=0x7f79984d43f1 "load()", type=Qt::AutoConnection) at kernel/qobject.cpp:2588
#7  0x00007f79a7d8195a in QSingleShotTimer::QSingleShotTimer (this=0x110f090, msec=5000, receiver=0x127a200, member=0x7f79984d43f0 "1load()") at kernel/qtimer.cpp:300
#8  0x00007f79a7d81b0e in QTimer::singleShot (msec=5000, receiver=0x127a200, member=0x7f79984d43f0 "1load()") at kernel/qtimer.cpp:363
#9  0x00007f79984d2840 in KclockModule::save (this=0x127a200) at ../../../kcontrol/dateandtime/main.cpp:109
#10 0x00007f79a8e99997 in KCModuleProxy::save (this=<optimized out>) at ../../kutils/kcmoduleproxy.cpp:279
Comment 4 beigas 2012-11-26 18:01:10 UTC
Created attachment 75492 [details]
New crash information added by DrKonqi

kcmshell4 () on KDE Platform 4.8.5 (4.8.5) using Qt 4.8.1

- What I was doing when the application crashed:

changed time server from pool.ntp.org to ntp.latnet.lv, in case workstation did not sync with pool.ntp.org

-- Backtrace (Reduced):
#7  QObject::connect (sender=0x8ed98e8, signal=0x1221735 "2timeout()", receiver=0x890bf30, method=0x4ddbad0 "1load()", type=Qt::AutoConnection) at kernel/qobject.cpp:2588
#8  0x011625ee in QSingleShotTimer::QSingleShotTimer (this=0x8ed98e8, msec=5000, receiver=0x890bf30, member=0x4ddbad0 "1load()") at kernel/qtimer.cpp:300
#9  0x0116281a in QTimer::singleShot (msec=5000, receiver=0x890bf30, member=0x4ddbad0 "1load()") at kernel/qtimer.cpp:363
[...]
#11 0x00fa46fa in KCModuleProxy::save (this=0x88ff168) at ../../kutils/kcmoduleproxy.cpp:279
#12 0x00fa1000 in KCMultiDialogPrivate::apply (this=0x88eb1f0) at ../../kutils/kcmultidialog.cpp:300