From owner-freebsd-hackers Sun Sep 2 9:55: 6 2001 Delivered-To: freebsd-hackers@freebsd.org Received: from dragon.nuxi.com (trang.nuxi.com [66.92.13.169]) by hub.freebsd.org (Postfix) with ESMTP id ADD5237B403 for ; Sun, 2 Sep 2001 09:55:03 -0700 (PDT) Received: (from obrien@localhost) by dragon.nuxi.com (8.11.5/8.11.1) id f82Gt3W64592 for freebsd-hackers@freebsd.org; Sun, 2 Sep 2001 09:55:03 -0700 (PDT) (envelope-from obrien) Date: Sun, 2 Sep 2001 09:55:03 -0700 From: "David O'Brien" To: freebsd-hackers@freebsd.org Subject: signal handling descrpancy (FreeBSD oaf fix/Evolution) Message-ID: <20010902095503.A64412@dragon.nuxi.com> Reply-To: obrien@freebsd.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i X-Operating-System: FreeBSD 5.0-CURRENT Organization: The NUXI BSD group X-Pgp-Rsa-Fingerprint: B7 4D 3E E9 11 39 5F A3 90 76 5D 69 58 D9 98 7A X-Pgp-Rsa-Keyid: 1024/34F9F9D5 Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG 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