From owner-freebsd-python@FreeBSD.ORG Fri Feb 26 14:33:34 2010 Return-Path: Delivered-To: freebsd-python@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id BE356106566B for ; Fri, 26 Feb 2010 14:33:34 +0000 (UTC) (envelope-from psteele@maxiscale.com) Received: from server505.appriver.com (server505c.appriver.com [98.129.35.7]) by mx1.freebsd.org (Postfix) with ESMTP id 7CEC68FC19 for ; Fri, 26 Feb 2010 14:33:34 +0000 (UTC) X-Policy: GLOBAL - maxiscale.com X-Policy: GLOBAL - maxiscale.com X-Policy: GLOBAL - maxiscale.com X-Primary: psteele@maxiscale.com X-Note: This Email was scanned by AppRiver SecureTide X-ALLOW: psteele@maxiscale.com ALLOWED X-Virus-Scan: V- X-Note: Spam Tests Failed: X-Country-Path: UNITED STATES->UNITED STATES->UNITED STATES X-Note-Sending-IP: 98.129.23.15 X-Note-Reverse-DNS: ht02.exg5.exghost.com X-Note-WHTLIST: psteele@maxiscale.com X-Note: User Rule Hits: X-Note: Global Rule Hits: G173 G174 G175 G176 G180 G181 G192 G279 X-Note: Encrypt Rule Hits: X-Note: Mail Class: ALLOWEDSENDER X-Note: Headers Injected Received: from [98.129.23.15] (HELO ht02.exg5.exghost.com) by server505.appriver.com (CommuniGate Pro SMTP 5.3.2) with ESMTPS id 29691600; Fri, 26 Feb 2010 07:33:32 -0600 Received: from mbx03.exg5.exghost.com ([169.254.1.200]) by ht02.exg5.exghost.com ([98.129.23.15]) with mapi; Fri, 26 Feb 2010 07:33:31 -0600 From: Peter Steele To: Kostik Belousov Date: Fri, 26 Feb 2010 07:33:29 -0600 Thread-Topic: ntpd hangs under FBSD 8 Thread-Index: Acq21ilp6fSHXbwASta/5ZqqCcYv/gAEPG7w Message-ID: <7B9397B189EB6E46A5EE7B4C8A4BB7CB39E95A7A@MBX03.exg5.exghost.com> References: <7B9397B189EB6E46A5EE7B4C8A4BB7CB39E95389@MBX03.exg5.exghost.com> <20100224190035.GA5026@wep4035.physik.uni-wuerzburg.de> <7B9397B189EB6E46A5EE7B4C8A4BB7CB39E95522@MBX03.exg5.exghost.com> <20100225125838.13cd6c0e.ray@dlink.ua> <7B9397B189EB6E46A5EE7B4C8A4BB7CB39E95689@MBX03.exg5.exghost.com> <20100225151828.GA2489@deviant.kiev.zoral.com.ua> <7B9397B189EB6E46A5EE7B4C8A4BB7CB39E95703@MBX03.exg5.exghost.com> <20100225164514.GB2489@deviant.kiev.zoral.com.ua> <7B9397B189EB6E46A5EE7B4C8A4BB7CB39E95765@MBX03.exg5.exghost.com> <7B9397B189EB6E46A5EE7B4C8A4BB7CB39E95991@MBX03.exg5.exghost.com> <20100226112336.GF2489@deviant.kiev.zoral.com.ua> In-Reply-To: <20100226112336.GF2489@deviant.kiev.zoral.com.ua> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: acceptlanguage: en-US Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Cc: "freebsd-hackers@freebsd.org" , "freebsd-python@freebsd.org" Subject: RE: ntpd hangs under FBSD 8 X-BeenThere: freebsd-python@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: FreeBSD-specific Python issues List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 26 Feb 2010 14:33:34 -0000 >So this is arguably a Python bug. Did you contacted anybody who cares abou= t the Python ? I did not, mainly because this link: http://bugs.python.org/msg61870 seems to imply they are already aware of the problem. I agree it must be a = Python bug though. It worked in 2.5.1 but not in 2.5.5 and later, so clearl= y they changed how processes are launched from threads that has led to this= problem. One should not have to be forced to make explicit calls to change= the signal mask in order to launch an external app. Granted, we've only ha= d this issue with ntpd--other apps launch fine--but there is clearly someth= ing wrong somewhere for even one app to hang when it is spawned as a thread= .