From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#21004: 25.0.50; Questionable call to getrlimit in handle_sigsegv Date: Thu, 16 Jul 2015 17:34:03 +0300 Message-ID: <83a8uw6ujo.fsf@gnu.org> References: <55A76412.80000@cs.ucla.edu> Reply-To: Eli Zaretskii NNTP-Posting-Host: plane.gmane.org X-Trace: ger.gmane.org 1437057322 30687 80.91.229.3 (16 Jul 2015 14:35:22 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 16 Jul 2015 14:35:22 +0000 (UTC) Cc: wjenkner@inode.at, corinna-cygwin@cygwin.com, dmantipov@yandex.ru, 21004@debbugs.gnu.org To: Paul Eggert Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Thu Jul 16 16:35:11 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 1ZFkFj-0006eJ-Fs for geb-bug-gnu-emacs@m.gmane.org; Thu, 16 Jul 2015 16:35:11 +0200 Original-Received: from localhost ([::1]:40579 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZFkFi-0003VM-SW for geb-bug-gnu-emacs@m.gmane.org; Thu, 16 Jul 2015 10:35:10 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:54752) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZFkFe-0003TO-FL for bug-gnu-emacs@gnu.org; Thu, 16 Jul 2015 10:35:07 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZFkFb-0003KQ-5C for bug-gnu-emacs@gnu.org; Thu, 16 Jul 2015 10:35:06 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:49798) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZFkFb-0003Jw-2v for bug-gnu-emacs@gnu.org; Thu, 16 Jul 2015 10:35:03 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1ZFkFa-0004BC-Ol for bug-gnu-emacs@gnu.org; Thu, 16 Jul 2015 10:35:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 16 Jul 2015 14:35: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: patch Original-Received: via spool by 21004-submit@debbugs.gnu.org id=B21004.143705724416000 (code B ref 21004); Thu, 16 Jul 2015 14:35:02 +0000 Original-Received: (at 21004) by debbugs.gnu.org; 16 Jul 2015 14:34:04 +0000 Original-Received: from localhost ([127.0.0.1]:51244 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1ZFkEd-0004A0-OT for submit@debbugs.gnu.org; Thu, 16 Jul 2015 10:34:04 -0400 Original-Received: from mtaout23.012.net.il ([80.179.55.175]:59691) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1ZFkEa-00049Q-RB for 21004@debbugs.gnu.org; Thu, 16 Jul 2015 10:34:02 -0400 Original-Received: from conversion-daemon.a-mtaout23.012.net.il by a-mtaout23.012.net.il (HyperSendmail v2007.08) id <0NRL00M0040IAD00@a-mtaout23.012.net.il> for 21004@debbugs.gnu.org; Thu, 16 Jul 2015 17:33:54 +0300 (IDT) Original-Received: from HOME-C4E4A596F7 ([87.69.4.28]) by a-mtaout23.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0NRL00M664GH5EB0@a-mtaout23.012.net.il>; Thu, 16 Jul 2015 17:33:54 +0300 (IDT) In-reply-to: <55A76412.80000@cs.ucla.edu> X-012-Sender: halo1@inter.net.il 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:104990 Archived-At: > Date: Thu, 16 Jul 2015 00:58:10 -0700 > From: Paul Eggert > CC: 21004@debbugs.gnu.org, Eli Zaretskii , > Wolfgang Jenkner , > Dmitry Antipov , > Corinna Vinschen > > Ken, thanks for reporting the problem in . Please > try the attached patch. Although it avoids getrlimit and it works for me on > both GNU/Linux and Solaris, I can't easily test it on Cygwin. I'll CC: this to > Eli as a heads-up, as he's interested in the MS-Windows case. Thanks. The native MS-Windows build doesn't (yet) support stack-overflow recovery, so the affected code is not compiled into that build.