Bug 261844 - Widget: KDE Observatory crashes Plasma Workspace [fullName, KConfigGroup::writeEntry, ..., KdeObservatory::saveConfig] ("activityRangeType" setting)
Summary: Widget: KDE Observatory crashes Plasma Workspace [fullName, KConfigGroup::wri...
Status: RESOLVED FIXED
Alias: None
Product: plasma4
Classification: Plasma
Component: general (show other bugs)
Version: unspecified
Platform: Fedora RPMs Linux
: NOR crash
Target Milestone: ---
Assignee: Plasma Bugs List
URL:
Keywords:
: 266958 (view as bug list)
Depends on:
Blocks:
 
Reported: 2011-01-02 08:06 UTC by cmj
Modified: 2011-12-01 16:03 UTC (History)
3 users (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 cmj 2011-01-02 08:06:53 UTC
Application: plasma-desktop (0.3)
KDE Platform Version: 4.5.4 (KDE 4.5.4)
Qt Version: 4.7.1
Operating System: Linux 2.6.35.10-74.fc14.x86_64 x86_64
Distribution (Platform): Fedora RPMs

-- Information about the crash:
Adding the above mentioned widget to the workspace and trying to save any configurational changes to the widget, crashes the workspace.

The crash can be reproduced every time.

-- Backtrace:
Application: Plasma Workspace (plasma-desktop), signal: Segmentation fault
[Current thread is 1 (Thread 0x7fd9bdb84840 (LWP 1975))]

Thread 5 (Thread 0x7fd99670c700 (LWP 2841)):
#0  0x00007fd9b9e6b8c4 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00007fd9ba0efddb in wait (this=<value optimized out>, mutex=0xd9bcc0, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:88
#2  QWaitCondition::wait (this=<value optimized out>, mutex=0xd9bcc0, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:160
#3  0x00007fd9b6b190b4 in ThreadWeaver::WeaverImpl::blockThreadUntilJobsAreBeingAssigned (this=0xd84f30, th=0x188ad50) at /usr/src/debug/kdelibs-4.5.4/threadweaver/Weaver/WeaverImpl.cpp:365
#4  0x00007fd9b6b1b743 in ThreadWeaver::WorkingHardState::applyForWork (this=0xdb7f80, th=0x188ad50) at /usr/src/debug/kdelibs-4.5.4/threadweaver/Weaver/WorkingHardState.cpp:71
#5  0x00007fd9b6b1b75c in ThreadWeaver::WorkingHardState::applyForWork (this=0xdb7f80, th=0x188ad50) at /usr/src/debug/kdelibs-4.5.4/threadweaver/Weaver/WorkingHardState.cpp:74
#6  0x00007fd9b6b1a52f in ThreadWeaver::ThreadRunHelper::run (this=0x7fd99670bd50, parent=0xd84f30, th=0x188ad50) at /usr/src/debug/kdelibs-4.5.4/threadweaver/Weaver/Thread.cpp:87
#7  0x00007fd9b6b1a5b8 in ThreadWeaver::Thread::run (this=0x188ad50) at /usr/src/debug/kdelibs-4.5.4/threadweaver/Weaver/Thread.cpp:142
#8  0x00007fd9ba0ef6ee in QThreadPrivate::start (arg=0x188ad50) at thread/qthread_unix.cpp:285
#9  0x00007fd9b9e66d5b in start_thread () from /lib64/libpthread.so.0
#10 0x00007fd9b8a35a7d in clone () from /lib64/libc.so.6

Thread 4 (Thread 0x7fd99d347700 (LWP 2842)):
#0  0x00007fd9b9e6b8c4 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00007fd9ba0efddb in wait (this=<value optimized out>, mutex=0xd9bcc0, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:88
#2  QWaitCondition::wait (this=<value optimized out>, mutex=0xd9bcc0, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:160
#3  0x00007fd9b6b190b4 in ThreadWeaver::WeaverImpl::blockThreadUntilJobsAreBeingAssigned (this=0xd84f30, th=0x1655510) at /usr/src/debug/kdelibs-4.5.4/threadweaver/Weaver/WeaverImpl.cpp:365
#4  0x00007fd9b6b1b743 in ThreadWeaver::WorkingHardState::applyForWork (this=0xdb7f80, th=0x1655510) at /usr/src/debug/kdelibs-4.5.4/threadweaver/Weaver/WorkingHardState.cpp:71
#5  0x00007fd9b6b1a52f in ThreadWeaver::ThreadRunHelper::run (this=0x7fd99d346d50, parent=0xd84f30, th=0x1655510) at /usr/src/debug/kdelibs-4.5.4/threadweaver/Weaver/Thread.cpp:87
#6  0x00007fd9b6b1a5b8 in ThreadWeaver::Thread::run (this=0x1655510) at /usr/src/debug/kdelibs-4.5.4/threadweaver/Weaver/Thread.cpp:142
#7  0x00007fd9ba0ef6ee in QThreadPrivate::start (arg=0x1655510) at thread/qthread_unix.cpp:285
#8  0x00007fd9b9e66d5b in start_thread () from /lib64/libpthread.so.0
#9  0x00007fd9b8a35a7d in clone () from /lib64/libc.so.6

Thread 3 (Thread 0x7fd98bdf2700 (LWP 2843)):
#0  0x00007fd9b9e6b8c4 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00007fd9ba0efddb in wait (this=<value optimized out>, mutex=0xd9bcc0, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:88
#2  QWaitCondition::wait (this=<value optimized out>, mutex=0xd9bcc0, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:160
#3  0x00007fd9b6b190b4 in ThreadWeaver::WeaverImpl::blockThreadUntilJobsAreBeingAssigned (this=0xd84f30, th=0x1bb2ba0) at /usr/src/debug/kdelibs-4.5.4/threadweaver/Weaver/WeaverImpl.cpp:365
#4  0x00007fd9b6b1b743 in ThreadWeaver::WorkingHardState::applyForWork (this=0xdb7f80, th=0x1bb2ba0) at /usr/src/debug/kdelibs-4.5.4/threadweaver/Weaver/WorkingHardState.cpp:71
#5  0x00007fd9b6b1a52f in ThreadWeaver::ThreadRunHelper::run (this=0x7fd98bdf1d50, parent=0xd84f30, th=0x1bb2ba0) at /usr/src/debug/kdelibs-4.5.4/threadweaver/Weaver/Thread.cpp:87
#6  0x00007fd9b6b1a5b8 in ThreadWeaver::Thread::run (this=0x1bb2ba0) at /usr/src/debug/kdelibs-4.5.4/threadweaver/Weaver/Thread.cpp:142
#7  0x00007fd9ba0ef6ee in QThreadPrivate::start (arg=0x1bb2ba0) at thread/qthread_unix.cpp:285
#8  0x00007fd9b9e66d5b in start_thread () from /lib64/libpthread.so.0
#9  0x00007fd9b8a35a7d in clone () from /lib64/libc.so.6

Thread 2 (Thread 0x7fd98b5f1700 (LWP 2844)):
#0  0x00007fd9b9e6b8c4 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00007fd9ba0efddb in wait (this=<value optimized out>, mutex=0xd9bcc0, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:88
#2  QWaitCondition::wait (this=<value optimized out>, mutex=0xd9bcc0, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:160
#3  0x00007fd9b6b190b4 in ThreadWeaver::WeaverImpl::blockThreadUntilJobsAreBeingAssigned (this=0xd84f30, th=0xbca8b0) at /usr/src/debug/kdelibs-4.5.4/threadweaver/Weaver/WeaverImpl.cpp:365
#4  0x00007fd9b6b1b743 in ThreadWeaver::WorkingHardState::applyForWork (this=0xdb7f80, th=0xbca8b0) at /usr/src/debug/kdelibs-4.5.4/threadweaver/Weaver/WorkingHardState.cpp:71
#5  0x00007fd9b6b1a52f in ThreadWeaver::ThreadRunHelper::run (this=0x7fd98b5f0d50, parent=0xd84f30, th=0xbca8b0) at /usr/src/debug/kdelibs-4.5.4/threadweaver/Weaver/Thread.cpp:87
#6  0x00007fd9b6b1a5b8 in ThreadWeaver::Thread::run (this=0xbca8b0) at /usr/src/debug/kdelibs-4.5.4/threadweaver/Weaver/Thread.cpp:142
#7  0x00007fd9ba0ef6ee in QThreadPrivate::start (arg=0xbca8b0) at thread/qthread_unix.cpp:285
#8  0x00007fd9b9e66d5b in start_thread () from /lib64/libpthread.so.0
#9  0x00007fd9b8a35a7d in clone () from /lib64/libc.so.6

Thread 1 (Thread 0x7fd9bdb84840 (LWP 1975)):
[KCrash Handler]
#6  operator! (this=0x227e430, key=0x7fd979fc1665 "activityRangeType", value=..., flags=<value optimized out>) at /usr/include/QtCore/qshareddata.h:198
#7  fullName (this=0x227e430, key=0x7fd979fc1665 "activityRangeType", value=..., flags=<value optimized out>) at /usr/src/debug/kdelibs-4.5.4/kdecore/config/kconfiggroup.cpp:90
#8  KConfigGroup::writeEntry (this=0x227e430, key=0x7fd979fc1665 "activityRangeType", value=..., flags=<value optimized out>) at /usr/src/debug/kdelibs-4.5.4/kdecore/config/kconfiggroup.cpp:930
#9  0x00007fd9ba83025f in KConfigGroup::writeEntry (this=0x227e430, key=0x7fd979fc1665 "activityRangeType", value=<value optimized out>, flags=...) at /usr/src/debug/kdelibs-4.5.4/kdecore/config/kconfiggroup.cpp:1117
#10 0x00007fd979fadc98 in writeCheck<int> (this=0x227e3f0) at /usr/include/kde4/kconfiggroup.h:748
#11 writeEntry<int> (this=0x227e3f0) at /usr/include/kde4/kconfiggroup.h:422
#12 KdeObservatory::saveConfig (this=0x227e3f0) at /usr/src/debug/kdeplasma-addons-4.5.4/applets/kdeobservatory/src/kdeobservatory.cpp:741
#13 0x00007fd979fb2119 in KdeObservatory::configAccepted (this=0x227e3f0) at /usr/src/debug/kdeplasma-addons-4.5.4/applets/kdeobservatory/src/kdeobservatory.cpp:407
#14 0x00007fd979fa7a9c in KdeObservatory::qt_metacall (this=0x227e3f0, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7fff897bd4b0) at /usr/src/debug/kdeplasma-addons-4.5.4/x86_64-redhat-linux-gnu/applets/kdeobservatory/moc_kdeobservatory.cpp:101
#15 0x00007fd9ba1ed04f in QMetaObject::activate (sender=0x1ba1fe0, m=<value optimized out>, local_signal_index=<value optimized out>, argv=0x0) at kernel/qobject.cpp:3272
#16 0x00007fd9badc9ed8 in KDialog::slotButtonClicked (this=0x1ba1fe0, button=4) at /usr/src/debug/kdelibs-4.5.4/kdeui/dialogs/kdialog.cpp:871
#17 0x00007fd9badca2c2 in KDialog::qt_metacall (this=0x1ba1fe0, _c=QMetaObject::InvokeMetaMethod, _id=33, _a=0x7fff897bd6d0) at /usr/src/debug/kdelibs-4.5.4/x86_64-redhat-linux-gnu/kdeui/kdialog.moc:190
#18 0x00007fd9bae92140 in KPageDialog::qt_metacall (this=0x1ba1fe0, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7fff897bd6d0) at /usr/src/debug/kdelibs-4.5.4/x86_64-redhat-linux-gnu/kdeui/kpagedialog.moc:70
#19 0x00007fd9badb9a00 in KConfigDialog::qt_metacall (this=0x1ba1fe0, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7fff897bd6d0) at /usr/src/debug/kdelibs-4.5.4/x86_64-redhat-linux-gnu/kdeui/kconfigdialog.moc:84
#20 0x00007fd9bc26b4e0 in Plasma::AppletConfigDialog::qt_metacall (this=0x1ba1fe0, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7fff897bd6d0) at /usr/src/debug/kdelibs-4.5.4/x86_64-redhat-linux-gnu/plasma/private/applet_p.moc:69
#21 0x00007fd9ba1ed04f in QMetaObject::activate (sender=0xe1f898, m=<value optimized out>, local_signal_index=<value optimized out>, argv=0x7fff897bd6d0) at kernel/qobject.cpp:3272
#22 0x00007fd9ba1f1ace in QSignalMapper::mapped (this=<value optimized out>, _t1=4) at .moc/release-shared/moc_qsignalmapper.cpp:101
#23 0x00007fd9ba1f1bd6 in QSignalMapper::map (this=0xe1f898, sender=0x1cf3740) at kernel/qsignalmapper.cpp:266
#24 0x00007fd9ba1f2310 in QSignalMapper::qt_metacall (this=0xe1f898, _c=QMetaObject::InvokeMetaMethod, _id=4, _a=0x7fff897bd830) at .moc/release-shared/moc_qsignalmapper.cpp:87
#25 0x00007fd9ba1ed04f in QMetaObject::activate (sender=0x1cf3740, m=<value optimized out>, local_signal_index=<value optimized out>, argv=0x7fff897bd830) at kernel/qobject.cpp:3272
#26 0x00007fd9b99f98b2 in QAbstractButton::clicked (this=<value optimized out>, _t1=false) at .moc/release-shared/moc_qabstractbutton.cpp:206
#27 0x00007fd9b9741c9b in QAbstractButtonPrivate::emitClicked (this=<value optimized out>) at widgets/qabstractbutton.cpp:546
#28 0x00007fd9b974326b in QAbstractButtonPrivate::click (this=0x22e5bc0) at widgets/qabstractbutton.cpp:539
#29 0x00007fd9b97434dc in QAbstractButton::mouseReleaseEvent (this=0x1cf3740, e=0x7fff897be1b0) at widgets/qabstractbutton.cpp:1121
#30 0x00007fd9b93d9fe8 in QWidget::event (this=0x1cf3740, event=0x7fff897be1b0) at kernel/qwidget.cpp:8200
#31 0x00007fd9b93888c4 in QApplicationPrivate::notify_helper (this=0x74f880, receiver=0x1cf3740, e=0x7fff897be1b0) at kernel/qapplication.cpp:4445
#32 0x00007fd9b938dc5a in QApplication::notify (this=<value optimized out>, receiver=0x1cf3740, e=0x7fff897be1b0) at kernel/qapplication.cpp:4006
#33 0x00007fd9bae5c566 in KApplication::notify (this=0x73edb0, receiver=0x1cf3740, event=0x7fff897be1b0) at /usr/src/debug/kdelibs-4.5.4/kdeui/kernel/kapplication.cpp:310
#34 0x00007fd9ba1d87ac in QCoreApplication::notifyInternal (this=0x73edb0, receiver=0x1cf3740, event=0x7fff897be1b0) at kernel/qcoreapplication.cpp:732
#35 0x00007fd9b93898c5 in sendEvent (receiver=0x1cf3740, event=0x7fff897be1b0, alienWidget=0x1cf3740, nativeWidget=0x1ba1fe0, buttonDown=0x7fd9b9e5c938, lastMouseReceiver=..., spontaneous=true) at ../../src/corelib/kernel/qcoreapplication.h:215
#36 QApplicationPrivate::sendMouseEvent (receiver=0x1cf3740, event=0x7fff897be1b0, alienWidget=0x1cf3740, nativeWidget=0x1ba1fe0, buttonDown=0x7fd9b9e5c938, lastMouseReceiver=..., spontaneous=true) at kernel/qapplication.cpp:3105
#37 0x00007fd9b9407868 in QETWidget::translateMouseEvent (this=0x1ba1fe0, event=<value optimized out>) at kernel/qapplication_x11.cpp:4438
#38 0x00007fd9b9405f49 in QApplication::x11ProcessEvent (this=0x73edb0, event=0x7fff897beb00) at kernel/qapplication_x11.cpp:3564
#39 0x00007fd9b942d896 in x11EventSourceDispatch (s=0x753150, callback=0, user_data=0x0) at kernel/qguieventdispatcher_glib.cpp:148
#40 0x0000003ec1641e33 in g_main_dispatch (context=0x752120) at gmain.c:2149
#41 g_main_context_dispatch (context=0x752120) at gmain.c:2702
#42 0x0000003ec1642610 in g_main_context_iterate (context=0x752120, block=1, dispatch=1, self=<value optimized out>) at gmain.c:2780
#43 0x0000003ec16428ad in g_main_context_iteration (context=0x752120, may_block=1) at gmain.c:2843
#44 0x00007fd9ba2038bf in QEventDispatcherGlib::processEvents (this=0x7257c0, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:415
#45 0x00007fd9b942d59e in QGuiEventDispatcherGlib::processEvents (this=<value optimized out>, flags=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:207
#46 0x00007fd9ba1d7b42 in QEventLoop::processEvents (this=<value optimized out>, flags=...) at kernel/qeventloop.cpp:149
#47 0x00007fd9ba1d7d8c in QEventLoop::exec (this=0x7fff897bee10, flags=...) at kernel/qeventloop.cpp:201
#48 0x00007fd9ba1dc24b in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1009
#49 0x00007fd9bd76cf88 in kdemain (argc=1, argv=0x7fff897bf208) at /usr/src/debug/kdebase-workspace-4.5.4/plasma/desktop/shell/main.cpp:118
#50 0x00007fd9b896fe7d in __libc_start_main (main=0x400920 <main(int, char**)>, argc=1, ubp_av=0x7fff897bf208, init=<value optimized out>, fini=<value optimized out>, rtld_fini=<value optimized out>, stack_end=0x7fff897bf1f8) at libc-start.c:226
#51 0x0000000000400849 in _start ()

Reported using DrKonqi
Comment 1 Sandro Andrade 2011-01-13 02:00:04 UTC
Hi,

Even though kde observatory isn't functional right now because of webservice unavailability I couldn't reproduce this error. I've tried it compiled in both KDE4.5.5/Qt4.7.1 and KDETrunk/Qt-copy and saving configuration changes just present the "Last update" message with no information (as explained before).

Could you please try again, if possible in KDE 4.5.5 ?

Thanks,
Comment 2 Dario Andres 2011-03-08 20:07:41 UTC
[Comment from a bug triager]
From bug 266958 (KDE SC 4.5.5):

(the kconfig setting involved in the crash seems to be "activityRangeType" )

- What I was doing when the application crashed:
I added 'KDE Observatory' as a widget to the desktop and was looking at the
properties (right click -> properties).  I didn't change anything and simply
closed the dialog when the crash occurred.
Comment 3 Dario Andres 2011-03-08 20:07:46 UTC
*** Bug 266958 has been marked as a duplicate of this bug. ***