From debbugs-submit-bounces@debbugs.gnu.org Fri Nov 07 06:23:09 2014 Received: (at submit) by debbugs.gnu.org; 7 Nov 2014 11:23:09 +0000 Received: from localhost ([127.0.0.1]:52469 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1XmhdE-0000FP-Aa for submit@debbugs.gnu.org; Fri, 07 Nov 2014 06:23:09 -0500 Received: from eggs.gnu.org ([208.118.235.92]:58551) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1XmhdB-0000FD-A8 for submit@debbugs.gnu.org; Fri, 07 Nov 2014 06:23:06 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Xmhd1-0001s5-EM for submit@debbugs.gnu.org; Fri, 07 Nov 2014 06:23:05 -0500 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=0.8 required=5.0 tests=BAYES_50,FREEMAIL_FROM autolearn=disabled version=3.3.2 Received: from lists.gnu.org ([2001:4830:134:3::11]:44921) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Xmhd1-0001s1-BY for submit@debbugs.gnu.org; Fri, 07 Nov 2014 06:22:55 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:60233) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Xmhct-00029z-Lc for bug-gnu-emacs@gnu.org; Fri, 07 Nov 2014 06:22:55 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Xmhck-0001nl-Jk for bug-gnu-emacs@gnu.org; Fri, 07 Nov 2014 06:22:47 -0500 Received: from mxin.ulb.ac.be ([164.15.128.112]:1697) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Xmhck-0001nO-6r for bug-gnu-emacs@gnu.org; Fri, 07 Nov 2014 06:22:38 -0500 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: Ai4KALOqXFSkD4Xx/2dsb2JhbABbvDsBAQEBAQEGl3iEUgEBAQEBfYQnCWokNAEEiQcBFaoHkTWMUAGHXIY4gkaMZQWeGodfhSGJXIF/IIFbPIJ6AQEB Received: from mathsrv4.ulb.ac.be (HELO localhost) ([164.15.133.241]) by smtp.ulb.ac.be with ESMTP; 07 Nov 2014 12:22:37 +0100 From: Nicolas Richard To: bug-gnu-emacs@gnu.org Subject: 24.4.51; assertion violation in set_cache_region after revert-buffer User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3.90 (gnu/linux) Date: Fri, 07 Nov 2014 12:22:29 +0100 Message-ID: <877fz7fe6i.fsf@yahoo.fr> MIME-Version: 1.0 Content-Type: text/plain X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. 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@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -5.0 (-----) Hello, Context : I was looking at an org file which had obviously not been properly decoded (it's an utf8 file, I was seeing raw bytes and the "buffer coding system" in the mode line was blank). So I decided to M-x revert-buffer to see if I could do something with it. That crashed. Here's the backtrace: Breakpoint 1, terminate_due_to_signal (sig=6, backtrace_limit=2147483647) at emacs.c:351 351 signal (sig, SIG_DFL); #0 terminate_due_to_signal (sig=6, backtrace_limit=2147483647) at emacs.c:351 #1 0x0827d8c5 in die (msg=0x83e4420 "c->buffer_beg <= start && end <= c->buffer_end", file=0x83e42b0 "region-cache.c", line=364) at alloc.c:6833 #2 0x08325b0d in set_cache_region (c=0xae3f540, start=8828, end=8835, value=1) at region-cache.c:364 #3 0x08326205 in know_region_cache (buf=0xb01f410, c=0xae3f540, start=8828, end=8835) at region-cache.c:671 #4 0x0825a4bb in find_newline (start=8828, start_byte=8828, end=8836, end_byte=8836, count=1, shortage=0xbffea18c, bytepos=0xbffea190, allow_quit=true) at search.c:812 #5 0x0824d8a0 in Fforward_line (n=1) at cmds.c:138 #6 0x0828f9a9 in Fline_beginning_position (n=2) at editfns.c:772 #7 0x082aaa45 in Ffuncall (nargs=2, args=0xbffea3b0) at eval.c:2812 #8 0x08307b43 in exec_byte_code (bytestr=-9223372036715234836, vector=-6917529027501540868, maxdepth=6, args_template=4611686018569232232, nargs=0, args=0x0) at bytecode.c:916 #9 0x082abf76 in funcall_lambda (fun=-6917529027501540928, nargs=3, arg_vector=0xbffeabb8) at eval.c:3045 #10 0x082aaff8 in Ffuncall (nargs=4, args=0xbffeabb0) at eval.c:2861 #11 0x082a9809 in funcall_nil (nargs=4, args=0xbffeabb0) at eval.c:2363 #12 0x082a9e3e in run_hook_with_args (nargs=4, args=0xbffeabb0, funcall=0x82a97f1 ) at eval.c:2548 #13 0x082a988d in Frun_hook_with_args (nargs=4, args=0xbffeabb0) at eval.c:2409 #14 0x082aa8e9 in Ffuncall (nargs=5, args=0xbffeaba8) at eval.c:2793 #15 0x08307b43 in exec_byte_code (bytestr=-9223372036715217532, vector=-6917529027501523564, maxdepth=12, args_template=771, nargs=3, args=0xbffeb2a8) at bytecode.c:916 #16 0x082ab926 in funcall_lambda (fun=-6917529027501523624, nargs=3, arg_vector=0xbffeb290) at eval.c:2979 #17 0x082aaff8 in Ffuncall (nargs=4, args=0xbffeb288) at eval.c:2861 #18 0x082a9809 in funcall_nil (nargs=4, args=0xbffeb288) at eval.c:2363 #19 0x082a9e3e in run_hook_with_args (nargs=4, args=0xbffeb288, funcall=0x82a97f1 ) at eval.c:2548 #20 0x082a988d in Frun_hook_with_args (nargs=4, args=0xbffeb288) at eval.c:2409 #21 0x08230303 in signal_after_change (charpos=18, lendel=0, lenins=8809) at insdel.c:2084 #22 0x082446ee in Finsert_file_contents (filename=-9223372036495053568, visit=4611686018569232272, beg=4611686018569232232, end=4611686018569232232, replace=4611686018569232272) at fileio.c:4320 #23 0x082aac3f in Ffuncall (nargs=6, args=0xbfffb9c8) at eval.c:2828 #24 0x08307b43 in exec_byte_code (bytestr=-9223372036715877820, vector=-6917529027502183852, maxdepth=8, args_template=514, nargs=2, args=0xbfffc000) at bytecode.c:916 #25 0x082ab926 in funcall_lambda (fun=-6917529027502183912, nargs=2, arg_vector=0xbfffbff0) at eval.c:2979 #26 0x082aaff8 in Ffuncall (nargs=3, args=0xbfffbfe8) at eval.c:2861 #27 0x08307b43 in exec_byte_code (bytestr=-9223372036715878344, vector=-6917529027502184376, maxdepth=12, args_template=514, nargs=2, args=0xbfffc608) at bytecode.c:916 #28 0x082ab926 in funcall_lambda (fun=-6917529027502184436, nargs=2, arg_vector=0xbfffc5f8) at eval.c:2979 #29 0x082aaff8 in Ffuncall (nargs=3, args=0xbfffc5f0) at eval.c:2861 #30 0x08307b43 in exec_byte_code (bytestr=-9223372036715878540, vector=-6917529027502184572, maxdepth=6, args_template=768, nargs=1, args=0xbfffcc60) at bytecode.c:916 #31 0x082ab926 in funcall_lambda (fun=-6917529027502184640, nargs=1, arg_vector=0xbfffcc58) at eval.c:2979 #32 0x082aaff8 in Ffuncall (nargs=2, args=0xbfffcc50) at eval.c:2861 #33 0x082a9247 in Fapply (nargs=2, args=0xbfffcc50) at eval.c:2298 #34 0x082a9fe5 in apply1 (fn=4611686018569233440, arg=-4611686017974323136) at eval.c:2585 #35 0x0829d683 in Fcall_interactively (function=4611686018569233440, record_flag=4611686018573540520, keys=-6917529027254129160) at callint.c:378 #36 0x082aaafc in Ffuncall (nargs=4, args=0xbfffd178) at eval.c:2819 #37 0x08307b43 in exec_byte_code (bytestr=-9223372036715516220, vector=-6917529027501822252, maxdepth=13, args_template=1025, nargs=2, args=0xbfffd7a0) at bytecode.c:916 #38 0x082ab926 in funcall_lambda (fun=-6917529027501822312, nargs=2, arg_vector=0xbfffd790) at eval.c:2979 #39 0x082aaff8 in Ffuncall (nargs=3, args=0xbfffd788) at eval.c:2861 #40 0x08307b43 in exec_byte_code (bytestr=-9223372036715516748, vector=-6917529027501822780, maxdepth=15, args_template=513, nargs=2, args=0xbfffdd98) at bytecode.c:916 #41 0x082ab926 in funcall_lambda (fun=-6917529027501822848, nargs=2, arg_vector=0xbfffdd88) at eval.c:2979 #42 0x082aaff8 in Ffuncall (nargs=3, args=0xbfffdd80) at eval.c:2861 #43 0x082a97b5 in Fapply (nargs=2, args=0xbfffde50) at eval.c:2351 #44 0x082a9fe5 in apply1 (fn=4611686018569508680, arg=-4611686017918257024) at eval.c:2585 #45 0x0829d683 in Fcall_interactively (function=4611686018569508680, record_flag=4611686018569232232, keys=-6917529027254129160) at callint.c:378 #46 0x082aaafc in Ffuncall (nargs=4, args=0xbfffe378) at eval.c:2819 #47 0x08307b43 in exec_byte_code (bytestr=-9223372036715516220, vector=-6917529027501822252, maxdepth=13, args_template=1025, nargs=1, args=0xbfffe978) at bytecode.c:916 #48 0x082ab926 in funcall_lambda (fun=-6917529027501822312, nargs=1, arg_vector=0xbfffe970) at eval.c:2979 #49 0x082aaff8 in Ffuncall (nargs=2, args=0xbfffe968) at eval.c:2861 #50 0x082aa076 in call1 (fn=4611686018569274840, arg1=4611686018569508680) at eval.c:2611 #51 0x081de6c3 in command_loop_1 () at keyboard.c:1559 #52 0x082a56be in internal_condition_case (bfun=0x81ddc39 , handlers=4611686018569278920, hfun=0x81dcf49 ) at eval.c:1348 #53 0x081dd6ed in command_loop_2 (ignore=4611686018569232232) at keyboard.c:1177 #54 0x082a471b in internal_catch (tag=4611686018569275680, func=0x81dd6b2 , arg=4611686018569232232) at eval.c:1112 #55 0x081dd676 in command_loop () at keyboard.c:1156 #56 0x081dc968 in recursive_edit_1 () at keyboard.c:777 #57 0x081dcc1e in Frecursive_edit () at keyboard.c:848 #58 0x081da5b4 in main (argc=2, argv=0xbfffee04) at emacs.c:1646 Lisp Backtrace: "line-beginning-position" (0xbffea3b8) "font-lock-extend-jit-lock-region-after-change" (0xbffeabb8) "run-hook-with-args" (0xbffeabb0) "jit-lock-after-change" (0xbffeb290) "insert-file-contents" (0xbfffb9d0) "revert-buffer-insert-file-contents--default-function" (0xbfffbff0) "revert-buffer--default" (0xbfffc5f8) "revert-buffer" (0xbfffcc58) "call-interactively" (0xbfffd180) "command-execute" (0xbfffd790) "execute-extended-command" (0xbfffdd88) "call-interactively" (0xbfffe380) "command-execute" (0xbfffe970) And some more info : (gdb) frame 2 #2 0x08325b0d in set_cache_region (c=0xae3f540, start=8828, end=8835, value=1) at region-cache.c:364 364 eassert (c->buffer_beg <= start && end <= c->buffer_end); (gdb) p c->buffer_beg $1 = 1 (gdb) p c->buffer_end $2 = 27 FWIW the file which I was reverting certainly is bigger than 27 bytes : (point-max) currently evals to 8626 in that file (and I didn't modify it since the crash). gdb session still alive if needed. The crash happened with GNU Emacs 24.4.51.2 (although I'm reporting it with 24.3.90 because $nogoodreason). Important settings: value of $LANG: fr_FR.UTF-8 locale-coding-system: utf-8-unix -- Nicolas Richard From debbugs-submit-bounces@debbugs.gnu.org Fri Nov 07 08:17:39 2014 Received: (at 18982) by debbugs.gnu.org; 7 Nov 2014 13:17:39 +0000 Received: from localhost ([127.0.0.1]:52510 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1XmjQ2-0004Vr-Hr for submit@debbugs.gnu.org; Fri, 07 Nov 2014 08:17:39 -0500 Received: from mtaout25.012.net.il ([80.179.55.181]:33744) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1XmjPz-0004Vf-Nc for 18982@debbugs.gnu.org; Fri, 07 Nov 2014 08:17:37 -0500 Received: from conversion-daemon.mtaout25.012.net.il by mtaout25.012.net.il (HyperSendmail v2007.08) id <0NEO00M006XDBL00@mtaout25.012.net.il> for 18982@debbugs.gnu.org; Fri, 07 Nov 2014 15:13:06 +0200 (IST) Received: from HOME-C4E4A596F7 ([87.69.4.28]) by mtaout25.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0NEO00E827DT3I90@mtaout25.012.net.il>; Fri, 07 Nov 2014 15:13:06 +0200 (IST) Date: Fri, 07 Nov 2014 15:17:26 +0200 From: Eli Zaretskii Subject: Re: bug#18982: 24.4.51; assertion violation in set_cache_region after revert-buffer In-reply-to: <877fz7fe6i.fsf@yahoo.fr> X-012-Sender: halo1@inter.net.il To: Nicolas Richard Message-id: <83lhnnrvyx.fsf@gnu.org> References: <877fz7fe6i.fsf@yahoo.fr> X-Spam-Score: 1.0 (+) X-Debbugs-Envelope-To: 18982 Cc: 18982@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list Reply-To: Eli Zaretskii List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 1.0 (+) > From: Nicolas Richard > Date: Fri, 07 Nov 2014 12:22:29 +0100 > > Context : I was looking at an org file which had obviously not been > properly decoded (it's an utf8 file, I was seeing raw bytes and the > "buffer coding system" in the mode line was blank). So I decided to M-x > revert-buffer to see if I could do something with it. That crashed. > > Here's the backtrace: > > Breakpoint 1, terminate_due_to_signal (sig=6, backtrace_limit=2147483647) at emacs.c:351 > 351 signal (sig, SIG_DFL); > #0 terminate_due_to_signal (sig=6, backtrace_limit=2147483647) at emacs.c:351 > #1 0x0827d8c5 in die (msg=0x83e4420 "c->buffer_beg <= start && end <= c->buffer_end", > file=0x83e42b0 "region-cache.c", line=364) at alloc.c:6833 > #2 0x08325b0d in set_cache_region (c=0xae3f540, start=8828, end=8835, value=1) at region-cache.c:364 > #3 0x08326205 in know_region_cache (buf=0xb01f410, c=0xae3f540, start=8828, end=8835) at region-cache.c:671 > #4 0x0825a4bb in find_newline (start=8828, start_byte=8828, end=8836, end_byte=8836, count=1, shortage=0xbffea18c, > bytepos=0xbffea190, allow_quit=true) at search.c:812 > #5 0x0824d8a0 in Fforward_line (n=1) at cmds.c:138 > #6 0x0828f9a9 in Fline_beginning_position (n=2) at editfns.c:772 > [...] > Lisp Backtrace: > "line-beginning-position" (0xbffea3b8) > "font-lock-extend-jit-lock-region-after-change" (0xbffeabb8) > "run-hook-with-args" (0xbffeabb0) > "jit-lock-after-change" (0xbffeb290) > "insert-file-contents" (0xbfffb9d0) > "revert-buffer-insert-file-contents--default-function" (0xbfffbff0) > "revert-buffer--default" (0xbfffc5f8) > "revert-buffer" (0xbfffcc58) > "call-interactively" (0xbfffd180) > "command-execute" (0xbfffd790) > "execute-extended-command" (0xbfffdd88) > "call-interactively" (0xbfffe380) > "command-execute" (0xbfffe970) > > > And some more info : > > (gdb) frame 2 > #2 0x08325b0d in set_cache_region (c=0xae3f540, start=8828, end=8835, value=1) at region-cache.c:364 > 364 eassert (c->buffer_beg <= start && end <= c->buffer_end); > (gdb) p c->buffer_beg > $1 = 1 > (gdb) p c->buffer_end > $2 = 27 > > FWIW the file which I was reverting certainly is bigger than 27 bytes : > (point-max) currently evals to 8626 in that file (and I didn't modify it > since the crash). > > gdb session still alive if needed. Thanks. Is this reproducible? If so, could you send a recipe? From debbugs-submit-bounces@debbugs.gnu.org Fri Nov 07 08:46:17 2014 Received: (at 18982) by debbugs.gnu.org; 7 Nov 2014 13:46:17 +0000 Received: from localhost ([127.0.0.1]:52516 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Xmjrl-0005Ft-D2 for submit@debbugs.gnu.org; Fri, 07 Nov 2014 08:46:17 -0500 Received: from mtaout22.012.net.il ([80.179.55.172]:34764) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Xmjrh-0005Ff-7s for 18982@debbugs.gnu.org; Fri, 07 Nov 2014 08:46:14 -0500 Received: from conversion-daemon.a-mtaout22.012.net.il by a-mtaout22.012.net.il (HyperSendmail v2007.08) id <0NEO00C008KSIZ00@a-mtaout22.012.net.il> for 18982@debbugs.gnu.org; Fri, 07 Nov 2014 15:46:11 +0200 (IST) Received: from HOME-C4E4A596F7 ([87.69.4.28]) by a-mtaout22.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0NEO00CXU8WZ8TA0@a-mtaout22.012.net.il>; Fri, 07 Nov 2014 15:46:11 +0200 (IST) Date: Fri, 07 Nov 2014 15:46:03 +0200 From: Eli Zaretskii Subject: Re: bug#18982: 24.4.51; assertion violation in set_cache_region after revert-buffer In-reply-to: <545CC7DC.5010706@yahoo.fr> X-012-Sender: halo1@inter.net.il To: Nicolas Richard Message-id: <83ioirrun8.fsf@gnu.org> MIME-version: 1.0 Content-type: text/plain; charset=windows-1252 Content-transfer-encoding: 8BIT References: <877fz7fe6i.fsf@yahoo.fr> <83lhnnrvyx.fsf@gnu.org> <545CC7DC.5010706@yahoo.fr> X-Spam-Score: 1.0 (+) X-Debbugs-Envelope-To: 18982 Cc: 18982@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list Reply-To: Eli Zaretskii List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 1.0 (+) [Please CC the bug report.] > Date: Fri, 07 Nov 2014 14:23:40 +0100 > From: Nicolas Richard > > Le 07/11/2014 14:17, Eli Zaretskii a écrit : > >> From: Nicolas Richard > >> Date: Fri, 07 Nov 2014 12:22:29 +0100 > >> > >> Context : I was looking at an org file which had obviously not been > >> properly decoded (it's an utf8 file, I was seeing raw bytes and the > >> "buffer coding system" in the mode line was blank). So I decided to M-x > >> revert-buffer to see if I could do something with it. That crashed. > > > > Thanks. Is this reproducible? If so, could you send a recipe? > > Unfortunately I couldn't reproduce. I tried reopening the file in a > fresh session, but it didn't get the decoding wrong (i.e. it correctly > decoded as utf8), and reverting the buffer went fine (I still don't know > if the two are related). To cause it to be incorrectly decoded, you could do this: C-x RET c raw-text RET C-x C-f FILENAME RET If you remember which encoding Emacs decided to use, try that instead of raw-text. From debbugs-submit-bounces@debbugs.gnu.org Fri Nov 07 09:07:35 2014 Received: (at 18982) by debbugs.gnu.org; 7 Nov 2014 14:07:36 +0000 Received: from localhost ([127.0.0.1]:52521 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1XmkCN-0005lc-Fc for submit@debbugs.gnu.org; Fri, 07 Nov 2014 09:07:35 -0500 Received: from mxin.ulb.ac.be ([164.15.128.112]:47104) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1XmkCK-0005lS-VJ for 18982@debbugs.gnu.org; Fri, 07 Nov 2014 09:07:33 -0500 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AocDAF/RXFSkD4Xx/2dsb2JhbAANTrw7AQEBAQEBBpd4gyACgTIBAQEBAYUAAQEEJwsBRQEQCyEWDwkDAgECAUUGDQEHAQGIJwG5BoJrjE4BhzABAQEBAQEBAQEBAQEBAQEBAQEBAQEXhjiCRogTB4RLAQSQBI4Wh1+FIYwRgUWDNgEBAQ Received: from mathsrv4.ulb.ac.be (HELO [172.19.79.241]) ([164.15.133.241]) by smtp.ulb.ac.be with ESMTP; 07 Nov 2014 15:07:32 +0100 Message-ID: <545CD21C.9030104@yahoo.fr> Date: Fri, 07 Nov 2014 15:07:24 +0100 From: Nicolas Richard User-Agent: Mozilla/5.0 (X11; Linux i686; rv:31.0) Gecko/20100101 Thunderbird/31.1.1 MIME-Version: 1.0 To: Eli Zaretskii Subject: Re: bug#18982: 24.4.51; assertion violation in set_cache_region after revert-buffer References: <877fz7fe6i.fsf@yahoo.fr> <83lhnnrvyx.fsf@gnu.org> <545CC7DC.5010706@yahoo.fr> <83ioirrun8.fsf@gnu.org> In-Reply-To: <83ioirrun8.fsf@gnu.org> X-TagToolbar-Keys: D20141107150724725 Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 8bit X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 18982 Cc: 18982@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.3 (--) Le 07/11/2014 14:46, Eli Zaretskii a écrit : > To cause it to be incorrectly decoded, you could do this: > > C-x RET c raw-text RET C-x C-f FILENAME RET > > If you remember which encoding Emacs decided to use, try that instead > of raw-text. hm, I tried from a fresh emacs session and couldn't reproduce, but now I tried on my few-hours-old session and it crashed. Breakpoint 1, terminate_due_to_signal (sig=6, backtrace_limit=2147483647) at emacs.c:351 351 signal (sig, SIG_DFL); (gdb) bt #0 terminate_due_to_signal (sig=6, backtrace_limit=2147483647) at emacs.c:351 #1 0x0827d8c5 in die (msg=0x83e4420 "c->buffer_beg <= start && end <= c->buffer_end", file=0x83e42b0 "region-cache.c", line=364) at alloc.c:6833 #2 0x08325b0d in set_cache_region (c=0xc44c638, start=8828, end=8835, value=1) at region-cache.c:364 #3 0x08326205 in know_region_cache (buf=0xb6758c0, c=0xc44c638, start=8828, end=8835) at region-cache.c:671 #4 0x0825a4bb in find_newline (start=8828, start_byte=8828, end=8836, end_byte=8836, count=1, shortage=0xbffeadbc, bytepos=0xbffeadc0, allow_quit=true) at search.c:812 #5 0x0824d8a0 in Fforward_line (n=1) at cmds.c:138 #6 0x0828f9a9 in Fline_beginning_position (n=2) at editfns.c:772 (gdb) frame 2 #2 0x08325b0d in set_cache_region (c=0xc44c638, start=8828, end=8835, value=1) at region-cache.c:364 364 eassert (c->buffer_beg <= start && end <= c->buffer_end); (gdb) p c->buffer_beg $1 = 1 (gdb) p c->buffer_end $2 = 27 Completely similar. I'll try to come up with a recipe but unless it's straightforward I probably will have to delay this by a few days. Nicolas. From debbugs-submit-bounces@debbugs.gnu.org Fri Nov 07 09:27:47 2014 Received: (at 18982) by debbugs.gnu.org; 7 Nov 2014 14:27:47 +0000 Received: from localhost ([127.0.0.1]:52526 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1XmkVu-0006E9-Dw for submit@debbugs.gnu.org; Fri, 07 Nov 2014 09:27:46 -0500 Received: from mxin.ulb.ac.be ([164.15.128.112]:31438) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1XmkVq-0006Dx-6x for 18982@debbugs.gnu.org; Fri, 07 Nov 2014 09:27:42 -0500 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AogDAA3WXFSkD4Xx/2dsb2JhbAANTodBtHoBAQEBAQEGl3iDIAKBMgEBAQEBhQABAQQjVQEQCQIhFgsCAgkDAgECAUUGDQEHAQGIJwGdGZtneIFzjFABhzABAQEBAQEBAQEBAQEBAQEBAQEBAQEXhjiCRogTB4J3gVQBBJAEhDyBUogIgTKGLYUhhVOGPoFFgzYBAQE Received: from mathsrv4.ulb.ac.be (HELO [172.19.79.241]) ([164.15.133.241]) by smtp.ulb.ac.be with ESMTP; 07 Nov 2014 15:27:21 +0100 Message-ID: <545CD6C2.7060809@yahoo.fr> Date: Fri, 07 Nov 2014 15:27:14 +0100 From: Nicolas Richard User-Agent: Mozilla/5.0 (X11; Linux i686; rv:31.0) Gecko/20100101 Thunderbird/31.1.1 MIME-Version: 1.0 To: Eli Zaretskii Subject: Re: bug#18982: 24.4.51; assertion violation in set_cache_region after revert-buffer References: <877fz7fe6i.fsf@yahoo.fr> <83lhnnrvyx.fsf@gnu.org> <545CC7DC.5010706@yahoo.fr> <83ioirrun8.fsf@gnu.org> In-Reply-To: <83ioirrun8.fsf@gnu.org> X-TagToolbar-Keys: D20141107152714424 Content-Type: multipart/mixed; boundary="------------060203020502000900010009" X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 18982 Cc: 18982@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.3 (--) This is a multi-part message in MIME format. --------------060203020502000900010009 Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 8bit Le 07/11/2014 14:46, Eli Zaretskii a écrit : > To cause it to be incorrectly decoded, you could do this: > > C-x RET c raw-text RET C-x C-f FILENAME RET > > If you remember which encoding Emacs decided to use, try that instead > of raw-text. Thanks to your help, it was in fact very easy to reproduce : the trick is the use raw-text-unix as encoding. Here's the full recipe : emacs -Q C-x RET c raw-text-unix C-x C-f M-x org-mode M-x revert-buffer RET and confirm. boom. Nicolas. --------------060203020502000900010009 Content-Type: text/plain; charset=UTF-8; name="testfile2" Content-Transfer-Encoding: 8bit Content-Disposition: attachment; filename="testfile2" * . * ? " , , " ( , , ' ) : , () = , , . , : , , , , , , , (= ^ ) = = / , = = ( ), ( ) = () " ", . ' : . % ' . (). % , % , % . : , . / (: ) (: . . ) ** : , ( ) (, .) ( ?) . % . ** ? ? ' (.. ) . . , , , , . : - ( ) - - ( ) - , . : *** / "" => . *** " " () , ' ' ( ) *** *** (, ) . *** " " : *** (.. ), " " ( ) *** ' , . ' . *** : . ** () . , ( ) (/ν_() ) . ... *** , : = +/ = -/ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - | | | | | | | | | | | | | | | | | | | | | | | | | | '' '', . ( )... "" ( ) : . ' ( ). . ( ) *** ("" "" ) " " ( : - " ") **** \(\) () ' ' ' \{Φâ‚, ..., Φₚ}. = ∑ⱼ₌â‚ʲâ¼áµ– â±¼ Φⱼ â±¼ ( ' .) , > . \( = Φ \). \(\) , . - ' ( ' , *-) - ' - \(Φ\) ( / \(\) , \(\) () ) \( = β\) ( = Φ ). \(β\) \(\) \(\) ( ) ( "") #+_ . . , , , , , , (. , ), (.. , , , ...). , , . , - , , (?) #+_ - ' - : ' " " - **** : "" "" ("" ) × ' () ( ) ' ( , , .) ( , , .) : ( β) ( , , , , . . . ) **** - - ' Φⱼ "" () - (, , ...) "" **** = ( = , ..., ) ( ) **** ... **** ( ) / / ' () ( , << ), / ' ! ' ' ' (/) / . --------------060203020502000900010009-- From debbugs-submit-bounces@debbugs.gnu.org Fri Nov 07 09:49:28 2014 Received: (at 18982) by debbugs.gnu.org; 7 Nov 2014 14:49:28 +0000 Received: from localhost ([127.0.0.1]:52536 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Xmkqt-0006kM-Rd for submit@debbugs.gnu.org; Fri, 07 Nov 2014 09:49:28 -0500 Received: from mtaout27.012.net.il ([80.179.55.183]:46436) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Xmkqr-0006kA-IY for 18982@debbugs.gnu.org; Fri, 07 Nov 2014 09:49:26 -0500 Received: from conversion-daemon.mtaout27.012.net.il by mtaout27.012.net.il (HyperSendmail v2007.08) id <0NEO00300B0DKE00@mtaout27.012.net.il> for 18982@debbugs.gnu.org; Fri, 07 Nov 2014 16:44:33 +0200 (IST) Received: from HOME-C4E4A596F7 ([87.69.4.28]) by mtaout27.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0NEO00LY5BM9XC70@mtaout27.012.net.il>; Fri, 07 Nov 2014 16:44:33 +0200 (IST) Date: Fri, 07 Nov 2014 16:49:14 +0200 From: Eli Zaretskii Subject: Re: bug#18982: 24.4.51; assertion violation in set_cache_region after revert-buffer In-reply-to: <545CD6C2.7060809@yahoo.fr> X-012-Sender: halo1@inter.net.il To: Nicolas Richard Message-id: <83egtfrrpx.fsf@gnu.org> References: <877fz7fe6i.fsf@yahoo.fr> <83lhnnrvyx.fsf@gnu.org> <545CC7DC.5010706@yahoo.fr> <83ioirrun8.fsf@gnu.org> <545CD6C2.7060809@yahoo.fr> X-Spam-Score: 1.0 (+) X-Debbugs-Envelope-To: 18982 Cc: 18982@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list Reply-To: Eli Zaretskii List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 1.0 (+) > Date: Fri, 07 Nov 2014 15:27:14 +0100 > From: Nicolas Richard > CC: 18982@debbugs.gnu.org > > emacs -Q > C-x RET c raw-text-unix > C-x C-f > M-x org-mode > M-x revert-buffer RET and confirm. > > boom. This doesn't crash here. Please show all the details collected by report-emacs-bug for this binary, so I could see how mine is different. From debbugs-submit-bounces@debbugs.gnu.org Fri Nov 07 10:34:10 2014 Received: (at 18982) by debbugs.gnu.org; 7 Nov 2014 15:34:10 +0000 Received: from localhost ([127.0.0.1]:53007 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1XmlYA-0007yJ-4y for submit@debbugs.gnu.org; Fri, 07 Nov 2014 10:34:10 -0500 Received: from mxin.ulb.ac.be ([164.15.128.112]:28947) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1XmlY7-0007yA-RS for 18982@debbugs.gnu.org; Fri, 07 Nov 2014 10:34:08 -0500 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AowDAEXlXFSkD4Xx/2dsb2JhbAANToNiWbgAAQEBAQEBBpNBh1cCgTIBAQEBAYUAAQEEMgE2AQ4BEAsUAQwWDwkDAgECAUUGDQEFAgEBGogNAQO5MYJrjFABhzABAQEBAQEBAQEBAQEBAQEBAQEBAQEXhjiCRoVZgWkBAUoFB4RLAQSFHQWMXIoQggyBMoNOgl+FIYJsiG8EHBaBRWuBD4E8AQEB Received: from mathsrv4.ulb.ac.be (HELO [172.19.79.241]) ([164.15.133.241]) by smtp.ulb.ac.be with ESMTP; 07 Nov 2014 16:34:06 +0100 Message-ID: <545CE667.7040001@yahoo.fr> Date: Fri, 07 Nov 2014 16:33:59 +0100 From: Nicolas Richard User-Agent: Mozilla/5.0 (X11; Linux i686; rv:31.0) Gecko/20100101 Thunderbird/31.1.1 MIME-Version: 1.0 To: Eli Zaretskii Subject: Re: bug#18982: 24.4.51; assertion violation in set_cache_region after revert-buffer References: <877fz7fe6i.fsf@yahoo.fr> <83lhnnrvyx.fsf@gnu.org> <545CC7DC.5010706@yahoo.fr> <83ioirrun8.fsf@gnu.org> <545CD6C2.7060809@yahoo.fr> <83egtfrrpx.fsf@gnu.org> In-Reply-To: <83egtfrrpx.fsf@gnu.org> X-TagToolbar-Keys: D20141107163359594 Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 8bit X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 18982 Cc: 18982@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.3 (--) Le 07/11/2014 15:49, Eli Zaretskii a écrit : >> Date: Fri, 07 Nov 2014 15:27:14 +0100 >> From: Nicolas Richard >> CC: 18982@debbugs.gnu.org >> >> emacs -Q >> C-x RET c raw-text-unix >> C-x C-f >> M-x org-mode >> M-x revert-buffer RET and confirm. >> >> boom. > > This doesn't crash here. Please show all the details collected by > report-emacs-bug for this binary, so I could see how mine is > different. Here it is (from a fresh bootstrap-from-clean-tree against latest bzr emacs-24 -- I also checked that the crash still occurs) : In GNU Emacs 24.4.51.1 (i686-pc-linux-gnu, X toolkit, Xaw3d scroll bars) of 2014-11-07 on localhost Repository revision: 117680 michael.albinus@gmx.de-20141107144534-2j91njhecfs2d9r4 Windowing system distributor `The X.Org Foundation', version 11.0.11304000 Configured using: `configure --with-x-toolkit=lucid --enable-checking --with-wide-int 'CFLAGS= -O0 -g3'' Important settings: value of $LANG: fr_FR.UTF-8 locale-coding-system: utf-8-unix Major mode: Lisp Interaction Minor modes in effect: tooltip-mode: t electric-indent-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 messages: For information about GNU Emacs and the GNU system, type C-h C-a. Load-path shadows: None found. Features: (shadow sort gnus-util mail-extr emacsbug message format-spec rfc822 mml easymenu mml-sec mm-decode mm-bodies mm-encode mail-parse rfc2231 mailabbrev gmm-utils mailheader sendmail rfc2047 rfc2045 ietf-drums mm-util help-fns mail-prsvr mail-utils time-date tooltip electric uniquify ediff-hook vc-hooks lisp-float-type mwheel x-win x-dnd tool-bar dnd fontset image regexp-opt fringe tabulated-list newcomment lisp-mode prog-mode register page menu-bar rfn-eshadow timer select scroll-bar 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 minibuffer nadvice loaddefs button faces cus-face macroexp files text-properties overlay sha1 md5 base64 format env code-pages mule custom widget hashtable-print-readable backquote make-network-process dbusbind gfilenotify dynamic-setting system-font-setting font-render-setting x-toolkit x multi-tty emacs) Memory information: ((conses 16 71944 6703) (symbols 40 17821 0) (miscs 36 44 78) (strings 16 10068 6123) (string-bytes 1 272308) (vectors 12 9047) (vector-slots 8 390507 11861) (floats 8 67 64) (intervals 36 176 30) (buffers 828 12) (heap 1024 14502 1463)) From debbugs-submit-bounces@debbugs.gnu.org Fri Nov 07 10:44:02 2014 Received: (at 18982) by debbugs.gnu.org; 7 Nov 2014 15:44:02 +0000 Received: from localhost ([127.0.0.1]:53019 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Xmlhh-0008FC-SC for submit@debbugs.gnu.org; Fri, 07 Nov 2014 10:44:02 -0500 Received: from mtaout27.012.net.il ([80.179.55.183]:59819) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Xmlhe-0008Ei-B3 for 18982@debbugs.gnu.org; Fri, 07 Nov 2014 10:43:59 -0500 Received: from conversion-daemon.mtaout27.012.net.il by mtaout27.012.net.il (HyperSendmail v2007.08) id <0NEO00G00E1Z1I00@mtaout27.012.net.il> for 18982@debbugs.gnu.org; Fri, 07 Nov 2014 17:39:07 +0200 (IST) Received: from HOME-C4E4A596F7 ([87.69.4.28]) by mtaout27.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0NEO0085RE57L670@mtaout27.012.net.il>; Fri, 07 Nov 2014 17:39:07 +0200 (IST) Date: Fri, 07 Nov 2014 17:43:46 +0200 From: Eli Zaretskii Subject: Re: bug#18982: 24.4.51; assertion violation in set_cache_region after revert-buffer In-reply-to: <545CE667.7040001@yahoo.fr> X-012-Sender: halo1@inter.net.il To: Nicolas Richard Message-id: <834mubrp71.fsf@gnu.org> References: <877fz7fe6i.fsf@yahoo.fr> <83lhnnrvyx.fsf@gnu.org> <545CC7DC.5010706@yahoo.fr> <83ioirrun8.fsf@gnu.org> <545CD6C2.7060809@yahoo.fr> <83egtfrrpx.fsf@gnu.org> <545CE667.7040001@yahoo.fr> X-Spam-Score: 1.0 (+) X-Debbugs-Envelope-To: 18982 Cc: 18982@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list Reply-To: Eli Zaretskii List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 1.0 (+) > Date: Fri, 07 Nov 2014 16:33:59 +0100 > From: Nicolas Richard > CC: 18982@debbugs.gnu.org > > > This doesn't crash here. Please show all the details collected by > > report-emacs-bug for this binary, so I could see how mine is > > different. > > Here it is (from a fresh bootstrap-from-clean-tree against latest bzr emacs-24 > -- I also checked that the crash still occurs) : Thanks. The only significant difference is --with-wide-int. Can you try rebuilding without it? From debbugs-submit-bounces@debbugs.gnu.org Fri Nov 07 11:07:32 2014 Received: (at 18982) by debbugs.gnu.org; 7 Nov 2014 16:07:32 +0000 Received: from localhost ([127.0.0.1]:53052 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Xmm4R-0000Pd-Hz for submit@debbugs.gnu.org; Fri, 07 Nov 2014 11:07:31 -0500 Received: from mxin.ulb.ac.be ([164.15.128.112]:62073) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Xmm4P-0000PQ-FO for 18982@debbugs.gnu.org; Fri, 07 Nov 2014 11:07:30 -0500 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AowDAHjtXFSkD4Xx/2dsb2JhbAANToNiWbgAAQEBAQEBBoVcjWWHVwKBMwEBAQEBhQABAQR4ARALFAEMFg8CBwMCAQIBRQYNAQUCAQGIJwEDuTyCa4xLAYcwAQEBAQEBAQEBAQEBAQEBAQEBAQEBF4Y4gkaFWYIfChEHCYRCAQSFHQWKYoF6gkKBUoV8ggyBMoNOgl+FIYJsiSWBRWuCSwEBAQ Received: from mathsrv4.ulb.ac.be (HELO [172.19.79.241]) ([164.15.133.241]) by smtp.ulb.ac.be with ESMTP; 07 Nov 2014 17:07:28 +0100 Message-ID: <545CEE39.2020901@yahoo.fr> Date: Fri, 07 Nov 2014 17:07:21 +0100 From: Nicolas Richard User-Agent: Mozilla/5.0 (X11; Linux i686; rv:31.0) Gecko/20100101 Thunderbird/31.1.1 MIME-Version: 1.0 To: Eli Zaretskii Subject: Re: bug#18982: 24.4.51; assertion violation in set_cache_region after revert-buffer References: <877fz7fe6i.fsf@yahoo.fr> <83lhnnrvyx.fsf@gnu.org> <545CC7DC.5010706@yahoo.fr> <83ioirrun8.fsf@gnu.org> <545CD6C2.7060809@yahoo.fr> <83egtfrrpx.fsf@gnu.org> <545CE667.7040001@yahoo.fr> <834mubrp71.fsf@gnu.org> In-Reply-To: <834mubrp71.fsf@gnu.org> X-TagToolbar-Keys: D20141107170721607 Content-Type: multipart/mixed; boundary="------------070700050303040201040900" X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 18982 Cc: 18982@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.3 (--) This is a multi-part message in MIME format. --------------070700050303040201040900 Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 8bit Le 07/11/2014 16:43, Eli Zaretskii a écrit : >> Date: Fri, 07 Nov 2014 16:33:59 +0100 >> From: Nicolas Richard >> CC: 18982@debbugs.gnu.org >> >> > This doesn't crash here. Please show all the details collected by >> > report-emacs-bug for this binary, so I could see how mine is >> > different. >> >> Here it is (from a fresh bootstrap-from-clean-tree against latest bzr emacs-24 >> -- I also checked that the crash still occurs) : > > Thanks. The only significant difference is --with-wide-int. Can you > try rebuilding without it? > Still crashes with : In GNU Emacs 24.4.51.2 (i686-pc-linux-gnu, X toolkit, Xaw3d scroll bars) of 2014-11-07 on localhost Repository revision: 117680 michael.albinus@gmx.de-20141107144534-2j91njhecfs2d9r4 Windowing system distributor `The X.Org Foundation', version 11.0.11304000 Configured using: `configure --with-x-toolkit=lucid --enable-checking --without-wide-int 'CFLAGS= -O0 -g3'' Just to make sure we have the same files, I bzipped the recipe. mkdir foo; tar xf 18982.tar.bz2 -C foo; cd foo emacs -Q -l testfile2.el that crashes for me. It doesn't crash with the 24.3 binary I have soI can bisect if you wish. -- Nicolas. --------------070700050303040201040900 Content-Type: application/x-bzip; name="18982.tar.bz2" Content-Transfer-Encoding: base64 Content-Disposition: attachment; filename="18982.tar.bz2" QlpoOTFBWSZTWamkUnYABMl7/f/4SEB6//+XhIX/p//vMEQhkAEAMgYIETAAAAhQBD5zt2HD S3YoJCUEI00I1NBPUYgabSaaDQDRiAAZM0gABqehNETI1BMABGhowAAACYCGhpgA09JEaTTV HlBkANA9QAAyNAAAAAAONDQNGmRpo0yAxMEAANAaA0yAwJkCTVJqmao2k0yYR6mhhNDEaA0B kMaRoBhDTTNMPqH2aOgVK47JBuAQMqMziaelWBVgWhpnfxbpUxAuCIkIikIgSUSRSSd3QOtZ ZFppuyeFWZF6XJIC3hMsXNHiPMcUWvRXmrra1xCqRWZlopLnpOJAQKUsZTFMIBjTdHIdkuFS CYAkkAMHpqlW4SqyYV40m4IM0DCAhA5HHTGevRKCkgbYySSWpdrTxjPCyEgOqw3Ge4U0ImhP m27+xcscW4lpfu3XRxFJ5AEWdLMWEWFpw065gPIh1BtFbkYxigUJMSiwlFC4iQrIquWF4gc0 mQdA6xmjQQo9CqaEczskoZw61QqZpybAsooc1iuVBIYWCNqLzsAgDeAWyQUIcG1NApa6SFIs RDU4CWGkVRKlBQ6tOVsyAui7I4Yxa9xkX4YTDycLcIhCBAiCBAKBTN7vos4ryLC28nkhQZml U782nIhqWmHlQyjKNZ21Fi208xQoCBSdmX9XoIsQsLNFsZiJ0NYSmRImW0aXRUN82lXBTGJC wxu103nHoHFwNGV1k6qrRdlL1t4dHoaO3IDIqIiVF2Vx/pr34NiksE0IWwnDkddMhsF5FdTV 8EK+3H1qLoiqiqLum1QZGJW9wpETdy2TSJMBjRa6u3gVUai4gjJmo26pOyT0sExmMp+5A0TW 161iiqRR8jkV2CK9hxowzDiF7YFFTKUfMRa4r4KiwLGBTIHbQwvTB5Sy9aQymZiQERZEAtt9 oh6UUzb1LL/bv1vJOS6XOCGrJkDGzGDsjqIM0nTPZCWMEjWzYLpZtY2czMJ849GNV1GUwvHO VdjUyVaGlJ65SlLIVOWDUVlOCDu2mwygqDKooSsjENnq6uKEvKw3DT5Z2ibwbwTBgyyWAiG0 UGhtFygZ2Sm78I3TA2JftsunauDE7AjONBxiQwXmVUTGtq1K++wIzsnhucyxi5Ww3XlOEKqj e3WFUimU/VRp7JmzerqWWCp7uLjRLKrO1Y6KbUBG4s7pEg0M97pcx3AtC6tRCtBbRJrB7trk Cg4lLYATCte7yCOFpPhCOemiLjPHbfNVhqVUCuq8tEdJiKaiX8F5WonH5sU4I/LnwCOcuwco 765wmKTdyAKiLEiCgxjFBNRKLREoIqTk3P3hWD/f/zWc8mJBn1w4Q+zW91CtDs81J57G1ubv d/+u0VLG/zCCf8XckU4UJCppFJ2A --------------070700050303040201040900-- From debbugs-submit-bounces@debbugs.gnu.org Sat Nov 08 09:59:53 2014 Received: (at 18982) by debbugs.gnu.org; 8 Nov 2014 14:59:53 +0000 Received: from localhost ([127.0.0.1]:53780 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Xn7UX-0002ZM-Au for submit@debbugs.gnu.org; Sat, 08 Nov 2014 09:59:53 -0500 Received: from mtaout20.012.net.il ([80.179.55.166]:65478) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Xn7UU-0002ZC-52 for 18982@debbugs.gnu.org; Sat, 08 Nov 2014 09:59:51 -0500 Received: from conversion-daemon.a-mtaout20.012.net.il by a-mtaout20.012.net.il (HyperSendmail v2007.08) id <0NEQ000006RQXZ00@a-mtaout20.012.net.il> for 18982@debbugs.gnu.org; Sat, 08 Nov 2014 16:59:48 +0200 (IST) Received: from HOME-C4E4A596F7 ([87.69.4.28]) by a-mtaout20.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0NEQ000G46ZNPT40@a-mtaout20.012.net.il>; Sat, 08 Nov 2014 16:59:48 +0200 (IST) Date: Sat, 08 Nov 2014 16:59:32 +0200 From: Eli Zaretskii Subject: Re: bug#18982: 24.4.51; assertion violation in set_cache_region after revert-buffer In-reply-to: <545CEE39.2020901@yahoo.fr> X-012-Sender: halo1@inter.net.il To: Nicolas Richard Message-id: <837fz5rb57.fsf@gnu.org> References: <877fz7fe6i.fsf@yahoo.fr> <83lhnnrvyx.fsf@gnu.org> <545CC7DC.5010706@yahoo.fr> <83ioirrun8.fsf@gnu.org> <545CD6C2.7060809@yahoo.fr> <83egtfrrpx.fsf@gnu.org> <545CE667.7040001@yahoo.fr> <834mubrp71.fsf@gnu.org> <545CEE39.2020901@yahoo.fr> X-Spam-Score: 1.0 (+) X-Debbugs-Envelope-To: 18982 Cc: 18982@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list Reply-To: Eli Zaretskii List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 1.0 (+) > Date: Fri, 07 Nov 2014 17:07:21 +0100 > From: Nicolas Richard > CC: 18982@debbugs.gnu.org > > > Thanks. The only significant difference is --with-wide-int. Can you > > try rebuilding without it? > > > > Still crashes with : > > In GNU Emacs 24.4.51.2 (i686-pc-linux-gnu, X toolkit, Xaw3d scroll bars) > of 2014-11-07 on localhost > Repository revision: 117680 michael.albinus@gmx.de-20141107144534-2j91njhecfs2d9r4 > Windowing system distributor `The X.Org Foundation', version 11.0.11304000 > Configured using: > `configure --with-x-toolkit=lucid --enable-checking --without-wide-int > 'CFLAGS= -O0 -g3'' > > > Just to make sure we have the same files, I bzipped the recipe. > > mkdir foo; tar xf 18982.tar.bz2 -C foo; cd foo > emacs -Q -l testfile2.el > > that crashes for me. Sorry, it doesn't crash for me. > It doesn't crash with the 24.3 binary I have soI can bisect if you wish. Please do, and thanks. From debbugs-submit-bounces@debbugs.gnu.org Sat Nov 08 18:29:34 2014 Received: (at 18982) by debbugs.gnu.org; 8 Nov 2014 23:29:34 +0000 Received: from localhost ([127.0.0.1]:54089 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1XnFRm-0004Zr-G8 for submit@debbugs.gnu.org; Sat, 08 Nov 2014 18:29:34 -0500 Received: from mailrelay010.isp.belgacom.be ([195.238.6.177]:44722) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1XnFRl-0004Zh-EH for 18982@debbugs.gnu.org; Sat, 08 Nov 2014 18:29:34 -0500 X-Belgacom-Dynamic: yes Received: from 147.157-177-91.adsl-dyn.isp.belgacom.be (HELO LDLC-portable) ([91.177.157.147]) by relay.skynet.be with ESMTP; 09 Nov 2014 00:29:31 +0100 From: Nicolas Richard To: Eli Zaretskii Subject: Re: bug#18982: 24.4.51; assertion violation in set_cache_region after revert-buffer References: <877fz7fe6i.fsf@yahoo.fr> <83lhnnrvyx.fsf@gnu.org> <545CC7DC.5010706@yahoo.fr> <83ioirrun8.fsf@gnu.org> <545CD6C2.7060809@yahoo.fr> <83egtfrrpx.fsf@gnu.org> <545CE667.7040001@yahoo.fr> <834mubrp71.fsf@gnu.org> <545CEE39.2020901@yahoo.fr> <837fz5rb57.fsf@gnu.org> Date: Sun, 09 Nov 2014 00:29:31 +0100 In-Reply-To: <837fz5rb57.fsf@gnu.org> (Eli Zaretskii's message of "Sat, 08 Nov 2014 16:59:32 +0200") Message-ID: <87ppcxclus.fsf@yahoo.fr> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3.92 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 18982 Cc: 18982@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.7 (/) Eli Zaretskii writes: >> It doesn't crash with the 24.3 binary I have soI can bisect if you wish. > > Please do, and thanks. Here's the result. 0c279491143d9afda18428177ca5262931450212 is the first bad commit commit 0c279491143d9afda18428177ca5262931450212 Author: Eli Zaretskii Date: Wed Nov 27 18:08:53 2013 +0200 Fix bug #15973 with erratic cursor motion after reverting a buffer. src/fileio.c (Finsert_file_contents): Invalidate buffer caches when deleting portions of the buffer under non-nil REPLACE argument. -- Nicolas Richard From debbugs-submit-bounces@debbugs.gnu.org Sun Nov 09 11:43:59 2014 Received: (at 18982) by debbugs.gnu.org; 9 Nov 2014 16:43:59 +0000 Received: from localhost ([127.0.0.1]:54960 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1XnVao-0002wQ-W4 for submit@debbugs.gnu.org; Sun, 09 Nov 2014 11:43:59 -0500 Received: from mtaout20.012.net.il ([80.179.55.166]:38244) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1XnVam-0002wG-0i for 18982@debbugs.gnu.org; Sun, 09 Nov 2014 11:43:57 -0500 Received: from conversion-daemon.a-mtaout20.012.net.il by a-mtaout20.012.net.il (HyperSendmail v2007.08) id <0NES00F005VW0G00@a-mtaout20.012.net.il> for 18982@debbugs.gnu.org; Sun, 09 Nov 2014 18:43:54 +0200 (IST) Received: from HOME-C4E4A596F7 ([87.69.4.28]) by a-mtaout20.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0NES00EO26H6RU70@a-mtaout20.012.net.il>; Sun, 09 Nov 2014 18:43:54 +0200 (IST) Date: Sun, 09 Nov 2014 18:43:42 +0200 From: Eli Zaretskii Subject: Re: bug#18982: 24.4.51; assertion violation in set_cache_region after revert-buffer In-reply-to: <87ppcxclus.fsf@yahoo.fr> X-012-Sender: halo1@inter.net.il To: Nicolas Richard Message-id: <8361eopbnl.fsf@gnu.org> References: <877fz7fe6i.fsf@yahoo.fr> <83lhnnrvyx.fsf@gnu.org> <545CC7DC.5010706@yahoo.fr> <83ioirrun8.fsf@gnu.org> <545CD6C2.7060809@yahoo.fr> <83egtfrrpx.fsf@gnu.org> <545CE667.7040001@yahoo.fr> <834mubrp71.fsf@gnu.org> <545CEE39.2020901@yahoo.fr> <837fz5rb57.fsf@gnu.org> <87ppcxclus.fsf@yahoo.fr> X-Spam-Score: 1.0 (+) X-Debbugs-Envelope-To: 18982 Cc: 18982@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list Reply-To: Eli Zaretskii List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 1.0 (+) > From: Nicolas Richard > Cc: 18982@debbugs.gnu.org > Date: Sun, 09 Nov 2014 00:29:31 +0100 > > Eli Zaretskii writes: > >> It doesn't crash with the 24.3 binary I have soI can bisect if you wish. > > > > Please do, and thanks. > > Here's the result. > > 0c279491143d9afda18428177ca5262931450212 is the first bad commit > commit 0c279491143d9afda18428177ca5262931450212 > Author: Eli Zaretskii > Date: Wed Nov 27 18:08:53 2013 +0200 > > Fix bug #15973 with erratic cursor motion after reverting a buffer. For the record: the bzr revno was 115259, not 15973. > src/fileio.c (Finsert_file_contents): Invalidate buffer caches when > deleting portions of the buffer under non-nil REPLACE argument. Thanks. I think I fixed this in r117696 on the emacs-24 branch, please test. From debbugs-submit-bounces@debbugs.gnu.org Sun Nov 09 16:13:51 2014 Received: (at 18982-done) by debbugs.gnu.org; 9 Nov 2014 21:13:51 +0000 Received: from localhost ([127.0.0.1]:55184 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1XnZnz-0001MV-31 for submit@debbugs.gnu.org; Sun, 09 Nov 2014 16:13:51 -0500 Received: from mailrelay008.isp.belgacom.be ([195.238.6.174]:40609) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1XnZnx-0001MN-M0 for 18982-done@debbugs.gnu.org; Sun, 09 Nov 2014 16:13:50 -0500 X-Belgacom-Dynamic: yes Received: from 147.157-177-91.adsl-dyn.isp.belgacom.be (HELO LDLC-portable) ([91.177.157.147]) by relay.skynet.be with ESMTP; 09 Nov 2014 22:13:47 +0100 From: Nicolas Richard To: Eli Zaretskii Subject: Re: bug#18982: 24.4.51; assertion violation in set_cache_region after revert-buffer References: <877fz7fe6i.fsf@yahoo.fr> <83lhnnrvyx.fsf@gnu.org> <545CC7DC.5010706@yahoo.fr> <83ioirrun8.fsf@gnu.org> <545CD6C2.7060809@yahoo.fr> <83egtfrrpx.fsf@gnu.org> <545CE667.7040001@yahoo.fr> <834mubrp71.fsf@gnu.org> <545CEE39.2020901@yahoo.fr> <837fz5rb57.fsf@gnu.org> <87ppcxclus.fsf@yahoo.fr> <8361eopbnl.fsf@gnu.org> Date: Sun, 09 Nov 2014 22:13:47 +0100 In-Reply-To: <8361eopbnl.fsf@gnu.org> (Eli Zaretskii's message of "Sun, 09 Nov 2014 18:43:42 +0200") Message-ID: <87y4rk84c4.fsf@yahoo.fr> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3.92 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 18982-done Cc: 18982-done@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.7 (/) Good evening Eli, Eli Zaretskii writes: >> Fix bug #15973 with erratic cursor motion after reverting a buffer. > For the record: the bzr revno was 115259, not 15973. 15973 is the bug number, in the quoted text, not a bzr revno. Or are you referring to something else ? >> src/fileio.c (Finsert_file_contents): Invalidate buffer caches when >> deleting portions of the buffer under non-nil REPLACE argument. > > Thanks. I think I fixed this in r117696 on the emacs-24 branch, > please test. Yep, I can confirm it is fixed. Closing this bug. Thanks a lot ! -- Nicolas Richard From debbugs-submit-bounces@debbugs.gnu.org Sun Nov 09 16:24:52 2014 Received: (at 18982) by debbugs.gnu.org; 9 Nov 2014 21:24:52 +0000 Received: from localhost ([127.0.0.1]:55194 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1XnZye-0001dP-2K for submit@debbugs.gnu.org; Sun, 09 Nov 2014 16:24:52 -0500 Received: from mtaout25.012.net.il ([80.179.55.181]:60766) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1XnZya-0001dC-Tt for 18982@debbugs.gnu.org; Sun, 09 Nov 2014 16:24:49 -0500 Received: from conversion-daemon.mtaout25.012.net.il by mtaout25.012.net.il (HyperSendmail v2007.08) id <0NES00I00J86KY00@mtaout25.012.net.il> for 18982@debbugs.gnu.org; Sun, 09 Nov 2014 23:20:21 +0200 (IST) Received: from HOME-C4E4A596F7 ([87.69.4.28]) by mtaout25.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0NES00E1TJ9XOK20@mtaout25.012.net.il>; Sun, 09 Nov 2014 23:20:21 +0200 (IST) Date: Sun, 09 Nov 2014 23:24:35 +0200 From: Eli Zaretskii Subject: Re: bug#18982: 24.4.51; assertion violation in set_cache_region after revert-buffer In-reply-to: <87y4rk84c4.fsf@yahoo.fr> X-012-Sender: halo1@inter.net.il To: Nicolas Richard Message-id: <83k334nk30.fsf@gnu.org> References: <877fz7fe6i.fsf@yahoo.fr> <83lhnnrvyx.fsf@gnu.org> <545CC7DC.5010706@yahoo.fr> <83ioirrun8.fsf@gnu.org> <545CD6C2.7060809@yahoo.fr> <83egtfrrpx.fsf@gnu.org> <545CE667.7040001@yahoo.fr> <834mubrp71.fsf@gnu.org> <545CEE39.2020901@yahoo.fr> <837fz5rb57.fsf@gnu.org> <87ppcxclus.fsf@yahoo.fr> <8361eopbnl.fsf@gnu.org> <87y4rk84c4.fsf@yahoo.fr> X-Spam-Score: 1.0 (+) X-Debbugs-Envelope-To: 18982 Cc: 18982@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list Reply-To: Eli Zaretskii List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 1.0 (+) > From: Nicolas Richard > Cc: 18982-done@debbugs.gnu.org > Date: Sun, 09 Nov 2014 22:13:47 +0100 > > >> Fix bug #15973 with erratic cursor motion after reverting a buffer. > > For the record: the bzr revno was 115259, not 15973. > > 15973 is the bug number, in the quoted text, not a bzr revno. Oops! > > Thanks. I think I fixed this in r117696 on the emacs-24 branch, > > please test. > > Yep, I can confirm it is fixed. Closing this bug. Thanks for testing. From unknown Fri Jun 20 07:23:35 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Mon, 08 Dec 2014 12:24:04 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator