Bug 298716

Summary: systemsettings Crash on PolicyKit Editor
Product: [Plasma] policykit-kde-agent-1 Reporter: Peter Tselios <ptselios>
Component: kcm_authAssignee: Dario Freddi <drf>
Status: RESOLVED WORKSFORME    
Severity: crash CC: andrew.crouthamel, dantti12, EssL.main, m.krasilnikov, ManuelStol
Priority: NOR    
Version First Reported In: unspecified   
Target Milestone: ---   
Platform: openSUSE   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Peter Tselios 2012-04-24 05:57:35 UTC
Application: systemsettings (1.0)
KDE Platform Version: 4.8.2 (4.8.2) "release 494"
Qt Version: 4.8.1
Operating System: Linux 3.1.9-1.4-desktop i686
Distribution: "openSUSE 12.1 (i586)"

-- Information about the crash:
How to reproduce the error:
Start the systemsettings.
Navigate to the System Administration, Actions Policy.
The crash happens every time I try to change any action. Example:
Go to org.freedesktop-->The udisks project.
Select the Mount a Device action and Authenticate to Root with "Remember" option checked.
Now, select the "Local authorizations on the right panel. 
Add a local (existing) user and press OK.

In my installation, it crashes with Segmentation fault (11)

The crash can be reproduced every time.

-- Backtrace:
Application: Ρυθμίσεις συστήματος (systemsettings), signal: Segmentation fault
[Current thread is 1 (Thread 0xb4f4b930 (LWP 19337))]

Thread 2 (Thread 0xb0704b70 (LWP 19423)):
#0  0xb60ecbb4 in poll () from /lib/libc.so.6
#1  0xb57e1f7b in g_poll () from /usr/lib/libglib-2.0.so.0
#2  0xb57d3466 in ?? () from /usr/lib/libglib-2.0.so.0
#3  0xb57d3b6b in g_main_loop_run () from /usr/lib/libglib-2.0.so.0
#4  0xb0a1025a in ?? () from /usr/lib/libgio-2.0.so.0
#5  0xb57fa2e4 in ?? () from /usr/lib/libglib-2.0.so.0
#6  0xb58d8a7d in start_thread () from /lib/libpthread.so.0
#7  0xb60f7abe in clone () from /lib/libc.so.6

Thread 1 (Thread 0xb4f4b930 (LWP 19337)):
[KCrash Handler]
#6  0x00000000 in ?? ()
#7  0xb0b38ccb in text (this=0x829e478) at /usr/include/QtGui/qlistwidget.h:90
#8  PolkitKde::ActionWidget::editExplicitPKLAEntry (this=0x93c7e98, item=0x829e478) at /usr/src/debug/polkit-kde-kcmmodules-1-0.98.1+git20110929/polkitactions/ActionWidget.cpp:277
#9  0xb0b2f4f9 in qt_static_metacall (_a=0xbf83fa28, _id=3, _o=0x93c7e98, _c=<optimized out>) at /usr/src/debug/polkit-kde-kcmmodules-1-0.98.1+git20110929/build/polkitactions/moc_ActionWidget.cpp:78
#10 PolkitKde::ActionWidget::qt_static_metacall (_o=0x93c7e98, _c=QMetaObject::InvokeMetaMethod, _id=3, _a=0xbf83fa28) at /usr/src/debug/polkit-kde-kcmmodules-1-0.98.1+git20110929/build/polkitactions/moc_ActionWidget.cpp:69
#11 0xb6415a0f in QMetaObject::activate (sender=0x9441a60, m=0xb738bdac, local_signal_index=2, argv=0xbf83fa28) at kernel/qobject.cpp:3556
#12 0xb702bc85 in QListWidget::itemDoubleClicked (this=0x9441a60, _t1=0x829e478) at .moc/release-shared/moc_qlistwidget.cpp:219
#13 0xb702bcf4 in QListWidgetPrivate::_q_emitItemDoubleClicked (this=0x9368f40, index=...) at itemviews/qlistwidget.cpp:1085
#14 0xb6415a0f in QMetaObject::activate (sender=0x9441a60, m=0xb738ad1c, local_signal_index=2, argv=0xbf83fb38) at kernel/qobject.cpp:3556
#15 0xb6fba375 in QAbstractItemView::doubleClicked (this=0x9441a60, _t1=...) at .moc/release-shared/moc_qabstractitemview.cpp:355
#16 0xb6fba531 in QAbstractItemView::mouseDoubleClickEvent (this=0x9441a60, event=0xbf840404) at itemviews/qabstractitemview.cpp:1846
#17 0xb6a61a35 in QWidget::event (this=0x9441a60, event=0xbf840404) at kernel/qwidget.cpp:8366
#18 0xb6e7eb05 in QFrame::event (this=0x9441a60, e=0xbf840404) at widgets/qframe.cpp:557
#19 0xb6f12511 in QAbstractScrollArea::viewportEvent (this=0x9441a60, e=0xbf840404) at widgets/qabstractscrollarea.cpp:1043
#20 0xb6fb8a8c in QAbstractItemView::viewportEvent (this=0x9441a60, event=0xbf840404) at itemviews/qabstractitemview.cpp:1644
#21 0xb6f14cd6 in viewportEvent (this=<optimized out>, event=0xbf840404) at widgets/qabstractscrollarea_p.h:100
#22 eventFilter (e=0xbf840404, this=<optimized out>, o=<optimized out>) at widgets/qabstractscrollarea_p.h:116
#23 QAbstractScrollAreaFilter::eventFilter (this=0x82270f0, o=0x94041d8, e=0xbf840404) at widgets/qabstractscrollarea_p.h:115
#24 0xb63ff346 in QCoreApplicationPrivate::sendThroughObjectEventFilters (this=0x8093ff0, receiver=0x94041d8, event=0xbf840404) at kernel/qcoreapplication.cpp:986
#25 0xb6a074d2 in notify_helper (e=0xbf840404, receiver=0x94041d8, this=0x8093ff0) at kernel/qapplication.cpp:4550
#26 QApplicationPrivate::notify_helper (this=0x8093ff0, receiver=0x94041d8, e=0xbf840404) at kernel/qapplication.cpp:4526
#27 0xb6a0d33c in QApplication::notify (this=0x8093ff0, receiver=0x94041d8, e=0xbf840404) at kernel/qapplication.cpp:4097
#28 0xb759dba1 in KApplication::notify (this=0xbf840c6c, receiver=0x94041d8, event=0xbf840404) at /usr/src/debug/kdelibs-4.8.2/kdeui/kernel/kapplication.cpp:311
#29 0xb63ff1ae in QCoreApplication::notifyInternal (this=0xbf840c6c, receiver=0x94041d8, event=0xbf840404) at kernel/qcoreapplication.cpp:876
#30 0xb6a084c0 in sendEvent (event=<optimized out>, receiver=<optimized out>) at ../../src/corelib/kernel/qcoreapplication.h:231
#31 QApplicationPrivate::sendMouseEvent (receiver=0x94041d8, event=0xbf840404, alienWidget=0x94041d8, nativeWidget=0x8157820, buttonDown=0xb739acb4, lastMouseReceiver=..., spontaneous=true) at kernel/qapplication.cpp:3165
#32 0xb6a916b4 in QETWidget::translateMouseEvent (this=0x8157820, event=0xbf8408bc) at kernel/qapplication_x11.cpp:4513
#33 0xb6a9027e in QApplication::x11ProcessEvent (this=0xbf840c6c, event=0xbf8408bc) at kernel/qapplication_x11.cpp:3636
#34 0xb6abb93c in x11EventSourceDispatch (s=0x808c440, callback=0, user_data=0x0) at kernel/qguieventdispatcher_glib.cpp:146
#35 0xb57d2e2f in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#36 0xb57d3560 in ?? () from /usr/lib/libglib-2.0.so.0
#37 0xb57d37fa in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#38 0xb6431e57 in QEventDispatcherGlib::processEvents (this=0x807dda0, flags=...) at kernel/qeventdispatcher_glib.cpp:424
#39 0xb6abb53a in QGuiEventDispatcherGlib::processEvents (this=0x807dda0, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#40 0xb63fdd1d in QEventLoop::processEvents (this=0xbf840bc4, flags=...) at kernel/qeventloop.cpp:149
#41 0xb63fdfb9 in QEventLoop::exec (this=0xbf840bc4, flags=...) at kernel/qeventloop.cpp:204
#42 0xb640320a in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1148
#43 0xb6a05374 in QApplication::exec () at kernel/qapplication.cpp:3815
#44 0x08050d18 in ?? ()
#45 0xb603b003 in __libc_start_main () from /lib/libc.so.6
#46 0x08050d5d in _start ()

Reported using DrKonqi
Comment 1 Jekyll Wu 2012-07-05 17:02:34 UTC
*** Bug 287018 has been marked as a duplicate of this bug. ***
Comment 2 Jekyll Wu 2012-07-05 17:02:42 UTC
*** Bug 275273 has been marked as a duplicate of this bug. ***
Comment 3 Jekyll Wu 2012-07-05 17:02:53 UTC
*** Bug 302210 has been marked as a duplicate of this bug. ***
Comment 4 Peter Tselios 2015-09-03 07:54:09 UTC
Can we close this bug? 
It's really old now.
Comment 5 Andrew Crouthamel 2018-10-31 03:49:19 UTC
Dear Bug Submitter,

This bug has been stagnant for a long time. Could you help us out and re-test if the bug is valid in the latest version? I am setting the status to NEEDSINFO pending your response, please change the Status back to REPORTED when you respond.

Thank you for helping us make KDE software even better for everyone!
Comment 6 Manuel Stol 2018-11-09 17:03:00 UTC
Concerning duplicate bug 275273

I no longer use KDE 4.
KDE5/Plasma no longer has a 'System Settings > Action Policy'
and so does not have this bug.

I resolved my problem by editing the policy file
'/etc/polkit-default-privs.local'.

Sorry, I'm not going to install KDE 4 to help resolve this bug.
I consider this bug closed (part of a bygone KDE).
Comment 7 Andrew Crouthamel 2018-11-10 01:29:03 UTC
Thanks for the update!