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:date:from:to:subject:message-id:in-reply-to :references:mime-version:content-type:content-transfer-encoding; q=dns; s=default; b=P8OMUHWSdXryGy27Ku6fuStrv+gmaUuk5ir9OsxtFGZ BbFDQlocu9DlJXGPzbzACOUOS0M6fzRXizpAkC8vHUyYyM2EB1w0LzS51vXxfgvw VSBAucyBmRw5zX2hjRqV0sQwSEGU7Rjr+9zBU8hWnvvzzE+6RwBQlRkKZONh8Src = 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:date:from:to:subject:message-id:in-reply-to :references:mime-version:content-type:content-transfer-encoding; s=default; bh=bTbC9IYTj9x0y2BqKxtN+4HuMI4=; b=W4ghiM9MalGtqosfJ QeHr+fVg5eAQLvL2O8zNUEvov4mRYAr6zzkTOHogQERtJnLj89JzlIXa4xQK0cn/ s+nmCbr9a87XBMQ28DIlpRMjtQxTJKhU/NUDjmw5ekUnIKYdSHKh61yTpYD4sNJP CzaAxbOduB/5Emg/a13xSrsGkQ= 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-Spam-SWARE-Status: No, score=-10.1 required=5.0 tests=AWL,BAYES_00,GIT_PATCH_2,RCVD_IN_DNSWL_NONE autolearn=ham version=3.3.1 spammy=HX-Languages-Length:919 X-HELO: conssluserg-06.nifty.com DKIM-Filter: OpenDKIM Filter v2.10.3 conssluserg-06.nifty.com x9AB7L2W032035 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nifty.ne.jp; s=dec2015msa; t=1570705641; bh=ZF/jyUqEIoI0TrrxgxDISeuCOrRdJsOTwbphaNTjQJE=; h=Date:From:To:Subject:In-Reply-To:References:From; b=D6TrQZiC/aBI+5p8wD8riGItsMF5+syaLyJ3kIxPofXVCdgNKL3JlHuTK+HSAjxtx uW6OCh2iua8RZZ0enZWBpplErXSlsHVoBRXpX7P+8vy+cQi4IFn//fByKSKBCU/7ut LSmu9lNKtw5S+3UsSjyohd57iFp02jQEs18mIFb7SuySGp9R/QBKQoAN/BL7F1FwKE TS9Xl25wrwCf+eJKNwXZL4Az/xtL+W60E3lB9RLskeE1BefdADPYzT8itKyGYk90Fv XBiNttWrMW4X5XmatZBsiKWGsTaTC6sXRXxNs3rALfx4TxSTwa090H+G7ao2pSU570 m4S4I80sTQarQ== Date: Thu, 10 Oct 2019 20:07:23 +0900 From: Takashi Yano <takashi DOT yano AT nifty DOT ne DOT jp> To: cygwin AT cygwin DOT com Subject: Re: Cygwin and stdexcept bug ? Message-Id: <20191010200723.db9f1cd19883a987e198eca4@nifty.ne.jp> In-Reply-To: <000001d57e81$800611a0$801234e0$@samsung.com> References: <CGME20191009091114eucas1p147c56151289433e66189371bb647eb89 AT eucas1p1 DOT samsung DOT com> <000001d57e81$800611a0$801234e0$@samsung.com> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-IsSubscribed: yes On Wed, 9 Oct 2019 12:11:13 +0300 "Pavel Fedin" wrote: > Hello everyone! > > On Linux if a C++ application throws uncaught error, there's explanation given: > --- cut --- > terminate called after throwing an instance of 'std::runtime_error' > what(): Just throw up > Aborted > --- cut --- > > On 64-bit Cygwin the same code simply silently aborts, giving no hints. I've tried on 32 bits; everything seems to work. However i > haven't updated my 32-bit install for ages; may be something has changed. > Is it a bug or feature? > > My test code is: > --- cut --- > #include <stdexcept> > #include <iostream> > > int main(void) > { > throw std::runtime_error("Just throw up"); > std::cout << "What ???\n"; > return 0; > } > --- cut --- I confirmed this problem is not a pseudo console related issue. This occurs even with Cygwin 3.0.7 (x86_64). -- Takashi Yano <takashi DOT yano AT nifty DOT ne DOT jp> -- 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