python script recently started getting "unable to remap" error on cygssl from popen2

Mark Moraes markmoraes@yahoo.com
Mon Mar 24 20:51:00 GMT 2003


Hi.

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
cygssl?)

Thanks,
    Mark.

: 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 dlls
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

: ashoka ; ls -lt /usr/bin/*ssl*
-rwxrwxrwx    1 Administ Users      168960 Mar 19 12:35 /usr/bin/cygssl.dll
-rwxrwxrwx    1 Administ Users      180736 Mar 19 12:25 /usr/bin/cygssl-0.9.7.dll
-rwxrwxrwx    1 Administ Users      318464 Mar 19 12:25 /usr/bin/openssl.exe
: ashoka ; sum /usr/bin/*ssl*
17190   177 /usr/bin/cygssl-0.9.7.dll
63625   165 /usr/bin/cygssl.dll
34128   311 /usr/bin/openssl.exe
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: test-remap-cygssl-problem.py
URL: <http://cygwin.com/pipermail/cygwin/attachments/20030324/a8b2dc33/attachment.ksh>
-------------- next part --------------
--
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/


More information about the Cygwin mailing list