From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 78792 invoked by alias); 7 Jul 2017 22:32:55 -0000 Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner@cygwin.com Mail-Followup-To: cygwin@cygwin.com Received: (qmail 78773 invoked by uid 89); 7 Jul 2017 22:32:55 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-0.9 required=5.0 tests=BAYES_00,KAM_LAZY_DOMAIN_SECURITY,SPF_HELO_PASS autolearn=no version=3.3.2 spammy=H*M:cygwin, Hx-languages-length:1040 X-HELO: mx1.redhat.com Received: from mx1.redhat.com (HELO mx1.redhat.com) (209.132.183.28) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Fri, 07 Jul 2017 22:32:54 +0000 Received: from smtp.corp.redhat.com (int-mx03.intmail.prod.int.phx2.redhat.com [10.5.11.13]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id EA6CC5D68D for ; Fri, 7 Jul 2017 22:32:52 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mx1.redhat.com EA6CC5D68D Authentication-Results: ext-mx10.extmail.prod.ext.phx2.redhat.com; dmarc=none (p=none dis=none) header.from=cygwin.com Authentication-Results: ext-mx10.extmail.prod.ext.phx2.redhat.com; spf=none smtp.mailfrom=yselkowitz@cygwin.com DKIM-Filter: OpenDKIM Filter v2.11.0 mx1.redhat.com EA6CC5D68D Received: from [10.10.120.7] (ovpn-120-7.rdu2.redhat.com [10.10.120.7]) by smtp.corp.redhat.com (Postfix) with ESMTPS id A1248781E3 for ; Fri, 7 Jul 2017 22:32:52 +0000 (UTC) Subject: Re: g++ std::map initializing raises segmentation fault. To: cygwin@cygwin.com References: <20170706.212622.2189310858003243560.trueroad@trueroad.jp> <685f073b-833f-2663-0c68-3ac372edf0a5@cornell.edu> From: Yaakov Selkowitz Message-ID: <0183849e-19e3-f040-56bc-3a7c90216b9c@cygwin.com> Date: Fri, 07 Jul 2017 22:32:00 -0000 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:52.0) Gecko/20100101 Thunderbird/52.2.1 MIME-Version: 1.0 In-Reply-To: <685f073b-833f-2663-0c68-3ac372edf0a5@cornell.edu> Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit X-IsSubscribed: yes X-SW-Source: 2017-07/txt/msg00120.txt.bz2 On 2017-07-07 15:43, Ken Brown wrote: > On 7/7/2017 11:12 AM, Ken Brown wrote: >> On 7/6/2017 8:26 AM, Masamichi Hosoda wrote: >>> On Cygwin 2.8.1 x86_64, I've found that g++ std:map initializing >>> may raise segmentation fault. >>> The binary compiled with cygwin-devel-2.8.0-1 >>> does not raise segmentation fault >>> even if on Cygwin 2.8.1 x86_64 environments. >>> >>> So I suspect cygwin-devel-2.8.1-1 is the cause. >>> >>> Here's sample code for reproduce. >> >> I've just checked that the problem occurs with the 2017-06-20 snapshot >> but not with the 2017-06-06 snapshot. > > I did the bisection: > > 6a6c1c52e6bfea85beb06ea60417b90ae3c6857c is the first bad commit > commit 6a6c1c52e6bfea85beb06ea60417b90ae3c6857c > Author: Yaakov Selkowitz > Date: Tue Jun 13 14:58:33 2017 -0500 > > Feature test macros overhaul: Cygwin signal.h > > This should match newlib's . Ken, thank you for bisecting this. I'm testing a fix now. -- Yaakov -- 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