delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2018/01/11/07:31:48

X-Recipient: archive-cygwin AT delorie DOT com
DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id
:list-unsubscribe:list-subscribe:list-archive:list-post
:list-help:sender:to:from:subject:message-id:date:mime-version
:content-type:content-transfer-encoding; q=dns; s=default; b=ixI
1IQBu+j5nlw4DxIa2CCSl3XICNcWjJI8Uqt5AHrOl/rXadAYn9C6VDvC2FQjEHIq
h1cpL9qZz5k5RIjNf84UwingDNT1G82Oy7Y/TuLXUa9Wgav+Ggr+J0ROjHDElON9
ADyq/DLStBMd6LzrCgEDPzOMtX5Q8n8estrI3yhk=
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id
:list-unsubscribe:list-subscribe:list-archive:list-post
:list-help:sender:to:from:subject:message-id:date:mime-version
:content-type:content-transfer-encoding; s=default; bh=pQcXuPBtv
sOr3dCGJp6Lps11uVQ=; b=ZnaB346rSIc3+8WW1mvcGNQ6idVTBPl7F75yPyqy3
w2K7x8a50Wej9EzyswKQVg0ilhfFXOq8HucHHnOgwx6ZMPtIKki8WZMjBGE3B5li
CNyb/Nl2yDHbO8uPIYlvrAWdaXo0dv+Nohe+AofhjbBJqIpAm5HLfQLSeMFbvGZE
Ys=
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.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
Authentication-Results: sourceware.org; auth=none
X-Virus-Found: No
X-Spam-SWARE-Status: No, score=-0.9 required=5.0 tests=BAYES_00,KAM_LAZY_DOMAIN_SECURITY,RCVD_IN_DNSWL_NONE,T_RP_MATCHES_RCVD autolearn=no version=3.3.2 spammy=H*M:online, H*MI:online, H*UA:2.51, H*r:172.20.26
X-HELO: mailout09.t-online.de
To: cygwin AT cygwin DOT com
From: Christian Franke <Christian DOT Franke AT t-online DOT de>
Subject: rebase-4.4.3-1 regression: Too many DLLs for available address space
Message-ID: <98715417-cabe-7b0f-8767-fd114cc929e8@t-online.de>
Date: Thu, 11 Jan 2018 13:32:20 +0100
User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:54.0) Gecko/20100101 Firefox/54.0 SeaMonkey/2.51
MIME-Version: 1.0
X-IsSubscribed: yes

After 4.4.3-1 upgrade, rebase always fails on 32- and 64-bit Cygwin:

$ rebase -s -T /var/cache/rebase/rebase_all
rebase: Too many DLLs for available address space: Cannot allocate memory

Using /bin/rebaseall does not help.

A downgrade to 4.4.2-1 fixes the problem.

The DLL address range on 32-bit Cygwin looks sane:

$ rebase -si
/usr/libexec/coreutils/libstdbuf.so   base 0x436b0000 size 0x0000b000
/usr/lib/zsh/5.3/zsh/zutil.dll        base 0x436c0000 size 0x0000e000
...
/usr/bin/cygEMF-1.dll                 base 0x6ff80000 size 0x00034000
/usr/bin/cygEGL-1.dll                 base 0x6ffc0000 size 0x00039000


Christian

PS: rebase should possibly warn/fail if a 32bit DLL would need to be 
rebased < 0x38000000.
Recent tests on Win10 1703 show that LoadLibrary() always loads such 
DLLs to other locations.


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