delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2021/01/02/17:10:30

X-Recipient: archive-cygwin AT delorie DOT 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 AT cygwin DOT com
Delivered-To: cygwin AT cygwin DOT com
DMARC-Filter: OpenDMARC Filter v1.3.2 sourceware.org BB319385800F
Subject: Re: Segfault when accessing mmaped memory on Cygwin
To: "cygwin AT cygwin DOT com" <cygwin AT cygwin DOT com>
References: <c26a63be-f805-7983-1893-74398ac7b60f AT netcologne DOT 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>
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 AT cygwin DOT com
X-Mailman-Version: 2.1.29
List-Id: General Cygwin discussions and problem reports <cygwin.cygwin.com>
List-Unsubscribe: <https://cygwin.com/mailman/options/cygwin>,
<mailto:cygwin-request AT cygwin DOT com?subject=unsubscribe>
List-Archive: <https://cygwin.com/pipermail/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-request AT cygwin DOT com?subject=help>
List-Subscribe: <https://cygwin.com/mailman/listinfo/cygwin>,
<mailto:cygwin-request AT cygwin DOT com?subject=subscribe>
From: Thomas Koenig via Cygwin <cygwin AT cygwin DOT com>
Reply-To: Thomas Koenig <tkoenig AT netcologne DOT de>
Errors-To: cygwin-bounces AT cygwin DOT com
Sender: "Cygwin" <cygwin-bounces AT cygwin DOT 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

- Raw text -


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