From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.bugs Subject: bug#7920: 24.0.50; Crash in balance_an_interval + 26 Date: Wed, 26 Jan 2011 22:31:42 -0500 Message-ID: References: <066CE4A2-8802-4B25-B51D-5E9DD732A288@gmail.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: dough.gmane.org 1296100777 6201 80.91.229.12 (27 Jan 2011 03:59:37 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Thu, 27 Jan 2011 03:59:37 +0000 (UTC) Cc: 7920@debbugs.gnu.org, edgar.goncalves@gmail.com To: David Reitter Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Thu Jan 27 04:59:32 2011 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1PiJ0n-0000gX-5p for geb-bug-gnu-emacs@m.gmane.org; Thu, 27 Jan 2011 04:59:31 +0100 Original-Received: from localhost ([127.0.0.1]:55340 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PiJ0g-00051r-MC for geb-bug-gnu-emacs@m.gmane.org; Wed, 26 Jan 2011 22:59:02 -0500 Original-Received: from [140.186.70.92] (port=50444 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PiIxZ-0002sD-Ga for bug-gnu-emacs@gnu.org; Wed, 26 Jan 2011 22:58:58 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PiIws-0006Rn-Po for bug-gnu-emacs@gnu.org; Wed, 26 Jan 2011 22:55:07 -0500 Original-Received: from debbugs.gnu.org ([140.186.70.43]:55463) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1PiIws-0006Rj-Mp for bug-gnu-emacs@gnu.org; Wed, 26 Jan 2011 22:55:06 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.69) (envelope-from ) id 1PiISo-0008Eh-58; Wed, 26 Jan 2011 22:24:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Stefan Monnier Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-To: owner@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 27 Jan 2011 03:24:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 7920 X-GNU-PR-Package: emacs,ns X-GNU-PR-Keywords: Original-Received: via spool by 7920-submit@debbugs.gnu.org id=B7920.129609861631622 (code B ref 7920); Thu, 27 Jan 2011 03:24:02 +0000 Original-Received: (at 7920) by debbugs.gnu.org; 27 Jan 2011 03:23:36 +0000 Original-Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1PiISM-0008Dz-Pq for submit@debbugs.gnu.org; Wed, 26 Jan 2011 22:23:34 -0500 Original-Received: from ironport2-out.teksavvy.com ([206.248.154.183] helo=ironport2-out.pppoe.ca) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1PiISL-0008Dp-Rr for 7920@debbugs.gnu.org; Wed, 26 Jan 2011 22:23:34 -0500 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AvsEADt2QE1MCo4O/2dsb2JhbACke3S8BoVPBIUYjHmCdw X-IronPort-AV: E=Sophos;i="4.60,384,1291611600"; d="scan'208";a="89377532" Original-Received: from 76-10-142-14.dsl.teksavvy.com (HELO ceviche.home) ([76.10.142.14]) by ironport2-out.pppoe.ca with ESMTP/TLS/ADH-AES256-SHA; 26 Jan 2011 22:31:42 -0500 Original-Received: by ceviche.home (Postfix, from userid 20848) id 0FE91660DC; Wed, 26 Jan 2011 22:31:42 -0500 (EST) In-Reply-To: <066CE4A2-8802-4B25-B51D-5E9DD732A288@gmail.com> (David Reitter's message of "Wed, 26 Jan 2011 10:14:45 -0500") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (gnu/linux) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list Resent-Date: Wed, 26 Jan 2011 22:24:02 -0500 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) 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: , Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:43670 Archived-At: Looking at the backtrace, the crash is probably not really in balance_an_interval; instead what happened is that Emacs got stuck in an infinite recursion and the OS killed the process when it reached the maximum allowed stack depth, which happened to be when Emacs was in balance_an_interval. I couldn't find any user-provided info in the bug-report, is that right? If I understand the backtrace right, it seems that the infinite recursion went through `funcall', so it was an infinite recursion within Elisp, and those are supposed to be caught before reaching the maximum allowed stack depth thanks to limits like max-specpdl-size. So, maybe the bug is that max-specpdl-size is larger than the OS allows, in which case we should try and figure out why that is: is it because someone set it explicitly higher (too high), or because the OS's maximum stack depth is lower than we thought? Stefan