From: "Clément Pit--Claudel" <clement.pitclaudel@live.com>
To: Eli Zaretskii <eliz@gnu.org>
Cc: 24790@debbugs.gnu.org
Subject: bug#24790: Segmentation fault when changing default font on master
Date: Tue, 25 Oct 2016 15:27:45 -0400 [thread overview]
Message-ID: <5a23afdb-f7d0-c983-7b25-206bd5a80017@live.com> (raw)
In-Reply-To: <83d1iowf95.fsf@gnu.org>
[-- Attachment #1.1: Type: text/plain, Size: 1269 bytes --]
On 2016-10-25 12:43, Eli Zaretskii wrote:
>> From: Clément Pit--Claudel <clement.pitclaudel@live.com>
>> Date: Tue, 25 Oct 2016 10:33:32 -0400
>>
>> When I select the attached font from the "Set default font" menu, nothing happens (the default font does not change). When I select it again, emacs segfaults (see attached output of bt full).
>>
>> My Emacs has patch af1a69f4d17a482c359d98c00ef86fac835b5fac reverted. Could this make a difference?
>
> With such a simple reproducer, it's much easier to re-apply the patch
> and see if it makes the difference than answer your question by just
> looking at your data.
Indeed, and it seems that my reversing this patch is what caused the issue (IOW, I can't crash Emacs any more after re-applying the patch).
Interestingly, if I use 'light as the weight, the right font is selected, and everything works fine (that is, the default frame font changes and Emacs doesn't crash). But for some reason, x-select-font returns a font-spec in semi-light, and then set-frame-font crashes.
> Why do you still have that commit reverted, btw? I thought the
> problem caused by it is nowadays solved: you have a variable to avoid
> it.
I never heard about that variable :) Which one is it?
Clément.
[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 819 bytes --]
next prev parent reply other threads:[~2016-10-25 19:27 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-10-25 14:33 bug#24790: Segmentation fault when changing default font on master Clément Pit--Claudel
[not found] ` <handler.24790.B.147740604715477.ack@debbugs.gnu.org>
2016-10-25 16:05 ` bug#24790: Acknowledgement (Segmentation fault when changing default font on master) Clément Pit--Claudel
2016-10-25 17:09 ` Eli Zaretskii
2016-10-25 17:50 ` Clément Pit--Claudel
2016-10-25 18:21 ` Eli Zaretskii
2016-10-25 19:31 ` Clément Pit--Claudel
2016-10-25 16:43 ` bug#24790: Segmentation fault when changing default font on master Eli Zaretskii
2016-10-25 19:27 ` Clément Pit--Claudel [this message]
2016-10-25 19:42 ` Eli Zaretskii
2016-10-25 20:18 ` Clément Pit--Claudel
2016-10-26 16:43 ` Glenn Morris
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=5a23afdb-f7d0-c983-7b25-206bd5a80017@live.com \
--to=clement.pitclaudel@live.com \
--cc=24790@debbugs.gnu.org \
--cc=eliz@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).