Bug 304138 - plasma-desktop crashes when applying battery widget settings
Summary: plasma-desktop crashes when applying battery widget settings
Status: RESOLVED DUPLICATE of bug 301507
Alias: None
Product: plasma4
Classification: Plasma
Component: general (show other bugs)
Version: unspecified
Platform: Ubuntu Linux
: NOR crash
Target Milestone: ---
Assignee: Plasma Bugs List
URL:
Keywords:
: 304167 (view as bug list)
Depends on:
Blocks:
 
Reported: 2012-07-27 12:36 UTC by l.tomalak+bugskde
Modified: 2012-07-28 22:55 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 l.tomalak+bugskde 2012-07-27 12:36:38 UTC
Application: plasma-desktop (0.4)
KDE Platform Version: 4.8.90 (4.8.90)
Qt Version: 4.8.2
Operating System: Linux 3.5.0-6-generic x86_64
Distribution: Ubuntu quantal (development branch)

-- Information about the crash:
Crash occurs after changing anything in battery widget and hit "Apply" button

The crash can be reproduced every time.

-- Backtrace:
Application: Powłoka pulpitu Plazmy (plasma-desktop), signal: Segmentation fault
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
[Current thread is 1 (Thread 0x7f9c32583780 (LWP 2351))]

Thread 5 (Thread 0x7f9c13a79700 (LWP 2352)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x00007f9c2b8ecc77 in ?? () from /usr/lib/x86_64-linux-gnu/libQtScript.so.4
#2  0x00007f9c2b8ecca9 in ?? () from /usr/lib/x86_64-linux-gnu/libQtScript.so.4
#3  0x00007f9c261aee9a in start_thread (arg=0x7f9c13a79700) at pthread_create.c:308
#4  0x00007f9c31e6a4bd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#5  0x0000000000000000 in ?? ()

Thread 4 (Thread 0x7f9c0ba1a700 (LWP 2669)):
#0  0x00007f9c31e780f0 in pthread_mutex_unlock (mutex=0x7f9c04000a60) at forward.c:184
#1  0x00007f9c25aed201 in g_mutex_unlock () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f9c25ab0e0c in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f9c25ab1054 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#4  0x00007f9c2eb180b6 in QEventDispatcherGlib::processEvents (this=0x7f9c040008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:426
#5  0x00007f9c2eae86cf in QEventLoop::processEvents (this=this@entry=0x7f9c0ba19df0, flags=...) at kernel/qeventloop.cpp:149
#6  0x00007f9c2eae8958 in QEventLoop::exec (this=0x7f9c0ba19df0, flags=...) at kernel/qeventloop.cpp:204
#7  0x00007f9c2e9eba50 in QThread::exec (this=<optimized out>) at thread/qthread.cpp:501
#8  0x00007f9c2eac8fbf in QInotifyFileSystemWatcherEngine::run (this=0x24f3600) at io/qfilesystemwatcher_inotify.cpp:248
#9  0x00007f9c2e9ee9eb in QThreadPrivate::start (arg=0x24f3600) at thread/qthread_unix.cpp:307
#10 0x00007f9c261aee9a in start_thread (arg=0x7f9c0ba1a700) at pthread_create.c:308
#11 0x00007f9c31e6a4bd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#12 0x0000000000000000 in ?? ()

Thread 3 (Thread 0x7f9c0a416700 (LWP 2829)):
#0  0x00007f9c261b0f69 in __pthread_mutex_lock (mutex=0x7f9bfc000a60) at pthread_mutex_lock.c:92
#1  0x00007f9c25aed1d1 in g_mutex_lock () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f9c25ab0e35 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f9c25ab1054 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#4  0x00007f9c2eb180b6 in QEventDispatcherGlib::processEvents (this=0x7f9bfc0008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:426
#5  0x00007f9c2eae86cf in QEventLoop::processEvents (this=this@entry=0x7f9c0a415df0, flags=...) at kernel/qeventloop.cpp:149
#6  0x00007f9c2eae8958 in QEventLoop::exec (this=0x7f9c0a415df0, flags=...) at kernel/qeventloop.cpp:204
#7  0x00007f9c2e9eba50 in QThread::exec (this=<optimized out>) at thread/qthread.cpp:501
#8  0x00007f9c2eac8fbf in QInotifyFileSystemWatcherEngine::run (this=0x2564860) at io/qfilesystemwatcher_inotify.cpp:248
#9  0x00007f9c2e9ee9eb in QThreadPrivate::start (arg=0x2564860) at thread/qthread_unix.cpp:307
#10 0x00007f9c261aee9a in start_thread (arg=0x7f9c0a416700) at pthread_create.c:308
#11 0x00007f9c31e6a4bd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#12 0x0000000000000000 in ?? ()

Thread 2 (Thread 0x7f9c00c7b700 (LWP 2836)):
#0  0x00007f9c31e5eb03 in __GI___poll (fds=<optimized out>, nfds=<optimized out>, timeout=<optimized out>) at ../sysdeps/unix/sysv/linux/poll.c:87
#1  0x00007f9c25ab0f34 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f9c25ab1392 in g_main_loop_run () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f9c017711d6 in ?? () from /usr/lib/x86_64-linux-gnu/libgio-2.0.so.0
#4  0x00007f9c25ad3db5 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#5  0x00007f9c261aee9a in start_thread (arg=0x7f9c00c7b700) at pthread_create.c:308
#6  0x00007f9c31e6a4bd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#7  0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7f9c32583780 (LWP 2351)):
[KCrash Handler]
#6  operator! (this=0x18) at /usr/include/qt4/QtCore/qshareddata.h:206
#7  fullName (this=0x0) at ../../kdecore/config/kconfiggroup.cpp:86
#8  KConfigGroup::writeEntry (this=this@entry=0x7fff51182620, key=key@entry=0x7f9be130709f "suspendType", value=..., flags=...) at ../../kdecore/config/kconfiggroup.cpp:848
#9  0x00007f9c2f162ab8 in KConfigGroup::writeEntry (this=0x7fff51182620, key=0x7f9be130709f "suspendType", value=..., flags=...) at ../../kdecore/config/kconfiggroup.cpp:1035
#10 0x00007f9be1306319 in writeCheck<unsigned int> (pFlags=..., value=@0x7fff5118260c: 1, key=0x7f9be130709f "suspendType", this=0x7fff51182620) at /usr/include/KDE/../kconfiggroup.h:752
#11 writeEntry<unsigned int> (pFlags=..., value=@0x7fff5118260c: 1, key=0x7f9be130709f "suspendType", this=0x7fff51182620) at /usr/include/KDE/../kconfiggroup.h:426
#12 PowerDevil::BundledActions::SuspendSessionConfig::save (this=0x3c2b0e0) at ../../../../../powerdevil/daemon/actions/bundled/suspendsessionconfig.cpp:53
#13 0x00007f9be1f57261 in ActionEditWidget::save (this=0x3aff940) at ../../../../powerdevil/kcmodule/common/actioneditwidget.cpp:158
#14 0x00007f9be2167f95 in EditPage::save (this=0x3669640) at ../../../../powerdevil/kcmodule/profiles/EditPage.cpp:185
#15 0x00007f9c2f82f679 in qt_static_metacall (_a=<optimized out>, _id=<optimized out>, _o=<optimized out>, _c=<optimized out>) at ./kcmodule.moc:67
#16 KCModule::qt_static_metacall (_o=<optimized out>, _c=<optimized out>, _id=<optimized out>, _a=<optimized out>) at ./kcmodule.moc:57
#17 0x00007f9c2eaff36f in QMetaObject::activate (sender=0x2abe2e0, m=<optimized out>, local_signal_index=<optimized out>, argv=0x0) at kernel/qobject.cpp:3547
#18 0x00007f9c2f700e67 in KDialog::slotButtonClicked (this=0x2abe2e0, button=8) at ../../kdeui/dialogs/kdialog.cpp:888
#19 0x00007f9c2f7013a4 in qt_static_metacall (_a=<optimized out>, _id=<optimized out>, _o=<optimized out>, _c=<optimized out>) at ./kdialog.moc:167
#20 KDialog::qt_static_metacall (_o=<optimized out>, _c=<optimized out>, _id=<optimized out>, _a=<optimized out>) at ./kdialog.moc:127
#21 0x00007f9c2eaff36f in QMetaObject::activate (sender=0x32c2d30, m=<optimized out>, local_signal_index=<optimized out>, argv=0x7fff51182a40) at kernel/qobject.cpp:3547
#22 0x00007f9c2eb052de in QSignalMapper::mapped (this=this@entry=0x32c2d30, _t1=8) at .moc/release-shared/moc_qsignalmapper.cpp:115
#23 0x00007f9c2eb054e5 in QSignalMapper::map (this=0x32c2d30, sender=0x1e87080) at kernel/qsignalmapper.cpp:266
#24 0x00007f9c2eaff36f in QMetaObject::activate (sender=0x1e87080, m=<optimized out>, local_signal_index=<optimized out>, argv=0x7fff51182bd0) at kernel/qobject.cpp:3547
#25 0x00007f9c2e4fcd82 in QAbstractButton::clicked (this=<optimized out>, _t1=false) at .moc/release-shared/moc_qabstractbutton.cpp:220
#26 0x00007f9c2e24f8ee in QAbstractButtonPrivate::emitClicked (this=this@entry=0x32c1720) at widgets/qabstractbutton.cpp:548
#27 0x00007f9c2e250120 in QAbstractButtonPrivate::click (this=this@entry=0x32c1720) at widgets/qabstractbutton.cpp:541
#28 0x00007f9c2e25038c in QAbstractButton::mouseReleaseEvent (this=0x1e87080, e=0x7fff51183470) at widgets/qabstractbutton.cpp:1123
#29 0x00007f9c2dee1690 in QWidget::event (this=0x1e87080, event=0x7fff51183470) at kernel/qwidget.cpp:8371
#30 0x00007f9c2de91d9c in QApplicationPrivate::notify_helper (this=this@entry=0x1ce2830, receiver=receiver@entry=0x1e87080, e=e@entry=0x7fff51183470) at kernel/qapplication.cpp:4556
#31 0x00007f9c2de96a6b in QApplication::notify (this=<optimized out>, receiver=0x1e87080, e=0x7fff51183470) at kernel/qapplication.cpp:4099
#32 0x00007f9c2f79ff76 in KApplication::notify (this=0x1cb81c0, receiver=0x1e87080, event=0x7fff51183470) at ../../kdeui/kernel/kapplication.cpp:311
#33 0x00007f9c2eae997e in QCoreApplication::notifyInternal (this=0x1cb81c0, receiver=0x1e87080, event=0x7fff51183470) at kernel/qcoreapplication.cpp:915
#34 0x00007f9c2de92bd3 in sendEvent (event=<optimized out>, receiver=<optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:231
#35 QApplicationPrivate::sendMouseEvent (receiver=0x1e87080, event=0x7fff51183470, alienWidget=0x1e87080, nativeWidget=0x2abe2e0, buttonDown=0x7f9c2e96f2e8, lastMouseReceiver=..., spontaneous=true) at kernel/qapplication.cpp:3167
#36 0x00007f9c2df10384 in QETWidget::translateMouseEvent (this=this@entry=0x2abe2e0, event=event@entry=0x7fff51183bf0) at kernel/qapplication_x11.cpp:4617
#37 0x00007f9c2df0f27f in QApplication::x11ProcessEvent (this=0x1cb81c0, event=0x7fff51183bf0) at kernel/qapplication_x11.cpp:3732
#38 0x00007f9c2df36de2 in x11EventSourceDispatch (s=0x1ce6200, callback=0, user_data=0x0) at kernel/qguieventdispatcher_glib.cpp:146
#39 0x00007f9c25ab0c65 in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#40 0x00007f9c25ab0f98 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#41 0x00007f9c25ab1054 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#42 0x00007f9c2eb18096 in QEventDispatcherGlib::processEvents (this=0x1c63ad0, flags=...) at kernel/qeventdispatcher_glib.cpp:424
#43 0x00007f9c2df36a5e in QGuiEventDispatcherGlib::processEvents (this=<optimized out>, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#44 0x00007f9c2eae86cf in QEventLoop::processEvents (this=this@entry=0x7fff51183fc0, flags=...) at kernel/qeventloop.cpp:149
#45 0x00007f9c2eae8958 in QEventLoop::exec (this=0x7fff51183fc0, flags=...) at kernel/qeventloop.cpp:204
#46 0x00007f9c2eaedb18 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1187
#47 0x00007f9c3216ffa5 in kdemain (argc=1, argv=0x7fff511842b8) at ../../../../plasma/desktop/shell/main.cpp:120
#48 0x00007f9c31d9976d in __libc_start_main (main=0x4006a0 <main(int, char**)>, argc=1, ubp_av=0x7fff511842b8, init=<optimized out>, fini=<optimized out>, rtld_fini=<optimized out>, stack_end=0x7fff511842a8) at libc-start.c:226
#49 0x00000000004006d1 in _start ()

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

Possible duplicates by query: bug 302047.

Reported using DrKonqi
Comment 1 Dario Cambié 2012-07-27 14:17:31 UTC
It's a duplicate of Bug 301507, already fixed in 4.9.
Comment 2 Lamarque V. Souza 2012-07-28 22:54:13 UTC
*** Bug 304167 has been marked as a duplicate of this bug. ***
Comment 3 Lamarque V. Souza 2012-07-28 22:55:26 UTC

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