GNU bug report logs - #15611
24.3; "args out of range" error in C mode fontification

Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.

Package: emacs,cc-mode; Reported by: Gareth Rees <gdr@HIDDEN>; dated Mon, 14 Oct 2013 17:28:02 UTC; Maintainer for emacs is bug-gnu-emacs@HIDDEN.
Disconnected #15611 from all other report(s). Request was from Glenn Morris <rgm@HIDDEN> to control <at> debbugs.gnu.org. Full text available.
Merged 15611 16695. Request was from Glenn Morris <rgm@HIDDEN> to control <at> debbugs.gnu.org. Full text available.

Message received at submit <at> debbugs.gnu.org:


Received: (at submit) by debbugs.gnu.org; 14 Oct 2013 17:27:37 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Mon Oct 14 13:27:37 2013
Received: from localhost ([127.0.0.1]:49201 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.80)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1VVlvc-0007m0-LB
	for submit <at> debbugs.gnu.org; Mon, 14 Oct 2013 13:27:36 -0400
Received: from eggs.gnu.org ([208.118.235.92]:60881)
 by debbugs.gnu.org with esmtp (Exim 4.80)
 (envelope-from <gdr@HIDDEN>) id 1VVlva-0007ld-JW
 for submit <at> debbugs.gnu.org; Mon, 14 Oct 2013 13:27:35 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
 (envelope-from <gdr@HIDDEN>) id 1VVlvL-0005Mh-PS
 for submit <at> debbugs.gnu.org; Mon, 14 Oct 2013 13:27:29 -0400
X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org
X-Spam-Level: 
X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00 autolearn=disabled
 version=3.3.2
Received: from lists.gnu.org ([2001:4830:134:3::11]:36017)
 by eggs.gnu.org with esmtp (Exim 4.71)
 (envelope-from <gdr@HIDDEN>) id 1VVlvL-0005Md-MF
 for submit <at> debbugs.gnu.org; Mon, 14 Oct 2013 13:27:19 -0400
Received: from eggs.gnu.org ([2001:4830:134:3::10]:34312)
 by lists.gnu.org with esmtp (Exim 4.71)
 (envelope-from <gdr@HIDDEN>) id 1VVlvE-00068h-9E
 for bug-gnu-emacs@HIDDEN; Mon, 14 Oct 2013 13:27:19 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
 (envelope-from <gdr@HIDDEN>) id 1VVlv6-0005JR-SI
 for bug-gnu-emacs@HIDDEN; Mon, 14 Oct 2013 13:27:12 -0400
Received: from raven.ravenbrook.com ([94.229.129.33]:53473)
 by eggs.gnu.org with esmtp (Exim 4.71)
 (envelope-from <gdr@HIDDEN>) id 1VVlv6-0005Hz-Jp
 for bug-gnu-emacs@HIDDEN; Mon, 14 Oct 2013 13:27:04 -0400
Received: from [172.30.64.198] (ravenbrook.nsdsl.net [80.248.191.199])
 (authenticated bits=0)
 by raven.ravenbrook.com (8.14.7/8.14.5) with ESMTP id r9EHQuN5088340
 (version=TLSv1/SSLv3 cipher=AES128-SHA bits=128 verify=NO);
 Mon, 14 Oct 2013 18:26:57 +0100 (BST)
 (envelope-from gdr@HIDDEN)
X-Authentication-Warning: raven.ravenbrook.com: Host ravenbrook.nsdsl.net
 [80.248.191.199] claimed to be [172.30.64.198]
From: Gareth Rees <gdr@HIDDEN>
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: quoted-printable
Date: Mon, 14 Oct 2013 18:26:48 +0100
Subject: 24.3; "args out of range" error in C mode fontification
To: bug-gnu-emacs@HIDDEN
Message-Id: <24EDAAEE-E76C-4725-B254-0F72735E2A85@HIDDEN>
Mime-Version: 1.0 (Mac OS X Mail 6.6 \(1510\))
X-Mailer: Apple Mail (2.1510)
X-Greylist: Sender succeeded SMTP AUTH, not delayed by milter-greylist-4.4.3
 (raven.ravenbrook.com [94.229.129.33]); Mon, 14 Oct 2013 18:26:57 +0100 (BST)
X-detected-operating-system: by eggs.gnu.org: FreeBSD 8.x
X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address
 (bad octet value).
X-Received-From: 2001:4830:134:3::11
X-Spam-Score: -5.0 (-----)
X-Debbugs-Envelope-To: submit
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <http://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <http://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <http://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -5.0 (-----)

In a fresh emacs -Q, I opened the file test.c, which has the following =
contents:

    void a()
    {
    #define b() \
      c \
        d(e, (f)); \
      g
    }

I typed

    M-: (font-lock-fontify-region 1 (point-max)) RET

and the following error was signalled:

    Error during redisplay: (jit-lock-function 1) signaled =
(args-out-of-range 39 55)

I expect C mode not to signal an error in this case.

(I'm running GNU Emacs 24.3.1 (x86_64-apple-darwin, NS =
apple-appkit-1038.36) of 2013-03-13.)

--=20
Gareth Rees=




Acknowledgement sent to Gareth Rees <gdr@HIDDEN>:
New bug report received and forwarded. Copy sent to bug-gnu-emacs@HIDDEN. Full text available.
Report forwarded to bug-gnu-emacs@HIDDEN:
bug#15611; Package emacs. Full text available.
Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.
Last modified: Fri, 31 Oct 2014 17:00:04 UTC

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