Skip site navigation (1)Skip section navigation (2)
Date:      11 May 2003 03:05:31 -0400
From:      Joe Marcus Clarke <marcus@marcuscom.com>
To:        Franz Klammer <klammer@webonaut.com>
Cc:        FreeBSD GNOME Users <gnome@freebsd.org>
Subject:   Re: HEADS UP TESTERS: Recent GNOME 2.3 problems
Message-ID:  <1052636731.98015.52.camel@shumai.marcuscom.com>
In-Reply-To: <49853.212.41.243.28.1052613295.squirrel@mail.webonaut.com>
References:  <1052595957.98015.18.camel@shumai.marcuscom.com> <2484.212.41.243.29.1052603366.squirrel@mail.webonaut.com> <1052603575.98015.21.camel@shumai.marcuscom.com> <49853.212.41.243.28.1052613295.squirrel@mail.webonaut.com>

next in thread | previous in thread | raw e-mail | index | archive | help

--=-8mB9mT6jlavOT0JIxvWW
Content-Type: text/plain
Content-Transfer-Encoding: quoted-printable

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 =3D fork ())) {
> >>                 _exit (0);      /* de-zombifier process, just exit */
> >>
> >> my knowledge of C tells me that this should look like
> >>
> >>  } else if ((childpid =3D=3D 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 =3D fork()) !=3D 0)) {
> >
> > Which basically says, "if, after the fork, the code is executing in the
> > parent, do the following."
> >
>=20
> ok! (i think) i understand. but what i don't understand is:
>=20
> childpid=3Dfork()
>    ... some code ...
> if (childpid !=3D 0)
>    ... some code ...
> else if ((childpid=3Dfork())) (a second fork??)
>    ... more code ...
>=20
> if i change it to the wrong code resp. if((childpid =3D=3D fork())) the
> zombie disappears.

Yes, because you kill the child and the parent.

>=20
> but this doesn't matter. i'm sure i that's to deep for my knowledge. :-)
>=20
> 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 pat=
ch.

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

Joe

>=20
> franz.
>=20
> > 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=3D112725
> >> >
> >> > Joe
--=20
PGP Key : http://www.marcuscom.com/pgp.asc

--=-8mB9mT6jlavOT0JIxvWW
Content-Type: application/pgp-signature; name=signature.asc
Content-Description: This is a digitally signed message part

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.2 (FreeBSD)

iD8DBQA+vfY7b2iPiv4Uz4cRAmH2AJ4w1ov4G4eSNzp3EsfcRx6OxlMKtwCeKBtf
JDwYWVaqtoA+IEf1LuDoDbE=
=05dp
-----END PGP SIGNATURE-----

--=-8mB9mT6jlavOT0JIxvWW--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1052636731.98015.52.camel>