From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Daichi Kawahata Newsgroups: gmane.emacs.devel Subject: Re: Compile failure on IRIX 6.5 Date: Wed, 23 Feb 2005 10:36:42 +0900 Message-ID: <20050223103642.3e1339cd.daichi.k@dance.ocn.ne.jp> References: <20050221025912.08f3701a.daichi.k@dance.ocn.ne.jp> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1109122746 26682 80.91.229.2 (23 Feb 2005 01:39:06 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Wed, 23 Feb 2005 01:39:06 +0000 (UTC) Cc: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed Feb 23 02:39:06 2005 Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1D3lUH-0002nh-IV for ged-emacs-devel@m.gmane.org; Wed, 23 Feb 2005 02:38:49 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1D3llX-00025t-1J for ged-emacs-devel@m.gmane.org; Tue, 22 Feb 2005 20:56:39 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1D3llG-00024s-0s for emacs-devel@gnu.org; Tue, 22 Feb 2005 20:56:22 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1D3llE-00023C-8a for emacs-devel@gnu.org; Tue, 22 Feb 2005 20:56:21 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1D3llE-000231-5K for emacs-devel@gnu.org; Tue, 22 Feb 2005 20:56:20 -0500 Original-Received: from [61.207.12.149] (helo=smtp.dance.ocn.ne.jp) by monty-python.gnu.org with esmtp (Exim 4.34) id 1D3lVo-0008Gh-9L; Tue, 22 Feb 2005 20:40:24 -0500 Original-Received: from moose.iris.net (p6101-ipad512marunouchi.tokyo.ocn.ne.jp [222.148.125.101]) by smtp.dance.ocn.ne.jp (Postfix) with SMTP id B75E82B76; Wed, 23 Feb 2005 10:40:21 +0900 (JST) Original-To: rms@gnu.org In-Reply-To: X-Mailer: Sylpheed version 1.9.3 (GTK+ 2.6.2; mips-sgi-irix6.5) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org X-MailScanner-To: ged-emacs-devel@m.gmane.org Xref: main.gmane.org gmane.emacs.devel:33753 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:33753 On Mon, 21 Feb 2005 05:21:59 -0500 Richard Stallman wrote: > This looks like stack overflow printing an object that contains > a pointer to itself. Could you verify this was stack overflow? I'm afraid I have no idea what can be considered stack overflow. > What is the value of Vprint_length? Although I don't know at where step of Vprint_length is required, $ dbx ./bootstrap-emacs [...] (dbx) run -q Process 898774 (bootstrap-emacs) started [...] Process 898774 (bootstrap-emacs) stopped on signal SIGSEGV: Segmentation violation (handler sig_fixup_mask) at [print_object:1485 +0x8,0x101a622c] 1485 float_to_string (pigbuf, XFLOAT_DATA (obj)); (dbx) p Vprint_length 272150529 (dbx) > Anyway, it is not a bug that Emacs can crash if you print a > cyclic structure with the wrong settings. Could you tell me wrong settings of what/mine? > The question is, why is that happening? The crucial point for > finding the Emacs bug is, what Lisp program is trying to print > something, Does that mean built-in/included Lisp program? as a total beginner, I'd think option '-q' has Emacs not to take any initial/external file. > and why, and why is that object such as to get an error in > printing. For this, it would be useful to look at the log of > output from bootstrapping shortly before the crash. If it's allowed, I'll attach entire make.log, well I don't know log of which (in the GDB or make process) you mentioned, but as far as make process is concerned, output log just before the crash is, [...] Dumping under names emacs and emacs-22.0.50 73668 pure bytes used mv -f emacs bootstrap-emacs gmake[1]: Leaving directory `/opt/src/i18n/emacs/src' (cd lisp; gmake bootstrap EMACS=../src/bootstrap-emacs) gmake[1]: Entering directory `/opt/src/i18n/emacs/lisp' wd=/opt/src/i18n/emacs/lisp; subdirs=`(cd $wd; find . -type d -print)`; for file in $subdirs; do case $file in */Old | */RCS | */CVS | */CVS/* | */.* | */. */* | */=* ) ;; *) wins="$wins $wd/$file" ;; esac; done; \ | for file in $wins; do \ /opt/src/i18n/emacs/lisp/../update-subdirs $file; \ done; wd=/opt/src/i18n/emacs/lisp; subdirs=`(cd $wd; find . -type d -print)`; for file in $subdirs; do case $file in */Old | */RCS | */CVS | */CVS/* | */.* | */. */* | */=* ) ;; *) wins="$wins $wd/$file" ;; esac; done; \ | echo Directories: $wins; \ ../src/bootstrap-emacs -batch --no-site-file --multibyte -l autoload -- eval '(setq generated-autoload-file "/opt/src/i18n/emacs/lisp/ loaddefs.el")' -f batc h-update-autoloads $wins Directories: /opt/src/ i18n/emacs/lisp/. /opt/src/i18n/emacs/lisp/./net /opt/src/i18n/emacs/ lisp/./url /opt/src/i18n/emacs/lisp/./calc /opt/src/i18n/emacs/l isp/./ gnus /opt/src/i18n/emacs/lisp/./mail /opt/src/i18n/emacs/lisp/./mh-e / opt/src/i18n/emacs/lisp/./play /opt/src/i18n/emacs/lisp/./term /opt/src/ i18n/em acs/lisp/./emacs-lisp /opt/src/i18n/emacs/lisp/./eshell /opt/ src/i18n/emacs/lisp/./calendar /opt/src/i18n/emacs/lisp/./ international /opt/src/i18n/emacs/li sp/./emulation /opt/src/i18n/emacs/ lisp/./language /opt/src/i18n/emacs/lisp/./textmodes /opt/src/i18n/ emacs/lisp/./progmodes /opt/src/i18n/emacs/lisp/./obs olete /opt/src/ i18n/emacs/lisp/./toolbar Fatal error (11)gmake[1]: *** [autoloads] Segmentation fault (core dumped) gmake[1]: Leaving directory `/opt/src/ i18n/emacs/lisp' gmake: *** [bootstrap-build] Error 2 Regards, -- Daichi