This is the mail archive of the
cygwin
mailing list for the Cygwin project.
Re: xz -9 : Cannot allocate memory
- From: Achim Gratz <Stromeko at NexGo dot DE>
- To: cygwin at cygwin dot com
- Date: Fri, 30 Aug 2013 09:26:41 +0000 (UTC)
- Subject: Re: xz -9 : Cannot allocate memory
- Authentication-results: sourceware.org; auth=none
- 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>
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