Bug 343677 - KDE setting crashes when I click Hardware -> Power management -> Advanced setting
Summary: KDE setting crashes when I click Hardware -> Power management -> Advanced set...
Status: RESOLVED WORKSFORME
Alias: None
Product: systemsettings
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: Mint (Ubuntu based) Linux
: NOR crash
Target Milestone: ---
Assignee: Unassigned bugs mailing-list
URL:
Keywords: drkonqi, triaged
Depends on:
Blocks:
 
Reported: 2015-02-02 06:14 UTC by johnjohnlys
Modified: 2018-10-27 02:23 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description johnjohnlys 2015-02-02 06:14:59 UTC
Application: systemsettings (4.11.11)
KDE Platform Version: 4.14.2
Qt Version: 4.8.6
Operating System: Linux 3.13.0-37-generic x86_64
Distribution: Linux Mint 17.1 Rebecca

-- Information about the crash:
- Custom settings of the application:
The configuration is inherited from Mint 17 and I just installed 17.1 yesterday.
I think it's OK because all of the other settings work fine.
However as long as I click "Hardware -> Power management -> Advanced setting", it crashes.

The crash can be reproduced every time.

-- Backtrace:
Application: 系統設定 (systemsettings), signal: Segmentation fault
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
[Current thread is 1 (Thread 0x7f7d74558800 (LWP 7876))]

Thread 2 (Thread 0x7f7d52e17700 (LWP 7877)):
#0  __pthread_mutex_unlock_usercnt (decr=1, mutex=0x7f7d4c000a80) at pthread_mutex_unlock.c:41
#1  __GI___pthread_mutex_unlock (mutex=0x7f7d4c000a80) at pthread_mutex_unlock.c:310
#2  0x00007f7d6a4eb9b1 in g_mutex_unlock () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f7d6a4a9ef6 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#4  0x00007f7d6a4aa0ec in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#5  0x00007f7d71cd57be in QEventDispatcherGlib::processEvents (this=0x7f7d4c0008e0, flags=...) at kernel/qeventdispatcher_glib.cpp:436
#6  0x00007f7d71ca70af in QEventLoop::processEvents (this=this@entry=0x7f7d52e16da0, flags=...) at kernel/qeventloop.cpp:149
#7  0x00007f7d71ca73a5 in QEventLoop::exec (this=this@entry=0x7f7d52e16da0, flags=...) at kernel/qeventloop.cpp:204
#8  0x00007f7d71ba3c5f in QThread::exec (this=this@entry=0x1da97e0) at thread/qthread.cpp:537
#9  0x00007f7d71c88823 in QInotifyFileSystemWatcherEngine::run (this=0x1da97e0) at io/qfilesystemwatcher_inotify.cpp:265
#10 0x00007f7d71ba632f in QThreadPrivate::start (arg=0x1da97e0) at thread/qthread_unix.cpp:349
#11 0x00007f7d6a989182 in start_thread (arg=0x7f7d52e17700) at pthread_create.c:312
#12 0x00007f7d7155c00d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111

Thread 1 (Thread 0x7f7d74558800 (LWP 7876)):
[KCrash Handler]
#6  _dl_relocate_object (scope=0x239f7e8, reloc_mode=reloc_mode@entry=1, consider_profiling=consider_profiling@entry=0) at dl-reloc.c:238
#7  0x00007f7d7439fce1 in dl_open_worker (a=a@entry=0x7fffb886b388) at dl-open.c:427
#8  0x00007f7d7439aff4 in _dl_catch_error (objname=objname@entry=0x7fffb886b378, errstring=errstring@entry=0x7fffb886b380, mallocedp=mallocedp@entry=0x7fffb886b370, operate=operate@entry=0x7f7d7439f9a0 <dl_open_worker>, args=args@entry=0x7fffb886b388) at dl-error.c:187
#9  0x00007f7d7439f3bb in _dl_open (file=0x2436c58 "/usr/lib/kde4/kcm_powerdevilglobalconfig.so", mode=-2147483647, caller_dlopen=<optimized out>, nsid=-2, argc=5, argv=0x7fffb886ec08, env=0x1849190) at dl-open.c:661
#10 0x00007f7d68c8d02b in dlopen_doit (a=a@entry=0x7fffb886b5a0) at dlopen.c:66
#11 0x00007f7d7439aff4 in _dl_catch_error (objname=0x164a470, errstring=0x164a478, mallocedp=0x164a468, operate=0x7f7d68c8cfd0 <dlopen_doit>, args=0x7fffb886b5a0) at dl-error.c:187
#12 0x00007f7d68c8d62d in _dlerror_run (operate=operate@entry=0x7f7d68c8cfd0 <dlopen_doit>, args=args@entry=0x7fffb886b5a0) at dlerror.c:163
#13 0x00007f7d68c8d0c1 in __dlopen (file=<optimized out>, mode=<optimized out>) at dlopen.c:87
#14 0x00007f7d71c996b8 in QLibraryPrivate::load_sys (this=this@entry=0x1cd2820) at plugin/qlibrary_unix.cpp:226
#15 0x00007f7d71c9459a in QLibraryPrivate::load (this=0x1cd2820) at plugin/qlibrary.cpp:469
#16 0x00007f7d71c94ba3 in QLibraryPrivate::loadPlugin (this=0x1cd2820) at plugin/qlibrary.cpp:519
#17 0x00007f7d71c8c691 in QPluginLoader::load (this=this@entry=0x7fffb886cb70) at plugin/qpluginloader.cpp:227
#18 0x00007f7d7248b470 in KPluginLoader::load (this=this@entry=0x7fffb886cb70) at ../../kdecore/util/kpluginloader.cpp:239
#19 0x00007f7d7248beb8 in KPluginLoader::factory (this=this@entry=0x7fffb886cb70) at ../../kdecore/util/kpluginloader.cpp:204
#20 0x00007f7d73c76890 in createInstance<KCModule> (error=0x7fffb886cac0, args=..., parent=0x248b180, parentWidget=0x0, this=0x1a3ac90) at ../../kdecore/services/kservice.h:571
#21 createInstance<KCModule> (error=0x7fffb886cac0, args=..., parent=0x248b180, this=0x1a3ac90) at ../../kdecore/services/kservice.h:550
#22 KCModuleLoader::loadModule (mod=..., report=report@entry=KCModuleLoader::Inline, parent=0x248b180, args=...) at ../../kutils/kcmoduleloader.cpp:89
#23 0x00007f7d73c7bb1b in KCModuleProxyPrivate::loadModule (this=this@entry=0x248b0a0) at ../../kutils/kcmoduleproxy.cpp:107
#24 0x00007f7d73c7c235 in KCModuleProxy::realModule (this=this@entry=0x248b180) at ../../kutils/kcmoduleproxy.cpp:83
#25 0x00007f7d73a550e1 in ModuleView::stateChanged (this=0x19e92c0) at ../../../systemsettings/core/ModuleView.cpp:350
#26 0x00007f7d73a551dc in ModuleView::activeModuleChanged (this=<optimized out>, current=<optimized out>, previous=<optimized out>) at ../../../systemsettings/core/ModuleView.cpp:337
#27 0x00007f7d73a55e53 in ModuleView::qt_static_metacall (_o=<optimized out>, _id=<optimized out>, _a=<optimized out>, _c=<optimized out>) at ./ModuleView.moc:75
#28 0x00007f7d71cbc87a in QMetaObject::activate (sender=0x1a74410, m=m@entry=0x7f7d73a2ad60 <KPageWidget::staticMetaObject>, local_signal_index=local_signal_index@entry=0, argv=argv@entry=0x7fffb886cf40) at kernel/qobject.cpp:3539
#29 0x00007f7d7364fd88 in KPageWidget::currentPageChanged (this=<optimized out>, _t1=0x248af00, _t2=0x0) at ./kpagewidget.moc:109
#30 0x00007f7d71cbc87a in QMetaObject::activate (sender=0x1a74410, m=m@entry=0x7f7d73a29880 <KPageView::staticMetaObject>, local_signal_index=local_signal_index@entry=0, argv=argv@entry=0x7fffb886d070) at kernel/qobject.cpp:3539
#31 0x00007f7d7364c397 in KPageView::currentPageChanged (this=<optimized out>, _t1=..., _t2=...) at ./kpageview.moc:153
#32 0x00007f7d7364cac8 in KPageViewPrivate::_k_pageSelected (this=0x1a74450, index=..., previous=...) at ../../kdeui/paged/kpageview.cpp:244
#33 0x00007f7d71cbc87a in QMetaObject::activate (sender=sender@entry=0x3552b80, m=m@entry=0x7f7d733dcfc0 <QItemSelectionModel::staticMetaObject>, local_signal_index=local_signal_index@entry=0, argv=argv@entry=0x7fffb886d230) at kernel/qobject.cpp:3539
#34 0x00007f7d72e5e857 in QItemSelectionModel::selectionChanged (this=this@entry=0x3552b80, _t1=..., _t2=...) at .moc/release-shared/moc_qitemselectionmodel.cpp:165
#35 0x00007f7d72e63eb1 in QItemSelectionModel::emitSelectionChanged (this=this@entry=0x3552b80, newSelection=..., oldSelection=...) at itemviews/qitemselectionmodel.cpp:1544
#36 0x00007f7d72e64683 in QItemSelectionModel::select (this=0x3552b80, selection=..., command=...) at itemviews/qitemselectionmodel.cpp:1110
#37 0x00007f7d72e5f6c8 in QItemSelectionModel::select (this=this@entry=0x3552b80, index=..., command=...) at itemviews/qitemselectionmodel.cpp:985
#38 0x00007f7d72e5ea87 in QItemSelectionModel::setCurrentIndex (this=0x3552b80, index=..., command=...) at itemviews/qitemselectionmodel.cpp:1174
#39 0x00007f7d7364bc4e in KPageViewPrivate::_k_rebuildGui (this=0x1a74450) at ../../kdeui/paged/kpageview.cpp:70
#40 0x00007f7d7364c705 in KPageViewPrivate::_k_modelChanged (this=0x1a74450) at ../../kdeui/paged/kpageview.cpp:190
#41 0x00007f7d71cbc87a in QMetaObject::activate (sender=sender@entry=0x19f77d0, m=m@entry=0x7f7d7200c6a0 <QAbstractItemModel::staticMetaObject>, local_signal_index=local_signal_index@entry=2, argv=argv@entry=0x0) at kernel/qobject.cpp:3539
#42 0x00007f7d71d065a3 in QAbstractItemModel::layoutChanged (this=this@entry=0x19f77d0) at .moc/release-shared/moc_qabstractitemmodel.cpp:176
#43 0x00007f7d736513d9 in KPageWidgetModel::addPage (this=0x19f77d0, item=item@entry=0x248af00) at ../../kdeui/paged/kpagewidgetmodel.cpp:401
#44 0x00007f7d7364fc6d in KPageWidget::addPage (this=<optimized out>, item=item@entry=0x248af00) at ../../kdeui/paged/kpagewidget.cpp:87
#45 0x00007f7d73a55975 in ModuleView::addModule (this=this@entry=0x19e92c0, module=0x1a65fa8) at ../../../systemsettings/core/ModuleView.cpp:191
#46 0x00007f7d73a55c25 in ModuleView::loadModule (this=0x19e92c0, menuItem=...) at ../../../systemsettings/core/ModuleView.cpp:144
#47 0x00007f7d56ebe15e in ClassicMode::changeModule (this=0x16d35d0, activeModule=...) at ../../../systemsettings/classic/ClassicMode.cpp:170
#48 0x00007f7d71cbc87a in QMetaObject::activate (sender=sender@entry=0x1a9f240, m=m@entry=0x7f7d733db600 <QAbstractItemView::staticMetaObject>, local_signal_index=local_signal_index@entry=3, argv=argv@entry=0x7fffb886da10) at kernel/qobject.cpp:3539
#49 0x00007f7d72e0d275 in QAbstractItemView::activated (this=this@entry=0x1a9f240, _t1=...) at .moc/release-shared/moc_qabstractitemview.cpp:361
#50 0x00007f7d72e0d4f0 in QAbstractItemView::mouseReleaseEvent (this=0x1a9f240, event=0x7fffb886e270) at itemviews/qabstractitemview.cpp:1821
#51 0x00007f7d7296550a in QWidget::event (this=this@entry=0x1a9f240, event=event@entry=0x7fffb886e270) at kernel/qwidget.cpp:8376
#52 0x00007f7d72d06fce in QFrame::event (this=0x1a9f240, e=0x7fffb886e270) at widgets/qframe.cpp:557
#53 0x00007f7d72e165b3 in QAbstractItemView::viewportEvent (this=this@entry=0x1a9f240, event=event@entry=0x7fffb886e270) at itemviews/qabstractitemview.cpp:1644
#54 0x00007f7d72e55190 in QTreeView::viewportEvent (this=0x1a9f240, event=0x7fffb886e270) at itemviews/qtreeview.cpp:1252
#55 0x00007f7d71ca8646 in QCoreApplicationPrivate::sendThroughObjectEventFilters (this=this@entry=0x16d8f80, receiver=receiver@entry=0x19b1400, event=event@entry=0x7fffb886e270) at kernel/qcoreapplication.cpp:1063
#56 0x00007f7d72915e0c in QApplicationPrivate::notify_helper (this=this@entry=0x16d8f80, receiver=receiver@entry=0x19b1400, e=e@entry=0x7fffb886e270) at kernel/qapplication.cpp:4563
#57 0x00007f7d7291c5dd in QApplication::notify (this=this@entry=0x7fffb886eac0, receiver=receiver@entry=0x19b1400, e=e@entry=0x7fffb886e270) at kernel/qapplication.cpp:4110
#58 0x00007f7d73620cca in KApplication::notify (this=0x7fffb886eac0, receiver=0x19b1400, event=0x7fffb886e270) at ../../kdeui/kernel/kapplication.cpp:311
#59 0x00007f7d71ca84dd in QCoreApplication::notifyInternal (this=0x7fffb886eac0, receiver=receiver@entry=0x19b1400, event=event@entry=0x7fffb886e270) at kernel/qcoreapplication.cpp:953
#60 0x00007f7d7291bd93 in sendEvent (event=<optimized out>, receiver=<optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:231
#61 QApplicationPrivate::sendMouseEvent (receiver=receiver@entry=0x19b1400, event=event@entry=0x7fffb886e270, alienWidget=alienWidget@entry=0x19b1400, nativeWidget=nativeWidget@entry=0x19e9290, buttonDown=buttonDown@entry=0x7f7d733fb318 <qt_button_down>, lastMouseReceiver=..., spontaneous=spontaneous@entry=true) at kernel/qapplication.cpp:3178
#62 0x00007f7d729909cb in QETWidget::translateMouseEvent (this=this@entry=0x19e9290, event=event@entry=0x7fffb886e5f0) at kernel/qapplication_x11.cpp:4634
#63 0x00007f7d72990269 in QApplication::x11ProcessEvent (this=0x7fffb886eac0, event=event@entry=0x7fffb886e5f0) at kernel/qapplication_x11.cpp:3627
#64 0x00007f7d729b7b02 in x11EventSourceDispatch (s=0x16d3910, callback=0x0, user_data=0x0) at kernel/qguieventdispatcher_glib.cpp:146
#65 0x00007f7d6a4a9e04 in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#66 0x00007f7d6a4aa048 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#67 0x00007f7d6a4aa0ec in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#68 0x00007f7d71cd57be in QEventDispatcherGlib::processEvents (this=0x1640af0, flags=...) at kernel/qeventdispatcher_glib.cpp:436
#69 0x00007f7d729b7bb6 in QGuiEventDispatcherGlib::processEvents (this=<optimized out>, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#70 0x00007f7d71ca70af in QEventLoop::processEvents (this=this@entry=0x7fffb886e9c0, flags=...) at kernel/qeventloop.cpp:149
#71 0x00007f7d71ca73a5 in QEventLoop::exec (this=this@entry=0x7fffb886e9c0, flags=...) at kernel/qeventloop.cpp:204
#72 0x00007f7d71cacb79 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1225
#73 0x00007f7d7291437c in QApplication::exec () at kernel/qapplication.cpp:3828
#74 0x000000000040aadb in main (argc=5, argv=0x7fffb886ec08) at ../../../systemsettings/app/main.cpp:49

Possible duplicates by query: bug 333399.

Reported using DrKonqi
Comment 1 Albert Astals Cid 2015-09-26 10:57:13 UTC
I can't reproduce this using a modern Plasma 5 system.

I know this bug is old but do you remember if you could reproduce it every time or was a one off crash? 

Can you still reproduce it?
Comment 2 johnjohnlys 2015-09-30 06:32:01 UTC
Yes, the KDE System Setting always crashes as long as I click "Hardware -> Power management -> Advanced setting".
However I have no such problem on another computer with Linux Mint 17.2.
So I'm not sure whether this is a hardware related bug or is just owing to wrong configuration.
Comment 3 Albert Astals Cid 2015-10-01 19:36:10 UTC
Can you please try running system settings under valgrind

valgrind systemsettings

And attach here the backtrace of the crash when run under valgrind?
Comment 4 Andrew Crouthamel 2018-09-25 21:51:51 UTC
Dear Bug Submitter,

This bug has been in NEEDSINFO status with no change for at least 15 days. Please provide the requested information as soon as possible and set the bug status as REPORTED. Due to regular bug tracker maintenance, if the bug is still in NEEDSINFO status with no change in 30 days, the bug will be closed as RESOLVED > WORKSFORME due to lack of needed information.

For more information about our bug triaging procedures please read the wiki located here: https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

If you have already provided the requested information, please set the bug status as REPORTED so that the KDE team knows that the bug is ready to be confirmed.

Thank you for helping us make KDE software even better for everyone!
Comment 5 Andrew Crouthamel 2018-10-27 02:23:41 UTC
Dear Bug Submitter,

This bug has been in NEEDSINFO status with no change for at least 30 days. The bug is now closed as RESOLVED > WORKSFORME due to lack of needed information.

For more information about our bug triaging procedures please read the wiki located here: https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

Thank you for helping us make KDE software even better for everyone!