bug-gnu-emacs
[Top][All Lists]
Advanced

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

bug#24790: Acknowledgement (Segmentation fault when changing default fon


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

On 2016-10-25 14:21, Eli Zaretskii wrote:
>> Cc: 24790@debbugs.gnu.org
>> From: Clément Pit--Claudel <clement.pitclaudel@live.com>
>> Date: Tue, 25 Oct 2016 13:50:18 -0400
>>
>> Let me know what data I could provide to help shed light on the issue (I'll 
>> remove my cache-related patch and send the results in a separate reply) :)
> 
> Well, I would start by finding out why that AREF segfaults.  Is the
> index wrong, or is the array bogus?

Looks like the array is bogus.  I attached a new trace with full debugging 
information.

Some interesting data:

* This crashes:

(dotimes (_ 2)
  (set-frame-font (font-spec
                   :family "Ubuntu Mono"
                   :weight 'semi-light)))

This doesn't (it properly sets the font)

(dotimes (_ 2)
  (set-frame-font (font-spec
                   :family "Ubuntu Mono"
                   :weight 'light)))

The first one is what x-select-font returns.  I'm not sure why.

Cheers,
Clément.

Attachment: gdb.txt
Description: Text document

Attachment: crash.el
Description: Text Data

Attachment: signature.asc
Description: OpenPGP digital signature


reply via email to

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