From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Alan Minga Newsgroups: gmane.emacs.bugs Subject: Re: SEGV in Garbage collection during build Date: Wed, 20 Oct 2004 13:59:39 -0500 Organization: Cray Inc. Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Message-ID: <4176B59B.70901@cray.com> References: NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1098298851 4362 80.91.229.6 (20 Oct 2004 19:00:51 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Wed, 20 Oct 2004 19:00:51 +0000 (UTC) Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Wed Oct 20 21:00:41 2004 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1CKLhQ-0004Lg-00 for ; Wed, 20 Oct 2004 21:00:40 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1CKLop-0005xb-Mv for geb-bug-gnu-emacs@m.gmane.org; Wed, 20 Oct 2004 15:08:19 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33) id 1CKLom-0005xV-AS for bug-gnu-emacs@gnu.org; Wed, 20 Oct 2004 15:08:16 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33) id 1CKLol-0005x6-Hj for bug-gnu-emacs@gnu.org; Wed, 20 Oct 2004 15:08:15 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1CKLol-0005x2-Fv for bug-gnu-emacs@gnu.org; Wed, 20 Oct 2004 15:08:15 -0400 Original-Received: from [130.59.10.2] (helo=chx400.switch.ch) by monty-python.gnu.org with esmtp (TLSv1:DES-CBC3-SHA:168) (Exim 4.34) id 1CKLgl-00038n-Qj for bug-gnu-emacs@gnu.org; Wed, 20 Oct 2004 15:00:00 -0400 Original-Received: from mail1.cray.com ([136.162.0.111]) by chx400.switch.ch with esmtp (Exim 3.20 #1) id 1CKLgi-0007EH-00 for gnu-emacs-bug@moderators.isc.org; Wed, 20 Oct 2004 20:59:57 +0200 Original-Received: from relaya.us.cray.com (relaya.us.cray.com [192.168.252.144]) by mail1.cray.com (8.13.1/8.13.1/gw-1.8) with ESMTP id i9KIxju9002219 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Wed, 20 Oct 2004 13:59:48 -0500 (CDT) Original-Received: from flapjack.cray.com (flapjack.us.cray.com [192.168.236.228]) by relaya.us.cray.com (8.13.1/8.13.1/hub-1.9) with ESMTP id i9KIxhcn016047 for ; Wed, 20 Oct 2004 13:59:43 -0500 (CDT) Original-Received: from flapjack.cray.com (localhost.localdomain [127.0.0.1]) by flapjack.cray.com (8.12.6/8.12.6/cli-lin-1.3) with ESMTP id i9KJKj74028238 for ; Wed, 20 Oct 2004 14:20:45 -0500 Original-Received: (from news@localhost) by flapjack.cray.com (8.12.6/8.12.8/Submit) id i9KJKiGQ028237 for gnu-emacs-bug@moderators.isc.org; Wed, 20 Oct 2004 14:20:44 -0500 Original-To: gnu-emacs-bug@moderators.isc.org Original-Path: not-for-mail Original-Newsgroups: gnu.emacs.bug Original-Lines: 67 Original-NNTP-Posting-Host: cf-vpn-192-168-239-83.us.cray.com Original-X-Trace: flapjack.cray.com 1098300044 28236 192.168.239.83 (20 Oct 2004 19:20:44 GMT) Original-X-Complaints-To: usenet@cray.com Original-NNTP-Posting-Date: Wed, 20 Oct 2004 19:20:44 +0000 (UTC) Original-To: Stefan Monnier User-Agent: Mozilla Thunderbird 0.7.2 (Windows/20040707) X-Accept-Language: en-us, en In-Reply-To: X-Cray-VirusStatus: clean 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: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: main.gmane.org gmane.emacs.bugs:9389 X-Report-Spam: http://spam.gmane.org/gmane.emacs.bugs:9389 Stefan Monnier wrote: > Please take this to gnu.emacs.bug rather than gnu.emacs.help. > You'll hopefully get more info over there. Hopefully I've moved the reply to g.e.b > > >>CC-513 cc: WARNING File = frame.c, Line = 2118 >> A value of type "unsigned char *" cannot be assigned to an entity of type >> "char *". > > >> color_name = XSTRING (value)->data; > > >>But I don't believe these are significant. > > > I don't know about the "indicated argument is incompatible with the > corresponding formal parameter", but the char-vs-unsigned-char should be > harmless (tho pesky abnd surprisingly difficult to fix). > > >>The problem occurs in the build when Emacs tries to load lisp. This problem >>is reproducable by running > > >>./temacs -batch > > >>There is a failure in mark_object after it is recutsivly called about for >>the 31,000th time. It makes stack tracing a bit difficult. > > > How far through the dump process is it when it crashes? > Is that the first garbage collection? It is the first garbage collection. It doesn't seen to be confined to a particular part of lisp either. > > >>So any suggestions for getting to the bottom of this SEGV? > > > I suggest you take a look at the files in emacs/src/m/* and emacs/src/s/*. > If you can find there a machine or OS that you expect to be somewhat similar > to the X1, it might contain useful hints. See also emacs/etc/PROBLEMS. > > Also, could it be that the SEGV is just a stack overflow (i.e. the stack > limit is too low)? Seems unlikely on a Cray, tho :-) We can adjust the stack size at run time on the X1 and that seems to make no difference in the point of failure. Is the Lisp array terminated in any peculular way so that it's not picking up the end of the array. > > Your binary dos not seem to contain debugging info (at least your backtrae > shows no info about arguments, which is a pretty good sign that the debug > info is missing), so you should rebuild with debug info. It may be an old backtrace from a stripped executable. I'll rebuild and try again. Alan.