From owner-freebsd-python@FreeBSD.ORG Tue Feb 24 01:14:52 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 AF11816A4CE for ; Tue, 24 Feb 2004 01:14:52 -0800 (PST) Received: from miffy.openlook.org (openlook.org [211.236.182.73]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3F8DF43D31 for ; Tue, 24 Feb 2004 01:14:52 -0800 (PST) (envelope-from perky@miffy.openlook.org) Received: by miffy.openlook.org (Postfix, from userid 1000) id 86651A9C8; Tue, 24 Feb 2004 18:18:27 +0900 (KST) Date: Tue, 24 Feb 2004 18:18:27 +0900 From: Hye-Shik Chang To: Jeremy Messenger Message-ID: <20040224091827.GA9742@i18n.org> References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-Accept-Language: ko, en User-Agent: Mutt/1.5.5.1i cc: python@FreeBSD.org 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 09:14:52 -0000 On Fri, Feb 20, 2004 at 01:36:03AM +0000, Jeremy Messenger wrote: > Hello, > > net/straw will fail install if it's on libpthread, but it doesn't fail on > libc_r.. I have no idea where the problem is yet, but would be nice if > anyone with the skill debugger can help. The problem is in this log > http://bento.freebsd.org/errorlogs/i386-5-latest/straw-0.22.log .. > > ============================= > [...] > byte-compiling /usr/X11R6/share/gnome/straw/URLFetch.py to URLFetch.pyc > byte-compiling /usr/X11R6/share/gnome/straw/utils.py to utils.pyc > writing byte-compilation script '/tmp/tmpXHlc42.py' > /usr/local/bin/python -O /tmp/tmpXHlc42.py > error: Interrupted system call > *** Error code 1 > ============================= A workaround is got into python port 2.3.3_2. Please test it whether it works. :) > I am not sure if it's Python problem, it might be one of net/straw's > dependencies. 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. Hye-Shik