HEADS UP TESTERS: Recent GNOME 2.3 problems

Joe Marcus Clarke marcus at marcuscom.com
Sun May 11 00:05:44 PDT 2003


On Sat, 2003-05-10 at 20:34, Franz Klammer wrote:
> Joe Marcus Clarke sagte:
> > On Sat, 2003-05-10 at 17:49, Franz Klammer wrote:
> >> hi!
> >>
> >> maybe i'm completely wrong but i think here's a typo in
> >> bonobo-activation/bonobo-activation-fork-server.c on line 364:
> >>
> >>  } else if ((childpid = fork ())) {
> >>                 _exit (0);      /* de-zombifier process, just exit */
> >>
> >> my knowledge of C tells me that this should look like
> >>
> >>  } else if ((childpid == fork ())) {
> >>
> >> i've changed it and it seem's this removes at least the thing with the
> >> zombie.
> >
> > No, the code is correct the way it is.  What it's saying is:
> >
> > if (((childpid = fork()) != 0)) {
> >
> > Which basically says, "if, after the fork, the code is executing in the
> > parent, do the following."
> >
> 
> ok! (i think) i understand. but what i don't understand is:
> 
> childpid=fork()
>    ... some code ...
> if (childpid != 0)
>    ... some code ...
> else if ((childpid=fork())) (a second fork??)
>    ... more code ...
> 
> if i change it to the wrong code resp. if((childpid == fork())) the
> zombie disappears.

Yes, because you kill the child and the parent.

> 
> but this doesn't matter. i'm sure i that's to deep for my knowledge. :-)
> 
> by the way: in the script-output from one build i've seen that libbonobo
> set BONOBO_ACTIVATION_LOCALEDIR to /usr/local/lib/locale - attached a patch.

Good catch.  I went about fixing it in a slightly different way,
though.  Thanks!

Joe

> 
> franz.
> 
> > Joe
> >
> >>
> >> franz
> >>
> >> Joe Marcus Clarke sagte:
> >> > This ain't good news.  The recent updates to libbonobo and Nautilus
> >> > (possibly gnomevfs2 actually) causes applications to lockup and/or
> >> crash
> >> > on -CURRENT.  -STABLE seems to be unaffected, and working quite well.
> >> > For that reason, I recommend sticking with nautilus2-2.2.4, and
> >> > gnomevfs2-2.2.4 as well as libbonobo-2.2.1 and
> >> bonobo-activation-2.2.1.1
> >> > for the time being.  If you want to help me track down the problem, by
> >> > all means, upgrade to the "bad" versions, and start troubleshooting.
> >> I
> >> > spent last night hammering away at the bonobo problems, and ended up
> >> > filing:
> >> >
> >> > http://bugzilla.gnome.org/show_bug.cgi?id=112725
> >> >
> >> > Joe
-- 
PGP Key : http://www.marcuscom.com/pgp.asc
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: This is a digitally signed message part
Url : http://lists.freebsd.org/pipermail/freebsd-gnome/attachments/20030511/9014909c/attachment.bin


More information about the freebsd-gnome mailing list