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(0x72)
!= 0x73
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*
-rwxrwxrwx1 Administ Users 168960 Mar 19 12:35 /usr/bin/cygssl.dll
-rwxrwxrwx1 Administ Users 180736 Mar 19 12:25 /usr/bin/cygssl-0.9.7.dll
-rwxrwxrwx1 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
#! /usr/bin/env python
import socket
import os
if __name__ == '__main__':
fw, fr = os.popen2(wc -l)
fw.write(hello\nworld\n)
fw.flush()
fw.close()
s = fr.read()
print `s`
--
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/