From owner-freebsd-python@FreeBSD.ORG Tue Feb 24 08:27:50 2004 Return-Path: Delivered-To: freebsd-python@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 55CF116A4CE; Tue, 24 Feb 2004 08:27:50 -0800 (PST) Received: from lakemtao06.cox.net (lakemtao06.cox.net [68.1.17.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id B2F8F43D1D; Tue, 24 Feb 2004 08:27:49 -0800 (PST) (envelope-from mezz7@cox.net) Received: from mezz.mezzweb.com ([68.103.32.11]) by lakemtao06.cox.net (InterMail vM.5.01.06.08 201-253-122-130-108-20031117) with ESMTP id <20040224162749.PISN3458.lakemtao06.cox.net@mezz.mezzweb.com>; Tue, 24 Feb 2004 11:27:49 -0500 Date: Tue, 24 Feb 2004 10:26:42 -0600 To: Khairil Yusof References: <20040224091827.GA9742@i18n.org> <1077615520.1002.10.camel@wolverine.cerebro.net.my> From: Jeremy Messenger Content-Type: text/plain; format=flowed; charset=iso-8859-1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Message-ID: In-Reply-To: <1077615520.1002.10.camel@wolverine.cerebro.net.my> User-Agent: Opera7.23/Linux M2 build 518 cc: freebsd-threads@freebsd.org cc: python@FreeBSD.org cc: Hye-Shik Chang Subject: Re: Need the help on debug the Python VS libpthread.. X-BeenThere: freebsd-python@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: FreeBSD-specific Python issues List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 24 Feb 2004 16:27:50 -0000 Great, thank guys! I now can install net/straw with optimized on libpthread. I am adding -thread in the CC, so the thread developers can catch here too. :-) Cheers, Mezz On Tue, 24 Feb 2004 17:38:41 +0800, Khairil Yusof wrote: > On Tue, 2004-02-24 at 18:18 +0900, Hye-Shik Chang wrote: > >> I am not sure if it's Python problem or our libpthread problem. I >> failed to reproduce the situation with compact C code. (waitpid(2) >> returned -1 with errno=EINTR on a child's normal termination.) >> If you get a reasonable explanation that saying it's Python's >> problem, please tell me. > > Great, thanks for the info. I can duplicate this problem with mail/ > evolution also. > > It may be a more universal problem caused by libpthread. At least it > also effects evolution1.5's em-junk-filter.c and other shell calls that > use waitpid. evolution doesn't catch it either, resulting in a hanged > process loop that has to be killed (also under libpthread). > > -- > "You keep using that word. I do not think it means what you think it > means." > > FreeBSD 5.2-CURRENT i386 > 5:26pm up 1:05, 1 user, load averages: 0.58, 0.40, 0.42 -- bsdforums.org 's moderator, mezz.