From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Ken Brown Newsgroups: gmane.emacs.bugs Subject: bug#21004: 25.0.50; Questionable call to getrlimit in handle_sigsegv Date: Wed, 08 Jul 2015 10:20:56 -0400 Message-ID: <559D31C8.6050905@cornell.edu> References: <559C3289.9090906@cornell.edu> <85d202g4e1.fsf@iznogoud.viz> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1436365356 7812 80.91.229.3 (8 Jul 2015 14:22:36 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 8 Jul 2015 14:22:36 +0000 (UTC) Cc: Dmitry Antipov , 21004@debbugs.gnu.org To: Wolfgang Jenkner Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Wed Jul 08 16:22:21 2015 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1ZCqEr-00048Z-NS for geb-bug-gnu-emacs@m.gmane.org; Wed, 08 Jul 2015 16:22:17 +0200 Original-Received: from localhost ([::1]:35337 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZCqEq-0008Rs-Sz for geb-bug-gnu-emacs@m.gmane.org; Wed, 08 Jul 2015 10:22:16 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:57083) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZCqEh-0008RZ-Ry for bug-gnu-emacs@gnu.org; Wed, 08 Jul 2015 10:22:13 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZCqEc-0006TJ-Rq for bug-gnu-emacs@gnu.org; Wed, 08 Jul 2015 10:22:07 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:42920) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZCqEc-0006TF-P7 for bug-gnu-emacs@gnu.org; Wed, 08 Jul 2015 10:22:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1ZCqEc-0005nv-EZ for bug-gnu-emacs@gnu.org; Wed, 08 Jul 2015 10:22:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Ken Brown Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 08 Jul 2015 14:22:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 21004 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 21004-submit@debbugs.gnu.org id=B21004.143636526722237 (code B ref 21004); Wed, 08 Jul 2015 14:22:02 +0000 Original-Received: (at 21004) by debbugs.gnu.org; 8 Jul 2015 14:21:07 +0000 Original-Received: from localhost ([127.0.0.1]:44366 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1ZCqDi-0005ma-Sa for submit@debbugs.gnu.org; Wed, 08 Jul 2015 10:21:07 -0400 Original-Received: from limerock03.mail.cornell.edu ([128.84.13.243]:59663) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1ZCqDg-0005lq-1s for 21004@debbugs.gnu.org; Wed, 08 Jul 2015 10:21:04 -0400 X-CornellRouted: This message has been Routed already. Original-Received: from authusersmtp.mail.cornell.edu (granite4.serverfarm.cornell.edu [10.16.197.9]) by limerock03.mail.cornell.edu (8.14.4/8.14.4_cu) with ESMTP id t68EKvsJ013209; Wed, 8 Jul 2015 10:20:57 -0400 Original-Received: from [10.128.0.45] (dhcp-ccc-45.eduroam.cornell.edu [10.128.0.45]) (authenticated bits=0) by authusersmtp.mail.cornell.edu (8.14.4/8.12.10) with ESMTP id t68EKuGw004513 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES128-SHA bits=128 verify=NOT); Wed, 8 Jul 2015 10:20:56 -0400 User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:31.0) Gecko/20100101 Thunderbird/31.7.0 In-Reply-To: <85d202g4e1.fsf@iznogoud.viz> X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-Received-From: 140.186.70.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:104830 Archived-At: 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