From debbugs-submit-bounces@debbugs.gnu.org Tue Apr 15 10:28:39 2014 Received: (at submit) by debbugs.gnu.org; 15 Apr 2014 14:28:39 +0000 Received: from localhost ([127.0.0.1]:48997 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Wa4Ll-0000Wb-An for submit@debbugs.gnu.org; Tue, 15 Apr 2014 10:28:39 -0400 Received: from eggs.gnu.org ([208.118.235.92]:34531) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Wa4Lh-0000WE-DS for submit@debbugs.gnu.org; Tue, 15 Apr 2014 10:28:35 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Wa4LS-0003eH-60 for submit@debbugs.gnu.org; Tue, 15 Apr 2014 10:28:28 -0400 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]:56911) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Wa4LS-0003eD-3J for submit@debbugs.gnu.org; Tue, 15 Apr 2014 10:28:18 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:36161) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Wa4LK-0003TR-GD for bug-gnu-emacs@gnu.org; Tue, 15 Apr 2014 10:28:18 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Wa4LC-0003Xn-Ul for bug-gnu-emacs@gnu.org; Tue, 15 Apr 2014 10:28:10 -0400 Received: from mxin.ulb.ac.be ([164.15.128.112]:5322) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Wa4LB-0003W5-Oa for bug-gnu-emacs@gnu.org; Tue, 15 Apr 2014 10:28:02 -0400 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AlUHAMFATVOkD4Xx/2dsb2JhbABYrg+CWgGTSYRGdIJGgRs0AYhHARSaGY9ummYBhzoXh1+GF4UsBJ8fhCiHYIMzOw Received: from mathsrv4.ulb.ac.be (HELO geodiff-mac3.ulb.ac.be) ([164.15.133.241]) by smtp.ulb.ac.be with ESMTP; 15 Apr 2014 16:27:59 +0200 From: Nicolas Richard To: bug-gnu-emacs@gnu.org Subject: 24.3.90; assertion failure at buf_charpos_to_bytepos (marker.c) Date: Tue, 15 Apr 2014 16:28:32 +0200 Message-ID: <87eh0y3bvz.fsf@geodiff-mac3.ulb.ac.be> 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 (-----) I got this today (I was running without --enable-checking until today). I still have that session open in case you want more info. Also, as a side note, in the current buffer (in which I'm reporting the bug), I see problems like going five to 5 to 10 lines below current position. Apparently, it happens after I use C-k (kill-line). It goes way when setting (setq cache-long-line-scans nil). I guess the crash and this problem are related ? If not, I can make a separate bug report. I'm running emacs-24 branch at commit ef5b917 * savannah/emacs-24 Fix relative links to parent directories in shr *but* I also have applied Paul Eggert's patch mentionned in bug#17172 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 0x081f581f in die (msg=0x83079dc "BUF_BEG (b) <= charpos && charpos <= BUF_Z (b)", file=0x83079d0 "marker.c", line=145) at alloc.c:6826 #2 0x081bc08d in buf_charpos_to_bytepos (b=0x9b42080, charpos=14233) at marker.c:145 #3 0x081d7c59 in find_newline (start=14230, start_byte=14230, end=14231, end_byte=14231, count=1, shortage=0xbfffdcd4, bytepos=0x0, allow_quit=true) at search.c:780 #4 0x081d845f in find_before_next_newline (from=14224, to=0, cnt=1, bytepos=0x0) at search.c:1006 #5 0x082019e6 in Fline_end_position (n=4) at editfns.c:813 #6 0x081ceff0 in Fend_of_line (n=4) at cmds.c:199 #7 0x082571f8 in exec_byte_code (bytestr=138228097, vector=138228117, maxdepth=12, args_template=0, nargs=0, args=0xbfffe094) at bytecode.c:1744 #8 0x08214211 in funcall_lambda (fun=138228077, nargs=0, arg_vector=0xbfffe094) at eval.c:2983 #9 0x08213c6d in Ffuncall (nargs=1, args=0xbfffe090) at eval.c:2864 #10 0x08254b12 in exec_byte_code (bytestr=138227649, vector=138227669, maxdepth=24, args_template=1024, nargs=1, args=0xbfffe3f8) at bytecode.c:916 #11 0x08214211 in funcall_lambda (fun=138227621, nargs=1, arg_vector=0xbfffe3f4) at eval.c:2983 #12 0x08213c6d in Ffuncall (nargs=2, args=0xbfffe3f0) at eval.c:2864 #13 0x0820d183 in Fcall_interactively (function=142036970, record_flag=140212162, keys=140221005) at callint.c:836 #14 0x08213a8e in Ffuncall (nargs=4, args=0xbfffe62c) at eval.c:2822 #15 0x08254b12 in exec_byte_code (bytestr=138213713, vector=138213733, maxdepth=52, args_template=4100, nargs=1, args=0xbfffe960) at bytecode.c:916 #16 0x08214211 in funcall_lambda (fun=138213693, nargs=1, arg_vector=0xbfffe95c) at eval.c:2983 #17 0x08213c6d in Ffuncall (nargs=2, args=0xbfffe958) at eval.c:2864 #18 0x08213527 in call1 (fn=140238618, arg1=142036970) at eval.c:2614 #19 0x081839db in command_loop_1 () at keyboard.c:1556 #20 0x0821099b in internal_condition_case (bfun=0x818336f , handlers=140245242, hfun=0x8182b9e ) at eval.c:1354 #21 0x08183019 in command_loop_2 (ignore=140212162) at keyboard.c:1174 #22 0x0820ff16 in internal_catch (tag=140243290, func=0x8182ff5 , arg=140212162) at eval.c:1118 #23 0x08182fd3 in command_loop () at keyboard.c:1153 #24 0x08182732 in recursive_edit_1 () at keyboard.c:777 #25 0x081828f2 in Frecursive_edit () at keyboard.c:845 #26 0x08180c33 in main (argc=2, argv=0xbfffecc4) at emacs.c:1646 Lisp Backtrace: "end-of-visible-line" (0xbfffe094) "kill-line" (0xbfffe3f4) "call-interactively" (0xbfffe630) "command-execute" (0xbfffe95c) #0 terminate_due_to_signal (sig=6, backtrace_limit=2147483647) at emacs.c:351 No locals. #1 0x081f581f in die (msg=0x83079dc "BUF_BEG (b) <= charpos && charpos <= BUF_Z (b)", file=0x83079d0 "marker.c", line=145) at alloc.c:6826 No locals. #2 0x081bc08d in buf_charpos_to_bytepos (b=0x9b42080, charpos=14233) at marker.c:145 tail = 0x0 best_above = 14231 best_above_byte = 14231 best_below = 7 best_below_byte = 136664312 #3 0x081d7c59 in find_newline (start=14230, start_byte=14230, end=14231, end_byte=14231, count=1, shortage=0xbfffdcd4, bytepos=0x0, allow_quit=true) at search.c:780 next_change = 14233 result = 0 tem = -1073750164 ceiling_byte = 14230 newline_cache = 0x9a98438 direction = 1 cache_buffer = 0x9b42080 #4 0x081d845f in find_before_next_newline (from=14224, to=0, cnt=1, bytepos=0x0) at search.c:1006 shortage = 0 pos = -1211589668 #5 0x082019e6 in Fline_end_position (n=4) at editfns.c:813 clipped_n = 1 end_pos = 9 orig = 14224 #6 0x081ceff0 in Fend_of_line (n=4) at cmds.c:199 newpos = 135 #7 0x082571f8 in exec_byte_code (bytestr=138228097, vector=138228117, maxdepth=12, args_template=0, nargs=0, args=0xbfffe094) at bytecode.c:1744 targets = {0x82578dc , 0x8257934 , 0x8257936 , 0x8257938 , 0x825793a , 0x825793a , 0x8257985 , 0x82579e2 , 0x82542bb , 0x82542bd , 0x82542bf , 0x82542c1 , 0x82542c3 , 0x82542c3 , 0x82542c9 , 0x8254286 , 0x8254761 , 0x8254763 , 0x8254765 , 0x8254767 , 0x8254769 , 0x8254769 , 0x82547a4 , 0x825476f , 0x8254a42 , 0x8254a44 , 0x8254a46 , 0x8254a48 , 0x8254a4a , 0x8254a4a , 0x82549f3 , 0x8254a0d , 0x8254ae6 , 0x8254ae8 , 0x8254aea , 0x8254aec , 0x8254aee , 0x8254aee , 0x8254a97 , 0x8254ab1 , 0x8254b8f , 0x8254b91 , 0x8254b93 , 0x8254b95 , 0x8254b97 , 0x8254b97 , 0x8254b40 , 0x8254b5a , 0x82558fd , 0x8255729 , 0x8255720 , 0x82578dc , 0x82578dc , 0x82578dc , 0x82578dc , 0x82578dc , 0x8255ace , 0x8255bb4 , 0x8255bfb , 0x8255c42 , 0x8255c8d , 0x8254605 , 0x8254655 , 0x8255ce2 , 0x825455a , 0x82546a3 , 0x8255d2a , 0x8255d7e , 0x8255db9 , 0x8255e0d , 0x8255e52 , 0x8255f02 , 0x8255f3d , 0x8255f91 , 0x8255ffe , 0x8256039 , 0x8256074 , 0x82560c8 , 0x825611c , 0x8256170 , 0x82561dd , 0x8256222 , 0x8256267 , 0x8256317 , 0x825638d , 0x8256403 , 0x82565d0 , 0x825662c , 0x8256688 , 0x82566e4 , 0x8256740 , 0x8256785 , 0x82567ff , 0x8256844 , 0x8256889 , 0x82568ce , 0x82569ac , 0x82555de , 0x82569fd , 0x8256a38 , 0x8256ae4 , 0x8256b35 , 0x8256b86 , 0x8256bc1 , 0x8256c04 , 0x8256c47 , 0x8256c92 , 0x82578dc , 0x8256cd7 , 0x8256d0e , 0x8256d45 , 0x8256d7c , 0x8256db3 , 0x8256dea , 0x82555de , 0x82578dc , 0x8256e25 , 0x8256e6b , 0x8256ea6 , 0x8256ee1 , 0x8256f35 , 0x8256f89 , 0x8256fc4 , 0x82570b8 , 0x825710c , 0x8257160 , 0x82571b4 , 0x82571eb , 0x82578dc , 0x8255533 , 0x8254c1b , 0x8254454 , 0x8254d0d , 0x8254e1f , 0x8254f29 , 0x82554d6 , 0x8255506 , 0x82549b0 , 0x82555a0 , 0x825560c , 0x8255686 , 0x82556c4 , 0x8255933 , 0x82559a1 , 0x8255a0e , 0x8255a64 , 0x8254bde , 0x8257226 , 0x8257293 , 0x82572ce , 0x8257309 , 0x8257344 , 0x825737f , 0x82573d3 , 0x8257427 , 0x825747b , 0x82574cf , 0x82575ed , 0x8257641 , 0x8257695 , 0x82576d0 , 0x8257724 , 0x8257778 , 0x82577bf , 0x8257806 , 0x8256913 , 0x8256958 , 0x825784b , 0x8257896 , 0x82578dc , 0x8255033 , 0x82550fe , 0x82551f8 , 0x82552f2 , 0x82553e4 , 0x8255e97 , 0x82562ac , 0x8256a79 , 0x8257a5d , 0x8257aba , 0x82578dc , 0x82578dc , 0x8257b35 , 0x82578dc , 0x82578dc , 0x82578dc , 0x82578dc , 0x82578dc , 0x82578dc , 0x82578dc , 0x82578dc , 0x82578dc , 0x8257ba8 } count = 10 op = 127 vectorp = 0x83d3194 stack = { pc = 0x84fcbd3 "\210m?\205M", byte_string = 138228097, byte_string_start = 0x84fcbd1 "\301\177\210m?\205M", next = 0xbfffe0cc } top = 0xbfffdd74 result = 153999701 type = (unknown: 12) #8 0x08214211 in funcall_lambda (fun=138228077, nargs=0, arg_vector=0xbfffe094) at eval.c:2983 val = 136388863 syms_left = 0 next = 162469611 lexenv = 12 count = 10 i = 138228072 optional = 8 rest = 23 #9 0x08213c6d in Ffuncall (nargs=1, args=0xbfffe090) at eval.c:2864 fun = 138228077 original_fun = 142299650 funcar = 180354725 numargs = 0 lisp_numargs = -1073749912 val = 180354725 internal_args = 0xbfffe3f4 i = 162469635 #10 0x08254b12 in exec_byte_code (bytestr=138227649, vector=138227669, maxdepth=24, args_template=1024, nargs=1, args=0xbfffe3f8) at bytecode.c:916 targets = {0x82578dc , 0x8257934 , 0x8257936 , 0x8257938 , 0x825793a , 0x825793a , 0x8257985 , 0x82579e2 , 0x82542bb , 0x82542bd , 0x82542bf , 0x82542c1 , 0x82542c3 , 0x82542c3 , 0x82542c9 , 0x8254286 , 0x8254761 , 0x8254763 , 0x8254765 , 0x8254767 , 0x8254769 , 0x8254769 , 0x82547a4 , 0x825476f , 0x8254a42 , 0x8254a44 , 0x8254a46 , 0x8254a48 , 0x8254a4a , 0x8254a4a , 0x82549f3 , 0x8254a0d , 0x8254ae6 , 0x8254ae8 , 0x8254aea , 0x8254aec , 0x8254aee , 0x8254aee , 0x8254a97 , 0x8254ab1 , 0x8254b8f , 0x8254b91 , 0x8254b93 , 0x8254b95 , 0x8254b97 , 0x8254b97 , 0x8254b40 , 0x8254b5a , 0x82558fd , 0x8255729 , 0x8255720 , 0x82578dc , 0x82578dc , 0x82578dc , 0x82578dc , 0x82578dc , 0x8255ace , 0x8255bb4 , 0x8255bfb , 0x8255c42 , 0x8255c8d , 0x8254605 , 0x8254655 , 0x8255ce2 , 0x825455a , 0x82546a3 , 0x8255d2a , 0x8255d7e , 0x8255db9 , 0x8255e0d , 0x8255e52 , 0x8255f02 , 0x8255f3d , 0x8255f91 , 0x8255ffe , 0x8256039 , 0x8256074 , 0x82560c8 , 0x825611c , 0x8256170 , 0x82561dd , 0x8256222 , 0x8256267 , 0x8256317 , 0x825638d , 0x8256403 , 0x82565d0 , 0x825662c , 0x8256688 , 0x82566e4 , 0x8256740 , 0x8256785 , 0x82567ff , 0x8256844 , 0x8256889 , 0x82568ce , 0x82569ac , 0x82555de , 0x82569fd , 0x8256a38 , 0x8256ae4 , 0x8256b35 , 0x8256b86 , 0x8256bc1 , 0x8256c04 , 0x8256c47 , 0x8256c92 , 0x82578dc , 0x8256cd7 , 0x8256d0e , 0x8256d45 , 0x8256d7c , 0x8256db3 , 0x8256dea , 0x82555de , 0x82578dc , 0x8256e25 , 0x8256e6b , 0x8256ea6 , 0x8256ee1 , 0x8256f35 , 0x8256f89 , 0x8256fc4 , 0x82570b8 , 0x825710c , 0x8257160 , 0x82571b4 , 0x82571eb , 0x82578dc , 0x8255533 , 0x8254c1b , 0x8254454 , 0x8254d0d , 0x8254e1f , 0x8254f29 , 0x82554d6 , 0x8255506 , 0x82549b0 , 0x82555a0 , 0x825560c , 0x8255686 , 0x82556c4 , 0x8255933 , 0x82559a1 , 0x8255a0e , 0x8255a64 , 0x8254bde , 0x8257226 , 0x8257293 , 0x82572ce , 0x8257309 , 0x8257344 , 0x825737f , 0x82573d3 , 0x8257427 , 0x825747b , 0x82574cf , 0x82575ed , 0x8257641 , 0x8257695 , 0x82576d0 , 0x8257724 , 0x8257778 , 0x82577bf , 0x8257806 , 0x8256913 , 0x8256958 , 0x825784b , 0x8257896 , 0x82578dc , 0x8255033 , 0x82550fe , 0x82551f8 , 0x82552f2 , 0x82553e4 , 0x8255e97 , 0x82562ac , 0x8256a79 , 0x8257a5d , 0x8257aba , 0x82578dc , 0x82578dc , 0x8257b35 , 0x82578dc , 0x82578dc , 0x82578dc , 0x82578dc , 0x82578dc , 0x82578dc , 0x82578dc , 0x82578dc , 0x82578dc , 0x8257ba8 } count = 8 op = 0 vectorp = 0x83d2fd4 stack = { pc = 0x84fce08 "\210`)\212\b\204'", byte_string = 138227649, byte_string_start = 0x84fcded "\302`\002\203\017", next = 0xbfffe67c } top = 0xbfffe090 result = 10143937 type = (unknown: 12) #11 0x08214211 in funcall_lambda (fun=138227621, nargs=1, arg_vector=0xbfffe3f4) at eval.c:2983 val = 136388863 syms_left = 1024 next = 140076132 lexenv = 12 count = 8 i = 138227616 optional = 8 rest = 23 #12 0x08213c6d in Ffuncall (nargs=2, args=0xbfffe3f0) at eval.c:2864 fun = 138227621 original_fun = 142036970 funcar = 140670056 numargs = 1 lisp_numargs = -1073749112 val = 140212162 internal_args = 0x2 i = 0 #13 0x0820d183 in Fcall_interactively (function=142036970, record_flag=140212162, keys=140221005) at callint.c:836 val = 147960893 args = 0xbfffe3f0 visargs = 0xbfffe3d0 specs = 137828201 filter_specs = 137828201 teml = 135770468 up_event = 140212162 enable = 140212162 speccount = 5 next_event = 1 prefix_arg = 140212162 string = 0xbfffe410 "P" tem = 0x830e79b "" varies = 0xbfffe3b0 "" i = 2 nargs = 2 mark = 8 arg_from_tty = false gcpro1 = { next = 0xbfffe538, var = 0x8213da1 , nvars = 140670056 } gcpro2 = { next = 0x817c8dc , var = 0x835c89d , nvars = 10 } gcpro3 = { next = 0x835c89d , var = 0x835c898 , nvars = 2 } gcpro4 = { next = 0xa, var = 0xbfffe4a8, nvars = 2 } gcpro5 = { next = 0xbfffe488, var = 0x817c8dc , nvars = 137742493 } key_count = 1 record_then_fail = false save_this_command = 142036970 save_last_command = 142037282 save_this_original_command = 142036970 save_real_this_command = 142036970 #14 0x08213a8e in Ffuncall (nargs=4, args=0xbfffe62c) at eval.c:2822 fun = 139803693 original_fun = 140290690 funcar = 142036994 numargs = 3 lisp_numargs = 142329670 val = 140212162 internal_args = 0xbfffe630 i = 2 #15 0x08254b12 in exec_byte_code (bytestr=138213713, vector=138213733, maxdepth=52, args_template=4100, nargs=1, args=0xbfffe960) at bytecode.c:916 targets = {0x82578dc , 0x8257934 , 0x8257936 , 0x8257938 , 0x825793a , 0x825793a , 0x8257985 , 0x82579e2 , 0x82542bb , 0x82542bd , 0x82542bf , 0x82542c1 , 0x82542c3 , 0x82542c3 , 0x82542c9 , 0x8254286 , 0x8254761 , 0x8254763 , 0x8254765 , 0x8254767 , 0x8254769 , 0x8254769 , 0x82547a4 , 0x825476f , 0x8254a42 , 0x8254a44 , 0x8254a46 , 0x8254a48 , 0x8254a4a , 0x8254a4a , 0x82549f3 , 0x8254a0d , 0x8254ae6 , 0x8254ae8 , 0x8254aea , 0x8254aec , 0x8254aee , 0x8254aee , 0x8254a97 , 0x8254ab1 , 0x8254b8f , 0x8254b91 , 0x8254b93 , 0x8254b95 , 0x8254b97 , 0x8254b97 , 0x8254b40 , 0x8254b5a , 0x82558fd , 0x8255729 , 0x8255720 , 0x82578dc , 0x82578dc , 0x82578dc , 0x82578dc , 0x82578dc , 0x8255ace , 0x8255bb4 , 0x8255bfb , 0x8255c42 , 0x8255c8d , 0x8254605 , 0x8254655 , 0x8255ce2 , 0x825455a , 0x82546a3 , 0x8255d2a , 0x8255d7e , 0x8255db9 , 0x8255e0d , 0x8255e52 , 0x8255f02 , 0x8255f3d , 0x8255f91 , 0x8255ffe , 0x8256039 , 0x8256074 , 0x82560c8 , 0x825611c , 0x8256170 , 0x82561dd , 0x8256222 , 0x8256267 , 0x8256317 , 0x825638d , 0x8256403 , 0x82565d0 , 0x825662c , 0x8256688 , 0x82566e4 , 0x8256740 , 0x8256785 , 0x82567ff , 0x8256844 , 0x8256889 , 0x82568ce , 0x82569ac , 0x82555de , 0x82569fd , 0x8256a38 , 0x8256ae4 , 0x8256b35 , 0x8256b86 , 0x8256bc1 , 0x8256c04 , 0x8256c47 , 0x8256c92 , 0x82578dc , 0x8256cd7 , 0x8256d0e , 0x8256d45 , 0x8256d7c , 0x8256db3 , 0x8256dea , 0x82555de , 0x82578dc , 0x8256e25 , 0x8256e6b , 0x8256ea6 , 0x8256ee1 , 0x8256f35 , 0x8256f89 , 0x8256fc4 , 0x82570b8 , 0x825710c , 0x8257160 , 0x82571b4 , 0x82571eb , 0x82578dc , 0x8255533 , 0x8254c1b , 0x8254454 , 0x8254d0d , 0x8254e1f , 0x8254f29 , 0x82554d6 , 0x8255506 , 0x82549b0 , 0x82555a0 , 0x825560c , 0x8255686 , 0x82556c4 , 0x8255933 , 0x82559a1 , 0x8255a0e , 0x8255a64 , 0x8254bde , 0x8257226 , 0x8257293 , 0x82572ce , 0x8257309 , 0x8257344 , 0x825737f , 0x82573d3 , 0x8257427 , 0x825747b , 0x82574cf , 0x82575ed , 0x8257641 , 0x8257695 , 0x82576d0 , 0x8257724 , 0x8257778 , 0x82577bf , 0x8257806 , 0x8256913 , 0x8256958 , 0x825784b , 0x8257896 , 0x82578dc , 0x8255033 , 0x82550fe , 0x82551f8 , 0x82552f2 , 0x82553e4 , 0x8255e97 , 0x82562ac , 0x8256a79 , 0x8257a5d , 0x8257aba , 0x82578dc , 0x82578dc , 0x8257b35 , 0x82578dc , 0x82578dc , 0x82578dc , 0x82578dc , 0x82578dc , 0x82578dc , 0x82578dc , 0x82578dc , 0x82578dc , 0x8257ba8 } count = 4 op = 3 vectorp = 0x83cf964 stack = { pc = 0x8500ca2 "\006\006\071\203\233", byte_string = 138213713, byte_string_start = 0x8500c2e "\306\020\211?\205\f", next = 0x0 } top = 0xbfffe62c result = 4 type = (unknown: 12) #16 0x08214211 in funcall_lambda (fun=138213693, nargs=1, arg_vector=0xbfffe95c) at eval.c:2983 val = 136388863 syms_left = 4100 next = 0 lexenv = 12 count = 4 i = 138213688 optional = 8 rest = 23 #17 0x08213c6d in Ffuncall (nargs=2, args=0xbfffe958) at eval.c:2864 fun = 138213693 original_fun = 140238618 funcar = 140212162 numargs = 1 lisp_numargs = 154838624 val = -1073747640 internal_args = 0x0 i = 140670008 #18 0x08213527 in call1 (fn=140238618, arg1=142036970) at eval.c:2614 ret_ungc_val = 140212162 gcpro1 = { next = 0xabffea5, var = 0x94d83f0, nvars = 2 } args = {140238618, 142036970} #19 0x081839db in command_loop_1 () at keyboard.c:1556 scount = 2 cmd = 142036970 keybuf = {44, 20, 137749489, 140245266, 140284210, 140212162, 4, 140212162, 142398386, 0, -1073747464, 135802282, 140243266, 176892694, 137749489, 140245266, 154838624, 0, -1073747368, 135802058, 176892694, -1073747425, -1073747400, 136388487, 2, 145481806, -1227956279, 0, 0, 0} i = 1 prev_modiff = 1954 prev_buffer = 0x9b42080 already_adjusted = false #20 0x0821099b in internal_condition_case (bfun=0x818336f , handlers=140245242, hfun=0x8182b9e ) at eval.c:1354 val = 145481806 c = 0x85c5428 #21 0x08183019 in command_loop_2 (ignore=140212162) at keyboard.c:1174 val = 0 #22 0x0820ff16 in internal_catch (tag=140243290, func=0x8182ff5 , arg=140212162) at eval.c:1118 val = 140212162 c = 0x89821e0 #23 0x08182fd3 in command_loop () at keyboard.c:1153 No locals. #24 0x08182732 in recursive_edit_1 () at keyboard.c:777 count = 1 val = -1073747144 #25 0x081828f2 in Frecursive_edit () at keyboard.c:845 count = 0 buffer = 140212162 #26 0x08180c33 in main (argc=2, argv=0xbfffecc4) at emacs.c:1646 dummy = 2 stack_bottom_variable = 0 '\000' do_initial_setlocale = true dumping = false skip_args = 1 rlim = { rlim_cur = 8388608, rlim_max = 18446744073709551615 } no_loadup = false junk = 0x0 dname_arg = 0x0 ch_to_dir = 0x0 original_pwd = 0x0 Lisp Backtrace: "end-of-visible-line" (0xbfffe094) "kill-line" (0xbfffe3f4) "call-interactively" (0xbfffe630) "command-execute" (0xbfffe95c) -- Nico. From debbugs-submit-bounces@debbugs.gnu.org Tue Apr 15 11:53:31 2014 Received: (at 17269) by debbugs.gnu.org; 15 Apr 2014 15:53:31 +0000 Received: from localhost ([127.0.0.1]:49032 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Wa5ft-00034z-P4 for submit@debbugs.gnu.org; Tue, 15 Apr 2014 11:53:30 -0400 Received: from mtaout27.012.net.il ([80.179.55.183]:39348) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Wa5fp-00034d-S5 for 17269@debbugs.gnu.org; Tue, 15 Apr 2014 11:53:27 -0400 Received: from conversion-daemon.mtaout27.012.net.il by mtaout27.012.net.il (HyperSendmail v2007.08) id <0N4200E00WRUP100@mtaout27.012.net.il> for 17269@debbugs.gnu.org; Tue, 15 Apr 2014 18:49:57 +0300 (IDT) Received: from HOME-C4E4A596F7 ([87.69.4.28]) by mtaout27.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0N4200622XB9X8A0@mtaout27.012.net.il>; Tue, 15 Apr 2014 18:49:57 +0300 (IDT) Date: Tue, 15 Apr 2014 18:53:26 +0300 From: Eli Zaretskii Subject: Re: bug#17269: 24.3.90; assertion failure at buf_charpos_to_bytepos (marker.c) In-reply-to: <87eh0y3bvz.fsf@geodiff-mac3.ulb.ac.be> X-012-Sender: halo1@inter.net.il To: Nicolas Richard Message-id: <83r44yk2rt.fsf@gnu.org> References: <87eh0y3bvz.fsf@geodiff-mac3.ulb.ac.be> X-Spam-Score: 1.0 (+) X-Debbugs-Envelope-To: 17269 Cc: 17269@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: Tue, 15 Apr 2014 16:28:32 +0200 > > I got this today (I was running without --enable-checking until today). > > I still have that session open in case you want more info. > > Also, as a side note, in the current buffer (in which I'm reporting the > bug), I see problems like going five to 5 to 10 lines below > current position. Apparently, it happens after I use C-k (kill-line). It > goes way when setting (setq cache-long-line-scans nil). I guess the > crash and this problem are related ? It's related, but can you reproduce this in "emacs -Q"? > I'm running emacs-24 branch at commit > ef5b917 * savannah/emacs-24 Fix relative links to parent directories in shr > *but* I also have applied Paul Eggert's patch mentionned in bug#17172 Not sure what this means, Paul made several commits during the last 2 days. Can you be more specific (or even state the bzr revision number)? > 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 0x081f581f in die (msg=0x83079dc "BUF_BEG (b) <= charpos && charpos <= BUF_Z (b)", file=0x83079d0 "marker.c", line=145) at alloc.c:6826 > #2 0x081bc08d in buf_charpos_to_bytepos (b=0x9b42080, charpos=14233) at marker.c:145 > #3 0x081d7c59 in find_newline (start=14230, start_byte=14230, end=14231, end_byte=14231, count=1, shortage=0xbfffdcd4, bytepos=0x0, allow_quit=true) at search.c:780 > #4 0x081d845f in find_before_next_newline (from=14224, to=0, cnt=1, bytepos=0x0) at search.c:1006 > #5 0x082019e6 in Fline_end_position (n=4) at editfns.c:813 > #6 0x081ceff0 in Fend_of_line (n=4) at cmds.c:199 What is the value of BUF_Z(b) in frame #2? Also, what is the major mode in the buffer in question? From debbugs-submit-bounces@debbugs.gnu.org Tue Apr 15 12:11:32 2014 Received: (at 17269) by debbugs.gnu.org; 15 Apr 2014 16:11:32 +0000 Received: from localhost ([127.0.0.1]:49045 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Wa5xL-0003by-OQ for submit@debbugs.gnu.org; Tue, 15 Apr 2014 12:11:32 -0400 Received: from mxin.ulb.ac.be ([164.15.128.112]:9272) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Wa5xI-0003bo-Q0 for 17269@debbugs.gnu.org; Tue, 15 Apr 2014 12:11:29 -0400 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: ApMBADNZTVOkD4Xx/2dsb2JhbAANS4NBxACBOIMZAQEBAwEyAUUBBQsLFAEMFg8JAwIBAgFFBg0BBQIBAYdjAQMJFag5gUeaWgGHOheHX4Rrgg4LB4Q4AQOWeoFogTaFB4QoghGJAg Received: from mathsrv4.ulb.ac.be (HELO [172.19.79.241]) ([164.15.133.241]) by smtp.ulb.ac.be with ESMTP; 15 Apr 2014 18:11:26 +0200 Message-ID: <534D5A4F.8050000@yahoo.fr> Date: Tue, 15 Apr 2014 18:11:59 +0200 From: Nicolas Richard User-Agent: Mozilla/5.0 (X11; Linux i686; rv:24.0) Gecko/20100101 Thunderbird/24.1.1 MIME-Version: 1.0 To: Eli Zaretskii Subject: Re: bug#17269: 24.3.90; assertion failure at buf_charpos_to_bytepos (marker.c) References: <87eh0y3bvz.fsf@geodiff-mac3.ulb.ac.be> <83r44yk2rt.fsf@gnu.org> In-Reply-To: <83r44yk2rt.fsf@gnu.org> X-TagToolbar-Keys: D20140415181159298 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 17269 Cc: 17269@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 15/04/2014 17:53, Eli Zaretskii a écrit : >> From: Nicolas Richard >> Date: Tue, 15 Apr 2014 16:28:32 +0200 >> >> I got this today (I was running without --enable-checking until today). >> >> I still have that session open in case you want more info. >> >> Also, as a side note, in the current buffer (in which I'm reporting the >> bug), I see problems like going five to 5 to 10 lines below >> current position. Apparently, it happens after I use C-k (kill-line). It >> goes way when setting (setq cache-long-line-scans nil). I guess the >> crash and this problem are related ? > > It's related, but can you reproduce this in "emacs -Q"? Not yet, but it seems to be triggered by the bug report because it just happened again. I'll look at it later. I have to run now. > >> I'm running emacs-24 branch at commit >> ef5b917 * savannah/emacs-24 Fix relative links to parent directories in shr >> *but* I also have applied Paul Eggert's patch mentionned in bug#17172 > > Not sure what this means, Paul made several commits during the last 2 > days. Can you be more specific (or even state the bzr revision > number)? >From the comment you left there, I guess you found it. I'm referring to http://permalink.gmane.org/gmane.emacs.bugs/88024. >> 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 0x081f581f in die (msg=0x83079dc "BUF_BEG (b) <= charpos && charpos <= BUF_Z (b)", file=0x83079d0 "marker.c", line=145) at alloc.c:6826 >> #2 0x081bc08d in buf_charpos_to_bytepos (b=0x9b42080, charpos=14233) at marker.c:145 >> #3 0x081d7c59 in find_newline (start=14230, start_byte=14230, end=14231, end_byte=14231, count=1, shortage=0xbfffdcd4, bytepos=0x0, allow_quit=true) at search.c:780 >> #4 0x081d845f in find_before_next_newline (from=14224, to=0, cnt=1, bytepos=0x0) at search.c:1006 >> #5 0x082019e6 in Fline_end_position (n=4) at editfns.c:813 >> #6 0x081ceff0 in Fend_of_line (n=4) at cmds.c:199 > > What is the value of BUF_Z(b) in frame #2? (gdb) f 2 #2 0x081bc08d in buf_charpos_to_bytepos (b=0x9b42080, charpos=14233) at marker.c:145 145 eassert (BUF_BEG (b) <= charpos && charpos <= BUF_Z (b)); (gdb) p BUF_Z(b) $1 = 14231 (gdb) xpr Lisp_Float Cannot access memory at address 0x3790 Perhaps I'm using the wrong command ? > Also, what is the major mode in the buffer in question? Could you tell me how to find out with gdb ? -- Nicolas. From debbugs-submit-bounces@debbugs.gnu.org Tue Apr 15 14:11:48 2014 Received: (at 17269) by debbugs.gnu.org; 15 Apr 2014 18:11:48 +0000 Received: from localhost ([127.0.0.1]:49123 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Wa7pj-0007N7-Bj for submit@debbugs.gnu.org; Tue, 15 Apr 2014 14:11:47 -0400 Received: from mtaout27.012.net.il ([80.179.55.183]:33404) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Wa7pf-0007Mj-JT for 17269@debbugs.gnu.org; Tue, 15 Apr 2014 14:11:44 -0400 Received: from conversion-daemon.mtaout27.012.net.il by mtaout27.012.net.il (HyperSendmail v2007.08) id <0N4300I003FB9M00@mtaout27.012.net.il> for 17269@debbugs.gnu.org; Tue, 15 Apr 2014 21:08:15 +0300 (IDT) Received: from HOME-C4E4A596F7 ([87.69.4.28]) by mtaout27.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0N4300E8M3PR9B50@mtaout27.012.net.il>; Tue, 15 Apr 2014 21:08:15 +0300 (IDT) Date: Tue, 15 Apr 2014 21:11:45 +0300 From: Eli Zaretskii Subject: Re: bug#17269: 24.3.90; assertion failure at buf_charpos_to_bytepos (marker.c) In-reply-to: <534D5A4F.8050000@yahoo.fr> X-012-Sender: halo1@inter.net.il To: Nicolas Richard Message-id: <83ob02jwda.fsf@gnu.org> References: <87eh0y3bvz.fsf@geodiff-mac3.ulb.ac.be> <83r44yk2rt.fsf@gnu.org> <534D5A4F.8050000@yahoo.fr> X-Spam-Score: 1.0 (+) X-Debbugs-Envelope-To: 17269 Cc: 17269@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: Tue, 15 Apr 2014 18:11:59 +0200 > From: Nicolas Richard > CC: 17269@debbugs.gnu.org > > > It's related, but can you reproduce this in "emacs -Q"? > > Not yet, but it seems to be triggered by the bug report because it just happened again. I'll look at it later. I have to run now. Thanks. > > What is the value of BUF_Z(b) in frame #2? > > (gdb) f 2 > #2 0x081bc08d in buf_charpos_to_bytepos (b=0x9b42080, charpos=14233) at marker.c:145 > 145 eassert (BUF_BEG (b) <= charpos && charpos <= BUF_Z (b)); > (gdb) p BUF_Z(b) > $1 = 14231 > (gdb) xpr > Lisp_Float > Cannot access memory at address 0x3790 > > Perhaps I'm using the wrong command ? No, you just don't need xpr, 14231 is a simple number. > > Also, what is the major mode in the buffer in question? > > Could you tell me how to find out with gdb ? (gdb) p b->name_ (gdb) xstring This will print the name of the buffer, which should be enough for you to know its major mode. From debbugs-submit-bounces@debbugs.gnu.org Tue Apr 15 14:35:47 2014 Received: (at 17269) by debbugs.gnu.org; 15 Apr 2014 18:35:47 +0000 Received: from localhost ([127.0.0.1]:49134 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Wa8Cw-00089M-EE for submit@debbugs.gnu.org; Tue, 15 Apr 2014 14:35:46 -0400 Received: from mailrelay006.isp.belgacom.be ([195.238.6.172]:49049) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Wa8Cs-00088n-BD for 17269@debbugs.gnu.org; Tue, 15 Apr 2014 14:35:43 -0400 X-Belgacom-Dynamic: yes Received: from 75.234-178-91.adsl-dyn.isp.belgacom.be (HELO LDLC-portable) ([91.178.234.75]) by relay.skynet.be with ESMTP; 15 Apr 2014 20:35:35 +0200 From: Nicolas Richard To: Eli Zaretskii Subject: Re: bug#17269: 24.3.90; assertion failure at buf_charpos_to_bytepos (marker.c) References: <87eh0y3bvz.fsf@geodiff-mac3.ulb.ac.be> <83r44yk2rt.fsf@gnu.org> <534D5A4F.8050000@yahoo.fr> <83ob02jwda.fsf@gnu.org> Date: Tue, 15 Apr 2014 20:35:35 +0200 In-Reply-To: <83ob02jwda.fsf@gnu.org> (Eli Zaretskii's message of "Tue, 15 Apr 2014 21:11:45 +0300") Message-ID: <87ioqaphjc.fsf@yahoo.fr> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 17269 Cc: Nicolas Richard , 17269@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.0 (/) Eli Zaretskii writes: > (gdb) p b->name_ > (gdb) xstring > > This will print the name of the buffer, which should be enough for you > to know its major mode. Indeed (gdb) p b->name_ $5 = 155534625 (gdb) xstring $6 = (struct Lisp_String *) 0x9454520 "#emacs@irc.freenode.net" It's rcirc-mode. -- Nico. From debbugs-submit-bounces@debbugs.gnu.org Tue Apr 15 16:45:30 2014 Received: (at 17269) by debbugs.gnu.org; 15 Apr 2014 20:45:30 +0000 Received: from localhost ([127.0.0.1]:49188 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1WaAET-0004yM-G6 for submit@debbugs.gnu.org; Tue, 15 Apr 2014 16:45:30 -0400 Received: from mailrelay011.isp.belgacom.be ([195.238.6.178]:36540) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1WaAEQ-0004y5-H4 for 17269@debbugs.gnu.org; Tue, 15 Apr 2014 16:45:27 -0400 X-Belgacom-Dynamic: yes Received: from 75.234-178-91.adsl-dyn.isp.belgacom.be (HELO LDLC-portable) ([91.178.234.75]) by relay.skynet.be with ESMTP; 15 Apr 2014 22:45:20 +0200 From: Nicolas Richard To: Eli Zaretskii Subject: Re: bug#17269: 24.3.90; assertion failure at buf_charpos_to_bytepos (marker.c) References: <87eh0y3bvz.fsf@geodiff-mac3.ulb.ac.be> <83r44yk2rt.fsf@gnu.org> <534D5A4F.8050000@yahoo.fr> <83ob02jwda.fsf@gnu.org> Date: Tue, 15 Apr 2014 22:45:19 +0200 In-Reply-To: <83ob02jwda.fsf@gnu.org> (Eli Zaretskii's message of "Tue, 15 Apr 2014 21:11:45 +0300") Message-ID: <8761mapbj4.fsf@yahoo.fr> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (gnu/linux) MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 17269 Cc: Nicolas Richard , 17269@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.0 (/) --=-=-= Content-Type: text/plain Eli Zaretskii writes: >> Date: Tue, 15 Apr 2014 18:11:59 +0200 >> From: Nicolas Richard >> CC: 17269@debbugs.gnu.org >> >> > It's related, but can you reproduce this in "emacs -Q"? >> >> Not yet, but it seems to be triggered by the bug report because it >> just happened again. I'll look at it later. I have to run now. > > Thanks. I finally managed to make a recipe that reproduces the crash every time for me (slight variations of it will reproduce the erratic end-of-line problem) gdb --args emacs -Q -nw /home/youngfrog/emacstest2.txt --eval '(execute-kbd-macro (kbd "C-e C-n C-e C-n C-e C-n C-e M-< M-f C-k C-n C-n C-e"))' (gdb) r The crash is the same as reported. emacstest2.txt is the file attached. --=-=-= Content-Type: text/plain Content-Disposition: attachment; filename=emacstest2.txt qfoo bar baz Breakpoint 1, terminate_due_to_signal (sig=6, backtrace_limit=2147483647) at emacs.c:351 351 signal (sig, SIG_DFL); --=-=-= Content-Type: text/plain This time the buffer b is in text-mode (it's the buffer which visits emacstest2.txt) -- Nico. --=-=-=-- From debbugs-submit-bounces@debbugs.gnu.org Wed Apr 16 01:44:51 2014 Received: (at 17269) by debbugs.gnu.org; 16 Apr 2014 05:44:52 +0000 Received: from localhost ([127.0.0.1]:49350 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1WaIeR-0004oT-B7 for submit@debbugs.gnu.org; Wed, 16 Apr 2014 01:44:51 -0400 Received: from mtaout22.012.net.il ([80.179.55.172]:48395) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1WaIeO-0004oE-Se for 17269@debbugs.gnu.org; Wed, 16 Apr 2014 01:44:50 -0400 Received: from conversion-daemon.a-mtaout22.012.net.il by a-mtaout22.012.net.il (HyperSendmail v2007.08) id <0N4300A00ZEO3Y00@a-mtaout22.012.net.il> for 17269@debbugs.gnu.org; Wed, 16 Apr 2014 08:44:41 +0300 (IDT) Received: from HOME-C4E4A596F7 ([87.69.4.28]) by a-mtaout22.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0N430095VZYHIRA0@a-mtaout22.012.net.il>; Wed, 16 Apr 2014 08:44:41 +0300 (IDT) Date: Wed, 16 Apr 2014 08:44:51 +0300 From: Eli Zaretskii Subject: Re: bug#17269: 24.3.90; assertion failure at buf_charpos_to_bytepos (marker.c) In-reply-to: <8761mapbj4.fsf@yahoo.fr> X-012-Sender: halo1@inter.net.il To: Nicolas Richard Message-id: <83mwflkeuk.fsf@gnu.org> References: <87eh0y3bvz.fsf@geodiff-mac3.ulb.ac.be> <83r44yk2rt.fsf@gnu.org> <534D5A4F.8050000@yahoo.fr> <83ob02jwda.fsf@gnu.org> <8761mapbj4.fsf@yahoo.fr> X-Spam-Score: 1.0 (+) X-Debbugs-Envelope-To: 17269 Cc: 17269@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: Nicolas Richard , 17269@debbugs.gnu.org > Date: Tue, 15 Apr 2014 22:45:19 +0200 > > I finally managed to make a recipe that reproduces the crash every time > for me (slight variations of it will reproduce the erratic end-of-line > problem) > > gdb --args emacs -Q -nw /home/youngfrog/emacstest2.txt --eval '(execute-kbd-macro (kbd "C-e C-n C-e C-n C-e C-n C-e M-< M-f C-k C-n C-n C-e"))' > (gdb) r Thanks, I reproduced this, and will look into it in a couple of days, if no one beats me to it. > The crash is the same as reported. Not exactly: it hits assertion violation on this line: start_byte = CHAR_TO_BYTE (start); whereas your original report did that here: ceiling_byte = min (CHAR_TO_BYTE (next_change) - 1, ceiling_byte); But it's probably the same problem, so this recipe should be good enough for starters. From debbugs-submit-bounces@debbugs.gnu.org Wed Apr 16 02:57:12 2014 Received: (at 17269) by debbugs.gnu.org; 16 Apr 2014 06:57:13 +0000 Received: from localhost ([127.0.0.1]:49365 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1WaJmS-0006qD-4j for submit@debbugs.gnu.org; Wed, 16 Apr 2014 02:57:12 -0400 Received: from forward6.mail.yandex.net ([77.88.60.125]:47455) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1WaJmN-0006pi-I5 for 17269@debbugs.gnu.org; Wed, 16 Apr 2014 02:57:09 -0400 Received: from smtp6.mail.yandex.net (smtp6.mail.yandex.net [77.88.61.56]) by forward6.mail.yandex.net (Yandex) with ESMTP id 18E0C1120D03 for <17269@debbugs.gnu.org>; Wed, 16 Apr 2014 10:57:01 +0400 (MSK) Received: from smtp6.mail.yandex.net (localhost [127.0.0.1]) by smtp6.mail.yandex.net (Yandex) with ESMTP id EB74A16407E1 for <17269@debbugs.gnu.org>; Wed, 16 Apr 2014 10:57:00 +0400 (MSK) Received: from unknown (unknown [37.139.80.10]) by smtp6.mail.yandex.net (nwsmtp/Yandex) with ESMTPSA id eKSGlNoSTH-v0lKpwgN; Wed, 16 Apr 2014 10:57:00 +0400 (using TLSv1 with cipher AES128-SHA (128/128 bits)) (Client certificate not present) X-Yandex-Uniq: 2bf85d4e-8290-4e97-8f7a-1a375963ec02 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yandex.ru; s=mail; t=1397631420; bh=0GDahLlpif5eiRT9H9WplqZV3Pu8fQoi6kJmINkgEFM=; h=Message-ID:Date:From:User-Agent:MIME-Version:To:Subject: References:In-Reply-To:Content-Type:Content-Transfer-Encoding; b=FQYrnJU9o1AwvkW296Exh1UHmSKnKEAUlefiRz1ciEprQTVYfIm/zvIbobjwW7r8b Pn3d9zHAtT+XMnzbAjyZnGWTvAh9cDmM0cU1zMoIMvI61kQRtn0dSlItjHsBc2kpvP 59ZntZ1Kr+XTJB9S+hItmFcUcUiy41ZtQ4wTiXM4= Authentication-Results: smtp6.mail.yandex.net; dkim=pass header.i=@yandex.ru Message-ID: <534E29BC.2000803@yandex.ru> Date: Wed, 16 Apr 2014 10:57:00 +0400 From: Dmitry Antipov User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Thunderbird/24.4.0 MIME-Version: 1.0 To: 17269@debbugs.gnu.org Subject: Re: bug#17269: 24.3.90; assertion failure at buf_charpos_to_bytepos (marker.c) References: <87eh0y3bvz.fsf@geodiff-mac3.ulb.ac.be> <83r44yk2rt.fsf@gnu.org> <534D5A4F.8050000@yahoo.fr> <83ob02jwda.fsf@gnu.org> <8761mapbj4.fsf@yahoo.fr> <83mwflkeuk.fsf@gnu.org> In-Reply-To: <83mwflkeuk.fsf@gnu.org> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 17269 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 (/) On 04/16/2014 09:44 AM, Eli Zaretskii wrote: >> From: Nicolas Richard >> gdb --args emacs -Q -nw /home/youngfrog/emacstest2.txt --eval '(execute-kbd-macro (kbd "C-e C-n C-e C-n C-e C-n C-e M-< M-f C-k C-n C-n C-e"))' >> (gdb) r > > Thanks, I reproduced this, and will look into it in a couple of days, > if no one beats me to it. Hm, I can't reproduce with this recipe (as of bzr revision 116978). Dmitry From debbugs-submit-bounces@debbugs.gnu.org Wed Apr 16 03:24:50 2014 Received: (at 17269) by debbugs.gnu.org; 16 Apr 2014 07:24:50 +0000 Received: from localhost ([127.0.0.1]:49371 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1WaKDB-0007bT-1b for submit@debbugs.gnu.org; Wed, 16 Apr 2014 03:24:49 -0400 Received: from mtaout26.012.net.il ([80.179.55.182]:50960) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1WaKD7-0007bD-Ey for 17269@debbugs.gnu.org; Wed, 16 Apr 2014 03:24:47 -0400 Received: from conversion-daemon.mtaout26.012.net.il by mtaout26.012.net.il (HyperSendmail v2007.08) id <0N44000004AXTR00@mtaout26.012.net.il> for 17269@debbugs.gnu.org; Wed, 16 Apr 2014 10:22:49 +0300 (IDT) Received: from HOME-C4E4A596F7 ([87.69.4.28]) by mtaout26.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0N4400H404I1UY90@mtaout26.012.net.il>; Wed, 16 Apr 2014 10:22:49 +0300 (IDT) Date: Wed, 16 Apr 2014 10:24:48 +0300 From: Eli Zaretskii Subject: Re: bug#17269: 24.3.90; assertion failure at buf_charpos_to_bytepos (marker.c) In-reply-to: <534E29BC.2000803@yandex.ru> X-012-Sender: halo1@inter.net.il To: Dmitry Antipov Message-id: <83k3apka7z.fsf@gnu.org> References: <87eh0y3bvz.fsf@geodiff-mac3.ulb.ac.be> <83r44yk2rt.fsf@gnu.org> <534D5A4F.8050000@yahoo.fr> <83ob02jwda.fsf@gnu.org> <8761mapbj4.fsf@yahoo.fr> <83mwflkeuk.fsf@gnu.org> <534E29BC.2000803@yandex.ru> X-Spam-Score: 1.0 (+) X-Debbugs-Envelope-To: 17269 Cc: 17269@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: Wed, 16 Apr 2014 10:57:00 +0400 > From: Dmitry Antipov > > On 04/16/2014 09:44 AM, Eli Zaretskii wrote: > > >> From: Nicolas Richard > >> gdb --args emacs -Q -nw /home/youngfrog/emacstest2.txt --eval '(execute-kbd-macro (kbd "C-e C-n C-e C-n C-e C-n C-e M-< M-f C-k C-n C-n C-e"))' > >> (gdb) r > > > > Thanks, I reproduced this, and will look into it in a couple of days, > > if no one beats me to it. > > Hm, I can't reproduce with this recipe (as of bzr revision 116978). There's no such revision on the emacs-24 branch. From debbugs-submit-bounces@debbugs.gnu.org Thu Apr 17 03:29:32 2014 Received: (at 17269) by debbugs.gnu.org; 17 Apr 2014 07:29:32 +0000 Received: from localhost ([127.0.0.1]:50218 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1WaglH-0001YO-1z for submit@debbugs.gnu.org; Thu, 17 Apr 2014 03:29:31 -0400 Received: from mtaout20.012.net.il ([80.179.55.166]:53670) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1WaglD-0001Y4-QE for 17269@debbugs.gnu.org; Thu, 17 Apr 2014 03:29:29 -0400 Received: from conversion-daemon.a-mtaout20.012.net.il by a-mtaout20.012.net.il (HyperSendmail v2007.08) id <0N4500I00ZE7SN00@a-mtaout20.012.net.il> for 17269@debbugs.gnu.org; Thu, 17 Apr 2014 10:29:21 +0300 (IDT) Received: from HOME-C4E4A596F7 ([87.69.4.28]) by a-mtaout20.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0N4500I3SZGWJJ50@a-mtaout20.012.net.il>; Thu, 17 Apr 2014 10:29:21 +0300 (IDT) Date: Thu, 17 Apr 2014 10:29:33 +0300 From: Eli Zaretskii Subject: Re: bug#17269: 24.3.90; assertion failure at buf_charpos_to_bytepos (marker.c) In-reply-to: <83mwflkeuk.fsf@gnu.org> X-012-Sender: halo1@inter.net.il To: theonewiththeevillook@yahoo.fr Message-id: <8338hcjtwi.fsf@gnu.org> References: <87eh0y3bvz.fsf@geodiff-mac3.ulb.ac.be> <83r44yk2rt.fsf@gnu.org> <534D5A4F.8050000@yahoo.fr> <83ob02jwda.fsf@gnu.org> <8761mapbj4.fsf@yahoo.fr> <83mwflkeuk.fsf@gnu.org> X-Spam-Score: 1.0 (+) X-Debbugs-Envelope-To: 17269 Cc: 17269@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: Wed, 16 Apr 2014 08:44:51 +0300 > From: Eli Zaretskii > Cc: 17269@debbugs.gnu.org > > > gdb --args emacs -Q -nw /home/youngfrog/emacstest2.txt --eval '(execute-kbd-macro (kbd "C-e C-n C-e C-n C-e C-n C-e M-< M-f C-k C-n C-n C-e"))' > > (gdb) r > > Thanks, I reproduced this, and will look into it in a couple of days, > if no one beats me to it. Please try the latest emacs-24 branch, I committed a change that fixes the above recipe, but I'd like to know if your original use case is fixed as well. Thanks. From debbugs-submit-bounces@debbugs.gnu.org Thu Apr 17 06:14:30 2014 Received: (at 17269) by debbugs.gnu.org; 17 Apr 2014 10:14:31 +0000 Received: from localhost ([127.0.0.1]:50358 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1WajKw-0006A2-8T for submit@debbugs.gnu.org; Thu, 17 Apr 2014 06:14:30 -0400 Received: from mxin.ulb.ac.be ([164.15.128.112]:56639) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1WajKt-00069m-9G for 17269@debbugs.gnu.org; Thu, 17 Apr 2014 06:14:28 -0400 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: Ao8CAPaoT1OkD4Xx/2dsb2JhbAANTK4gljCDEYE7gxoBAQQyAUUBEAshFg8JAwIBAgFFBg0BBwEBh2MBpmyBR5p1AYdJF4dfhwMHhDgBA5hqhkGEKYsV Received: from mathsrv4.ulb.ac.be (HELO [172.19.79.241]) ([164.15.133.241]) by smtp.ulb.ac.be with ESMTP; 17 Apr 2014 12:14:24 +0200 Message-ID: <534FA9A3.7000203@yahoo.fr> Date: Thu, 17 Apr 2014 12:14:59 +0200 From: Nicolas Richard User-Agent: Mozilla/5.0 (X11; Linux i686; rv:24.0) Gecko/20100101 Thunderbird/24.1.1 MIME-Version: 1.0 To: Eli Zaretskii Subject: Re: bug#17269: 24.3.90; assertion failure at buf_charpos_to_bytepos (marker.c) References: <87eh0y3bvz.fsf@geodiff-mac3.ulb.ac.be> <83r44yk2rt.fsf@gnu.org> <534D5A4F.8050000@yahoo.fr> <83ob02jwda.fsf@gnu.org> <8761mapbj4.fsf@yahoo.fr> <83mwflkeuk.fsf@gnu.org> <8338hcjtwi.fsf@gnu.org> In-Reply-To: <8338hcjtwi.fsf@gnu.org> X-TagToolbar-Keys: D20140417121459555 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 17269 Cc: 17269@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 17/04/2014 09:29, Eli Zaretskii a écrit : > Please try the latest emacs-24 branch, I committed a change that fixes > the above recipe, but I'd like to know if your original use case is > fixed as well. It's been running for a few hours now without any problems ; thanks ! -- Nico. From debbugs-submit-bounces@debbugs.gnu.org Thu Apr 17 06:20:19 2014 Received: (at 17269-done) by debbugs.gnu.org; 17 Apr 2014 10:20:20 +0000 Received: from localhost ([127.0.0.1]:50376 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1WajQZ-0006Lq-Bj for submit@debbugs.gnu.org; Thu, 17 Apr 2014 06:20:19 -0400 Received: from mtaout25.012.net.il ([80.179.55.181]:49779) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1WajQW-0006LX-2z for 17269-done@debbugs.gnu.org; Thu, 17 Apr 2014 06:20:17 -0400 Received: from conversion-daemon.mtaout25.012.net.il by mtaout25.012.net.il (HyperSendmail v2007.08) id <0N4600B006SWM900@mtaout25.012.net.il> for 17269-done@debbugs.gnu.org; Thu, 17 Apr 2014 13:18:20 +0300 (IDT) Received: from HOME-C4E4A596F7 ([87.69.4.28]) by mtaout25.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0N46007GT7AJRP60@mtaout25.012.net.il>; Thu, 17 Apr 2014 13:18:20 +0300 (IDT) Date: Thu, 17 Apr 2014 13:20:23 +0300 From: Eli Zaretskii Subject: Re: bug#17269: 24.3.90; assertion failure at buf_charpos_to_bytepos (marker.c) In-reply-to: <534FA9A3.7000203@yahoo.fr> X-012-Sender: halo1@inter.net.il To: Nicolas Richard Message-id: <83ob00i7fc.fsf@gnu.org> MIME-version: 1.0 Content-type: text/plain; charset=iso-8859-1 Content-transfer-encoding: 8BIT References: <87eh0y3bvz.fsf@geodiff-mac3.ulb.ac.be> <83r44yk2rt.fsf@gnu.org> <534D5A4F.8050000@yahoo.fr> <83ob02jwda.fsf@gnu.org> <8761mapbj4.fsf@yahoo.fr> <83mwflkeuk.fsf@gnu.org> <8338hcjtwi.fsf@gnu.org> <534FA9A3.7000203@yahoo.fr> X-Spam-Score: 1.0 (+) X-Debbugs-Envelope-To: 17269-done Cc: 17269-done@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: Thu, 17 Apr 2014 12:14:59 +0200 > From: Nicolas Richard > CC: 17269@debbugs.gnu.org > > Le 17/04/2014 09:29, Eli Zaretskii a écrit : > > Please try the latest emacs-24 branch, I committed a change that fixes > > the above recipe, but I'd like to know if your original use case is > > fixed as well. > > It's been running for a few hours now without any problems ; thanks ! Great, closing. Feel free to reopen if you find additional issues. From unknown Fri Sep 05 11:51:11 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Thu, 15 May 2014 11: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