HEADS UP TESTERS: Recent GNOME 2.3 problems

Franz Klammer klammer at webonaut.com
Sat May 10 17:35:02 PDT 2003


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.

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.

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

-- 
http://webonaut.com/
mailto:klammer at webonaut.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Makefile.diff
Type: application/octet-stream
Size: 567 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-gnome/attachments/20030511/c24cebf6/Makefile.obj


More information about the freebsd-gnome mailing list