Bug 294947 - Date & Time Settings Crash when changing time zones
Summary: Date & Time Settings Crash when changing time zones
Status: RESOLVED DUPLICATE of bug 242648
Alias: None
Product: systemsettings
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: Fedora RPMs Linux
: NOR crash
Target Milestone: ---
Assignee: System Settings Bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-02-27 19:40 UTC by Yasha B.-K.
Modified: 2012-02-27 19:59 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Yasha B.-K. 2012-02-27 19:40:39 UTC
Application: kcmshell4 ()
KDE Platform Version: 4.6.5 (4.6.5)
Qt Version: 4.7.4
Operating System: Linux 2.6.42.7-1.fc15.i686 i686
Distribution: "Fedora release 15 (Lovelock)"

-- Information about the crash:
I was changing the time zone. The settings dialog crashed when I hit OK, though the time zone was sucessfully changed. There was also an SELinux alert. I am including that text below:

SELinux is preventing /usr/libexec/kde4/kcmdatetimehelper from write access on the file /.config/Trolltech.conf.

*****  Plugin restorecon (99.5 confidence) suggests  *************************

If you want to fix the label. 
/.config/Trolltech.conf default label should be default_t.
Then you can run restorecon.
Do
# /sbin/restorecon -v /.config/Trolltech.conf

*****  Plugin catchall (1.49 confidence) suggests  ***************************

If you believe that kcmdatetimehelper should be allowed write access on the Trolltech.conf file by default.
Then you should report this as a bug.
You can generate a local policy module to allow this access.
Do
allow this access for now by executing:
# grep kcmdatetimehelp /var/log/audit/audit.log | audit2allow -M mypol
# semodule -i mypol.pp

Additional Information:
Source Context                system_u:system_r:gnomeclock_t:s0-s0:c0.c1023
Target Context                system_u:object_r:etc_runtime_t:s0
Target Objects                /.config/Trolltech.conf [ file ]
Source                        kcmdatetimehelp
Source Path                   /usr/libexec/kde4/kcmdatetimehelper
Port                          <Unknown>
Host                          minus.localdomain
Source RPM Packages           kdebase-workspace-4.6.5-8.fc15
Target RPM Packages           
Policy RPM                    selinux-policy-3.9.16-51.fc15
Selinux Enabled               True
Policy Type                   targeted
Enforcing Mode                Enforcing
Host Name                     minus.localdomain
Platform                      Linux minus.localdomain 2.6.42.7-1.fc15.i686 #1
                              SMP Tue Feb 21 02:16:57 UTC 2012 i686 i686
Alert Count                   9
First Seen                    Thu 21 Jul 2011 01:12:02 AM EDT
Last Seen                     Mon 27 Feb 2012 02:32:21 PM EST
Local ID                      dce53a15-2610-474d-a53d-4c1a1b01902f

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

Thread 2 (Thread 0xb4b85b70 (LWP 2098)):
#0  0x0082d416 in __kernel_vsyscall ()
#1  0x4910e1de in __GI___poll (fds=0xb42029c0, nfds=3, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:87
#2  0x492ceaac in g_poll (fds=0xb42029c0, nfds=3, timeout=-1) at gpoll.c:132
#3  0x492bfc36 in g_main_context_poll (n_fds=3, fds=0x492085d0, priority=<optimized out>, timeout=<optimized out>, context=0x8d142c0) at gmain.c:3405
#4  g_main_context_iterate (context=0x8d142c0, block=1227680384, dispatch=1, self=0x8d11c40) at gmain.c:3087
#5  0x492c0457 in g_main_loop_run (loop=0x8d142b0) at gmain.c:3300
#6  0x4ba0c032 in gdbus_shared_thread_func (data=0x0) at gdbusprivate.c:276
#7  0x492e7535 in g_thread_create_proxy (data=0x8d11c40) at gthread.c:1955
#8  0x49205a2e in start_thread (arg=0xb4b85b70) at pthread_create.c:305
#9  0x4911889e in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:133

Thread 1 (Thread 0xb77559b0 (LWP 2097)):
[KCrash Handler]
#7  QObject::connect (sender=0x8ed3d58, signal=0x4f9d845a "2timeout()", receiver=0x8bf4190, method=0x17e9b4 "1load()", type=Qt::AutoConnection) at kernel/qobject.cpp:2526
#8  0x4f935a4f in QSingleShotTimer::QSingleShotTimer (this=0x8ed3d58, msec=5000, receiver=0x8bf4190, member=0x17e9b4 "1load()") at kernel/qtimer.cpp:291
#9  0x4f935c6a in QTimer::singleShot (msec=5000, receiver=0x8bf4190, member=0x17e9b4 "1load()") at kernel/qtimer.cpp:354
#10 0x0017cb02 in KclockModule::save (this=0x8bf4190) at /usr/src/debug/kdebase-workspace-4.6.5/kcontrol/dateandtime/main.cpp:109
#11 0x44ea7c92 in KCModuleProxy::save (this=0x8ac4640) at /usr/src/debug/kdelibs-4.6.5/kutils/kcmoduleproxy.cpp:279
#12 0x44ea4718 in KCMultiDialogPrivate::apply (this=0x8b48f28) at /usr/src/debug/kdelibs-4.6.5/kutils/kcmultidialog.cpp:300
#13 0x44ea48d6 in KCMultiDialog::slotOkClicked (this=0x8b48e68) at /usr/src/debug/kdelibs-4.6.5/kutils/kcmultidialog.cpp:334
#14 0x44ea5b04 in KCMultiDialog::qt_metacall (this=0x8b48e68, _c=QMetaObject::InvokeMetaMethod, _id=<optimized out>, _a=0xbf956178) at /usr/src/debug/kdelibs-4.6.5/i686-redhat-linux-gnu/kutils/kcmultidialog.moc:96
#15 0x44778f63 in KCMShellMultiDialog::qt_metacall (this=0x8b48e68, _c=QMetaObject::InvokeMetaMethod, _id=80, _a=0xbf956178) at /usr/src/debug/kdebase-runtime-4.6.5/i686-redhat-linux-gnu/kcmshell/main.moc:130
#16 0x4f91f28e in metacall (argv=0xbf956178, idx=80, cl=QMetaObject::InvokeMetaMethod, object=0x8b48e68) at kernel/qmetaobject.cpp:237
#17 QMetaObject::metacall (object=0x8b48e68, cl=QMetaObject::InvokeMetaMethod, idx=80, argv=0xbf956178) at kernel/qmetaobject.cpp:232
#18 0x4f92d1aa in QMetaObject::activate (sender=0x8b570a0, m=0x44767f70, local_signal_index=0, argv=0xbf956178) at kernel/qobject.cpp:3278
#19 0x44627926 in KPushButton::authorized (this=0x8b570a0, _t1=0x8d05cc8) at /usr/src/debug/kdelibs-4.6.5/i686-redhat-linux-gnu/kdeui/kpushbutton.moc:129
#20 0x446279a6 in KPushButton::KPushButtonPrivate::slotClickedInternal (this=0x8b57178) at /usr/src/debug/kdelibs-4.6.5/kdeui/widgets/kpushbutton.cpp:102
#21 0x44627acb in KPushButton::qt_metacall (this=0x8b570a0, _c=QMetaObject::InvokeMetaMethod, _id=3, _a=0xbf9562b8) at /usr/src/debug/kdelibs-4.6.5/i686-redhat-linux-gnu/kdeui/kpushbutton.moc:88
#22 0x4f91f28e in metacall (argv=0xbf9562b8, idx=44, cl=QMetaObject::InvokeMetaMethod, object=0x8b570a0) at kernel/qmetaobject.cpp:237
#23 QMetaObject::metacall (object=0x8b570a0, cl=QMetaObject::InvokeMetaMethod, idx=44, argv=0xbf9562b8) at kernel/qmetaobject.cpp:232
#24 0x4f92d1aa in QMetaObject::activate (sender=0x8b570a0, m=0x42033e28, local_signal_index=2, argv=0xbf9562b8) at kernel/qobject.cpp:3278
#25 0x41df59be in QAbstractButton::clicked (this=0x8b570a0, _t1=false) at .moc/release-shared/moc_qabstractbutton.cpp:206
#26 0x41af0bce in QAbstractButtonPrivate::emitClicked (this=0x8b571c8) at widgets/qabstractbutton.cpp:546
#27 0x41af22a0 in QAbstractButtonPrivate::click (this=0x8b571c8) at widgets/qabstractbutton.cpp:539
#28 0x41af2556 in QAbstractButton::mouseReleaseEvent (this=0x8b570a0, e=0xbf956984) at widgets/qabstractbutton.cpp:1121
#29 0x41738ed5 in QWidget::event (this=0x8b570a0, event=0xbf956984) at kernel/qwidget.cpp:8295
#30 0x41af17c1 in QAbstractButton::event (this=0x8b570a0, e=0xbf956984) at widgets/qabstractbutton.cpp:1080
#31 0x41b94649 in QPushButton::event (this=0x8b570a0, e=0xbf956984) at widgets/qpushbutton.cpp:683
#32 0x416de144 in notify_helper (e=0xbf956984, receiver=0x8b570a0, this=0x8abf1b8) at kernel/qapplication.cpp:4481
#33 QApplicationPrivate::notify_helper (this=0x8abf1b8, receiver=0x8b570a0, e=0xbf956984) at kernel/qapplication.cpp:4453
#34 0x416e42da in QApplication::notify (this=0x8abf1b8, receiver=0x8b570a0, e=0xbf956984) at kernel/qapplication.cpp:4042
#35 0x44532a32 in KApplication::notify (this=0xbf9571dc, receiver=0x8b570a0, event=0xbf956984) at /usr/src/debug/kdelibs-4.6.5/kdeui/kernel/kapplication.cpp:311
#36 0x4f918ade in QCoreApplication::notifyInternal (this=0xbf9571dc, receiver=0x8b570a0, event=0xbf956984) at kernel/qcoreapplication.cpp:787
#37 0x416df116 in sendEvent (event=<optimized out>, receiver=<optimized out>) at ../../src/corelib/kernel/qcoreapplication.h:215
#38 QApplicationPrivate::sendMouseEvent (receiver=0x8b570a0, event=0xbf956984, alienWidget=0x8b570a0, nativeWidget=0x8b48e68, buttonDown=0x4203cf54, lastMouseReceiver=..., spontaneous=true) at kernel/qapplication.cpp:3141
#39 0x4176932c in QETWidget::translateMouseEvent (this=0x8b48e68, event=0xbf956e3c) at kernel/qapplication_x11.cpp:4472
#40 0x417682ed in QApplication::x11ProcessEvent (this=0xbf9571dc, event=0xbf956e3c) at kernel/qapplication_x11.cpp:3593
#41 0x41793015 in x11EventSourceDispatch (s=0x8ac1b00, callback=0, user_data=0x0) at kernel/qguieventdispatcher_glib.cpp:148
#42 0x492bf5bf in g_main_dispatch (context=0x8ac0e70) at gmain.c:2441
#43 g_main_context_dispatch (context=0x8ac0e70) at gmain.c:3014
#44 0x492bfd30 in g_main_context_iterate (context=0x8ac0e70, block=1227680384, dispatch=1, self=0x8abe588) at gmain.c:3092
#45 0x492c006f in g_main_context_iteration (context=0x8ac0e70, may_block=1) at gmain.c:3155
#46 0x4f947118 in QEventDispatcherGlib::processEvents (this=0x8aa5988, flags=...) at kernel/qeventdispatcher_glib.cpp:422
#47 0x41792cab in QGuiEventDispatcherGlib::processEvents (this=0x8aa5988, flags=...) at kernel/qguieventdispatcher_glib.cpp:207
#48 0x4f917e1e in QEventLoop::processEvents (this=0xbf957140, flags=...) at kernel/qeventloop.cpp:149
#49 0x4f918071 in QEventLoop::exec (this=0xbf957140, flags=...) at kernel/qeventloop.cpp:201
#50 0x41c1602a in QDialog::exec (this=0x8b48e68) at dialogs/qdialog.cpp:552
#51 0x4477b811 in kdemain (_argc=2, _argv=0xbf957454) at /usr/src/debug/kdebase-runtime-4.6.5/kcmshell/main.cpp:287
#52 0x080485ac in main (argc=2, argv=0xbf957454) at /usr/src/debug/kdebase-runtime-4.6.5/i686-redhat-linux-gnu/kcmshell/kcmshell4_dummy.cpp:3

This bug may be a duplicate of or related to bug 242648.

Possible duplicates by query: bug 294936, bug 294901, bug 293393, bug 292957, bug 292507.

Reported using DrKonqi
Comment 1 Jekyll Wu 2012-02-27 19:59:24 UTC

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