Bug#622234: PolKit Segfault

Garrett McLean gmclean at gmail.com
Sat Apr 23 15:57:44 UTC 2011


Is this info being digested? Is there more I can do? Am I missing
something?

Best,
-Garrett

On Tue, Apr 19, 2011 at 3:20 PM, Garrett McLean <gmclean at gmail.com> wrote:

> OK here's what I've learned:
>
> 1. It is not gdmsetup that is segfaulting, it is polkitd. Here is the
> relevant message from dmesg:
> [ 1349.848051] polkitd[1177]: segfault at 0 ip 00007f8d0b56e35a sp
> 00007fff195c4880 error 4 in
> libpolkit-backend-1.so.0.0.0[7f8d0b562000+17000]. I am assuming, since
> gdmsetup is not crashing that a bt on gdmsetup would be useless.
>
> 2. Trying to build an unstripped version of policykit, I had to edit
> src/polkitbackend/polkitbackendactionpool.c (I think?) because it was
> missing an #include <locale.h> (shall I file a FTBFS bug!?)
>
> 3. The output from running gdb on polkitd (the process mentioned in the
> dmesg) is not helpful. Here it is, please note that I tried several clicks
> on the lock icon both as normal user and running through sudo. polkitd was
> started via the following commands:
> $ sudo gdb /usr/lib/policykit-1/polkitd
> (gdb) run
>
> OUTPUT:
>
> Starting program: /usr/lib/policykit-1/polkitd
> [Thread debugging using libthread_db enabled]
> [New Thread 0x7ffff58fd700 (LWP 6518)]
> Entering main event loop
> [New Thread 0x7ffff50fc700 (LWP 6519)]
> Connected to the system bus
> Registering null backend at priority -10
>
> (polkitd:6515): GLib-GIO-WARNING **: Tried to implement non-registered
> extension point polkit-backend-action-lookup-1
> ** (polkitd:6515): DEBUG: Added
> `/var/lib/polkit-1/localauthority/10-vendor.d' as a local authorization
> store
> ** (polkitd:6515): DEBUG: Added `/etc/polkit-1/localauthority/10-vendor.d'
> as a local authorization store
> ** (polkitd:6515): DEBUG: Added `/var/lib/polkit-1/localauthority/20-org.d'
> as a local authorization store
> ** (polkitd:6515): DEBUG: Added `/etc/polkit-1/localauthority/20-org.d' as
> a local authorization store
> ** (polkitd:6515): DEBUG: Added
> `/var/lib/polkit-1/localauthority/30-site.d' as a local authorization store
> ** (polkitd:6515): DEBUG: Added `/etc/polkit-1/localauthority/30-site.d' as
> a local authorization store
> ** (polkitd:6515): DEBUG: Added
> `/var/lib/polkit-1/localauthority/50-local.d' as a local authorization store
> ** (polkitd:6515): DEBUG: Added `/etc/polkit-1/localauthority/50-local.d'
> as a local authorization store
> ** (polkitd:6515): DEBUG: Added
> `/var/lib/polkit-1/localauthority/90-mandatory.d' as a local authorization
> store
> ** (polkitd:6515): DEBUG: Added
> `/etc/polkit-1/localauthority/90-mandatory.d' as a local authorization store
> ** (polkitd:6515): DEBUG: Monitoring `/var/lib/polkit-1/localauthority' for
> changes
> ** (polkitd:6515): DEBUG: Monitoring `/etc/polkit-1/localauthority' for
> changes
> Using authority class PolkitBackendLocalAuthority
> Acquired the name org.freedesktop.PolicyKit1
> [Thread 0x7ffff58fd700 (LWP 6518) exited]
> ** (polkitd:6515): DEBUG: system-bus-name::1.65 is inquiring whether
> unix-process:6524:2164072 is authorized for
> org.gnome.displaymanager.settings.set
> ** (polkitd:6515): DEBUG:  user of caller is unix-user:root
> ** (polkitd:6515): DEBUG:  user of subject is unix-user:root
> ** (polkitd:6515): DEBUG: checking whether unix-process:6524:2164072 is
> authorized for org.gnome.displaymanager.settings.set
>
> ** (polkitd:6515): WARNING **: skipping unknown tag <_description> at line
> 15
>
> ** (polkitd:6515): WARNING **: skipping unknown tag <_message> at line 16
>
> ** (polkitd:6515): WARNING **: skipping unknown tag <_description> at line
> 11
>
> ** (polkitd:6515): WARNING **: skipping unknown tag <_message> at line 12
> ** (polkitd:6515): DEBUG:
> ** (polkitd:6515): DEBUG: system-bus-name::1.67 is inquiring whether
> unix-process:6527:2167109 is authorized for
> org.gnome.displaymanager.settings.set
> ** (polkitd:6515): DEBUG:  user of caller is unix-user:gpm
> ** (polkitd:6515): DEBUG:  user of subject is unix-user:gpm
> ** (polkitd:6515): DEBUG: checking whether unix-process:6527:2167109 is
> authorized for org.gnome.displaymanager.settings.set
> ** (polkitd:6515): DEBUG:   0x62b790
> ** (polkitd:6515): DEBUG:  subject is in session
> /org/freedesktop/ConsoleKit/Session2 (local=1 active=1)
> ** (polkitd:6515): DEBUG: Dropping all .pkla caches for directory
> `/var/lib/polkit-1/localauthority/10-vendor.d'
> ** (polkitd:6515): DEBUG: Dropping all .pkla caches for directory
> `/etc/polkit-1/localauthority/10-vendor.d'
> ** (polkitd:6515): DEBUG: Dropping all .pkla caches for directory
> `/var/lib/polkit-1/localauthority/20-org.d'
> ** (polkitd:6515): DEBUG: Dropping all .pkla caches for directory
> `/etc/polkit-1/localauthority/20-org.d'
> ** (polkitd:6515): DEBUG: Dropping all .pkla caches for directory
> `/var/lib/polkit-1/localauthority/30-site.d'
> ** (polkitd:6515): DEBUG: Dropping all .pkla caches for directory
> `/etc/polkit-1/localauthority/30-site.d'
> ** (polkitd:6515): DEBUG: Dropping all .pkla caches for directory
> `/var/lib/polkit-1/localauthority/50-local.d'
> ** (polkitd:6515): DEBUG: Dropping all .pkla caches for directory
> `/etc/polkit-1/localauthority/50-local.d'
> ** (polkitd:6515): DEBUG: Dropping all .pkla caches for directory
> `/var/lib/polkit-1/localauthority/90-mandatory.d'
> ** (polkitd:6515): DEBUG: Dropping all .pkla caches for directory
> `/etc/polkit-1/localauthority/90-mandatory.d'
> ** (polkitd:6515): DEBUG:  challenge (implicit_authorization =
> auth_admin_keep)
> ** (polkitd:6515): DEBUG:
> ** (polkitd:6515): DEBUG: system-bus-name::1.67 is inquiring whether
> unix-process:6527:2167109 is authorized for
> org.gnome.displaymanager.settings.set
> ** (polkitd:6515): DEBUG:  user of caller is unix-user:gpm
> ** (polkitd:6515): DEBUG:  user of subject is unix-user:gpm
> ** (polkitd:6515): DEBUG: checking whether unix-process:6527:2167109 is
> authorized for org.gnome.displaymanager.settings.set
> ** (polkitd:6515): DEBUG:   0x615a40
> ** (polkitd:6515): DEBUG:  subject is in session
> /org/freedesktop/ConsoleKit/Session2 (local=1 active=1)
> ** (polkitd:6515): DEBUG:  challenge (implicit_authorization =
> auth_admin_keep)
> ** (polkitd:6515): DEBUG:
> ** (polkitd:6515): DEBUG: system-bus-name::1.67 is inquiring whether
> unix-process:6527:2167109 is authorized for
> org.gnome.displaymanager.settings.set
> ** (polkitd:6515): DEBUG:  user of caller is unix-user:gpm
> ** (polkitd:6515): DEBUG:  user of subject is unix-user:gpm
> ** (polkitd:6515): DEBUG: checking whether unix-process:6527:2167109 is
> authorized for org.gnome.displaymanager.settings.set
> ** (polkitd:6515): DEBUG:   0x615cf0
> ** (polkitd:6515): DEBUG:  subject is in session
> /org/freedesktop/ConsoleKit/Session2 (local=1 active=1)
> ** (polkitd:6515): DEBUG:  challenge (implicit_authorization =
> auth_admin_keep)
> ** (polkitd:6515): DEBUG:
> ** (polkitd:6515): DEBUG: system-bus-name::1.67 is inquiring whether
> unix-process:6527:2167109 is authorized for
> org.gnome.displaymanager.settings.set
> ** (polkitd:6515): DEBUG:  user of caller is unix-user:gpm
> ** (polkitd:6515): DEBUG:  user of subject is unix-user:gpm
> ** (polkitd:6515): DEBUG: checking whether unix-process:6527:2167109 is
> authorized for org.gnome.displaymanager.settings.set
> ** (polkitd:6515): DEBUG:   0x62b610
> ** (polkitd:6515): DEBUG:  subject is in session
> /org/freedesktop/ConsoleKit/Session2 (local=1 active=1)
> ** (polkitd:6515): DEBUG:  challenge (implicit_authorization =
> auth_admin_keep)
> ** (polkitd:6515): DEBUG:
> ** (polkitd:6515): DEBUG: system-bus-name::1.67 is inquiring whether
> unix-process:6527:2167109 is authorized for
> org.gnome.displaymanager.settings.set
> ** (polkitd:6515): DEBUG:  user of caller is unix-user:gpm
> ** (polkitd:6515): DEBUG:  user of subject is unix-user:gpm
> ** (polkitd:6515): DEBUG: checking whether unix-process:6527:2167109 is
> authorized for org.gnome.displaymanager.settings.set
> ** (polkitd:6515): DEBUG:   0x62b760
> ** (polkitd:6515): DEBUG:  subject is in session
> /org/freedesktop/ConsoleKit/Session2 (local=1 active=1)
> ** (polkitd:6515): DEBUG:  challenge (implicit_authorization =
> auth_admin_keep)
> ** (polkitd:6515): DEBUG:
> ** (polkitd:6515): DEBUG: system-bus-name::1.67 is inquiring whether
> unix-process:6527:2167109 is authorized for
> org.gnome.displaymanager.settings.set
> ** (polkitd:6515): DEBUG:  user of caller is unix-user:gpm
> ** (polkitd:6515): DEBUG:  user of subject is unix-user:gpm
> ** (polkitd:6515): DEBUG: checking whether unix-process:6527:2167109 is
> authorized for org.gnome.displaymanager.settings.set
> ** (polkitd:6515): DEBUG:   0x7ffff0002c70
> ** (polkitd:6515): DEBUG:  subject is in session
> /org/freedesktop/ConsoleKit/Session2 (local=1 active=1)
> ** (polkitd:6515): DEBUG:  challenge (implicit_authorization =
> auth_admin_keep)
> ** (polkitd:6515): DEBUG:
>
>
> Hope it helps.....happy to furnish more.
>
> On Tue, Apr 19, 2011 at 11:15 AM, Garrett McLean <gmclean at gmail.com>wrote:
>
>> Thanks bt forthcoming.
>>
>>
>> On Sun, Apr 17, 2011 at 1:56 AM, Josselin Mouette <joss at debian.org>wrote:
>>
>>> Le samedi 16 avril 2011 à 18:33 -0700, Garrett McLean a écrit :
>>> > Just wanted to confirm that on a fresh wheezy install on amd64 having
>>> > the same issue. Policy Kit segfaulting seems the likeliest culprit.
>>> > Can provide more info if asked.
>>>
>>> Yes, please provide a backtrace of the crashing process:
>>> http://wiki.debian.org/HowToGetABacktrace
>>>
>>> Thanks,
>>> --
>>>  .''`.      Josselin Mouette
>>> : :' :
>>> `. `'  “If you behave this way because you are blackmailed by someone,
>>>  `-    […] I will see what I can do for you.”  -- Jörg Schilling
>>>
>>>
>> u
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.alioth.debian.org/pipermail/pkg-gnome-maintainers/attachments/20110423/a356c672/attachment-0001.htm>


More information about the pkg-gnome-maintainers mailing list