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#2403: 23.0.90; emacs bootstrap under AIX hangs at lisp/international/characters.el Date: Thu, 26 Feb 2009 15:47:41 -0500 Message-ID: References: <20090220050031.37DF264BB2F@ate.maierh> Reply-To: Stefan Monnier , 2403@emacsbugs.donarmstrong.com NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1235682295 4854 80.91.229.12 (26 Feb 2009 21:04:55 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 26 Feb 2009 21:04:55 +0000 (UTC) Cc: 2403@emacsbugs.donarmstrong.com To: Harald Maier Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Thu Feb 26 22:06:10 2009 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.50) id 1LcnPn-0000FN-TH for geb-bug-gnu-emacs@m.gmane.org; Thu, 26 Feb 2009 22:05:32 +0100 Original-Received: from localhost ([127.0.0.1]:36573 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LcnOT-00078B-AZ for geb-bug-gnu-emacs@m.gmane.org; Thu, 26 Feb 2009 16:03:45 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1LcnOP-000785-U6 for bug-gnu-emacs@gnu.org; Thu, 26 Feb 2009 16:03:41 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1LcnOO-00077t-FB for bug-gnu-emacs@gnu.org; Thu, 26 Feb 2009 16:03:41 -0500 Original-Received: from [199.232.76.173] (port=40513 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LcnOO-00077q-BH for bug-gnu-emacs@gnu.org; Thu, 26 Feb 2009 16:03:40 -0500 Original-Received: from rzlab.ucr.edu ([138.23.92.77]:49620) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1LcnON-0006vZ-N8 for bug-gnu-emacs@gnu.org; Thu, 26 Feb 2009 16:03:39 -0500 Original-Received: from rzlab.ucr.edu (rzlab.ucr.edu [127.0.0.1]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id n1QL3bBN017947; Thu, 26 Feb 2009 13:03:37 -0800 Original-Received: (from debbugs@localhost) by rzlab.ucr.edu (8.13.8/8.13.8/Submit) id n1QKt4FB015747; Thu, 26 Feb 2009 12:55:04 -0800 X-Loop: owner@emacsbugs.donarmstrong.com Resent-From: Stefan Monnier Resent-To: bug-submit-list@donarmstrong.com Resent-CC: Emacs Bugs Resent-Date: Thu, 26 Feb 2009 20:55:04 +0000 Resent-Message-ID: Resent-Sender: owner@emacsbugs.donarmstrong.com X-Emacs-PR-Message: followup 2403 X-Emacs-PR-Package: emacs X-Emacs-PR-Keywords: Original-Received: via spool by 2403-submit@emacsbugs.donarmstrong.com id=B2403.123568127214403 (code B ref 2403); Thu, 26 Feb 2009 20:55:04 +0000 Original-Received: (at 2403) by emacsbugs.donarmstrong.com; 26 Feb 2009 20:47:52 +0000 X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available. hammytokens:Tokens not available. Original-Received: from ironport2-out.teksavvy.com (ironport2-out.teksavvy.com [206.248.154.182]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id n1QKlmid014397 for <2403@emacsbugs.donarmstrong.com>; Thu, 26 Feb 2009 12:47:50 -0800 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AgsFAFeOpknO+JhN/2dsb2JhbACBb9cphBEGg2Y X-IronPort-AV: E=Sophos;i="4.38,273,1233550800"; d="scan'208";a="34457680" Original-Received: from 206-248-152-77.dsl.teksavvy.com (HELO pastel.home) ([206.248.152.77]) by ironport2-out.teksavvy.com with ESMTP; 26 Feb 2009 15:47:42 -0500 Original-Received: by pastel.home (Postfix, from userid 20848) id DD1319114; Thu, 26 Feb 2009 15:47:41 -0500 (EST) In-Reply-To: (Harald Maier's message of "Thu, 26 Feb 2009 19:26:00 +0100") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.90 (gnu/linux) X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 3) Resent-Date: Thu, 26 Feb 2009 16:03:41 -0500 X-BeenThere: bug-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list 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:25753 Archived-At: > I digged a little bit deeper to this problem. temacs is in an endless > loop in the following for loop in the alloca.c file: > --- alloca.c:5101 --- > #if (GC_MARK_STACK == GC_MAKE_GCPROS_NOOPS \ > || GC_MARK_STACK == GC_MARK_STACK_CHECK_GCPROS) > mark_stack (); > #else > { > register struct gcpro *tail; > => for (tail = gcprolist; tail; tail = tail->next) > for (i = 0; i < tail->nvars; i++) > mark_object (tail->var[i]); > } > #endif > --------------------- > If I examine the values in gdb then I see that the second element of > gcprolist points to itself in the next element. That's why emacs loops. > Any idea how to fix that? No idea. This should never happen, obviously. The gcprolist (and its elements) should only ever be touched by the macros GCPRO and UNGCPRO, so the only thing that comes to mind is that someone does GCPRO1 twice in the same block. You may want to add some eassert(gcprolist != &gcpro); to the GCPRO macros which may catch the bug. Alternatively, if you look at the backtrace, the problematic uses of GCPRO should be nearby. Of course, maybe the problem really is one of the stack being clobbered. Stefan