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#17753: Cygwin emacs-X11 core dump Date: Mon, 20 Oct 2014 18:29:09 +0300 Message-ID: <83wq7ubvzu.fsf@gnu.org> References: " <21431.6898.745604.392984@wombat.mininet>" <53B805C7.8030209@cornell.edu> <21435.4511.658539.666411@wombat.mininet> <53BD4A64.8000003@cornell.edu> <457212308be445a70279d3ece6e28207@mhoenicka.de> <993b66d09d7bfc46fc7433de63fde3be@mhoenicka.de> <83sijq362c.fsf@gnu.org> <5419A604.8060201@cornell.edu> <83fvfq2n40.fsf@gnu.org> <5433FF2D.3020600@cornell.edu> <83vbnvly2l.fsf@gnu.org> <02f02d94fb60ba0b677caf6939534c5e@mhoenicka.de> <83lhorlskg.fsf@gnu.org> <83iojtipuc.fsf@gnu.org> <83eguhil89.fsf@gnu.org> <83bnplij2w.fsf@gnu.org> <295e34582a7c09b3453833837f084e1d@mhoenicka.de> <837g09ihjt.fsf@gnu.org> <54394D36.3070502@cornell.edu> <5444F224.2060000@cornell.edu> Reply-To: Eli Zaretskii NNTP-Posting-Host: plane.gmane.org X-Trace: ger.gmane.org 1413819036 22322 80.91.229.3 (20 Oct 2014 15:30:36 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 20 Oct 2014 15:30:36 +0000 (UTC) Cc: 17753@debbugs.gnu.org, markus.hoenicka@mhoenicka.de To: Ken Brown Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Mon Oct 20 17:30:28 2014 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 1XgEug-0005Oo-Hz for geb-bug-gnu-emacs@m.gmane.org; Mon, 20 Oct 2014 17:30:26 +0200 Original-Received: from localhost ([::1]:45505 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XgEug-00067g-4G for geb-bug-gnu-emacs@m.gmane.org; Mon, 20 Oct 2014 11:30:26 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:60321) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XgEuT-0005vJ-To for bug-gnu-emacs@gnu.org; Mon, 20 Oct 2014 11:30:21 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XgEuK-0008I6-T1 for bug-gnu-emacs@gnu.org; Mon, 20 Oct 2014 11:30:13 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:37093) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XgEuK-0008H6-NL for bug-gnu-emacs@gnu.org; Mon, 20 Oct 2014 11:30:04 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1XgEuJ-0006E3-Pm for bug-gnu-emacs@gnu.org; Mon, 20 Oct 2014 11:30:03 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 20 Oct 2014 15:30:03 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 17753 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: moreinfo Original-Received: via spool by 17753-submit@debbugs.gnu.org id=B17753.141381896823845 (code B ref 17753); Mon, 20 Oct 2014 15:30:03 +0000 Original-Received: (at 17753) by debbugs.gnu.org; 20 Oct 2014 15:29:28 +0000 Original-Received: from localhost ([127.0.0.1]:57421 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1XgEtj-0006CX-RV for submit@debbugs.gnu.org; Mon, 20 Oct 2014 11:29:28 -0400 Original-Received: from mtaout22.012.net.il ([80.179.55.172]:39539) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1XgEtg-0006C9-DQ for 17753@debbugs.gnu.org; Mon, 20 Oct 2014 11:29:25 -0400 Original-Received: from conversion-daemon.a-mtaout22.012.net.il by a-mtaout22.012.net.il (HyperSendmail v2007.08) id <0NDR00H001BI0700@a-mtaout22.012.net.il> for 17753@debbugs.gnu.org; Mon, 20 Oct 2014 18:29:18 +0300 (IDT) Original-Received: from HOME-C4E4A596F7 ([87.69.4.28]) by a-mtaout22.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0NDR00G3O1OTPC80@a-mtaout22.012.net.il>; Mon, 20 Oct 2014 18:29:18 +0300 (IDT) In-reply-to: <5444F224.2060000@cornell.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:94827 > Date: Mon, 20 Oct 2014 07:29:40 -0400 > From: Ken Brown > CC: Eli Zaretskii , 17753@debbugs.gnu.org > > I'm not aware of any reason that increasing the stack size should make things > worse. There is one reason I could think of: the amount of stack memory reserved for each thread. If the program whose PE header specifies a 8MB stack creates additional threads, by default each thread gets 8MB of memory address space reserved for it (not allocated, just reserved). I've looked in the Cygwin sources, and the way threads are created there is like that. This could potentially cause trouble in a memory starved system, because it might run out of address space. This is, of course, highly improbably on 64-bit systems, but can happen on 32-bit systems. However, I don't think this is a serious danger, and we are talking about 64-bit builds anyway.