GNU bug report logs - #24206
25.1; Curly quotes generate invalid strings, leading to a segfault

Previous Next

Package: emacs;

Reported by: Phil <p.stephani2 <at> gmail.com>

Date: Thu, 11 Aug 2016 18:57:02 UTC

Severity: normal

Found in version 25.1

Done: Paul Eggert <eggert <at> cs.ucla.edu>

Bug is archived. No further changes may be made.

Full log


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

From: Eli Zaretskii <eliz <at> gnu.org>
To: Philipp Stephani <p.stephani2 <at> gmail.com>, John Wiegley <johnw <at> gnu.org>
Cc: 24206 <at> debbugs.gnu.org
Subject: Re: bug#24206: 25.1; Curly quotes generate invalid strings, leading
 to a segfault
Date: Sat, 13 Aug 2016 11:32:47 +0300
> From: Philipp Stephani <p.stephani2 <at> gmail.com>
> Date: Thu, 11 Aug 2016 23:51:41 +0000
> Cc: 24206 <at> debbugs.gnu.org
> 
> Eli Zaretskii <eliz <at> gnu.org> schrieb am Do., 11. Aug. 2016 um 13:05 Uhr:
> 
>  > From: Phil <p.stephani2 <at> gmail.com>
>  > Date: Thu, 11 Aug 2016 11:55:05 -0700
>  >
>  >
>  > Build is from the emacs-25 branch.
>  >
>  > $ ./emacs -Q -eval "(progn (defface test nil \"\`\\240'\") (customize-face 'test))"
>  >
>  > character.h:703: Emacs fatal error: assertion failed: CHAR_VALID_P (ch)
>  > Fatal error 6: Aborted
>  >
>  > I think this is serious enough to be release-blocking. Seen in the wild
>  > with older versions of show-wspace.el.
> 
>  Please show the real-life example where this rears its ugly head. The
>  recipe (which is appreciated) is obscure enough to be easily avoided,
>  so it doesn't yet convince me this should block a release. There's
>  always one more crash out there.
> 
> Ubuntu Trusty Tahr (supported until 2019) contains a package emacs-goodies-el, which contains a file
> show-wspace.el, which contains a face with the docstring "*Face for highlighting non-breaking spaces
> (`\240')in Font-Lock mode." Attempting to customize that face leads to the segfault. 

John, do you want us to wait with the next RC until this is fixed?




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

Previous Next


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