From: David Abrahams <dave@boost-consulting.com>
Cc: emacs-devel@gnu.org
Subject: Re: [BUG] Emacs thinks it has a BDF font
Date: Wed, 01 Oct 2003 07:25:32 -0400 [thread overview]
Message-ID: <ur81xci8j.fsf@boost-consulting.com> (raw)
In-Reply-To: <u3ced2yp0.fsf@jasonrumney.net> (Jason Rumney's message of "01 Oct 2003 08:40:11 +0100")
Jason Rumney <jasonr@gnu.org> writes:
> 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?
I don't think so. I have two emacs' running at all times, only one of
which runs GNUs, and the other one is just as likely to crash
(perhaps more likely).
> 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.
Or at all.
> Take a look at the structures involved,
I have, briefly. It's hard to make much of them; they are so complex.
Is there a guide to the display structures somewhere?
> 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.
<shiver>
I guess this is going to be a tough one...
Thanks for the tips,
Dave
--
Dave Abrahams
Boost Consulting
www.boost-consulting.com
prev parent reply other threads:[~2003-10-01 11:25 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
2003-10-01 11:25 ` David Abrahams [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=ur81xci8j.fsf@boost-consulting.com \
--to=dave@boost-consulting.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).