X-Recipient: archive-cygwin@delorie.com
DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 8C08B3861011
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cygwin.com;
	s=default; t=1609625388;
	bh=vyz6qlzmKYTHCsFdlye6WwurNzabwWNYCfWA8avu2zI=;
	h=Subject:To:References:Date:In-Reply-To:List-Id:List-Unsubscribe:
	 List-Archive:List-Post:List-Help:List-Subscribe:From:Reply-To:
	 From;
	b=mBfSkbaSsD8AfF2w7ammIjZWbcL1X5sQAs5WXbxoGNynVG+mO0d+vpg6fnFeO/rJR
	 7HzBYWmI3rCbcPRddqXfACss7I7ygIu7mkuedLS2YGT82xZsZl/qsSz7fW2YubWrHq
	 d2zcpVaRVnWdDfiaf16xlJZd8FHGJkdBFkHftBjw=
X-Original-To: cygwin@cygwin.com
Delivered-To: cygwin@cygwin.com
DMARC-Filter: OpenDMARC Filter v1.3.2 sourceware.org BB319385800F
Subject: Re: Segfault when accessing mmaped memory on Cygwin
To: "cygwin@cygwin.com" <cygwin@cygwin.com>
References: <c26a63be-f805-7983-1893-74398ac7b60f@netcologne.de>
Message-ID: <f8d9bf9f-6315-eeeb-4d15-75ca44f87c13@netcologne.de>
Date: Sat, 2 Jan 2021 23:09:42 +0100
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101
 Thunderbird/78.6.0
MIME-Version: 1.0
In-Reply-To: <c26a63be-f805-7983-1893-74398ac7b60f@netcologne.de>
Content-Language: de-DE
X-Spam-Status: No, score=-5.9 required=5.0 tests=BAYES_00, DKIM_SIGNED,
 DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, NICE_REPLY_A, RCVD_IN_DNSWL_LOW,
 SPF_HELO_NONE, SPF_PASS, TXREP autolearn=ham autolearn_force=no version=3.4.2
X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on
 server2.sourceware.org
X-BeenThere: cygwin@cygwin.com
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: General Cygwin discussions and problem reports <cygwin.cygwin.com>
List-Unsubscribe: <https://cygwin.com/mailman/options/cygwin>,
 <mailto:cygwin-request@cygwin.com?subject=unsubscribe>
List-Archive: <https://cygwin.com/pipermail/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-request@cygwin.com?subject=help>
List-Subscribe: <https://cygwin.com/mailman/listinfo/cygwin>,
 <mailto:cygwin-request@cygwin.com?subject=subscribe>
From: Thomas Koenig via Cygwin <cygwin@cygwin.com>
Reply-To: Thomas Koenig <tkoenig@netcologne.de>
Content-Transfer-Encoding: 7bit
Content-Type: text/plain; charset="us-ascii"; Format="flowed"
Errors-To: cygwin-bounces@cygwin.com
Sender: "Cygwin" <cygwin-bounces@cygwin.com>


I wrote:

> when trying out uf a certain shared memory allocator would
> work on Cygwin, I tried out the sample program below (which
> works on Linunx, *BSD, AIX and Solaris) and got a suprising
> falure

Actually, the failure wasn't all that unexpected, given that
I had put the ftruncate into the wrong place...

It appears to work now, sorry for the noise.

Best regards

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