Bug 306505 - Get/Set Brightness authorization policies don't work properly (PolicyKit1-KDE / powerdevil)
Summary: Get/Set Brightness authorization policies don't work properly (PolicyKit1-KDE...
Status: RESOLVED DUPLICATE of bug 270489
Alias: None
Product: policykit-kde-agent-1
Classification: Plasma
Component: polkit-kde-authentication-agent-1 (show other bugs)
Version: unspecified
Platform: openSUSE Linux
: NOR crash
Target Milestone: ---
Assignee: Jaroslav Reznik
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-09-09 17:04 UTC by Carles F. P.
Modified: 2012-09-09 17:21 UTC (History)
0 users

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 Carles F. P. 2012-09-09 17:04:36 UTC
Application: polkit-kde-authentication-agent-1 (0.99.0)
KDE Platform Version: 4.8.4 (4.8.4) "release 2"
Qt Version: 4.8.1
Operating System: Linux 3.4.6-2.10-default i686
Distribution: "openSUSE 12.2 (i586)"

-- Information about the crash:
- What I was doing when the application crashed:

Nothing.

- Custom settings of the application:

Since I selected a "Secure" File Permissions setting in in the Security Center (YaST, openSUSE 12.2), the system requires an authorization for get/set brightness each time the display becomes inactive, without remember the password... Changing the "Implicit authorizations" in "Actions policy" don't change this behaviour. (org.kde.powerdevil.backlighthelper.brightness / .setbrightness)
Finally, the crash happens if you don't answer these frequent authorization request dialogs.

The crash can be reproduced every time.

-- Backtrace:
Application: PolicyKit1-KDE (polkit-kde-authentication-agent-1), signal: Segmentation fault
Using host libthread_db library "/lib/libthread_db.so.1".
[Current thread is 1 (Thread 0xb54b4780 (LWP 1954))]

Thread 3 (Thread 0xb3a8cb40 (LWP 1961)):
#0  0xb778a430 in __kernel_vsyscall ()
#1  0xb5aa8669 in __lll_lock_wait () from /lib/libpthread.so.0
#2  0xb5aa40b2 in _L_lock_1052 () from /lib/libpthread.so.0
#3  0xb5aa4047 in pthread_mutex_lock () from /lib/libpthread.so.0
#4  0xb604c434 in pthread_mutex_lock () from /lib/libc.so.6
#5  0xb59c2840 in g_mutex_lock () from /usr/lib/libglib-2.0.so.0
#6  0xb590f0d8 in g_signal_handlers_destroy (instance=instance@entry=0xa14bc60) at gsignal.c:2609
#7  0xb58fa995 in g_object_real_dispose (object=0xa14bc60) at gobject.c:1010
#8  0xb58fba78 in g_object_unref (_object=0xa14bc60) at gobject.c:2981
#9  0xb58612c3 in message_to_write_data_free (data=data@entry=0xa386da0) at gdbusprivate.c:902
#10 0xb5862bdc in write_message_cb (source_object=0x0, res=0xb31025a0, user_data=0xa386da0) at gdbusprivate.c:1351
#11 0xb57f8725 in g_simple_async_result_complete (simple=simple@entry=0xb31025a0) at gsimpleasyncresult.c:767
#12 0xb5862650 in write_message_continue_writing (data=data@entry=0xa386da0) at gdbusprivate.c:1065
#13 0xb58626cc in write_message_async (worker=worker@entry=0xa149d00, data=data@entry=0xa386da0, callback=callback@entry=0xb5862a10 <write_message_cb>, user_data=user_data@entry=0xa386da0) at gdbusprivate.c:1129
#14 0xb586294e in continue_writing (worker=worker@entry=0xa149d00) at gdbusprivate.c:1529
#15 0xb5862a03 in continue_writing_in_idle_cb (user_data=0xa149d00) at gdbusprivate.c:1550
#16 0xb59802b0 in ?? () from /usr/lib/libglib-2.0.so.0
#17 0xb59827f3 in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#18 0xb5982b90 in ?? () from /usr/lib/libglib-2.0.so.0
#19 0xb5982feb in g_main_loop_run () from /usr/lib/libglib-2.0.so.0
#20 0xb5860c1a in gdbus_shared_thread_func (user_data=0xa148c60) at gdbusprivate.c:277
#21 0xb59a7003 in ?? () from /usr/lib/libglib-2.0.so.0
#22 0xb5aa1e32 in start_thread () from /lib/libpthread.so.0
#23 0xb603e8ee in clone () from /lib/libc.so.6

Thread 2 (Thread 0xb307eb40 (LWP 2028)):
#0  0xb5aa3fa3 in pthread_mutex_lock () from /lib/libpthread.so.0
#1  0xb604c434 in pthread_mutex_lock () from /lib/libc.so.6
#2  0xb59c2840 in g_mutex_lock () from /usr/lib/libglib-2.0.so.0
#3  0xb5982aec in ?? () from /usr/lib/libglib-2.0.so.0
#4  0xb5982c71 in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#5  0xb5982cde in ?? () from /usr/lib/libglib-2.0.so.0
#6  0xb59a7003 in ?? () from /usr/lib/libglib-2.0.so.0
#7  0xb5aa1e32 in start_thread () from /lib/libpthread.so.0
#8  0xb603e8ee in clone () from /lib/libc.so.6

Thread 1 (Thread 0xb54b4780 (LWP 1954)):
[KCrash Handler]
#6  0xb59186bd in g_type_parent (type=type@entry=1677721855) at gtype.c:3363
#7  0xb590ee3c in signal_id_lookup (itype=168065536, quark=<optimized out>) at gsignal.c:340
#8  signal_parse_name (detail_p=<synthetic pointer>, itype=168065536, name=0xb730d3e1 "cancelled", force_quark=<optimized out>) at gsignal.c:1040
#9  signal_parse_name (force_quark=1, detail_p=<synthetic pointer>, itype=168065536, name=0xb730d3e1 "cancelled") at gsignal.c:2404
#10 g_signal_connect_data (instance=0xa047760, detailed_signal=0xb730d3e1 "cancelled", c_handler=0xb730c380 <cancelled_cb(GCancellable*, gpointer)>, data=0xa052250, destroy_data=0x0, connect_flags=(unknown: 0)) at gsignal.c:2426
#11 0xb730ca23 in polkit_qt_listener_initiate_authentication (agent_listener=0xa052250, action_id=0xa1600e0 "\002", message=0xa1600e0 "\002", icon_name=0xa1600e0 "\002", details=0xa1600e0, cookie=0xa1600e0 "\002", identities=0xa1600e0, cancellable=0xa047760, callback=0xa1600e0, user_data=0xa1600e0) at /usr/src/debug/polkit-qt-1-0.99.1/agent/polkitqtlistener.cpp:136
#12 0xb5786fb6 in polkit_agent_listener_initiate_authentication (listener=0xa052250, action_id=0xa1b3388 "org.freedesktop.packagekit.system-sources-refresh", message=0xa1b33ba "Authentication is required to refresh the system sources", icon_name=0xa1b33f3 "package-x-generic", details=details@entry=0xa2b4e20, cookie=0xa1b3438 "cookie3", identities=identities@entry=0xa2b4e00, cancellable=0xa047760, callback=callback@entry=0xb5787430 <auth_cb>, user_data=user_data@entry=0xa1b19b0) at polkitagentlistener.c:748
#13 0xb578723e in auth_agent_handle_begin_authentication (invocation=0xb3103060, parameters=0xa052078, server=0xa1490a0) at polkitagentlistener.c:635
#14 auth_agent_handle_method_call (connection=0xa136800, sender=sender@entry=0xb3100cf0 ":1.5", object_path=0xb314de38 "/org/kde/PolicyKit1/AuthenticationAgent", interface_name=interface_name@entry=0xb314db68 "org.freedesktop.PolicyKit1.AuthenticationAgent", method_name=method_name@entry=0xb314dc78 "BeginAuthentication", parameters=parameters@entry=0xa052078, invocation=invocation@entry=0xb3103060, user_data=0xa1490a0) at polkitagentlistener.c:288
#15 0xb585018b in call_in_idle_cb (user_data=0xb3103060) at gdbusconnection.c:4687
#16 0xb59802b0 in ?? () from /usr/lib/libglib-2.0.so.0
#17 0xb59827f3 in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#18 0xb5982b90 in ?? () from /usr/lib/libglib-2.0.so.0
#19 0xb5982c71 in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#20 0xb6e77a81 in QEventDispatcherGlib::processEvents (this=0xa02a110, flags=...) at kernel/qeventdispatcher_glib.cpp:424
#21 0xb63e51da in QGuiEventDispatcherGlib::processEvents (this=0xa02a110, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#22 0xb6e44a3c in QEventLoop::processEvents (this=this@entry=0xbfc8f0f8, flags=...) at kernel/qeventloop.cpp:149
#23 0xb6e44d31 in QEventLoop::exec (this=0xbfc8f0f8, flags=...) at kernel/qeventloop.cpp:204
#24 0xb6e49cea in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1148
#25 0xb6331934 in QApplication::exec () at kernel/qapplication.cpp:3815
#26 0x0804f06f in ?? ()
#27 0xb5f6d3d5 in __libc_start_main () from /lib/libc.so.6
#28 0x0804f0cd in _start ()

Possible duplicates by query: bug 294210, bug 291003, bug 288452, bug 287519, bug 286467.

Reported using DrKonqi
Comment 1 Jekyll Wu 2012-09-09 17:21:14 UTC

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