delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2005/12/14/21:41:52

X-Spam-Check-By: sourceware.org
Date: Wed, 14 Dec 2005 21:40:54 -0500
From: Christopher Faylor <cgf-no-personal-reply-please AT cygwin DOT com>
To: cygwin AT cygwin DOT com
Subject: Re: recreate_mmaps_after_fork_failed errors post-11-30 snapshot
Message-ID: <20051215024054.GB6049@trixie.casa.cgf.cx>
Reply-To: cygwin AT cygwin DOT com
References: <6BA1E81A2D5EA14D8F43074EC2C91666819F55 AT MSPM1BMSGM11 DOT ent DOT core DOT medtronic DOT com>
Mime-Version: 1.0
In-Reply-To: <6BA1E81A2D5EA14D8F43074EC2C91666819F55@MSPM1BMSGM11.ent.core.medtronic.com>
User-Agent: Mutt/1.5.11
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
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 Wed, Dec 14, 2005 at 08:07:58PM -0600, 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
>Hangup
>"
>
>The number in parens changes with every attempted invocation of any
>program, everything else stays the same.
>
>> And why didn't you try strace?
>
>Because:
>
>- I didn't think of it.
>- There is no mention of a requirement to do so before reporting a
>potential issue on http://cygwin.com/problems.html.
>- I'm at work, where I'm paid to do things other than debug Cygwin
>snapshots.
>- I thought an straceless bug report was better than no bug report at
>all.
>
>>  This would give a lot more details which
>> might help to track this down, practically everything with the words
>> "mmap" in it would be helpful.
>> 
>
>"
>$ 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
>bash-3.00$ exit
>Exit

Could you do a:

  strace -ostrace.out bash
  tar --help
  exit

and send the strace.out here as an attachment?

cgf

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

- Raw text -


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