From: Chong Yidong <cyd@stupidchicken.com>
Cc: emacs-devel@gnu.org
Subject: Re: Failed assertion on make-frame-on-display
Date: Mon, 20 Nov 2006 15:16:43 -0500 [thread overview]
Message-ID: <87vel9ub4k.fsf@cyd.mit.edu> (raw)
In-Reply-To: <E1Glm6C-00009B-U5@fencepost.gnu.org> (Richard Stallman's message of "Sun\, 19 Nov 2006 07\:48\:40 -0500")
Richard Stallman <rms@gnu.org> writes:
> 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 can't test this, but probably the way to fix this is to make it an
error to try to make a frame on a display that doesn't support the
default font; i.e., x-create-frame should try to load the default font
on the new display if it is not already loaded, and do an Ferror if
the load fails.
WDYT?
next prev parent reply other threads:[~2006-11-20 20:16 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 [this message]
2006-11-21 7:48 ` Richard Stallman
2006-11-21 17:27 ` Chong Yidong
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=87vel9ub4k.fsf@cyd.mit.edu \
--to=cyd@stupidchicken.com \
--cc=emacs-devel@gnu.org \
/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).