GNU bug report logs - #24790
Segmentation fault when changing default font on master

Previous Next

Package: emacs;

Reported by: Clément Pit--Claudel <clement.pitclaudel <at> live.com>

Date: Tue, 25 Oct 2016 14:35:01 UTC

Severity: normal

Tags: notabug, wontfix

Done: Glenn Morris <rgm <at> gnu.org>

Bug is archived. No further changes may be made.

Full log


Message #26 received at 24790 <at> debbugs.gnu.org (full text, mbox):

From: Clément Pit--Claudel <clement.pitclaudel <at> live.com>
To: Eli Zaretskii <eliz <at> gnu.org>
Cc: 24790 <at> debbugs.gnu.org
Subject: Re: bug#24790: Acknowledgement (Segmentation fault when changing
 default font on master)
Date: Tue, 25 Oct 2016 15:31:22 -0400
[Message part 1 (text/plain, inline)]
On 2016-10-25 14:21, Eli Zaretskii wrote:
>> Cc: 24790 <at> debbugs.gnu.org
>> From: Clément Pit--Claudel <clement.pitclaudel <at> 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.
[gdb.txt (text/plain, attachment)]
[crash.el (text/x-emacs-lisp, attachment)]
[signature.asc (application/pgp-signature, attachment)]

This bug report was last modified 8 years and 210 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.