From owner-freebsd-current@freebsd.org Wed Nov 1 11:12:16 2017 Return-Path: Delivered-To: freebsd-current@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 0547BE57D8E for ; Wed, 1 Nov 2017 11:12:16 +0000 (UTC) (envelope-from tijl@freebsd.org) Received: from mailrelay111.isp.belgacom.be (mailrelay111.isp.belgacom.be [195.238.20.138]) (using TLSv1.2 with cipher RC4-SHA (128/128 bits)) (Client CN "relay.skynet.be", Issuer "GlobalSign Organization Validation CA - SHA256 - G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id DFAF4694AE; Wed, 1 Nov 2017 11:12:14 +0000 (UTC) (envelope-from tijl@freebsd.org) X-Belgacom-Dynamic: yes IronPort-PHdr: =?us-ascii?q?9a23=3Aecowqx+1lrNUgf9uRHKM819IXTAuvvDOBiVQ1KB4?= =?us-ascii?q?1OscTK2v8tzYMVDF4r011RmSDNWds6oMotGVmpioYXYH75eFvSJKW713fDhBt/?= =?us-ascii?q?8rmRc9CtWOE0zxIa2iRSU7GMNfSA0tpCnjYgBaF8nkelLdvGC54yIMFRXjLwp1?= =?us-ascii?q?Ifn+FpLPg8it2e2//57ebx9UiDahfLh/MAi4oQLNu8cMnIBsMLwxyhzHontJf+?= =?us-ascii?q?RZ22ZlLk+Nkhj/+8m94odt/zxftPw9+cFAV776f7kjQrxDEDsmKWE169b1uhTF?= =?us-ascii?q?UACC+2ETUmQSkhpPHgjF8BT3VYr/vyfmquZw3jSRMNboRr4oRzut86ZrSAfpiC?= =?us-ascii?q?gZMT457HrXgdF0gK5CvR6tuwBzz4vSbYqINvRxY7ndcMsUS2RBQMhfSi9PDYGy?= =?us-ascii?q?b4QAE+UPMv1Vr5X/qlcSsReyGRWgCP3pxzRVhnH2x6o60+E5HA/Y3QwgHdYOu2?= =?us-ascii?q?nKodXyM6cSSv66zKzSwjXFdPNdxDDw6JTJchAjpfGBRrJ+cdDPxkYxCg7Lk1ue?= =?us-ascii?q?pZbiPzOP2eQAqm6W5PdjW+K3k2MqqB19riKxysswloXFnIMYx1Te+Slk3oo4K9?= =?us-ascii?q?u1Q1Nhb9G+CptfrSSaOpNzQsMlXm5npj43yqYDuZ6nZCgKz4knxwLHZ/yHbYeI?= =?us-ascii?q?5hXjWf6SIThigHJlebe/iAio8Uin0OH8Ssi00FROriZfjtbMsXcN1wfN5ciCUP?= =?us-ascii?q?R9+Fyh1SyI1wDJ5eFIOUE0lazFJJ492rM9lYYfvV7dEiPqhEn6lq6be0E+9uS1?= =?us-ascii?q?9ejqbK3qppqGOI91jgH+PL4umsu6AekgLggOXmqb+eCn2b3t5032XqtFgeYtkq?= =?us-ascii?q?bEqpzaIt4bpqGhDw9Pzokj8wq/Dyuh0NkAnnkHK0lFeA6Gj4jqIF7BPvT4AOyw?= =?us-ascii?q?g1SpijhrxvTGMqf9DZXKK3iQ2IvmKJ9751RRwRF78ddV459OQuUIJv7pV0bqqJ?= =?us-ascii?q?ncDwQlGwK70eDqFJN21tVNd3iIB/qlMaHW+XSP4fkiJuCKf8dBpDf/L9AL/fPj?= =?us-ascii?q?p0QV31gHcv/6jtMsdHmkE6E+cA2ian32j4JESD9Ssw=3D=3D?= X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: =?us-ascii?q?A2AiAwBEq/lZ/3tFyFBcGgEBAQECAQEBA?= =?us-ascii?q?QgBAQEBFQEBAQECAQEBAQgBAQEBgzREEH4njxCOIwEBgXsyAZghgVKDcwKEekQ?= =?us-ascii?q?UAQEBAQEBAQEBAQFqKII4JAGCQQEFOhwjEAsYCSUPKh4GE4onqmaLDwEBAQEBA?= =?us-ascii?q?QEDAQEBASSDLohthGqGHQWiCpRvgQCBIoYBixpIlwQ2IYFsVTIISYJkhGBANoo?= =?us-ascii?q?pgkQBAQE?= X-IPAS-Result: =?us-ascii?q?A2AiAwBEq/lZ/3tFyFBcGgEBAQECAQEBAQgBAQEBFQEBAQE?= =?us-ascii?q?CAQEBAQgBAQEBgzREEH4njxCOIwEBgXsyAZghgVKDcwKEekQUAQEBAQEBAQEBA?= =?us-ascii?q?QFqKII4JAGCQQEFOhwjEAsYCSUPKh4GE4onqmaLDwEBAQEBAQEDAQEBASSDLoh?= =?us-ascii?q?thGqGHQWiCpRvgQCBIoYBixpIlwQ2IYFsVTIISYJkhGBANoopgkQBAQE?= Received: from 123.69-200-80.adsl-dyn.isp.belgacom.be (HELO kalimero.tijl.coosemans.org) ([80.200.69.123]) by relay.skynet.be with ESMTP; 01 Nov 2017 12:11:02 +0100 Received: from kalimero.tijl.coosemans.org (kalimero.tijl.coosemans.org [127.0.0.1]) by kalimero.tijl.coosemans.org (8.15.2/8.15.2) with ESMTP id vA1BB07e042166; Wed, 1 Nov 2017 12:11:01 +0100 (CET) (envelope-from tijl@FreeBSD.org) Date: Wed, 1 Nov 2017 12:11:00 +0100 From: Tijl Coosemans To: Andreas Tobler Cc: Gerald Pfeifer , Konstantin Belousov , freebsd-current@FreeBSD.org, sunpoet@FreeBSD.org Subject: Re: Segfault in _Unwind_* code called from pthread_exit Message-ID: <20171101121100.5ca84da3@kalimero.tijl.coosemans.org> In-Reply-To: References: <20170824180830.199885b0@kalimero.tijl.coosemans.org> <20170825173851.09116ddc@kalimero.tijl.coosemans.org> <20170825234442.GO1700@kib.kiev.ua> <20170826202813.1240a1ef@kalimero.tijl.coosemans.org> <20170826184034.GR1700@kib.kiev.ua> <20171029182351.502f53cf@kalimero.tijl.coosemans.org> <20171029191358.GU2566@kib.kiev.ua> <9a724da4-70f1-4330-9a77-619739008a14@fgznet.ch> <20171030153207.15a42a1e@kalimero.tijl.coosemans.org> <9468430e-fda4-10f4-b6a0-aa40d7d64f5b@fgznet.ch> <20171031092803.GA2566@kib.kiev.ua> <9619a1f8-bb42-abc9-a4ee-3b93192f365e@fgznet.ch> MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 01 Nov 2017 11:12:16 -0000 On Tue, 31 Oct 2017 22:52:33 +0100 Andreas Tobler wrote: > On 31.10.17 22:36, Gerald Pfeifer wrote: >> On Tue, 31 Oct 2017, Andreas Tobler wrote: >> Those possibly still stuck on obsolete versions of FreeBSD don't >> need/want fancy new compilers and GCC 4.9 is still available for >> use and does not exhibit this issue, correct? (If it does, nobody >> reported any problems.) > > It is limited to gcc >=5, gcc-4.9 does not have the > MD_FALLBACK_FRAME_STATE_FOR defined. > >>> I can 'ifdef' the new code and in the 'else' case we fall back to >>> the already existing path. >> >> If it's "cheap", that might be nice. > > Attached, the test is running on gcc trunk and gcc-6. gcc-6 is the last > one with java support and there we have quite extensive test cases which > really test for this MD_FALLBACK_FRAME_STATE_FOR macro. These test > cases, Throw_2 and co do pass. So I think the new bits should be fine. > Also some coming asan test cases do pass with this addition too. Please commit it to the ports tree as well, because there are reports that ftp/curl can trigger the problem.