From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Markus Hoenicka Newsgroups: gmane.emacs.bugs Subject: bug#17753: Cygwin emacs-X11 core dump Date: Mon, 20 Oct 2014 17:29:37 +0200 Message-ID: <026978a5d513bf4e01f8fc73cfe04454@mhoenicka.de> 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> <0705b4b6e7e1f1a27e66137916cdd442@mhoenicka.de> <83y4sabw8d.fsf@gnu.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII; format=flowed Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1413819037 22329 80.91.229.3 (20 Oct 2014 15:30:37 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 20 Oct 2014 15:30:37 +0000 (UTC) Cc: 17753@debbugs.gnu.org To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Mon Oct 20 17:30:30 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 1XgEuh-0005Oq-3S for geb-bug-gnu-emacs@m.gmane.org; Mon, 20 Oct 2014 17:30:27 +0200 Original-Received: from localhost ([::1]:45507 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XgEug-00068i-LK 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]:60338) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XgEuU-0005xK-SL 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 1XgEuL-0008K2-Hy for bug-gnu-emacs@gnu.org; Mon, 20 Oct 2014 11:30:14 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:37094) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XgEuL-0008Jb-E6 for bug-gnu-emacs@gnu.org; Mon, 20 Oct 2014 11:30:05 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1XgEuL-0006EE-4n for bug-gnu-emacs@gnu.org; Mon, 20 Oct 2014 11:30:05 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Markus Hoenicka Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 20 Oct 2014 15:30:05 +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.141381898323880 (code B ref 17753); Mon, 20 Oct 2014 15:30:05 +0000 Original-Received: (at 17753) by debbugs.gnu.org; 20 Oct 2014 15:29:43 +0000 Original-Received: from localhost ([127.0.0.1]:57424 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1XgEty-0006D6-G3 for submit@debbugs.gnu.org; Mon, 20 Oct 2014 11:29:42 -0400 Original-Received: from smtprelay03.ispgateway.de ([80.67.29.28]:33736) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1XgEtv-0006Cv-6t for 17753@debbugs.gnu.org; Mon, 20 Oct 2014 11:29:39 -0400 Original-Received: from [80.67.16.118] (helo=webmail.df.eu) by smtprelay03.ispgateway.de with esmtpa (Exim 4.84) (envelope-from ) id 1XgEtt-00029v-El; Mon, 20 Oct 2014 17:29:37 +0200 In-Reply-To: <83y4sabw8d.fsf@gnu.org> X-Sender: markus.hoenicka@mhoenicka.de User-Agent: Roundcube Webmail X-Df-Sender: bWFya3VzLmhvZW5pY2thQG1ob2VuaWNrYS5kZQ== 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:94828 At 2014-10-20 17:24 Eli Zaretskii was heard to say: >> Date: Mon, 20 Oct 2014 16:37:29 +0200 >> From: Markus Hoenicka >> Cc: Eli Zaretskii , 17753@debbugs.gnu.org >> >> I should have tried this first, but anyway: with a stack size of 1 MB >> there seems to be a reproducible way to crash emacs-X11.exe, although >> I >> can't tell if this is just an artifact unrelated to the problem that I >> reported initially. The segfault seems to be the same as previously >> reported, see the attached backtrace. > > This is a real stack overflow, so 1MB is evidently too low for Emacs. > (It could be that Emacs shouldn't crash in that case, but that's a > different bug, if you want to report it.) > >> Thread 1 (Thread 4112.0x1448): >> #0 0x00000001005c2906 in ___chkstk_ms () >> at /usr/src/debug/gcc-4.8.3-3/libgcc/config/i386/cygwin.S:146 > > Whenever you see ___chkstk_ms at the top of the backtrace, it's a > stack overflow. That function is the one that checks for stack > overflow. > > I think this "lower your stack" attempt is driving us from the real > problem, certainly with 1MB of stack. Thanks for the explanation. I'll continue with 8MB of stack for the time being. regards, Markus -- Markus Hoenicka http://www.mhoenicka.de AQ score 38