Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 2 Sep 2001 09:55:03 -0700
From:      "David O'Brien" <obrien@freebsd.org>
To:        freebsd-hackers@freebsd.org
Subject:   signal handling descrpancy (FreeBSD oaf fix/Evolution)
Message-ID:  <20010902095503.A64412@dragon.nuxi.com>

next in thread | raw e-mail | index | archive | help
Hi Hackers, et.al.

The PIM Evolution, http://www.ximian.com/products/ximian_evolution/,
does not run on FreeBSD.  The authors have made a change so that it will.
However, we would like to know if FreeBSD is the odd-man-out, or if the
authors were lucky Evolution ran on Solaris and Linux.


----- Forwarded message
Subject: FreeBSD oaf fix
Date: 02 Sep 2001 01:27:58 -0700
To: gnome-components-list@gnome.org, evolution-hackers@ximian.com

Evolution has hung on startup on FreeBSD (all versions I've tested along
the 4.x branch, and I assume the 5.x stuff as well) for some time now. 
This patch to OAF (the oaf-stable-0-6 branch) fixes the problem.  I've
run evolution on Linux with the fix and haven't noticed a change.

Considering this fix isn't needed to keep things working on the other
platforms evolution supports (linux, solaris) there's obviously some
discrepancy in the handling of signal masks (specifically those which
block SIGCHLD) between these platforms.  Not sure which platform(s) are
the ones with the bug, honestly, or if the correct behavior is even
specified someplace.

toshok

Index: oaf-fork-server.c
===================================================================
RCS file: /cvs/gnome/oaf/liboaf/oaf-fork-server.c,v
retrieving revision 1.1.2.3
diff -c -u -r1.1.2.3 oaf-fork-server.c
--- oaf-fork-server.c	2001/07/22 18:14:46	1.1.2.3
+++ oaf-fork-server.c	2001/09/02 08:23:59
@@ -267,6 +267,7 @@
 		if (od_iorstr)
 		  oaf_setenv ("OAF_OD_IOR", od_iorstr);
                 
+		sigprocmask (SIG_SETMASK, &omask, NULL);
 
 		close (iopipes[0]);
----- End forwarded message -----

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-hackers" in the body of the message




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