GNU bug report logs - #21004
25.0.50; Questionable call to getrlimit in handle_sigsegv

Previous Next

Package: emacs;

Reported by: Ken Brown <kbrown <at> cornell.edu>

Date: Tue, 7 Jul 2015 20:13:02 UTC

Severity: normal

Tags: patch

Found in version 25.0.50

Done: Paul Eggert <eggert <at> cs.ucla.edu>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Ken Brown <kbrown <at> cornell.edu>
To: Wolfgang Jenkner <wjenkner <at> inode.at>
Cc: Dmitry Antipov <dmantipov <at> yandex.ru>, 21004 <at> debbugs.gnu.org
Subject: bug#21004: 25.0.50; Questionable call to getrlimit in handle_sigsegv
Date: Wed, 08 Jul 2015 10:20:56 -0400
On 7/8/2015 9:33 AM, Wolfgang Jenkner wrote:
> On Tue, Jul 07 2015, Ken Brown wrote:
>
>> Of course, the definition of HAVE_STACK_OVERFLOW_HANDLING would have to
>> be changed to ensure that pthread_getattr_np exists.
>
> Other systems may have this under a different name (e.g., FreeBSD has
> pthread_attr_get_np and needs to include pthread_np.h).  By the way,
> Guile has already some code to deal with this.

So someone (Dmitry?) would have to do some work to make this more 
portable.  It may or may not be worth the trouble; I'm not even sure yet 
that recovery from stack overflow actually works (see bug#20996).

Ken





This bug report was last modified 9 years and 308 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.