all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Eli Zaretskii <eliz@gnu.org>
To: Keith David Bershatsky <esq@lawlist.com>
Cc: emacs-devel@gnu.org
Subject: Re: Printing to STDERR when %d is "Cannot access memory ..."
Date: Wed, 13 Jun 2018 22:11:33 +0300	[thread overview]
Message-ID: <83wov233iy.fsf@gnu.org> (raw)
In-Reply-To: <m2in6mh6sq.wl%esq@lawlist.com> (message from Keith David Bershatsky on Wed, 13 Jun 2018 11:37:09 -0700)

> Date: Wed, 13 Jun 2018 11:37:09 -0700
> From: Keith David Bershatsky <esq@lawlist.com>
> 
> 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.



  parent reply	other threads:[~2018-06-13 19:11 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-06-13 18:37 Printing to STDERR when %d is "Cannot access memory ..." Keith David Bershatsky
2018-06-13 18:50 ` Davis Herring
2018-06-13 19:11 ` Eli Zaretskii [this message]
  -- strict thread matches above, loose matches on Subject: below --
2018-06-13 19:34 Keith David Bershatsky
2018-06-13 19:34 Keith David Bershatsky
2018-06-13 19:46 ` Eli Zaretskii
2018-06-13 21:37 Keith David Bershatsky

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=83wov233iy.fsf@gnu.org \
    --to=eliz@gnu.org \
    --cc=emacs-devel@gnu.org \
    --cc=esq@lawlist.com \
    /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.