delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2013/08/30/05:27:35

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:date:message-id:references
:mime-version:content-type:content-transfer-encoding; q=dns; s=
default; b=T/qZhC/bZD2x13gDVJzZU/EdOS4vLgT7O4UM2AaYcwGzONV5isuNF
wASauFq4yBAJ7zgCmwg8KGaiJkd3l7N9EQEpt9bQfIOpP+S+gfua7n29oIlvmwJY
pFOc4lh3btGhphDybBvg8MDqkhr1OVkv8DyDfv0WQyIrwijPMLHMUM=
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:date:message-id:references
:mime-version:content-type:content-transfer-encoding; s=default;
bh=tn3myYyhm4PfDH4+Uvwf5PgGViA=; b=dcsCrLwLR2UBj8KALT7v2YPga4bt
+dnn/xcOGbtX9YgtuJ/LHVHj3D2VioE7zIno/VrnofPzVcvw9dQLpqwjfokSiknS
KYxbmtlvURb5oC/HuzBKdjQ9daFNIwq34PfaQYCE3llZsK+rGtd1ggfNd/CnC0nJ
opEqLy0e0H7zcC4=
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.6 required=5.0 tests=AWL,BAYES_00,FSL_HELO_BARE_IP_1,FSL_HELO_BARE_IP_2,KHOP_THREADED,RCVD_NUMERIC_HELO,RDNS_NONE,SPF_FAIL autolearn=no version=3.3.2
X-HELO: plane.gmane.org
To: cygwin AT cygwin DOT com
From: Achim Gratz <Stromeko AT NexGo DOT DE>
Subject: Re: xz -9 : Cannot allocate memory
Date: Fri, 30 Aug 2013 09:26:41 +0000 (UTC)
Lines: 38
Message-ID: <loom.20130830T111847-683@post.gmane.org>
References: <50A41697 DOT 3080406 AT tiscali DOT co DOT uk> <loom DOT 20130829T155739-66 AT post DOT gmane DOT org> <loom DOT 20130829T162752-851 AT post DOT gmane DOT org> <20130829151121 DOT GR21571 AT calimero DOT vinschen DOT de> <87ioyowbq9 DOT fsf AT Rainer DOT invalid>
Mime-Version: 1.0
User-Agent: Loom/3.14 (http://gmane.org/)

Achim Gratz <Stromeko <at> nexgo.de> writes:
> > Load xz under GDB, break
> > on "cygwin_exit", run it, and when it hits the breakpoint, observer the
> > memory layout, either in GDB, or by cat'ing /proc/≤xz's pid>/maps.
> 
> OK, if it is still reproducible tomorrow I'll have a look.

I'm not sure I'm looking at the right place, but these seem to be the
relevant differences between the non-working and the working version
(initial heap set to 1MiB) memory maps (I've cut the lines with different
thread ID etc.).

--- map_0x0.txt 2013-08-30 11:14:33.717797000 +0200
+++ map_0x1.txt 2013-08-30 11:12:29.171669000 +0200
@@ -1,40 +1,41 @@
[...]
-002F0000-00314000 rw-p 00000000 0000:0000 0                   [win heap 0
default grow]
-00314000-003F0000 ===p 00024000 0000:0000 0                   [win heap 0
default grow]
+00300000-00324000 rw-p 00000000 0000:0000 0                   [win heap 0
default grow]
+00324000-00400000 ===p 00024000 0000:0000 0                   [win heap 0
default grow]
[...]
 20000000-20090000 rw-p 00000000 0000:0000 0                   [heap]
-20090000-38000000 ===p 00090000 0000:0000 0                   [heap]
+20090000-20400000 ===p 00090000 0000:0000 0                   [heap]
+34C80000-58CD0000 rw-p 00000000 0000:0000 0
 58CD0000-58CD1000 r--p 00000000 76D4:F5BA 2533274790634491   
/usr/bin/cyglzma-5.dll
 58CD1000-58CE8000 r-xp 00001000 76D4:F5BA 2533274790634491   
/usr/bin/cyglzma-5.dll


Regards,
Achim.



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