This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Re: Hanging conftest
- From: Rich Felker <dalias at aerifal dot cx>
- To: PÃdraig Brady <P at draigBrady dot com>
- Cc: Eric Blake <eblake at redhat dot com>, Siddhesh Poyarekar <siddhesh at redhat dot com>, Michal Privoznik <mprivozn at redhat dot com>, libc-alpha at sourceware dot org, bug-gnulib at gnu dot org
- Date: Tue, 3 Dec 2013 23:36:57 -0500
- Subject: Re: Hanging conftest
- Authentication-results: sourceware.org; auth=none
- References: <529624A0 dot 2020106 at redhat dot com> <52962B78 dot 20003 at redhat dot com> <20131128050020 dot GE20495 at spoyarek dot pnq dot redhat dot com> <52974B01 dot 9000704 at redhat dot com> <5297548F dot 7020902 at redhat dot com> <529E0FF4 dot 8000004 at redhat dot com> <529EA3B9 dot 2090107 at draigBrady dot com>
On Wed, Dec 04, 2013 at 03:38:33AM +0000, PÃdraig Brady wrote:
> Ah so mallopt(M_CHECK_ACTION, 2) is documented to abort() on error.
> I suppose we need to suppress core dumps now with the gnulib
> ]GL_NOCRASH[ ... nocrash_init() guard?
> Actually no, that doesn't catch SIGABRT.
> So I suppose you need an explicitly exit(1) in a SIGABRT
> signal handler in this test?
_exit(1). exit is not AS-safe.
Rich