unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Daniel Pittman <slippycheeze@google.com>
To: emacs-devel <emacs-devel@gnu.org>
Subject: macOS NS GUI crash due to invalid font pointer in frame struct while marking
Date: Thu, 23 Jan 2020 11:16:39 -0500	[thread overview]
Message-ID: <CAC45yQtYtgGZsfp0R4wSmnomHRgzczH5t9kS46zr_ukYPbdmNA@mail.gmail.com> (raw)

[-- Attachment #1: Type: text/plain, Size: 871 bytes --]

G'day.  I've come across a crash during GC on macOS 10.15.2, GNU Emacs
built from source, git d97a77c481ec913d8c3c24f2eecdc41a28243678.

The crash is located at:
...->mark_window->mark_vectorlike->mark_frame

In this the bad pointer is in (struct frame).output_data.ns.font, where the
pointer is wildly out of the memory map, and so crashes trying to determine
if that was marked.

I haven't yet tracked this down to a root cause, but before I invest
significant time in that I'd like to know if anyone else is investigating
this, or something similar to this?

Reproduction is, painfully, just a matter of waiting for a crash.  It seems
to be vaguely correlated to external process interactions, but can't find a
clear root cause.

I'll work to get a fix, of course, but wanted to avoid duplicating work if
someone else already has this in hand, or knows more.

Thanks!

[-- Attachment #2: Type: text/html, Size: 1085 bytes --]

             reply	other threads:[~2020-01-23 16:16 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-01-23 16:16 Daniel Pittman [this message]
2020-01-23 19:10 ` macOS NS GUI crash due to invalid font pointer in frame struct while marking Robert Pluim
2020-01-24 15:04   ` Daniel Pittman

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=CAC45yQtYtgGZsfp0R4wSmnomHRgzczH5t9kS46zr_ukYPbdmNA@mail.gmail.com \
    --to=slippycheeze@google.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).