From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#6540: 23.2; 23.2.1 (i386-mingw-nt6.1.7600) crashes too Date: Sat, 07 Jan 2012 10:24:10 +0200 Message-ID: <83aa5zhqdx.fsf@gnu.org> References: Reply-To: Eli Zaretskii NNTP-Posting-Host: lo.gmane.org X-Trace: dough.gmane.org 1325924715 7984 80.91.229.12 (7 Jan 2012 08:25:15 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Sat, 7 Jan 2012 08:25:15 +0000 (UTC) Cc: camel322@gmail.com, 6540@debbugs.gnu.org To: Lars Magne Ingebrigtsen Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sat Jan 07 09:25:09 2012 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([140.186.70.17]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1RjRaO-0002Gz-OZ for geb-bug-gnu-emacs@m.gmane.org; Sat, 07 Jan 2012 09:25:09 +0100 Original-Received: from localhost ([::1]:38908 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RjRaO-0003Li-8w for geb-bug-gnu-emacs@m.gmane.org; Sat, 07 Jan 2012 03:25:08 -0500 Original-Received: from eggs.gnu.org ([140.186.70.92]:44281) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RjRaL-0003KD-OT for bug-gnu-emacs@gnu.org; Sat, 07 Jan 2012 03:25:07 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RjRaH-0001vn-DI for bug-gnu-emacs@gnu.org; Sat, 07 Jan 2012 03:25:05 -0500 Original-Received: from debbugs.gnu.org ([140.186.70.43]:53021) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RjRaH-0001vj-AF for bug-gnu-emacs@gnu.org; Sat, 07 Jan 2012 03:25:01 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.72) (envelope-from ) id 1RjRaI-0004HC-5I for bug-gnu-emacs@gnu.org; Sat, 07 Jan 2012 03:25:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 07 Jan 2012 08:25:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 6540 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 6540-submit@debbugs.gnu.org id=B6540.132592466616377 (code B ref 6540); Sat, 07 Jan 2012 08:25:02 +0000 Original-Received: (at 6540) by debbugs.gnu.org; 7 Jan 2012 08:24:26 +0000 Original-Received: from localhost ([127.0.0.1]:47691 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1RjRZf-0004G4-Va for submit@debbugs.gnu.org; Sat, 07 Jan 2012 03:24:25 -0500 Original-Received: from mtaout22.012.net.il ([80.179.55.172]:57480) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1RjRZb-0004Fo-3J for 6540@debbugs.gnu.org; Sat, 07 Jan 2012 03:24:22 -0500 Original-Received: from conversion-daemon.a-mtaout22.012.net.il by a-mtaout22.012.net.il (HyperSendmail v2007.08) id <0LXF00B005VHEI00@a-mtaout22.012.net.il> for 6540@debbugs.gnu.org; Sat, 07 Jan 2012 10:24:11 +0200 (IST) Original-Received: from HOME-C4E4A596F7 ([84.229.156.26]) by a-mtaout22.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0LXF00BIR60A3ZD0@a-mtaout22.012.net.il>; Sat, 07 Jan 2012 10:24:11 +0200 (IST) In-reply-to: X-012-Sender: halo1@inter.net.il X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) X-Received-From: 140.186.70.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:55489 Archived-At: > From: Lars Magne Ingebrigtsen > Date: Sat, 07 Jan 2012 05:36:43 +0100 > Cc: 6540@debbugs.gnu.org > > Lars Magne Ingebrigtsen writes: > > > oCameLo writes: > > > >> Steps to reproduce: > >> > >> - emacs -q > >> > >> - (setq cache-long-line-scans t) > >> C-x C-e > >> > >> - (insert (prin1-to-string (x-list-fonts "*"))) > >> C-j > > > > I'm unable to reproduce this with Emacs 24 under Linux. Has this bug > > gone away in Emacs 24 for you, too? > > More information was requested, but no response was given within a few > months, so I'm closing this bug report. If the problem still exists, > please reopen this bug report. I will reopen it, because it can be easily reproduced with the current trunk. For the record, the backtrace is below. Breakpoint 1, w32_abort () at w32fns.c:7193 7193 button = MessageBox (NULL, (gdb) bt #0 w32_abort () at w32fns.c:7193 #1 0x012f7f19 in set_cache_region (c=0x357d1a0, start=269, end=110364, value=1) at region-cache.c:387 #2 0x012f860b in know_region_cache (buf=0x32a6000, c=0x357d1a0, start=269, end=110364) at region-cache.c:694 #3 0x010fbc5d in scan_buffer (target=10, start=110361, end=1, count=-1, shortage=0x0, allow_quit=0) at search.c:793 #4 0x010fc0c4 in find_next_newline_no_quit (from=110361, cnt=-1) at search.c:935 #5 0x01166d9d in back_to_previous_line_start (it=0x82dcb0) at xdisp.c:5711 #6 0x0116726e in back_to_previous_visible_line_start (it=0x82dcb0) at xdisp.c:5855 #7 0x0116fc5a in move_it_vertically_backward (it=0x82dcb0, dy=264) at xdisp.c:8744 #8 0x011876b1 in redisplay_window (window=59080197, just_this_one_p=0) at xdisp.c:15649 #9 0x0117fc3e in redisplay_window_0 (window=59080197) at xdisp.c:13603 #10 0x01033d0b in internal_condition_case_1 ( bfun=0x117fc0c , arg=59080197, handlers=53054174, hfun=0x117fbeb ) at eval.c:1537 #11 0x0117fbdb in redisplay_windows (window=59080197) at xdisp.c:13583 #12 0x0117db7e in redisplay_internal () at xdisp.c:13160 #13 0x0117ae70 in redisplay () at xdisp.c:12383 #14 0x010087e2 in read_char (commandflag=1, nmaps=2, maps=0x82fa30, prev_event=53069850, used_mouse_menu=0x82fb5c, end_time=0x0) at keyboard.c:2444 #15 0x0101c232 in read_key_sequence (keybuf=0x82fc60, bufsize=30, prompt=53069850, dont_downcase_last=0, can_return_switch_frame=1, fix_current_buffer=1) at keyboard.c:9300 #16 0x01005aa8 in command_loop_1 () at keyboard.c:1448 #17 0x01033bfb in internal_condition_case (bfun=0x10054b6 , handlers=53127578, hfun=0x1004ce0 ) at eval.c:1499 #18 0x0100511c in command_loop_2 (ignore=53069850) at keyboard.c:1159 #19 0x010335bb in internal_catch (tag=53125602, func=0x10050f9 , arg=53069850) at eval.c:1256 #20 0x010050d4 in command_loop () at keyboard.c:1138 #21 0x0100469e in recursive_edit_1 () at keyboard.c:758 #22 0x010049c0 in Frecursive_edit () at keyboard.c:822 #23 0x010027c8 in main (argc=2, argv=0xa32880) at emacs.c:1715 (gdb) up #1 0x012f7f19 in set_cache_region (c=0x357d1a0, start=269, end=110364, value=1) at region-cache.c:387 387 abort (); (gdb) l 382 { 383 if (start > end) 384 abort (); 385 if (start < c->buffer_beg 386 || end > c->buffer_end) 387 abort (); 388 389 /* Eliminate this case; then we can assume that start and end-1 are 390 both the locations of real characters in the buffer. */ 391 if (start == end) (gdb) p c->buffer_beg $1 = 1 (gdb) p c->buffer_end $2 = 110362