delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2017/07/07/10:21:48

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:mime-version:in-reply-to:references:from:date
:message-id:subject:to:content-type; q=dns; s=default; b=ZHmJIJX
l2PX5kJ2o6aGxrdGbkiGtGoDA6MFT0pBedBeofTjFaRT/U85ZKRKgb9JupP0xk0l
z7Afahr8i3qCQpFAmDsCaqeZKw0uaRYO/hDQzFwz66ik78uZZOq+HL+6/5pPic2/
rAuAz47RgGBgQZMa350z0aXl9Dhdybn+g3BA=
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:mime-version:in-reply-to:references:from:date
:message-id:subject:to:content-type; s=default; bh=u++jFl6noW18c
ry8J8SUpVop0AU=; b=kLJmSFe6OwWZ3BqNDVyNmCZ7pyiO8egAvBbLu1CZnIHOL
ubQFTFZBUVwgjVSTMBiHBeFzLVv3HhA6yubzdOAdHcnt/uDE3rY8hIJNJRyMY/Qj
cgRidHfML8LR4PCmn9iMw2USjy1MGGH4uZuZ8iL+/Ai1AM3OCXnWD9gBc/a+Wg=
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=-1.2 required=5.0 tests=AWL,BAYES_00,FREEMAIL_FROM,RCVD_IN_DNSWL_NONE,RCVD_IN_SORBS_SPAM,SPF_PASS autolearn=no version=3.3.2 spammy=tannhauser, TANNHAUSER, Falk, cygwindevel
X-HELO: mail-vk0-f45.google.com
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to; bh=Z+zMG0EHtYFdasmWg7gZl9NElwYEHnlElsV2xvqrq6k=; b=YbzUsa1hktUQH2Wn1EgeSleLv61Fe6/ptPE2YJfJl3xa95Vyu9G9V06TbxZHQD0/7K OeFRMB/ri/u9IsBQ6RJ85z7yFDopJ1P1My5R5+tN6Ao8O4luPZViLjpjlLWfVOFfGrKl c3yLYorog4gCM9tYX2PmF8rS9EjHvrkEQ8we4nakfMig6P+iJITZWBU80mjBKkluw4Tb cYSxB/oc2yrIghBVDgY9JSohtVwxXc/R5JKDCI8y3N7Mi9ViII1mhuBeE1ReACFQV8cl Pzc13LiPYxvUTDXPkGczOTpTeyodAslrSgBBkz2crr8oUFKg5JBMmc2+Xl9x0vPvmC1Y 83lA==
X-Gm-Message-State: AIVw113aH9esqmviccGeKnTnLbk4TxzKapCrRWFiEGGBFjp5Fs1Fe7MN akAn2CFt9XIFOm5mQXtOTfJYN3q1Cw==
X-Received: by 10.31.95.140 with SMTP id t134mr813789vkb.33.1499437287833; Fri, 07 Jul 2017 07:21:27 -0700 (PDT)
MIME-Version: 1.0
In-Reply-To: <20170707.230903.2208998970191971739.trueroad@trueroad.jp>
References: <fbd18c39-f4bb-6660-d881-3ea2db19e898 AT gmail DOT com> <5aeb55b6-1c71-bf68-3f2c-31f55bba438e AT gmail DOT com> <20170707 DOT 230903 DOT 2208998970191971739 DOT trueroad AT trueroad DOT jp>
From: Ivan Gagis <igagis AT gmail DOT com>
Date: Fri, 7 Jul 2017 17:21:27 +0300
Message-ID: <CAL_02JDCzwkbqZOPnq+95662FqcnRm65z28jZNJ89Z-TyWw9eA@mail.gmail.com>
Subject: Re: g++ std::map initializing raises segmentation fault.
To: The Cygwin Mailing List <cygwin AT cygwin DOT com>
X-IsSubscribed: yes

I installed g++ 6.3.0-2 and still can reproduce the segfault :(.

Br,
Ivan

2017-07-07 17:09 GMT+03:00 Masamichi Hosoda <trueroad AT trueroad DOT jp>:
>> On 07/07/2017 14:51, Marco Atzeri wrote:
>>> On 06/07/2017 14:26, Masamichi Hosoda wrote:
>>>> Hello,
>>>>
>>>> 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.
>>>>
>>>
>>> I can not replicate.
>>>
>>
>> Wrong. I can replicate.
>>
>> One solution is to use the gcc-6.3.0-2 compiler in test
>>
>> https://www.cygwin.com/ml/cygwin-announce/2017-06/msg00079.html
>
> Thank you for your information.
>
> If I understand correctly, there is three workaround solutions.
>
> . Use g++ option `-std=gnu++11` instead of `-std=c++11`
>     TANNHAUSER Falk reported in
>     https://cygwin.com/ml/cygwin/2017-07/msg00089.html
>
>     I've tried this. It works fine.
>
> . Downgrade `cygwin-devel` to 2.8.0-1 instead of 2.8.1-1.
>     I reported in
>     https://cygwin.com/ml/cygwin/2017-07/msg00088.html
>
>     Of course, it works fine in my environment.
>
> . Use gcc-6.3.0-2 instead of gcc-5.4.0-1
>     You reported in
>     https://cygwin.com/ml/cygwin/2017-07/msg00109.html
>
>     I'd like to try this.
>
> Thanks
>
> --
> 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
>

--
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