delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2017/07/07/18:33:16

X-Recipient: archive-cygwin AT delorie DOT com
DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id
:list-unsubscribe:list-subscribe:list-archive:list-post
:list-help:sender:subject:to:references:from:message-id:date
:mime-version:in-reply-to:content-type
:content-transfer-encoding; q=dns; s=default; b=swRfuKte8TvvQc18
lhGs2ZpKBsPkigyiLaNQ5WuLMRrBIoja5LAqBo/qItIzMWW0qDnPGDt8KaelXFA+
0MAxp2MnHEMfPvXuRMLPp3c+5MlVUzXUkm7oEULV/UY1vPAnO5kT1sn5YoZ9/ySP
lLSx5L288+iizco4uZIJztxc4X8=
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id
:list-unsubscribe:list-subscribe:list-archive:list-post
:list-help:sender:subject:to:references:from:message-id:date
:mime-version:in-reply-to:content-type
:content-transfer-encoding; s=default; bh=X5ZDZsikPjTLzfU3cb7PTC
jPCCg=; b=R9Cdb5BJY9p403PKm3J8FVBaZxzhT+cLTxuRqP1HSqvoxdiU5z9Yad
USB1537GJWoPuNidTvAbrKN3bEL1uFHvgk+Fs6Hf+YFE0y1XMkHYVh5KI2Kje1NQ
ZdqqG4+AgWpR4r2tUdsgJpHaHFvxHzTuzYHHmBzidWdQ/ydRO476c=
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
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
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 AT cygwin DOT com
DKIM-Filter: OpenDKIM Filter v2.11.0 mx1.redhat.com EA6CC5D68D
Subject: Re: g++ std::map initializing raises segmentation fault.
To: cygwin AT cygwin DOT com
References: <20170706 DOT 212622 DOT 2189310858003243560 DOT trueroad AT trueroad DOT jp> <fc380e9c-757d-eeab-86fc-82eaf1550402 AT cornell DOT edu> <685f073b-833f-2663-0c68-3ac372edf0a5 AT cornell DOT edu>
From: Yaakov Selkowitz <yselkowitz AT cygwin DOT com>
Message-ID: <0183849e-19e3-f040-56bc-3a7c90216b9c@cygwin.com>
Date: Fri, 7 Jul 2017 17:32:53 -0500
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>
X-IsSubscribed: yes

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 <yselkowi AT redhat DOT com>
> Date:   Tue Jun 13 14:58:33 2017 -0500
> 
>      Feature test macros overhaul: Cygwin signal.h
> 
>      This should match newlib's <sys/signal.h>.

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

- Raw text -


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