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:from:to:subject:date:message-id:mime-version :content-transfer-encoding:content-type:references; q=dns; s= default; b=gGISq2Lpf6YmALYcq+HINfvAcUcMjFtYyTBiz47rQC4KzQRo321ba xi5c98Bgd1AS5N3Old0WHgZ67YyB3a2NzBEwefrxA1sMO+3p/KXl1Sv6g3XSj5cB 3RKEb57yuOxYu/A1Hh1rF+UEg0fjAiug3jOXyM/7o+s8u4mKcG2x7I= 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:from:to:subject:date:message-id:mime-version :content-transfer-encoding:content-type:references; s=default; bh=T/0KcGptKrSnr+feCtB9fjWCudA=; b=uIVLxdADZ/4sCqwPUzAUeE8ntpuq acUGcULT43ZxKho8GlpbmoFktJZR5bgNlO2SieJB02Dn3QW/Vo8BxHwAGQIdt+IE 20Ho2zGJRlZe7CLggMJNZ6uVZNWhF98ryNIiFAse68DEHWezl2kqftIsigiQR6TW 5PGvfyw/SWBvzLY= Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , 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=-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 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= From: "Pavel Fedin"

To: Subject: Cygwin and stdexcept bug ? Date: Wed, 9 Oct 2019 12:11:13 +0300 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 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