[packagekit] pk-update-icon segfaults

Richard Hughes hughsient at gmail.com
Wed Feb 20 13:25:25 PST 2008


On Wed, 2008-02-20 at 19:00 +0000, Richard Hughes wrote:
> 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 :-)

Hopefully fixed in 8fb39e15313bc6413e95b8ce6bad89773842681d

Can you please confirm it's back to working? Thanks.

Richard.





More information about the PackageKit mailing list