[packagekit] Segmentation fault, help needed

Richard Hughes hughsient at gmail.com
Sat Sep 8 04:03:28 PDT 2007


On 08/09/2007, Grzegorz Dąbrowski <gdx at o2.pl> wrote:
> On Sat, 2007-09-08 at 10:23 +0100, Richard Hughes wrote:
>
> > I think you are hitting that. We have to make the registration more
> > robust as you are probably hitting a race inbetween the unref and the
> > g_idle_add.
> >
> > Is the finish signal emmitted in the thread really quickly after
> > running the action? You can test this by adding a sleep in the thread
> > code for a few ms. If that works then we've got a race and we'll have
> > to change the registration code path.
>
> Seems we've got a race.

Cool. Let me add some code (two layer registration type thing) this
weekend and then it should just work. Thanks for the debugging.

Richard.


More information about the PackageKit mailing list