delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2014/01/29/14:33:59

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:message-id:date:from:mime-version:to:subject
:references:in-reply-to:content-type; q=dns; s=default; b=Ex9xE7
jExZFaCtGHHCMJLNE6gOPn/xaRNJbsBZMh3gRtsIWe/ZaySMQuQfBvcO/G9YFWE5
3KyZuav8KKS/mFzgjzUC6uH5LeVqQcnNyqTrmZ9OcYd5BXiSpR5T6MZoNlGsjprf
x5ZaCoeR6/F89WvhVDIDkzv/4YlfRWKRorGaE=
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:message-id:date:from:mime-version:to:subject
:references:in-reply-to:content-type; s=default; bh=/Un8lUXUSbpR
/9xiJ6uJ4sglEpM=; b=qS2TCmeqFSzQNO09Pc+1VGRCAjSuhLMMjoxO8JsiAuDw
C8ilnAWiD9FfLiNlY1tFejityAL6yO7is3IdE5tLkTPx8O4E33ChoI1l+Ss1fv0H
ygv6YNdnByUB8mewR4MxRfkE233HAlEf7QJ7rUZZ1DdkV7/EE5HbgMuiksDD4Z0=
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=-2.6 required=5.0 tests=BAYES_00,FREEMAIL_FROM,RCVD_IN_DNSWL_LOW,SPF_PASS autolearn=ham version=3.3.2
X-HELO: mail-wg0-f44.google.com
X-Received: by 10.194.71.47 with SMTP id r15mr6242330wju.19.1391024016634; Wed, 29 Jan 2014 11:33:36 -0800 (PST)
Message-ID: <52E95786.8050606@gmail.com>
Date: Wed, 29 Jan 2014 20:33:26 +0100
From: Marco Atzeri <marco DOT atzeri AT gmail DOT com>
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:24.0) Gecko/20100101 Thunderbird/24.2.0
MIME-Version: 1.0
To: cygwin AT cygwin DOT com
Subject: Re: second call to mmap() results in error
References: <01a801cf1cfa$77957900$66c06b00$@lbmsys.com> <20140129181250 DOT GW2821 AT calimero DOT vinschen DOT de>
In-Reply-To: <20140129181250.GW2821@calimero.vinschen.de>
X-IsSubscribed: yes

--------------050906050306040900020805
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit



On 29/01/2014 19:12, Corinna Vinschen wrote:
> On Jan 29 09:00, Steven Bardwell wrote:
>> My application needs several areas of shared memory, and I am getting an
>> error ("No such device") on the second call to mmap(). The first call works
>> fine.
>>

>>
>> The problem does not seem to depend on the size of the requested memory. The
>> program
>> always returns with "Couldn't map memory for /block2 (No such device)"
>
> Try stracing it.  I tried it on the latest Cygwin from CVS as well
> as on Cygwin 1.7.27 (32 bit versions) and it works fine for me.

just as info also on my
Windows 7 Professional Ver 6.1 Build 7601 Service Pack 1

CYGWIN_NT-6.1-WOW64  1.7.28s(0.271/5/3) 20140128 10:55:59 i686 Cygwin
the program fails (No such device)

and it segfaults on 64 bit
CYGWIN_NT-6.1 1.7.28s(0.271/5/3) 20140128 10:55:59 x86_64 Cygwin
attached the stackdump

>
> Your testcase is missing an ftruncate or two., btw.  I guess you're
> aware of that and just dropped them to get a the simple testcase.
>
>
> Corinna


Marco

--------------050906050306040900020805
Content-Type: text/plain; charset=windows-1252;
 name="mmaptest64.exe.stackdump"
Content-Transfer-Encoding: base64
Content-Disposition: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Y2sgdHJhY2UK


--------------050906050306040900020805
Content-Type: text/plain; charset=us-ascii

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

- Raw text -


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