all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Jason Rumney <jasonr@gnu.org>
Cc: emacs-devel@gnu.org
Subject: Re: [BUG] Emacs thinks it has a BDF font
Date: 01 Oct 2003 08:40:11 +0100	[thread overview]
Message-ID: <u3ced2yp0.fsf@jasonrumney.net> (raw)
In-Reply-To: <u8yo6tbbh.fsf@boost-consulting.com>

David Abrahams <dave@boost-consulting.com> writes:

> In http://article.gmane.org/gmane.emacs.devel/16583/ I reported that
> emacs is following an execution path which attempts to draw a BDF font
> even though none is in use, resulting in a crash deep in the drawing
> machinery about once a day for me.  I'm unfamiliar with this part of
> Emacs' display code.  Is there someone who can give me a little
> guidance about what to assert, where to set a breakpoint, or something
> (anything) that will help us to track this down?

In a previous report, you mentioned that this occured when you were
using Gnus 5.10. Does that try to use a BDF font behind your back?

If not, then you are probably looking at stack or heap
corruption. Since it is happening in display code variables that are
exected to change frequently, it will be very difficult to track
down with data breakpoints. Take a look at the structures involved,
and see if there are any arrays that might overrun. assert that the
length is within limits wherever they are written. See if you can work
out what variables are next to the font structure on the heap or stack
when the bug occurs. Add assertions to any arrays writes there too.

  reply	other threads:[~2003-10-01  7:40 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-09-30 17:50 [BUG] Emacs thinks it has a BDF font David Abrahams
2003-10-01  7:40 ` Jason Rumney [this message]
2003-10-01 11:25   ` David Abrahams

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

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

  git send-email \
    --in-reply-to=u3ced2yp0.fsf@jasonrumney.net \
    --to=jasonr@gnu.org \
    --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 external index

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

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.