From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Philipp Stephani Newsgroups: gmane.emacs.bugs Subject: bug#24206: 25.1; Curly quotes generate invalid strings, leading to a segfault Date: Thu, 11 Aug 2016 23:51:41 +0000 Message-ID: References: <83y443dqbv.fsf@gnu.org> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: multipart/alternative; boundary=001a11c183d83375180539d47326 X-Trace: blaine.gmane.org 1470959539 15547 195.159.176.226 (11 Aug 2016 23:52:19 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Thu, 11 Aug 2016 23:52:19 +0000 (UTC) Cc: 24206@debbugs.gnu.org To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Fri Aug 12 01:52:15 2016 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bXzlm-0003t4-Sg for geb-bug-gnu-emacs@m.gmane.org; Fri, 12 Aug 2016 01:52:15 +0200 Original-Received: from localhost ([::1]:50926 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bXzlj-0005bV-TS for geb-bug-gnu-emacs@m.gmane.org; Thu, 11 Aug 2016 19:52:11 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:39246) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bXzld-0005bO-9D for bug-gnu-emacs@gnu.org; Thu, 11 Aug 2016 19:52:06 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bXzla-0003FN-3f for bug-gnu-emacs@gnu.org; Thu, 11 Aug 2016 19:52:05 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:56794) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bXzla-0003FJ-0D for bug-gnu-emacs@gnu.org; Thu, 11 Aug 2016 19:52:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1bXzlZ-00040K-NY for bug-gnu-emacs@gnu.org; Thu, 11 Aug 2016 19:52:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Philipp Stephani Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 11 Aug 2016 23:52:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 24206 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 24206-submit@debbugs.gnu.org id=B24206.147095951915382 (code B ref 24206); Thu, 11 Aug 2016 23:52:01 +0000 Original-Received: (at 24206) by debbugs.gnu.org; 11 Aug 2016 23:51:59 +0000 Original-Received: from localhost ([127.0.0.1]:54506 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bXzlW-000402-Vb for submit@debbugs.gnu.org; Thu, 11 Aug 2016 19:51:59 -0400 Original-Received: from mail-oi0-f46.google.com ([209.85.218.46]:32912) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bXzlV-0003zp-Ru for 24206@debbugs.gnu.org; Thu, 11 Aug 2016 19:51:58 -0400 Original-Received: by mail-oi0-f46.google.com with SMTP id c15so15359746oig.0 for <24206@debbugs.gnu.org>; Thu, 11 Aug 2016 16:51:57 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=7FOmjkYTWDjSxxj4eo7cRE3dO26mRYt/+moI4FFu9GQ=; b=yZ9QIFCo7DNIvwB6nk3tgui35b/xkH2xxJ2rg902lIg2PyyhygzlQMBZdk4tyIhdi3 NOZajoyWPowXUVLz0958eD5RUCkx3koVyg3w4ytoJaMYk32VsF1P0ySSzSY0+y+KSRD1 Inn/CV83dNCWhy2gWGhOr56D2XRQugF2YFjklftx+Zn4Ag2KDcd9WIYqL32USNa5nXYl H5NSbRB5L0b53grMDKqWPsxE7LR7k85D55UDXNQisoLbyk9JmNsgNygTvqnCP0ptgEhJ bJrbM1swWDLVTYVRo2TJjlQq/E9YpdN7BQx46A40sJU8F1isfb8BmWyOGbM8j6X/SNUQ EBUw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=7FOmjkYTWDjSxxj4eo7cRE3dO26mRYt/+moI4FFu9GQ=; b=e8AekA+CXGWYpcyuWWb0bvuqmH4C/PX5mzcwcGEQdf0vfJMaZN9vYDMEwRWkqavxpL 4GRF6CzngPjWscsqy9w9sYfWeJJXb9eh9gvKTk11/BO5nro5bkhNKNA9vcYK+bFEtlbb IULUKm1rpd/44pxuYpGf/9EglQ0Nu/9EPEwjoebuPNVPaFNCyK8sifoyMV/OPs/2gpFd tOWKlPXoISgnkCNthDG7hmG+lf3uQR4MfNMyk9/y+vCeQKwtu14pngiz3LNHJFBCyklb 7LQFcF4Cv33alX+ae+F/+kFbQeVAFiYr+yyKbw/tjqKfO/RNdWTVoDtOLWUcUcohqWeR 8HDg== X-Gm-Message-State: AEkoouuk76uIO4ASciCn+MvlH0WjB6IztX/XZJXdT26al++gBCF3IlIPTcsEvnU8fe2IfI6VHlNCiffMGZxLDA== X-Received: by 10.202.236.146 with SMTP id k140mr6627085oih.191.1470959512153; Thu, 11 Aug 2016 16:51:52 -0700 (PDT) In-Reply-To: <83y443dqbv.fsf@gnu.org> X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 208.118.235.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.org gmane.emacs.bugs:122118 Archived-At: --001a11c183d83375180539d47326 Content-Type: text/plain; charset=UTF-8 Eli Zaretskii schrieb am Do., 11. Aug. 2016 um 13:05 Uhr: > > From: Phil > > 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. --001a11c183d83375180539d47326 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable


Eli Za= retskii <eliz@gnu.org> schrieb am= Do., 11. Aug. 2016 um 13:05=C2=A0Uhr:
> From: Phil <p.stephani2@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.=C2=A0 Seen in t= he wild
> with older versions of show-wspace.el.

Please show the real-life example where this rears its ugly head.=C2=A0 The=
recipe (which is appreciated) is obscure enough to be easily avoided,
so it doesn't yet convince me this should block a release.=C2=A0 There&= #39;s
always one more crash out there.


Ubuntu Trusty Tahr (supported until 20= 19) contains a package emacs-goodies-el, which contains a file show-wspace.= el, which contains a face with the docstring "*Face for highlighting n= on-breaking spaces (`\240')in Font-Lock mode." Attempting to custo= mize that face leads to the segfault.=C2=A0=
--001a11c183d83375180539d47326--