| www.delorie.com/archives/browse.cgi | search |
| Mailing-List: | contact cygwin-help AT cygwin DOT com; run by ezmlm |
| List-Subscribe: | <mailto:cygwin-subscribe AT cygwin DOT com> |
| List-Archive: | <http://sources.redhat.com/ml/cygwin/> |
| List-Post: | <mailto:cygwin AT cygwin DOT com> |
| List-Help: | <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/ml/#faqs> |
| Sender: | cygwin-owner AT cygwin DOT com |
| Delivered-To: | mailing list cygwin AT cygwin DOT com |
| Date: | Fri, 7 Dec 2001 10:35:24 -0500 |
| From: | Jason Tishler <jason AT tishler DOT net> |
| To: | Michael Hudson <Michael DOT Hudson AT bristol DOT ac DOT uk> |
| Cc: | Python-List <python-list AT python DOT org>, Cygwin <cygwin AT sources DOT redhat DOT com> |
| Subject: | Re: Fwd: Re: dll_list::load_after_fork() blues (was Re: [ python-Bugs-489709 ] Building Fails ...) |
| Message-ID: | <20011207103524.C1592@dothill.com> |
| Mail-Followup-To: | Michael Hudson <Michael DOT Hudson AT bristol DOT ac DOT uk>, |
| Python-List <python-list AT python DOT org>, | |
| Cygwin <cygwin AT sources DOT redhat DOT com> | |
| Mime-Version: | 1.0 |
| In-Reply-To: | <usnancbdb.fsf@bristol.ac.uk> |
| User-Agent: | Mutt/1.3.18i |
Michael,
On Fri, Dec 07, 2001 at 03:12:48PM +0000, Michael Hudson wrote:
> Michael Hudson <Michael DOT Hudson AT bristol DOT ac DOT uk> writes:
> > Your patch helps by the way. I tried building without threads -- that
> > didn't.
>
> OTOH, some tests crash:
>
> 3 tests failed:
> test_popen2 test_pty test_socket
I know, I know.
In fact, the following demonstrates the problem:
$ cat test2.py
import os
import _socket
pid = os.fork()
$ ./python test2.py
C:\home\jtishler\src\PythonCvs\nothreads\python.exe: *** unable to remap C:\cygwin\bin\cygssl.dll to same address as parent -- 0x1A2F0000
0 [main] python 852 sync_with_child: child 2772(0x158) died before initialization with status code 0x1
996 [main] python 852 sync_with_child: *** child state child loading dlls
Traceback (most recent call last):
File "test2.py", line 4, in ?
pid = os.fork()
OSError: [Errno 11] Resource temporarily unavailable
I guess that commenting out "import _socket" is not an acceptable
solution... :,)
Jason
--
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Bug reporting: http://cygwin.com/bugs.html
Documentation: http://cygwin.com/docs.html
FAQ: http://cygwin.com/faq/
| webmaster | delorie software privacy |
| Copyright © 2019 by DJ Delorie | Updated Jul 2019 |