From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from cc-smtpout1.netcologne.de (cc-smtpout1.netcologne.de [IPv6:2001:4dd0:100:1062:25:2:0:1]) by sourceware.org (Postfix) with ESMTPS id BB319385800F for ; Sat, 2 Jan 2021 22:09:45 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.3.2 sourceware.org BB319385800F Received: from cc-smtpin2.netcologne.de (cc-smtpin2.netcologne.de [89.1.8.202]) by cc-smtpout1.netcologne.de (Postfix) with ESMTP id 3A98212983 for ; Sat, 2 Jan 2021 23:09:43 +0100 (CET) Received: from localhost (localhost [127.0.0.1]) by cc-smtpin2.netcologne.de (Postfix) with ESMTP id 37DE111E4B for ; Sat, 2 Jan 2021 23:09:43 +0100 (CET) Received: from [2001:4dd7:542b:0:97c4:7327:973b:657] (helo=cc-smtpin2.netcologne.de) by localhost with ESMTP (eXpurgate 4.11.6) (envelope-from ) id 5ff0ef27-024d-7f0000012729-7f000001bd10-1 for ; Sat, 02 Jan 2021 23:09:43 +0100 Received: from linux-p51k.fritz.box (2001-4dd7-542b-0-97c4-7327-973b-657.ipv6dyn.netcologne.de [IPv6:2001:4dd7:542b:0:97c4:7327:973b:657]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by cc-smtpin2.netcologne.de (Postfix) with ESMTPSA for ; Sat, 2 Jan 2021 23:09:43 +0100 (CET) Subject: Re: Segfault when accessing mmaped memory on Cygwin From: Thomas Koenig To: "cygwin@cygwin.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-Type: text/plain; charset=utf-8; format=flowed Content-Language: de-DE Content-Transfer-Encoding: 7bit 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 List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 02 Jan 2021 22:09:47 -0000 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