[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#24790: Segmentation fault when changing default font on master

From: Clément Pit--Claudel
Subject: bug#24790: Segmentation fault when changing default font on master
Date: Tue, 25 Oct 2016 15:27:45 -0400
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.3.0

On 2016-10-25 12:43, Eli Zaretskii wrote:
>> From: Clément Pit--Claudel <address@hidden>
>> 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?


Attachment: signature.asc
Description: OpenPGP digital signature

reply via email to

[Prev in Thread] Current Thread [Next in Thread]