Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com Date: Mon, 05 Aug 2002 12:51:44 -0400 From: Jason Tishler Subject: Re: [RFC] an alternative to rebasing In-reply-to: <20020802194925.GA2308@tishler.net> To: cygwin AT cygwin DOT com Mail-followup-to: cygwin AT cygwin DOT com Message-id: <20020805165144.GA116@tishler.net> MIME-version: 1.0 Content-type: text/plain; charset=us-ascii Content-transfer-encoding: 7BIT Content-disposition: inline User-Agent: Mutt/1.4i References: <20020802151403 DOT 56afae59 DOT steven DOT obrien2 AT ntlworld DOT com> <20020802194925 DOT GA2308 AT tishler DOT net> Steven, On Fri, Aug 02, 2002 at 03:49:25PM -0400, Jason Tishler wrote: > On Fri, Aug 02, 2002 at 03:14:03PM +0100, Steven O'Brien wrote: > > I have done some simple tests that fail with cygwin1.dll-1.3.12-2, > > but succeed with my patched dll. I am also running the gnome desktop > > and core apps which depend on run-time loaded dlls to function and > > that is OK. I would like package maintainers who would otherwise > > need rebasing (Jason?) to try my patch and report results here if > > they can find time. > > I will try your patch out on Python first thing on Monday morning. > Unfortunately, I seem to be having problems getting Python to fail to > fork() due to rebase problems lately... I'm sorry to report that your patch does not fix the following rebase problem: http://sourceforge.net/tracker/?func=detail&atid=305470&aid=491107&group_id=5470 Specifically, I'm getting the following: $ make ... building 'gdbm' extension gcc -DNDEBUG -g -O3 -Wall -Wstrict-prototypes -DUSE_DL_IMPORT -I. -I/tmp/python-2.2.1-1/./Include -I/usr/local/include -IInclude/ -c /tmp/python-2.2.1-1/Modules/gdbmmodule.c -o build/temp.cygwin-1.3.13-i686-2.2/gdbmmodule.o C:\cygwin\tmp\python-2.2.1-1\build\python.exe: *** unable to remap C:\cygwin\bin\cygcrypto.dll to same address as parent -- 0x420000 8 [main] python 1548 sync_with_child: child 2772(0x100) died before initialization with status code 0x1 9652 [main] python 1548 sync_with_child: *** child state child loading dlls error: Resource temporarily unavailable make: *** [sharedmods] Error 1 If you wish, you can reproduce the problem yourself with the following: $ wget -nd http://www.python.org/ftp/python/2.2.1/Python-2.2.1.tgz $ tar -xzf Python-2.2.1.tgz $ cd Python-2.2.1 $ configure $ make The following (simpler) test case also fails: $ cat test.py import os import _socket pid = os.fork() $ ./python test.py C:\cygwin\tmp\python-2.2.1-1\build\python.exe: *** unable to remap C:\cygwin\bin\cygssl.dll to same address as parent -- 0x1A2F0000 7 [main] python 2456 sync_with_child: child 2968(0x120) died before initialization with status code 0x1 2838 [main] python 2456 sync_with_child: *** child state child loading dlls Traceback (most recent call last): File "test.py", line 4, in ? pid = os.fork() OSError: [Errno 11] Resource temporarily unavailable Please let me know if I can help you in any way. I truly want you to succeed with your rebase alternative. Thanks, 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/