Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 1 Nov 2017 12:11:00 +0100
From:      Tijl Coosemans <tijl@FreeBSD.org>
To:        Andreas Tobler <andreast-list@fgznet.ch>
Cc:        Gerald Pfeifer <gerald@pfeifer.com>, Konstantin Belousov <kostikbel@gmail.com>, 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: <a54bfe87-e5ce-00ff-67e7-99a5abc52b73@fgznet.ch>
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> <alpine.LSU.2.21.1710312234210.5916@anthias.pfeifer.com> <a54bfe87-e5ce-00ff-67e7-99a5abc52b73@fgznet.ch>

next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, 31 Oct 2017 22:52:33 +0100 Andreas Tobler <andreast-list@fgznet.ch> 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.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20171101121100.5ca84da3>