delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2012/02/09/08:41:09

X-Recipient: archive-cygwin AT delorie DOT com
X-SWARE-Spam-Status: No, hits=3.3 required=5.0 tests=AWL,BAYES_00,BOTNET,BUG6152_INVALID_DATE_TZ_ABSURD,INVALID_DATE_TZ_ABSURD,L_SPAM_TOOL_13,RDNS_NONE
X-Spam-Check-By: sourceware.org
Date: Thu, 9 Feb 2012 14:37:58 +0059
From: Denis Excoffier <cygwin AT Denis-Excoffier DOT org>
To: cygwin AT cygwin DOT com
Subject: Re: cygwin-1.7.10-1 fork - address space needed by ... already in use
Message-ID: <20120209133822.GA4792@qp9482>
References: <4F31559B DOT 6060600 AT cs DOT utoronto DOT ca> <B0ED7173-1AC3-4B4E-8B79-3A9B22652684 AT Denis-Excoffier DOT org> <20120208090824 DOT GA1724 AT qp9482> <20120208092711 DOT GF25129 AT calimero DOT vinschen DOT de> <20120208102235 DOT GA2796 AT qp9482> <20120208130012 DOT GG25129 AT calimero DOT vinschen DOT de> <20120208133502 DOT GH25129 AT calimero DOT vinschen DOT de> <20120208145527 DOT GA4644 AT qp9482> <20120208151603 DOT GN25129 AT calimero DOT vinschen DOT de> <20120209110631 DOT GF23330 AT calimero DOT vinschen DOT de>
MIME-Version: 1.0
In-Reply-To: <20120209110631.GF23330@calimero.vinschen.de>
User-Agent: Mutt/1.5.21 (2010-09-15)
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com

On Thu, Feb 09, 2012 at 12:06:31PM +0100, Corinna Vinschen wrote:
>> On Feb  8 16:16, Corinna Vinschen wrote:
>> > On Feb  8 15:55, Denis Excoffier wrote:
>> > > On Wed, Feb 08, 2012 at 02:35:02PM +0100, Corinna Vinschen wrote:
>> > > >> Denis, can you please change your test output?  Instead of printing only
>> > > >> d_alt->modname, please print d_alt->name and then run your rsync test
>> > > >> again.  If this is the same problem as in the doit testcase, I'd like to
>> > > >> see where the second cygiconv-2.dll is coming from.  In theory, if you
>> > > >> have only a single installation of cygiconv-2.dll, this should'nt
>> > > >> happen.
>> > > Here it is. Enjoy!
>> > >       1 [main] gcc-4 5440 dll_list::reserve_space: address space needed by 'cygiconv-2.dll' (file D:\Home\dexcoff1\dexcoff1\cygwin2011f\bin\cygiconv-2.dll) (0x674C0000 with type 1=DLL_LINK)
>> > >    1580 [main] gcc-4 5440 dll_list::reserve_space: address space needed by 'cygintl-8.dll' (file D:\Home\dexcoff1\dexcoff1\cygwin2011f\bin\cygintl-8.dll) (0x6F5C0000 with type 1=DLL_LINK)
>> > >    1899 [main] gcc-4 5440 dll_list::reserve_space: address space needed by 'cygiconv-2.dll' (file \\?\D:\Home\dexcoff1\dexcoff1\cygwin2011f\bin\cygiconv-2.dll) (0x674C0000 with type 2=DLL_LOAD)
>> > >    2562 [main] gcc-4 5440 dll_list::reserve_space: address space needed by 'cygintl-8.dll' (file \\?\D:\Home\dexcoff1\dexcoff1\cygwin2011f\bin\cygintl-8.dll) (0x6F5C0000 with type 2=DLL_LOAD)
>> > >    3290 [main] gcc-4 5440 child_info_fork::abort: address space needed by 'cygiconv-2.dll' (0x674C0000) is already occupied
>> > >       2 [main] gcc 3408 fork: child -1 - forked process died unexpectedly, retry 0, exit code 1, errno 11
>> > > 
>> > > I don't think you will need /proc/5440/maps this time.
>> > 
>> > Nope, thank you.  Look at this:
>> > 
>> >   D:\Home\dexcoff1\dexcoff1\cygwin2011f\bin\cygiconv-2.dll
>> >   \\?\D:\Home\dexcoff1\dexcoff1\cygwin2011f\bin\cygiconv-2.dll
>> > 
>> > So it's the same DLL path, just one time with the long pathname prefix
>> > (or better: The Win32 equivalent to the native NT path prefix).  But,
>> > as I wrote in my mail to Heiko, neither the Windows loader nor the
>> > GetModuleFileName call normalize the path.  So I think I just apply
>> > my patch to use only the basename in the dll_init code.
>> 
>> I applied a patch and generated a new snapshot.  Please give it a try.

Usually after installation of a new snapshot i begin with a compilation
of the sources. Today the compilation fails in winsup/cygwin/mkimport
(perl script) with the following messages:
      1 [main] perl 2380 child_info_fork::abort: unable to map Glob.dll, Win32 error 126
      4 [main] perl 5460 child_info_fork::abort: unable to map Cwd.dll, Win32 error 126
      5 [main] perl 5916 child_info_fork::abort: unable to map Glob.dll, Win32 error 126
      4 [main] perl 4028 child_info_fork::abort: unable to map Cwd.dll, Win32 error 126
      4 [main] perl 4900 child_info_fork::abort: unable to map Glob.dll, Win32 error 126
      4 [main] perl 2128 child_info_fork::abort: unable to map Cwd.dll, Win32 error 126
      4 [main] perl 5120 child_info_fork::abort: unable to map Glob.dll, Win32 error 126
      4 [main] perl 5440 child_info_fork::abort: unable to map Cwd.dll, Win32 error 126
      4 [main] perl 5044 child_info_fork::abort: unable to map Glob.dll, Win32 error 126
      4 [main] perl 5456 child_info_fork::abort: unable to map Cwd.dll, Win32 error 126
etc.

at the pace one message each 5seconds.
All processes indicated remain in /proc, as <defunct>, and with
maps "permission denied".

Regards.

Denis Excoffier.

--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

- Raw text -


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