X-Recipient: archive-cygwin@delorie.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:cc:from:message-id:date
	:mime-version:in-reply-to:content-type
	:content-transfer-encoding; q=dns; s=default; b=B7BYil6evJ84TFUM
	2qUdtIr8XvMMeyPOahd55EivnRQj2ezJpdt2kP50oNWEU7F+8D2G0G17Y28CSDO1
	sxfKzJ02aMkhWcfCFEvKXBx6XsDqBKJhDoU4YPCZXGckB6PEiRyPj5HvL+biqkbR
	z6e+NuWfL6xfCe5BvlCQCDZUoH4=
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:cc:from:message-id:date
	:mime-version:in-reply-to:content-type
	:content-transfer-encoding; s=default; bh=BuBMTnf2o6oeYbSLFoBjea
	oWOx8=; b=yZYpKIDFwWT/eCbOi9+pI008wJDcAoS0pZxn7EO+kGWKtuAvdcGAWx
	+xH5/7/d2ZsEKALqrz000RQ5dnhO12yevTqbO+k6PLnAeHDBnjJyqSSiU0XGxa4R
	smmOaU2xiP3JZmvMPEuMjU/2zJWvJPYDELCDMKcfqofSLHtrVAmzg=
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com
Authentication-Results: sourceware.org; auth=none
X-Virus-Found: No
X-Spam-SWARE-Status: No, score=-0.8 required=5.0 tests=BAYES_00,FREEMAIL_FROM,KAM_COUK,RCVD_IN_DNSWL_NONE,RP_MATCHES_RCVD,SPF_PASS autolearn=no version=3.3.2 spammy=Irfan, adilovic, irfan, Adilovic
X-HELO: smtp-out-3.tiscali.co.uk
Subject: Re: gcc-7.1.0/c++17/old-abi: empty stringstream invalid memory access
To: cygwin@cygwin.com
References: <CAJoYywWYpcOPDCsjTBz0jDnsTvqzB=Bx3m-E7Bpxc72BM8=RGw@mail.gmail.com>
Cc: irfanadilovic@gmail.com
From: David Stacey <drstacey@tiscali.co.uk>
Message-ID: <77d46578-8d3e-ac5c-fc14-ba956ff65801@tiscali.co.uk>
Date: Sun, 23 Jul 2017 23:45:39 +0100
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.2.1
MIME-Version: 1.0
In-Reply-To: <CAJoYywWYpcOPDCsjTBz0jDnsTvqzB=Bx3m-E7Bpxc72BM8=RGw@mail.gmail.com>
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Transfer-Encoding: 7bit
X-CMAE-Envelope: MS4wfBQZk8jbFucSkMWH1EnekUmNDWokO1Fi7drkBb+kg0+5yAptjJ0u2CxHyeibXKkheTvRgLI/gpuDGt39GGMKnh5XP6m8QDT0fI7euIMYZTqlRWD525zW SIFLsnYw7d8pwh6vzW5SgSWNsV4ZYgtIt8n0ypnk3BdQDQ0dm6zUHa8Kb3OQMl/T3z1seTgkLHFNjVkZVbr+SgxkOf49/YLwqh4=
X-IsSubscribed: yes

On 23/07/17 12:38, Irfan Adilovic wrote:
> I am reproducing here a bug report I filed to gcc's bugzilla against
> gcc-7.1.0:https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81522  , in
> hopes of finding others who observed the same issue or who may have a
> solution. The bug only appears on Cygwin and only in c++17 mode with
> the old ABI.

Earlier in the month, there were a few issues reported regarding g++ 
that turned out to be a problem in signal.h. This was fixed in Cygwin 
2.8.2. Please could you verify the version of Cygwin that you're using 
(cygcheck -c cygwin). If you have an older version of Cygwin, please 
could you update and re-run your testcase.

Dave.


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

