This is the mail archive of the
mailing list for the Cygwin project.
Re: python script recently started getting "unable to remap" error on cygssl from popen2
- From: "Elfyn McBratney" <elfyn at exposure dot org dot uk>
- To: "cygwin" <cygwin at cygwin dot com>,"Mark Moraes" <moraes at computer dot org>
- Date: Mon, 24 Mar 2003 20:41:14 -0000
- Subject: Re: python script recently started getting "unable to remap" error on cygssl from popen2
- References: <00a001c2f243$c336bbf0$0a01a8c0@ashoka>
> Since 1.3.19, I've been seeing this error sporadically
> from a script that had been working fine till then.
> It only appears with ssl so far -- various other DLLs
> seem to work fine. (removing the call to import socket
> removes the problem).
> This is under Windows 2000, SP3.
> Any ideas -- the archives have references to rebasing
> libraries, any pointers to how I can do that (and whether
> this needs to be done to python's _socket.dll or to
> : ashoka ; python test-remap-cygssl-problem.py
> C:\opt\gnu\cygwin\bin\python2.2.exe: *** unable to remap
C:\opt\gnu\cygwin\bin\cygssl-0.9.7.dll to same address as parent(0x720000)
> != 0x730000
> 8 [main] python 1440 sync_with_child: child 1612(0x238) died before
initialization with status code 0x1
> 4275 [main] python 1440 sync_with_child: *** child state child loading
> Traceback (most recent call last):
> File "test-remap-cygssl-problem.py", line 8, in ?
> fw, fr = os.popen2("wc -l")
> File "/usr/lib/python2.2/os.py", line 569, in popen2
> stdout, stdin = popen2.popen2(cmd, bufsize)
> File "/usr/lib/python2.2/popen2.py", line 144, in popen2
> inst = Popen3(cmd, 0, bufsize)
> File "/usr/lib/python2.2/popen2.py", line 40, in __init__
> self.pid = os.fork()
> OSError: [Errno 11] Resource temporarily unavailable
> Exit 1
Rebasing all of your Cygwin DLL's *should* fix this. If you don't have the
rebase package installed install it via setup.exe and follow this (taken
from the rebase README):
Use the following procedure to rebase your entire system:
1. shutdown all Cygwin processes
2. start bash (do not use rxvt)
3. execute rebaseall (in the bash window)
Once you've follwed these steps things should work.
elfyn at exposure dot org dot uk
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Bug reporting: http://cygwin.com/bugs.html