unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Chong Yidong <cyd@stupidchicken.com>
Cc: emacs-devel@gnu.org, Andreas Seltenreich <seltenreich@gmx.de>
Subject: Re: Failed assertion on make-frame-on-display
Date: Tue, 21 Nov 2006 12:27:27 -0500	[thread overview]
Message-ID: <878xi4ww00.fsf@cyd.mit.edu> (raw)
In-Reply-To: <87vel9ub4k.fsf@cyd.mit.edu> (Chong Yidong's message of "Mon\, 20 Nov 2006 15\:16\:43 -0500")

>> 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.)

      parent reply	other threads:[~2006-11-21 17:27 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-11-19 12:48 Failed assertion on make-frame-on-display Richard Stallman
2006-11-20 20:16 ` Chong Yidong
2006-11-21  7:48   ` Richard Stallman
2006-11-21 17:27   ` Chong Yidong [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=878xi4ww00.fsf@cyd.mit.edu \
    --to=cyd@stupidchicken.com \
    --cc=emacs-devel@gnu.org \
    --cc=seltenreich@gmx.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).