polkit-kde-1 crashes randomly on logout

Bug #728595 reported by Romain Perier
94
This bug affects 17 people
Affects Status Importance Assigned to Milestone
PolicyKit
Fix Released
High
polkit-qt-1 (Ubuntu)
Confirmed
Medium
Unassigned
Natty
Confirmed
Medium
Unassigned
Oneiric
Confirmed
Medium
Unassigned
Precise
Confirmed
Medium
Unassigned

Bug Description

Binary package hint: polkit-kde-1

Sometimes polkit-kde-authentication-agent-1 crashes on logout, look at the backtrace.
Apparently PolkitQt1::Agent::Session is called twice, which calls Session::Private::~Private() twice , resulting in a segfault due to g_object_unref() (try to get the reference from an already freed object).
Basically I think a workaround would be check if Private::d is already deleted. This is a workaround because technically a destructor should not be called twice, It does not make sense. (my interpretation may be wrong)

We should probably report this bug on upstream.

ProblemType: Bug
DistroRelease: Ubuntu 11.04
Package: polkit-kde-1 0.99.0-0ubuntu3
ProcVersionSignature: Ubuntu 2.6.38-5.32-generic 2.6.38-rc6
Uname: Linux 2.6.38-5-generic x86_64
Architecture: amd64
Date: Thu Mar 3 18:44:13 2011
InstallationMedia: Kubuntu 10.10 "Maverick Meerkat" - Release amd64 (20101007)
ProcEnviron:
 LANGUAGE=fr_FR:en
 PATH=(custom, user)
 LANG=fr_FR.UTF-8
 LC_MESSAGES=fr_FR.utf8
 SHELL=/bin/bash
SourcePackage: polkit-kde-1
UpgradeStatus: Upgraded to natty on 2011-02-07 (24 days ago)

Revision history for this message
Romain Perier (rperier) wrote :
Rohan Garg (rohangarg)
Changed in polkit-kde-1 (Ubuntu):
milestone: none → ubuntu-11.04-beta-1
Revision history for this message
Romain Perier (rperier) wrote :
Changed in polkit-kde-1 (Ubuntu):
milestone: ubuntu-11.04-beta-1 → ubuntu-11.04-beta-2
Revision history for this message
Romain Perier (rperier) wrote :

the first bug has been marked as duplicate, see https://bugs.kde.org/show_bug.cgi?id=258916

Changed in polkit-kde-1 (Ubuntu):
milestone: ubuntu-11.04-beta-2 → ubuntu-11.04
Changed in polkit-kde-1 (Ubuntu Natty):
milestone: ubuntu-11.04 → natty-updates
importance: Undecided → Medium
Changed in polkit-kde-1 (Ubuntu Oneiric):
importance: Undecided → Medium
Revision history for this message
Robert Simmons (rsimmons0) wrote :

backtrace from my most recent crash of this type

Changed in polkit-kde-1 (Ubuntu Natty):
status: New → Confirmed
Changed in polkit-kde-1 (Ubuntu):
status: New → Confirmed
Revision history for this message
josephk (josephk-deactivatedaccount-deactivatedaccount) wrote :

polkit-kde-1 systematically crashes on logout on oneiric AMD64 up to date

Revision history for this message
Silviu C. (silviucc) wrote :

This still happens on 11.10 64bit.

Revision history for this message
Robert Simmons (rsimmons0) wrote :

Still exists in 11.10 with the KDE 4.7.2 updates as well.

Revision history for this message
LukasThyWalls (thywalls) wrote :

Present in Oneiric with KDE 4.7.2

Revision history for this message
Robert Simmons (rsimmons0) wrote :

According to traffic on the upstream bug there looks to be a functional workaround to the the bug that fixes the crash. Can ubuntu pull in this workaround until a permanent fix is found?

Revision history for this message
Robert Simmons (rsimmons0) wrote :

Let me rephrase what I just said: This crash is now FIXED upstream. Any ideas as to when it will get pulled into Ubuntu?

Felix Geyer (debfx)
affects: polkit-kde-1 (Ubuntu) → polkit-qt-1 (Ubuntu)
Changed in polkit-qt-1 (Ubuntu Precise):
milestone: natty-updates → none
Changed in policykit:
importance: Unknown → High
status: Unknown → Fix Released
Revision history for this message
Maarten Bezemer (veger) wrote :

There is a proposed release in https://bugs.launchpad.net/ubuntu/+source/polkit-qt-1/+bug/904245 for this problem

I suppose both reports should be merged?

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.