From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: ofv@wanadoo.es (Oscar Fuentes) Newsgroups: gmane.emacs.bugs Subject: bug#7181: 24.0.50; args-out-of-range while reverting C++ header file Date: Sat, 09 Oct 2010 06:30:32 +0200 Message-ID: <87zkuo2djr.fsf@telefonica.net> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: dough.gmane.org 1286599765 10832 80.91.229.12 (9 Oct 2010 04:49:25 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Sat, 9 Oct 2010 04:49:25 +0000 (UTC) To: 7181@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sat Oct 09 06:49:22 2010 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1P4RMz-0004Qt-TG for geb-bug-gnu-emacs@m.gmane.org; Sat, 09 Oct 2010 06:49:18 +0200 Original-Received: from localhost ([127.0.0.1]:34602 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1P4RG4-0003Jc-TW for geb-bug-gnu-emacs@m.gmane.org; Sat, 09 Oct 2010 00:42:08 -0400 Original-Received: from [140.186.70.92] (port=51890 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1P4RFu-0003JI-NK for bug-gnu-emacs@gnu.org; Sat, 09 Oct 2010 00:42:00 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1P4RFt-0005Az-1A for bug-gnu-emacs@gnu.org; Sat, 09 Oct 2010 00:41:58 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:50692) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1P4RFs-0005Am-Tn for bug-gnu-emacs@gnu.org; Sat, 09 Oct 2010 00:41:56 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.69) (envelope-from ) id 1P4R2P-0000od-S8; Sat, 09 Oct 2010 00:28:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: ofv@wanadoo.es (Oscar Fuentes) Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-To: owner@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 09 Oct 2010 04:28:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 7181 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Original-Received: via spool by submit@debbugs.gnu.org id=B.12865984533127 (code B ref -1); Sat, 09 Oct 2010 04:28:01 +0000 Original-Received: (at submit) by debbugs.gnu.org; 9 Oct 2010 04:27:33 +0000 Original-Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1P4R1x-0000oO-33 for submit@debbugs.gnu.org; Sat, 09 Oct 2010 00:27:33 -0400 Original-Received: from eggs.gnu.org ([140.186.70.92]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1P4R1t-0000oJ-U7 for submit@debbugs.gnu.org; Sat, 09 Oct 2010 00:27:31 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1P4R55-0003qD-1g for submit@debbugs.gnu.org; Sat, 09 Oct 2010 00:30:48 -0400 Original-Received: from lists.gnu.org ([199.232.76.165]:60068) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1P4R54-0003q2-V1 for submit@debbugs.gnu.org; Sat, 09 Oct 2010 00:30:47 -0400 Original-Received: from [140.186.70.92] (port=51456 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1P4R50-0002FC-9m for bug-gnu-emacs@gnu.org; Sat, 09 Oct 2010 00:30:46 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1P4R4v-0003ma-6z for bug-gnu-emacs@gnu.org; Sat, 09 Oct 2010 00:30:42 -0400 Original-Received: from impaqm3.telefonica.net ([213.4.138.3]:45416) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1P4R4u-0003lc-Pz for bug-gnu-emacs@gnu.org; Sat, 09 Oct 2010 00:30:37 -0400 Original-Received: from IMPmailhost1.adm.correo ([10.20.102.38]) by IMPaqm3.telefonica.net with bizsmtp id GUPM1f0070piX6q3PUWa6N; Sat, 09 Oct 2010 06:30:34 +0200 Original-Received: from qcore ([83.52.52.115]) by IMPmailhost1.adm.correo with BIZ IMP id GUWY1f00G2V89Bn1hUWZvQ; Sat, 09 Oct 2010 06:30:34 +0200 X-Brightmail-Tracker: AAAAAA== X-TE-authinfo: authemail="981711563$telefonica.net" |auth_email="981711563@telefonica.net" X-TE-AcuTerraCos: auth_cuTerraCos="cosuitnetc01" X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6, seldom 2.4 (older, 4) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list Resent-Date: Sat, 09 Oct 2010 00:28:01 -0400 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) 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: , Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:40779 Archived-At: This bug report will be sent to the Free Software Foundation, not to your local site managers! Please write in English if possible, because the Emacs maintainers usually do not have translators to read other languages for them. Your bug report will be posted to the bug-gnu-emacs@gnu.org mailing list, and to the gnu.emacs.bug news group. Please describe exactly what actions triggered the bug and the precise symptoms of the bug. If you can, give a recipe starting from `emacs -Q': emacs -Q C-x C-f some-moderately-big-header-file.h M-x revert-buffer Lisp error: (args-out-of-range 580 36722) The buffer is left semi-reverted, on an edited state. Doing a M-x revert-buffer again works ok. Setting debug-on-error to t shows this: Debugger entered--Lisp error: (args-out-of-range 580 36722) remove-text-properties(580 36722 (category)) c-clear-char-property-with-value-function(1 36722 category c-cpp-delimiter) c-neutralize-syntax-in-and-mark-CPP(174 174 36141) c-after-change(174 174 36141) insert-file-contents("/home/oscar/dev/idb/lp0/ffi.h" t nil nil t) revert-buffer(t) call-interactively(revert-buffer t nil) execute-extended-command(nil) call-interactively(execute-extended-command nil nil) If Emacs crashed, and you have the Emacs process in the gdb debugger, please include the output from the following gdb commands: `bt full' and `xbacktrace'. For information about debugging Emacs, please read the file /usr/local/share/emacs/24.0.50/etc/DEBUG. In GNU Emacs 24.0.50.1 (x86_64-unknown-linux-gnu, X toolkit) of 2010-09-16 on qcore Windowing system distributor `The X.Org Foundation', version 11.0.60900000 configured using `configure '--without-toolkit-scroll-bars' '--with-x-toolkit=lucid'' Important settings: value of $LC_ALL: nil value of $LC_COLLATE: nil value of $LC_CTYPE: nil value of $LC_MESSAGES: nil value of $LC_MONETARY: nil value of $LC_NUMERIC: nil value of $LC_TIME: nil value of $LANG: nil value of $XMODIFIERS: nil locale-coding-system: nil default enable-multibyte-characters: t Major mode: Debugger Minor modes in effect: tooltip-mode: t mouse-wheel-mode: t tool-bar-mode: t menu-bar-mode: t file-name-shadow-mode: t global-font-lock-mode: t font-lock-mode: t blink-cursor-mode: t auto-composition-mode: t auto-encryption-mode: t auto-compression-mode: t line-number-mode: t transient-mark-mode: t Recent input: C-x C-f f f i . h M-x r e v e r t SPC b u f f e r y e s M-x y e s SPC C-_ M-x s e t SPC v a r i d e b u o n e r r t M-x r e v e r t SPC b u f f e r y e s M-x r e v e r t SPC b u f f e r y e s C-SPC M-w Recent messages: For information about GNU Emacs and the GNU system, type C-h C-a. Loading vc-git...done c-clear-char-property-with-value-function: Args out of range: 580, 36722 Undo! Entering debugger... Mark set Load-path shadows: None found. Features: (shadow sort gnus-util mail-extr message sendmail rfc822 mml mml-sec mm-decode mm-bodies mm-encode mail-parse rfc2231 rfc2047 rfc2045 ietf-drums mm-util mail-prsvr mailabbrev mail-utils gmm-utils mailheader emacsbug help-mode view debug cus-edit wid-edit cus-start cus-load help-fns vc-git cc-mode cc-fonts easymenu cc-menus cc-cmds cc-styles cc-align cc-engine cc-vars cc-defs regexp-opt tooltip ediff-hook vc-hooks lisp-float-type mwheel x-win x-dnd tool-bar dnd fontset image fringe lisp-mode register page menu-bar rfn-eshadow timer select scroll-bar mldrag mouse jit-lock font-lock syntax facemenu font-core frame cham georgian utf-8-lang misc-lang vietnamese tibetan thai tai-viet lao korean japanese hebrew greek romanian slovak czech european ethiopic indian cyrillic chinese case-table epa-hook jka-cmpr-hook help simple abbrev loaddefs button minibuffer faces cus-face files text-properties overlay md5 base64 format env code-pages mule custom widget hashtable-print-readable backquote make-network-process dynamic-setting font-render-setting x-toolkit x multi-tty emacs)