[packagekit] pk-update-icon segfaults

Richard Hughes hughsient at gmail.com
Wed Feb 20 10:59:58 PST 2008


On Wed, 2008-02-20 at 18:37 +0000, Richard Hughes wrote:
> On Tue, 2008-02-19 at 16:44 -0700, Scott Reeves wrote:
> > I am running slightly newer git than 0.1.7.  This happens with both
> > the zypp backend and the dummy backend.
> > 
> > The segfault occurs in pk_client_finished_cb.  The method is initially
> > entered with a valid PkClient reference but in this method it does a
> > g_signal_emit of PK_CLIENT_FINISHED.  There appears to be a reference
> > count problem or something because this appears to free the PkClient
> > reference such that when the signal emission returns the PkClient
> > reference is no longer valid and the client->priv->synchronous access
> > causes a segfault.
> 
> I'll fix this one now. Thanks.

Can you try doing:

git pull
git checkout 78ea759e7426a5a11bbfe74db524e40ffd791c23
cd libpackagekit
make check

I'm guessing it will go boom for you. If it does, then we have self
check code and that's a good thing :-)

Richard.





More information about the PackageKit mailing list