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:24:02 +0300 Message-ID: <83y4sabw8d.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> <0705b4b6e7e1f1a27e66137916cdd442@mhoenicka.de> Reply-To: Eli Zaretskii NNTP-Posting-Host: plane.gmane.org X-Trace: ger.gmane.org 1413818737 18433 80.91.229.3 (20 Oct 2014 15:25:37 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 20 Oct 2014 15:25:37 +0000 (UTC) Cc: 17753@debbugs.gnu.org To: Markus Hoenicka Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Mon Oct 20 17:25: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 1XgEpm-0002JF-NW for geb-bug-gnu-emacs@m.gmane.org; Mon, 20 Oct 2014 17:25:22 +0200 Original-Received: from localhost ([::1]:45480 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XgEpm-000398-6x for geb-bug-gnu-emacs@m.gmane.org; Mon, 20 Oct 2014 11:25:22 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:58536) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XgEpd-00030A-8t for bug-gnu-emacs@gnu.org; Mon, 20 Oct 2014 11:25:19 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XgEpS-0006Dy-Sz for bug-gnu-emacs@gnu.org; Mon, 20 Oct 2014 11:25:13 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:37082) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XgEpS-0006DZ-QP for bug-gnu-emacs@gnu.org; Mon, 20 Oct 2014 11:25:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1XgEpS-000659-9X for bug-gnu-emacs@gnu.org; Mon, 20 Oct 2014 11:25: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: Mon, 20 Oct 2014 15:25:02 +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.141381865923318 (code B ref 17753); Mon, 20 Oct 2014 15:25:02 +0000 Original-Received: (at 17753) by debbugs.gnu.org; 20 Oct 2014 15:24:19 +0000 Original-Received: from localhost ([127.0.0.1]:57412 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1XgEol-000642-Df for submit@debbugs.gnu.org; Mon, 20 Oct 2014 11:24:19 -0400 Original-Received: from mtaout22.012.net.il ([80.179.55.172]:38613) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1XgEoj-00063o-GX for 17753@debbugs.gnu.org; Mon, 20 Oct 2014 11:24:18 -0400 Original-Received: from conversion-daemon.a-mtaout22.012.net.il by a-mtaout22.012.net.il (HyperSendmail v2007.08) id <0NDR00H001BI0800@a-mtaout22.012.net.il> for 17753@debbugs.gnu.org; Mon, 20 Oct 2014 18:24:11 +0300 (IDT) Original-Received: from HOME-C4E4A596F7 ([87.69.4.28]) by a-mtaout22.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0NDR00G3L1GAPC70@a-mtaout22.012.net.il>; Mon, 20 Oct 2014 18:24:11 +0300 (IDT) In-reply-to: <0705b4b6e7e1f1a27e66137916cdd442@mhoenicka.de> 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:94825 > 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.