Bug 23411 - pkexec segfaults
Summary: pkexec segfaults
Status: RESOLVED NOTOURBUG
Alias: None
Product: PolicyKit
Classification: Unclassified
Component: libpolkit (show other bugs)
Version: unspecified
Hardware: Other All
: medium normal
Assignee: David Zeuthen (not reading bugmail)
QA Contact: David Zeuthen (not reading bugmail)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-08-19 09:16 UTC by Daniel Nicoletti
Modified: 2009-08-25 07:36 UTC (History)
1 user (show)

See Also:
i915 platform:
i915 features:


Attachments

Description Daniel Nicoletti 2009-08-19 09:16:51 UTC
For some reason pkexec does not work here (polkitd1) is running, I'm using Debian, and my friend using arch or gentoo had the same problem.
Polkid1 almost works with tools like packagekit but i'll open another bug report to that problem

(gdb) bt
#0  0x00007f06c96f4149 in unsetenv () from /lib/libc.so.6
#1  0x00007f06c84524f5 in ?? () from /usr/lib/libdbus-1.so.3
#2  0x00007f06c8433a4b in ?? () from /usr/lib/libdbus-1.so.3
#3  0x00007f06c8f8b324 in ?? () from /usr/lib/libeggdbus-1.so.0
#4  0x00007f06c948a9c3 in g_object_newv () from /usr/lib/libgobject-2.0.so.0
#5  0x00007f06c948ad9b in g_object_new_valist () from /usr/lib/libgobject-2.0.so.0
#6  0x00007f06c948afec in g_object_new () from /usr/lib/libgobject-2.0.so.0
#7  0x00007f06c8f8b0cd in egg_dbus_connection_get_for_bus () from /usr/lib/libeggdbus-1.so.0
#8  0x00007f06c9a2482e in polkit_authority_init (authority=0x1099400) at polkitauthority.c:101
#9  0x00007f06c94a6055 in g_type_create_instance () from /usr/lib/libgobject-2.0.so.0
#10 0x00007f06c9489c7b in ?? () from /usr/lib/libgobject-2.0.so.0
#11 0x00007f06c948a32c in g_object_newv () from /usr/lib/libgobject-2.0.so.0
#12 0x00007f06c948aea7 in g_object_new_valist () from /usr/lib/libgobject-2.0.so.0
#13 0x00007f06c948afec in g_object_new () from /usr/lib/libgobject-2.0.so.0
#14 0x00007f06c9a249fb in polkit_authority_get () at polkitauthority.c:168
#15 0x00000000004020e4 in main (argc=2, argv=0x7fff862a7ff8) at pkexec.c:366
Comment 1 Michael Biebl 2009-08-25 07:20:02 UTC
I traced this down to a bug in glibc < 2.10
See also 
http://sourceware.org/git/?p=glibc.git;a=commit;h=1fa7ae05b99220ac4590781fdf9fad437900275a

Imo this bug can be closed
Comment 2 Daniel Nicoletti 2009-08-25 07:36:00 UTC
Ok,
thanks Michael, for debugging it to glibc, I'm closing since it's not a libpolkitbug.


Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.