GNU bug report logs -
#15405
24.3; #[] freezes emacs
Previous Next
Reported by: Leo Liu <sdl.web <at> gmail.com>
Date: Wed, 18 Sep 2013 01:52:02 UTC
Severity: normal
Merged with 16512
Found in version 24.3
Fixed in version 24.4
Done: Barry OReilly <gundaetiapo <at> gmail.com>
Bug is archived. No further changes may be made.
Full log
Message #38 received at 15405 <at> debbugs.gnu.org (full text, mbox):
[Message part 1 (text/plain, inline)]
What I've found so far is that the return from the font_list_entities
function's call to font_get_cache is as follows
C-x 3 without evalling #[] (Emacs behaves correctly):
(1 (#<font-spec x unknown DejaVu\ LGC\ Sans\ Mono nil iso10646-1 nil nil
nil nil nil 100 nil ((user-spec . "Monospace 10"))> . []) (#<font-spec x
nil Monospace nil iso8859-1 nil nil nil nil nil nil nil ((:name .
"Monospace 10"))> . []))
M-: #[] then C-x 3 (Emacs core dumps):
(1 (#<font-spec x unknown DejaVu\ LGC\ Sans\ Mono nil iso10646-1 nil nil
nil nil nil 100 nil ((user-spec . "Monospace 10"))> . #[]) (#<font-spec x
nil Monospace nil iso8859-1 nil nil nil nil nil nil nil ((:name .
"Monospace 10"))> . #[]))
The out of place #[] becomes the val input to font_delete_unmatched.
Separately, I found that calling (eq #[] #[]) also causes the problem.
So another reproduction recipe is to let file empty-byte-code.el have
content:
(eq #[] #[])
(split-window-right)
Then: emacs -Q --load empty-byte-code.el
Core dump results.
The eq function seems pretty harmless, so perhaps it's worth looking
at the reader that makes a Lisp_Object out of #[]. Where would I find
that?
[Message part 2 (text/html, inline)]
This bug report was last modified 11 years and 121 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.