[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: run-python hangs for some versions
From: |
Adam Hupp |
Subject: |
Re: run-python hangs for some versions |
Date: |
Thu, 21 Jun 2007 00:29:06 -0500 |
User-agent: |
Mutt/1.5.11 |
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