From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Miles Bader Newsgroups: gmane.emacs.devel Subject: Re: bootstrapping fails. Date: Sun, 06 Jun 2004 07:49:23 +0900 Sender: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Message-ID: <87y8n1boy4.fsf@tc-1-100.kawasaki.gol.ne.jp> References: <20040605035006.5717.LEKTU@mi.madritel.es> <877jumcmg3.fsf@tc-1-100.kawasaki.gol.ne.jp> <20040605173456.61B0.LEKTU@mi.madritel.es> NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1086475834 947 80.91.224.253 (5 Jun 2004 22:50:34 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sat, 5 Jun 2004 22:50:34 +0000 (UTC) Original-X-From: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Sun Jun 06 00:50:26 2004 Return-path: Original-Received: from quimby.gnus.org ([80.91.224.244]) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1BWjze-0000Bj-00 for ; Sun, 06 Jun 2004 00:50:26 +0200 Original-Received: from lists.gnu.org ([199.232.76.165]) by quimby.gnus.org with esmtp (Exim 3.35 #1 (Debian)) id 1BWjze-0006Jp-00 for ; Sun, 06 Jun 2004 00:50:26 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1BWk06-0002MM-Nw for emacs-devel@quimby.gnus.org; Sat, 05 Jun 2004 18:50:54 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33) id 1BWjzp-0002E4-U3 for emacs-devel@gnu.org; Sat, 05 Jun 2004 18:50:37 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33) id 1BWjzm-0002DZ-Di for emacs-devel@gnu.org; Sat, 05 Jun 2004 18:50:37 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1BWjzm-0002DW-8i for emacs-devel@gnu.org; Sat, 05 Jun 2004 18:50:34 -0400 Original-Received: from [80.91.224.249] (helo=main.gmane.org) by monty-python.gnu.org with esmtp (Exim 4.34) id 1BWjyi-0002j9-2h for emacs-devel@gnu.org; Sat, 05 Jun 2004 18:49:28 -0400 Original-Received: from list by main.gmane.org with local (Exim 3.35 #1 (Debian)) id 1BWjyg-0002Jj-00 for ; Sun, 06 Jun 2004 00:49:27 +0200 Original-Received: from yokohama2-61-203-152-172.ap.0038.net ([61.203.152.172]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sun, 06 Jun 2004 00:49:26 +0200 Original-Received: from miles by yokohama2-61-203-152-172.ap.0038.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sun, 06 Jun 2004 00:49:26 +0200 X-Injected-Via-Gmane: http://gmane.org/ Original-To: emacs-devel@gnu.org Original-Lines: 35 Original-X-Complaints-To: usenet@sea.gmane.org X-Gmane-NNTP-Posting-Host: yokohama2-61-203-152-172.ap.0038.net System-Type: i686-pc-linux-gnu Cancel-Lock: sha1:uRSqYpHuWaEmkuXxTaqSa4rlrMc= X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.4 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Xref: main.gmane.org gmane.emacs.devel:24590 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:24590 Juanma Barranquero writes: > The crash is in this line (6057 of xfaces.c), in the middle of > display-supports-face-attribute-p: > > def_face = FACE_FROM_ID (f, DEFAULT_FACE_ID); Try the following stupid-but-obvious patch: M src/xfaces.c * modified files --- orig/src/xfaces.c +++ mod/src/xfaces.c @@ -6027,6 +6027,12 @@ struct face *def_face; Lisp_Object attrs[LFACE_VECTOR_SIZE]; + if (noninteractive || !initialized) + /* We may not be able to access low-level face information in batch + mode, or before being dumped, and this function is not going to + be very useful in those cases anyway, so just give up. */ + return Qnil; + if (NILP (display)) frame = selected_frame; else if (FRAMEP (display)) Thanks, -Miles -- Fast, small, soon; pick any 2.