delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2001/12/16/03:26:47

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
Message-ID: <118101c1860b$61b48fb0$0200a8c0@lifelesswks>
From: "Robert Collins" <robert DOT collins AT itdomain DOT com DOT au>
To: "Jason Tishler" <jason AT tishler DOT net>, "Cygwin" <cygwin AT sources DOT redhat DOT com>
Cc: "Michael Hudson" <mwh AT python DOT net>, <david_abrahams AT users DOT sourceforge DOT net>
References: <20011210074629 DOT B2148 AT dothill DOT com>
Subject: Re: dll_list::load_after_fork() blues (was Re: [ python-Bugs-489709 ] Building Fails ...)
Date: Sun, 16 Dec 2001 19:26:37 +1100
MIME-Version: 1.0
X-Priority: 3
X-MSMail-Priority: Normal
X-Mailer: Microsoft Outlook Express 6.00.2600.0000
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000
X-OriginalArrivalTime: 16 Dec 2001 08:26:28.0974 (UTC) FILETIME=[5C05F0E0:01C1860B]

----- Original Message -----
From: "Jason Tishler" <jason AT tishler DOT net>
>           - cygwin1.dll: since I believe that it relies on being based
>             at 0x61000000

It does not rely on any base address per se. It *does* reply on the base
address being consistent between forked/spawned and exec'd parent and
children. That means that the base address must be one of the following:
a) Whatever is in the .dll, in all cygwin processs (for a given process
hierarchy). (ie it can be different for different invocations of
cygwin.bat).
b) Relocated consistently on the fly in all cygwin processs (for a given
process hierarchy). (ie it can be different for different invocations of
cygwin.bat).

>           - cygcurl-2.dll: because it gets "whacked" by rebase and
>             AFAICT is not used by Python anyway

Can you detail 'whack' a little more?

>           - cygtclpip80.dll: because it appears not to be relocatable

What error do you get?

> Unfortunately, when I run the complete Python regression test, I still
> get the same three test failures as reported by Michael without
rebasing:
>
>     test_popen2
>     test_pty
>     test_socket
>
> When I run these tests individually (i.e., not part of the complete
test
> suite), then they pass.  Hence, the rebasing appears not to completely
> solve this problem.

Can you get process explorer to show their address space - get them to
fail, and stop rather than terminating (usually there is a dialog you
could leave open or you can use the CYGWIN debug flags).

Rob


--
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/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019