Policy-kit kde crash on install package

Bug #373542 reported by metellius
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
policykit-kde (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

Binary package hint: policykit-kde

I tried to install a package by executing it with kfmclient exec through opera. It first asked me for my password, which should technically be a bug in itself because I have it set to NOPASSWD in my sudo setup. Anyways, I enter my normal user password and it says I don't have the necessary permissions, and then crashes with the following backtrace. I can not be 100% whether I entered the correct password or not here.

Application: PolicyKit-kde (policykit-kde), signal SIGABRT
[Current thread is 0 (LWP 5817)]

Thread 2 (Thread 0xb40e9b90 (LWP 11958)):
#0 0xb7ff9430 in __kernel_vsyscall ()
#1 0xb68827b1 in select () from /lib/tls/i686/cmov/libc.so.6
#2 0x08057952 in _start ()

Thread 1 (Thread 0xb612c750 (LWP 5817)):
[KCrash Handler]
#6 0xb7ff9430 in __kernel_vsyscall ()
#7 0xb67d16d0 in raise () from /lib/tls/i686/cmov/libc.so.6
#8 0xb67d3098 in abort () from /lib/tls/i686/cmov/libc.so.6
#9 0xb74c1595 in qt_message_output (msgType=QtFatalMsg, buf=0x893aa48 "ASSERT: \"m_self->m_watches.contains(id)\" in file /build/buildd/policykit-kde-0.2/src/policykitkde.cpp, line 437")
    at global/qglobal.cpp:2006
#10 0xb74c1681 in qFatal (msg=0xb7610318 "ASSERT: \"%s\" in file %s, line %d") at global/qglobal.cpp:2201
#11 0xb74c1775 in qt_assert (assertion=0x805908c "m_self->m_watches.contains(id)", file=0x8059054 "/build/buildd/policykit-kde-0.2/src/policykitkde.cpp", line=437) at global/qglobal.cpp:1777
#12 0x080514a3 in _start ()

ProblemType: Bug
Architecture: i386
DistroRelease: Ubuntu 9.04
Package: policykit-kde 0.2-0ubuntu1~ppa1
ProcEnviron:
 LANGUAGE=
 PATH=(custom, user)
 LANG=en_US.UTF-8
 SHELL=/bin/bash
SourcePackage: policykit-kde
Uname: Linux 2.6.29-020629-generic i686
UnreportableReason: This is not a genuine Ubuntu package

Revision history for this message
metellius (haraldhv) wrote :
Revision history for this message
mogwai (scruffy-mogwai) wrote :

This also affects me too. While I am attempting to install packages I get an error stating I do not have the correct permissions and then policy-kit crashes.
May be related to bug 353278 https://bugs.launchpad.net/ubuntu/+source/policykit-kde/+bug/353278

I am using Kubuntu 9.10rc with the latest package updates as at 26 Oct.

Revision history for this message
mogwai (scruffy-mogwai) wrote :

Appears to be fixed (for me) with the latest updates (27 Oct 17:05 GMT+12) and a restart.

Changed in policykit-kde (Ubuntu):
status: New → Fix Released
Revision history for this message
Kent Tong (kent-tong) wrote :

I fixed this problem with:

   echo 16384 > /proc/sys/fs/inotify/max_user_watches

To make it permanent, create /etc/sysctl.d/60-user.conf with the content below:

   fs.inotify.max_user_watches=16384

Before applying the fix, I got the errors below:

kent@dragon:~$ kpackagekit &
[2] 3561
kent@dragon:~$ QInotifyFileSystemWatcherEngine::addPaths: inotify_add_watch failed: No space left on device
QFileSystemWatcher: failed to add paths: /home/kent/.config/ibus/bus/fc60bfcf9319c7743716b7214863c295-unix-0
enumFromString ( Group ) : converted "unknown" to "UnknownGroup" , enum value 34
removing transaction from pool : "/108_eccdeaed_data"
removing transaction from pool : "/109_ceadbdca_data"
removing transaction from pool : "/110_bcdbadea_data"
enumFromString ( State ) : converted "" to "UnknownState" , enum value 18
Attempting to obtain authorization for org.freedesktop.packagekit.system-update.
Authentication as an administrative user is required.
The following users qualify as administrative users: kent
Select user: Failed to obtain authorization for org.freedesktop.packagekit.system-update.
Authentification error : org.freedesktop.DBus.Error.NoReply : Message did not receive a reply (timeout by message bus)
removing transaction from pool : "/111_eebdaaba_data"

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.