From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Chong Yidong Newsgroups: gmane.emacs.devel Subject: Re: Failed assertion on make-frame-on-display Date: Tue, 21 Nov 2006 12:27:27 -0500 Message-ID: <878xi4ww00.fsf@cyd.mit.edu> References: <87vel9ub4k.fsf@cyd.mit.edu> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1164130083 4114 80.91.229.2 (21 Nov 2006 17:28:03 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Tue, 21 Nov 2006 17:28:03 +0000 (UTC) Cc: emacs-devel@gnu.org, Andreas Seltenreich Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue Nov 21 18:28:00 2006 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1GmZPC-0002u8-U4 for ged-emacs-devel@m.gmane.org; Tue, 21 Nov 2006 18:27:35 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1GmZPC-0001Wa-ES for ged-emacs-devel@m.gmane.org; Tue, 21 Nov 2006 12:27:34 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1GmZOy-0001Up-GN for emacs-devel@gnu.org; Tue, 21 Nov 2006 12:27:20 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1GmZOw-0001Q0-Ee for emacs-devel@gnu.org; Tue, 21 Nov 2006 12:27:19 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1GmZOw-0001Ps-AY for emacs-devel@gnu.org; Tue, 21 Nov 2006 12:27:18 -0500 Original-Received: from [18.19.1.138] (helo=cyd.mit.edu) by monty-python.gnu.org with esmtp (Exim 4.52) id 1GmZOt-00087f-Jf; Tue, 21 Nov 2006 12:27:15 -0500 Original-Received: by cyd.mit.edu (Postfix, from userid 1000) id 459234E44D; Tue, 21 Nov 2006 12:27:27 -0500 (EST) Original-To: rms@gnu.org In-Reply-To: <87vel9ub4k.fsf@cyd.mit.edu> (Chong Yidong's message of "Mon\, 20 Nov 2006 15\:16\:43 -0500") User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.91 (gnu/linux) 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 Xref: news.gmane.org gmane.emacs.devel:62598 Archived-At: >> I can trigger the following assertion by running >> >> emacs -Q -fn "-*-terminus-medium-r-*-*-16-*-*-*-*-*-*-1" >> >> and M-x make-frame-on-display to a display that doesn't have that font >> installed. When compiled without assertions, emacs dies when >> dereferencing the NULL returned by choose_face_font. I've checked in a fix. Emacs won't crash anymore (and trying to make a frame on a display that doesn't support the default font raises a Lisp error.)