X-Spam-Check-By: sourceware.org
Date: Thu, 15 Dec 2005 10:11:19 +0100
From: Corinna Vinschen <corinna-cygwin@cygwin.com>
To: cygwin@cygwin.com
Subject: Re: recreate_mmaps_after_fork_failed errors post-11-30 snapshot
Message-ID: <20051215091119.GQ2399@calimero.vinschen.de>
Reply-To: cygwin@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
References: <6BA1E81A2D5EA14D8F43074EC2C91666819F55@MSPM1BMSGM11.ent.core.medtronic.com>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <6BA1E81A2D5EA14D8F43074EC2C91666819F55@MSPM1BMSGM11.ent.core.medtronic.com>
User-Agent: Mutt/1.4.2i
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
Precedence: bulk
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie.com@cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com

On Dec 14 20:07, Van Sickle, Gary wrote:
> > From: Corinna Vinschen <corinna-cygwin at cygwin dot com>
> > On Dec 14 15:00, Van Sickle, Gary wrote:
> > > OK, lessee what I missed:
> > 
> > The error message content.  When fixup_mmaps_after_fork fails, there's
> > a message in your window which gives at least some details for a
> start.
> > 
> 
> "
> $ tar --help
> C:\cygwin\bin\bash.exe (3360): *** recreate_mmaps_after_fork_failed

Urgh, it seems this machine gets the problem exactly at the one point
where I mistakenly used debug_printf, not system_printf for the detailed
output.  I've fixed that.  The next snapshot should at least print
some address and flag values.

> $ strace tar --help
> C:\cygwin\bin\bash.exe (3476): *** recreate_mmaps_after_fork_failed
> Hangup
> "
> 
> From a cmd.exe prompt:
> 
> "
> H:\>strace bash | grep mmap
>   150   33277 [main] bash 2992 mmap64: addr 0, len 1376256, prot 3,
> flags 22, fd
>  -1, off 0
>   495   33772 [main] bash 2992 mmap64: 0x189F0000 = mmap()
> bash-3.00$ tar --help
>    43 25299558 [main] bash 3556 fixup_mmaps_after_fork: fd -1, h 0x1,
> address 0x
> 189F0000, len 0x150000, prot: 0x3, flags: 0x22, offset 0
>  3219 25302777 [main] bash 3556 fixup_mmaps_after_fork: succeeded

How do you do this?  I added the shell functions you sent to my bash
.profile, but when I start bash under strace, it still never calls mmap.


Corinna

-- 
Corinna Vinschen                  Please, send mails regarding Cygwin to
Cygwin Project Co-Leader          cygwin AT cygwin DOT com
Red Hat

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

