From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 88665 invoked by alias); 9 Oct 2019 09:11:20 -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 88646 invoked by uid 89); 9 Oct 2019 09:11:20 -0000 Authentication-Results: sourceware.org; auth=none X-Spam-SWARE-Status: No, score=-2.5 required=5.0 tests=AWL,BAYES_40,GIT_PATCH_2,SPF_HELO_PASS,SPF_PASS autolearn=ham version=3.3.1 spammy=Electronics, samsung, Samsung, ages X-HELO: mailout1.w1.samsung.com Received: from mailout1.w1.samsung.com (HELO mailout1.w1.samsung.com) (210.118.77.11) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Wed, 09 Oct 2019 09:11:18 +0000 Received: from eucas1p1.samsung.com (unknown [182.198.249.206]) by mailout1.w1.samsung.com (KnoxPortal) with ESMTP id 20191009091114euoutp016b778517b1c02cacc4a5667e83d61249~L74rfhBwS0885008850euoutp01a for ; Wed, 9 Oct 2019 09:11:14 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 mailout1.w1.samsung.com 20191009091114euoutp016b778517b1c02cacc4a5667e83d61249~L74rfhBwS0885008850euoutp01a DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=samsung.com; s=mail20170921; t=1570612274; bh=15k0bzdJE6TBdCcl9/99L9vWrOZ6QCsAldlvON78LyA=; h=From:To:Subject:Date:References:From; b=SE9mR/JZZMT4ZNxyP/lfWX8N0M7Uz73RwhsIHroCcmzeed58w8gE05mHp4+LeI4Wd TFHUpXnLLx8+br3boUJLqcjnDAPRporjEzLFetEZM1VngIhfUUhW+aoXOx5YY3Ld3B yYDUUMQ/Ox2Lwk7NoRAGvjnHo0oV/R4/4LKC4w7U= Received: from eusmges2new.samsung.com (unknown [203.254.199.244]) by eucas1p2.samsung.com (KnoxPortal) with ESMTP id 20191009091114eucas1p24e47039c3b308f600bdddf69534f46c0~L74rPwa5l2831228312eucas1p2K for ; Wed, 9 Oct 2019 09:11:14 +0000 (GMT) Received: from eucas1p1.samsung.com ( [182.198.249.206]) by eusmges2new.samsung.com (EUCPMTA) with SMTP id 61.9F.04309.234AD9D5; Wed, 9 Oct 2019 10:11:14 +0100 (BST) Received: from eusmtrp1.samsung.com (unknown [182.198.249.138]) by eucas1p1.samsung.com (KnoxPortal) with ESMTPA id 20191009091114eucas1p147c56151289433e66189371bb647eb89~L74rB99Cg0112901129eucas1p1q for ; Wed, 9 Oct 2019 09:11:14 +0000 (GMT) Received: from eusmgms2.samsung.com (unknown [182.198.249.180]) by eusmtrp1.samsung.com (KnoxPortal) with ESMTP id 20191009091114eusmtrp1b739f4d7a07e21b9385d2cb943c1b15c~L74rAzI5D3038030380eusmtrp1B for ; Wed, 9 Oct 2019 09:11:14 +0000 (GMT) Received: from eusmtip2.samsung.com ( [203.254.199.222]) by eusmgms2.samsung.com (EUCPMTA) with SMTP id 81.68.04117.234AD9D5; Wed, 9 Oct 2019 10:11:14 +0100 (BST) Received: from PFEDIN01 (unknown [106.109.131.169]) by eusmtip2.samsung.com (KnoxPortal) with ESMTPA id 20191009091114eusmtip2cf4336cc60cbb21de93f282518ec0d7f~L74qwX-dd3073730737eusmtip2R for ; Wed, 9 Oct 2019 09:11:13 +0000 (GMT) From: "Pavel Fedin" To: Subject: Cygwin and stdexcept bug ? Date: Wed, 09 Oct 2019 09:11:00 -0000 Message-ID: <000001d57e81$800611a0$801234e0$@samsung.com> MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-CMS-MailID: 20191009091114eucas1p147c56151289433e66189371bb647eb89 X-Msg-Generator: CA Content-Type: text/plain; charset="utf-8" X-RootMTR: 20191009091114eucas1p147c56151289433e66189371bb647eb89 X-EPHeader: CA CMS-TYPE: 201P X-CMS-RootMailID: 20191009091114eucas1p147c56151289433e66189371bb647eb89 References: X-IsSubscribed: yes X-SW-Source: 2019-10/txt/msg00038.txt.bz2 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 #include int main(void) { throw std::runtime_error("Just throw up"); std::cout << "What ???\n"; return 0; } --- cut --- Kind regards, Pavel Fedin Senior Engineer Samsung Electronics Research center Russia -- 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