From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Adam Hupp Newsgroups: gmane.emacs.bugs Subject: Re: run-python hangs for some versions Date: Thu, 21 Jun 2007 00:29:06 -0500 Message-ID: <20070621052906.GA4310@mouth.upl.cs.wisc.edu> References: <20070617101511.BF7FD84FD@mail.hupp.org> <20070618104608.GA24103@mouth.upl.cs.wisc.edu> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1182403765 18937 80.91.229.12 (21 Jun 2007 05:29:25 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Thu, 21 Jun 2007 05:29:25 +0000 (UTC) Cc: bug-gnu-emacs@gnu.org To: Richard Stallman Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Thu Jun 21 07:29:23 2007 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1I1FEP-0007d7-NW for geb-bug-gnu-emacs@m.gmane.org; Thu, 21 Jun 2007 07:29:21 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1I1FEP-0004KD-3o for geb-bug-gnu-emacs@m.gmane.org; Thu, 21 Jun 2007 01:29:21 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1I1FEN-0004K8-0p for bug-gnu-emacs@gnu.org; Thu, 21 Jun 2007 01:29:19 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1I1FEI-0004Jw-P9 for bug-gnu-emacs@gnu.org; Thu, 21 Jun 2007 01:29:17 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1I1FEI-0004Jt-JS for bug-gnu-emacs@gnu.org; Thu, 21 Jun 2007 01:29:14 -0400 Original-Received: from crane.upl.cs.wisc.edu ([128.105.45.101]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1I1FEH-0008B2-Jf; Thu, 21 Jun 2007 01:29:13 -0400 Original-Received: from mouth.upl.cs.wisc.edu (mouth.upl.cs.wisc.edu [128.105.45.100]) by crane.upl.cs.wisc.edu (Postfix) with ESMTP id 183DA7FD5C; Thu, 21 Jun 2007 00:29:07 -0500 (CDT) Original-Received: by mouth.upl.cs.wisc.edu (Postfix, from userid 1312) id 0B34148209F; Thu, 21 Jun 2007 00:29:07 -0500 (CDT) Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.11 X-detected-kernel: Linux 2.6, seldom 2.4 (older, 4) X-BeenThere: bug-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:15970 Archived-At: On Tue, Jun 19, 2007 at 06:40:41AM -0400, Richard Stallman wrote: > #0 0x401369a2 in select () from /lib/libc.so.6 > #1 0x08317619 in ?? () > #2 0x0818789a in close_process_descs () at process.c:3906 > > That is very strange -- it doesn't seem to fit the code in process.c. > > We need to find out what is calling `select' and why. > So you need to study the machine code against the source code. > Is frame #1 emacs_close, or what? I put a breakpoint in emacs_close but for some reason it went into abort instead. However, Stefan Monnier suggested[0] that this line of python.el may be the cause: (python-send-receive "import emacs; print '_emacs_out ()'") This is correct. python-send-receive loops forever waiting for the "_emacs_out" to be printed, which it isn't because of an incompatibility with python 3000. -Adam [0] http://lists.gnu.org/archive/html/bug-gnu-emacs/2007-06/msg00196.html