[Pkg-utopia-maintainers] Bug#738023: Upgrade libpolkit-gobject-1-0 and libpolkit-agent-1-0 breaks all PolicyKit agents

программист некто programmer11180 at programist.ru
Fri Feb 7 14:44:18 UTC 2014


Package: src:policykit-1
Version: 0.112-2
Severity: critical

Hello comrades.
Upgrade packages libpolkit-gobject-1-0 and libpolkit-agent-1-0 from stable (0.105-3) to experimental (0.112-2) totally breaks all PolicyKit agents.


$ /usr/lib/x86_64-linux-gnu/lxpolkit

** (lxpolkit:4329): CRITICAL **: polkit_agent_listener_register_with_options: assertion 'POLKIT_IS_SUBJECT (subject)' failed

(lxpolkit:4329): GLib-GObject-CRITICAL **: g_object_unref: assertion 'G_IS_OBJECT (object)' failed
Ошибка сегментирования


'Ошибка сегментирования' in English sounds as 'Segmentation fault'.


I have installed debuggins symbols and found that:

$ gdb -q /usr/lib/x86_64-linux-gnu/lxpolkit
Reading symbols from /usr/lib/x86_64-linux-gnu/lxpolkit...Reading symbols from /usr/lib/debug/.build-id/7f/5a89c28fa91f97674a9d9a159d4e98c057f14a.debug...done.
done.
(gdb) run
Starting program: /usr/lib/x86_64-linux-gnu/lxpolkit 
warning: Could not load shared library symbols for linux-vdso.so.1.
Do you need "set solib-search-path" or "set sysroot"?
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".

** (lxpolkit:5460): CRITICAL **: polkit_agent_listener_register_with_options: assertion 'POLKIT_IS_SUBJECT (subject)' failed

(lxpolkit:5460): GLib-GObject-CRITICAL **: g_object_unref: assertion 'G_IS_OBJECT (object)' failed

Program received signal SIGSEGV, Segmentation fault.
0x000000000040220c in main (argc=1, argv=0x7fffffffe778) at lxpolkit.c:85


I also check other PolicyKit agents:

$ /usr/lib/x86_64-linux-gnu/polkit-mate/polkit-mate-authentication-agent-1
(polkit-mate-authentication-agent-1:5803): polkit-mate-1-WARNING **: Unable to determine the session we are in: No session for pid 5803


$ /usr/lib/policykit-1-gnome/polkit-gnome-authentication-agent-1
(polkit-gnome-authentication-agent-1:5913): polkit-gnome-1-WARNING **: Unable to determine the session we are in: No session for pid 5913


Downgrade libpolkit-gobject-1-0 and libpolkit-agent-1-0 to stable versions solve the problem.



More information about the Pkg-utopia-maintainers mailing list