Bug 300131

Summary: crash when set ntp connection and connection fails
Product: [Applications] systemsettings Reporter: computerlov
Component: generalAssignee: Unassigned bugs mailing-list <unassigned-bugs>
Status: RESOLVED DUPLICATE    
Severity: crash CC: alain.vercammen, bugtrackingkde, cfeck, qub.box, sergvil
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
New crash information added by DrKonqi

Description computerlov 2012-05-16 12:02:21 UTC
Application: kcmshell4 ()
KDE Platform Version: 4.8.2 (4.8.2)
Qt Version: 4.8.1
Operating System: Linux 3.2.0-24-generic x86_64
Distribution: Ubuntu 12.04 LTS

-- Information about the crash:
- What I was doing when the application crashed:
I was trying to enable NTP to pool.ntp.org, and pressed "Ok". The connection failed (probably firewall settings). I got an error message. Then the dialog closed, and I got a second "connection failure" message. After closing it, I got this crash report

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

Thread 3 (Thread 0x7f92f8ee7700 (LWP 6511)):
#0  0x00007f93139f80bd in read () at ../sysdeps/unix/syscall-template.S:82
#1  0x00007f930e5d588f in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f930e59aabd in g_main_context_check () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f930e59af96 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#4  0x00007f930e59b45a in g_main_loop_run () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#5  0x00007f92f91d02c6 in ?? () from /usr/lib/x86_64-linux-gnu/libgio-2.0.so.0
#6  0x00007f930e5bc9a5 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#7  0x00007f930f2b9e9a in start_thread (arg=0x7f92f8ee7700) at pthread_create.c:308
#8  0x00007f9313a054bd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#9  0x0000000000000000 in ?? ()

Thread 2 (Thread 0x7f92eed27700 (LWP 6512)):
#0  0x00007f93139f9b03 in __GI___poll (fds=<optimized out>, nfds=<optimized out>, timeout=<optimized out>) at ../sysdeps/unix/sysv/linux/poll.c:87
#1  0x00007f930e59aff6 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f930e59b124 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f93125f3426 in QEventDispatcherGlib::processEvents (this=0x7f92e80008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:426
#4  0x00007f93125c2c82 in QEventLoop::processEvents (this=<optimized out>, flags=...) at kernel/qeventloop.cpp:149
#5  0x00007f93125c2ed7 in QEventLoop::exec (this=0x7f92eed26dd0, flags=...) at kernel/qeventloop.cpp:204
#6  0x00007f93124c1fa7 in QThread::exec (this=<optimized out>) at thread/qthread.cpp:501
#7  0x00007f93125a29ff in QInotifyFileSystemWatcherEngine::run (this=0x27063b0) at io/qfilesystemwatcher_inotify.cpp:248
#8  0x00007f93124c4fcb in QThreadPrivate::start (arg=0x27063b0) at thread/qthread_unix.cpp:298
#9  0x00007f930f2b9e9a in start_thread (arg=0x7f92eed27700) at pthread_create.c:308
#10 0x00007f9313a054bd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#11 0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7f93140cc780 (LWP 6510)):
[KCrash Handler]
#6  0x0000000000000000 in ?? ()
#7  0x00007f9311d160e0 in QAbstractButton::setChecked (this=0x22558e0, checked=false) at widgets/qabstractbutton.cpp:741
#8  0x00007f9302d20a79 in Dtime::processHelperErrors (this=0x227ad00, code=4) at ../../../kcontrol/dateandtime/dtime.cpp:276
#9  0x00007f9302d25a1b in KclockModule::save (this=0x22561e0) at ../../../kcontrol/dateandtime/main.cpp:100
#10 0x00007f93136f3997 in KCModuleProxy::save (this=<optimized out>) at ../../kutils/kcmoduleproxy.cpp:279
#11 0x00007f93136f0890 in KCMultiDialogPrivate::apply (this=<optimized out>) at ../../kutils/kcmultidialog.cpp:300
#12 0x00007f93125d8281 in QMetaObject::activate (sender=0x223bd20, m=<optimized out>, local_signal_index=<optimized out>, argv=0x7fff592b1e50) at kernel/qobject.cpp:3547
#13 0x00007f931336e82f in KPushButton::authorized (this=<optimized out>, _t1=0x2468950) at ./kpushbutton.moc:143
#14 0x00007f93125d8281 in QMetaObject::activate (sender=0x223bd20, m=<optimized out>, local_signal_index=<optimized out>, argv=0x7fff592b1fa0) at kernel/qobject.cpp:3547
#15 0x00007f9311fd6c72 in QAbstractButton::clicked (this=<optimized out>, _t1=false) at .moc/release-shared/moc_qabstractbutton.cpp:220
#16 0x00007f9311d14a4e in QAbstractButtonPrivate::emitClicked (this=<optimized out>) at widgets/qabstractbutton.cpp:548
#17 0x00007f9311d15d8b in QAbstractButtonPrivate::click (this=0x22403e0) at widgets/qabstractbutton.cpp:541
#18 0x00007f9311d15ffc in QAbstractButton::mouseReleaseEvent (this=0x223bd20, e=0x7fff592b2870) at widgets/qabstractbutton.cpp:1123
#19 0x00007f9311997144 in QWidget::event (this=0x223bd20, event=0x7fff592b2870) at kernel/qwidget.cpp:8362
#20 0x00007f9311946894 in notify_helper (e=0x7fff592b2870, receiver=0x223bd20, this=0x20775f0) at kernel/qapplication.cpp:4559
#21 QApplicationPrivate::notify_helper (this=0x20775f0, receiver=0x223bd20, e=0x7fff592b2870) at kernel/qapplication.cpp:4531
#22 0x00007f931194c0bf in QApplication::notify (this=<optimized out>, receiver=0x223bd20, e=0x7fff592b2870) at kernel/qapplication.cpp:4102
#23 0x00007f93132a0b46 in KApplication::notify (this=0x7fff592b3590, receiver=0x223bd20, event=0x7fff592b2870) at ../../kdeui/kernel/kapplication.cpp:311
#24 0x00007f93125c3e9c in QCoreApplication::notifyInternal (this=0x7fff592b3590, receiver=0x223bd20, event=0x7fff592b2870) at kernel/qcoreapplication.cpp:876
#25 0x00007f9311947862 in sendEvent (event=<optimized out>, receiver=<optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:231
#26 QApplicationPrivate::sendMouseEvent (receiver=0x223bd20, event=0x7fff592b2870, alienWidget=0x223bd20, nativeWidget=0x2223590, buttonDown=0x223bd20, lastMouseReceiver=..., spontaneous=true) at kernel/qapplication.cpp:3170
#27 0x00007f93119c6bf5 in QETWidget::translateMouseEvent (this=0x2223590, event=<optimized out>) at kernel/qapplication_x11.cpp:4617
#28 0x00007f93119c5bae in QApplication::x11ProcessEvent (this=0x7fff592b3590, event=0x7fff592b3140) at kernel/qapplication_x11.cpp:3732
#29 0x00007f93119ef0d2 in x11EventSourceDispatch (s=0x2076a10, callback=0, user_data=0x0) at kernel/qguieventdispatcher_glib.cpp:146
#30 0x00007f930e59ac9a in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#31 0x00007f930e59b060 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#32 0x00007f930e59b124 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#33 0x00007f93125f33bf in QEventDispatcherGlib::processEvents (this=0x2054770, flags=...) at kernel/qeventdispatcher_glib.cpp:424
#34 0x00007f93119eed5e in QGuiEventDispatcherGlib::processEvents (this=<optimized out>, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#35 0x00007f93125c2c82 in QEventLoop::processEvents (this=<optimized out>, flags=...) at kernel/qeventloop.cpp:149
#36 0x00007f93125c2ed7 in QEventLoop::exec (this=0x7fff592b34e0, flags=...) at kernel/qeventloop.cpp:204
#37 0x00007f9311e16936 in QDialog::exec (this=0x2223590) at dialogs/qdialog.cpp:554
#38 0x00007f9313cd7d2c in kdemain (_argc=<optimized out>, _argv=<optimized out>) at ../../kcmshell/main.cpp:292
#39 0x00007f931393476d in __libc_start_main (main=0x400640 <main(int, char**)>, argc=2, ubp_av=0x7fff592b3da8, init=<optimized out>, fini=<optimized out>, rtld_fini=<optimized out>, stack_end=0x7fff592b3d98) at libc-start.c:226
#40 0x0000000000400671 in _start ()

Possible duplicates by query: bug 297256.

Reported using DrKonqi
Comment 1 Christoph Feck 2012-05-16 19:13:17 UTC

*** This bug has been marked as a duplicate of bug 297256 ***
Comment 2 Christoph Feck 2012-05-16 19:13:41 UTC
*** Bug 300146 has been marked as a duplicate of this bug. ***
Comment 3 qub.box 2012-11-16 15:56:00 UTC
Created attachment 75296 [details]
New crash information added by DrKonqi

kcmshell4 () on KDE Platform 4.9.3 using Qt 4.8.3

- What I was doing when the application crashed:

Right click on the digital clock and select Adjust data and time... Option "Set date and time automatically" must disabled. Press on "Set date and time automatically" and select any Time server then press apply and ok button, next app must crashed.

-- Backtrace (Reduced):
#6  data (this=0x3500320078003e) at ../../src/corelib/tools/qscopedpointer.h:135
[...]
#9  QAbstractButton::setChecked (this=0x35003200780036, checked=false) at widgets/qabstractbutton.cpp:738
#10 0x00007fd26fccec3f in Dtime::processHelperErrors (this=0x2183970, code=4) at /usr/src/debug/kde-workspace-4.9.3/kcontrol/dateandtime/dtime.cpp:271
#11 0x00007fd26fcd3460 in KclockModule::save (this=0x21cd100) at /usr/src/debug/kde-workspace-4.9.3/kcontrol/dateandtime/main.cpp:100
#12 0x00007fd27bc8a497 in KCModuleProxy::save (this=<optimized out>) at /usr/src/debug/kdelibs-4.9.3/kutils/kcmoduleproxy.cpp:279
Comment 4 alain.vercammen 2013-04-14 18:12:16 UTC
Created attachment 78899 [details]
New crash information added by DrKonqi

kcmshell4 (4.10.1) on KDE Platform 4.10.1 using Qt 4.8.4

- What I was doing when the application crashed: running updates with apper - also this is running on a VM CLIENT

-- Backtrace (Reduced):
#5  0x000000349d38452a in QAbstractButton::setChecked(bool) () from /lib64/libQtGui.so.4
#6  0x00007fcc61550c8f in Dtime::processHelperErrors(int) () from /usr/lib64/kde4/kcm_clock.so
#7  0x00007fcc615554b0 in KclockModule::save() () from /usr/lib64/kde4/kcm_clock.so
#8  0x0000003228e214e7 in KCModuleProxy::save() () from /lib64/libkcmutils.so.4
#9  0x0000003228e1ee60 in KCMultiDialogPrivate::apply() () from /lib64/libkcmutils.so.4
Comment 5 Christoph Feck 2013-05-13 12:15:12 UTC
*** Bug 319751 has been marked as a duplicate of this bug. ***