[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Printing to STDERR when %d is "Cannot access memory ..."
From: |
Eli Zaretskii |
Subject: |
Re: Printing to STDERR when %d is "Cannot access memory ..." |
Date: |
Wed, 13 Jun 2018 22:11:33 +0300 |
> Date: Wed, 13 Jun 2018 11:37:09 -0700
> From: Keith David Bershatsky <address@hidden>
>
> I am working on crosshairs (17684) and multiple fake cursors (22873) and
> created a little problem for myself in that a character not recognized by the
> font (U0001D4D5) [aka a pretty letter f] on a line all by itself does not
> have a font->space_width and causes Emacs to crash when printing said value
> to STDERR.
>
> GDB returns "Cannot access memory at address 0xa0" when printing the value of
> font->space_width.
This message means that 'font' is a NULL pointer, and that is your
basic problem. You need to find out why 'font' is NULL.