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" References: Message-ID: 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: 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 AT cygwin DOT com X-Mailman-Version: 2.1.29 Precedence: list List-Id: General Cygwin discussions and problem reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , From: Thomas Koenig via Cygwin Reply-To: Thomas Koenig Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset="us-ascii"; Format="flowed" Errors-To: cygwin-bounces AT cygwin DOT com Sender: "Cygwin" 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