From: Eli Zaretskii <eliz@gnu.org>
To: Michael Heerdegen <michael_heerdegen@web.de>
Cc: 17524@debbugs.gnu.org
Subject: bug#17524: 24.4.50; emacs_backtrace.txt
Date: Tue, 20 May 2014 23:00:29 +0300 [thread overview]
Message-ID: <83r43onrtu.fsf@gnu.org> (raw)
In-Reply-To: <8761l04b6v.fsf@web.de>
> From: Michael Heerdegen <michael_heerdegen@web.de>
> Cc: drew.adams@oracle.com, 17524@debbugs.gnu.org
> Date: Tue, 20 May 2014 19:22:32 +0200
>
> Eli Zaretskii <eliz@gnu.org> writes:
>
> > Please try with a non-existent font pattern.
>
> Then I see it crashing. But it doesn't crash immediately after hitting
> C-x 5 2. I get an "invalid font name" error message, and Emacs survives
> some more seconds and then seems to crash after a random command,
> e.g. after hitting C-SPC or <up>.
I think the problem is, like on Windows, that this recipe causes Emacs
to free the image cache of the single frame. It doesn't crash
immediately because the assertion in unwind_create_frame on X is
different from that on Windows, and doesn't dereference the NULL
image_cache pointer. But the real problem is that call to
x_free_frame_resources, which eventually calls free_frame_faces, which
decrements the image-cache refcount and frees the image cache, because
the refcount goes to zero.
So I think the X version needs the same change I made in w32fns.c in
revision 117131, modulo the changes to the assertions. Can you try
that? (There's a comment I added as part of the commit that explains
the problem in more detail.)
next prev parent reply other threads:[~2014-05-20 20:00 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-05-18 21:50 bug#17524: 24.4.50; emacs_backtrace.txt Drew Adams
2014-05-18 21:54 ` Drew Adams
2014-05-18 22:58 ` Michael Heerdegen
2014-05-18 23:42 ` Drew Adams
2014-05-20 16:31 ` Eli Zaretskii
2014-05-20 17:22 ` Michael Heerdegen
2014-05-20 20:00 ` Eli Zaretskii [this message]
2014-05-21 15:47 ` Michael Heerdegen
2014-05-22 22:46 ` Michael Heerdegen
2014-05-23 6:01 ` Eli Zaretskii
2014-05-20 16:30 ` Eli Zaretskii
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=83r43onrtu.fsf@gnu.org \
--to=eliz@gnu.org \
--cc=17524@debbugs.gnu.org \
--cc=michael_heerdegen@web.de \
/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.