From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Simon Josefsson Newsgroups: gmane.emacs.devel Subject: infloop when removing character Date: Mon, 04 Aug 2003 23:08:54 +0200 Sender: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Message-ID: NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: main.gmane.org 1060033383 14803 80.91.224.253 (4 Aug 2003 21:43:03 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Mon, 4 Aug 2003 21:43:03 +0000 (UTC) Original-X-From: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Mon Aug 04 23:43:20 2003 Return-path: Original-Received: from quimby.gnus.org ([80.91.224.244]) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 19jn6u-0001GZ-00 for ; Mon, 04 Aug 2003 23:43:20 +0200 Original-Received: from monty-python.gnu.org ([199.232.76.173]) by quimby.gnus.org with esmtp (Exim 3.12 #1 (Debian)) id 19jnB9-0004Ec-00 for ; Mon, 04 Aug 2003 23:47:43 +0200 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.20) id 19jmv4-0004Cz-Hp for emacs-devel@quimby.gnus.org; Mon, 04 Aug 2003 17:31:06 -0400 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.20) id 19jmk5-0000nc-9I for emacs-devel@gnu.org; Mon, 04 Aug 2003 17:19:45 -0400 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.20) id 19jmdw-0006ad-H0 for emacs-devel@gnu.org; Mon, 04 Aug 2003 17:13:55 -0400 Original-Received: from [217.13.230.178] (helo=yxa.extundo.com) by monty-python.gnu.org with esmtp (Exim 4.20) id 19jmZl-0003q7-K7 for emacs-devel@gnu.org; Mon, 04 Aug 2003 17:09:05 -0400 Original-Received: from latte.josefsson.org (yxa.extundo.com [217.13.230.178]) (authenticated bits=0) by yxa.extundo.com (8.12.9/8.12.9) with ESMTP id h74L8tgW028642 (version=TLSv1/SSLv3 cipher=EDH-RSA-DES-CBC3-SHA bits=168 verify=OK) for ; Mon, 4 Aug 2003 23:08:58 +0200 Original-To: emacs-devel@gnu.org X-Payment: hashcash 1.2 0:030804:emacs-devel@gnu.org:b7cb6b717933b490 X-Hashcash: 0:030804:emacs-devel@gnu.org:b7cb6b717933b490 User-Agent: Gnus/5.1003 (Gnus v5.10.3) Emacs/21.3.50 (gnu/linux) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.2 Precedence: list List-Id: Emacs development discussions. List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Xref: main.gmane.org gmane.emacs.devel:15808 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:15808 I have seen this a few times now, the last time I removed a parenthesis at the end of the line with backspace, I recall it hanging in similar situations before. I did 'cvs upd' but there were no changes in src/, so I believe my emacs is fairly up to date. Program received signal SIGTSTP, Stopped (user). scan_newline (start=1086115847, start_byte=513066, limit=1, limit_byte=1, count=-525, allow_quit=0) at search.c:809 809 while (--cursor != ceiling_addr && *cursor != '\n') (gdb) n 814 if (++count == 0) (gdb) 809 while (--cursor != ceiling_addr && *cursor != '\n') (gdb) 814 if (++count == 0) (gdb) 809 while (--cursor != ceiling_addr && *cursor != '\n') (gdb) 814 if (++count == 0) (gdb) 809 while (--cursor != ceiling_addr && *cursor != '\n') (gdb) 814 if (++count == 0) (gdb) 809 while (--cursor != ceiling_addr && *cursor != '\n') (gdb) 814 if (++count == 0) (gdb) 809 while (--cursor != ceiling_addr && *cursor != '\n') (gdb) 814 if (++count == 0) (gdb) 809 while (--cursor != ceiling_addr && *cursor != '\n') (gdb) 814 if (++count == 0) (gdb) 809 while (--cursor != ceiling_addr && *cursor != '\n') (gdb) 814 if (++count == 0) (gdb) 809 while (--cursor != ceiling_addr && *cursor != '\n') (gdb) 814 if (++count == 0) (gdb) 809 while (--cursor != ceiling_addr && *cursor != '\n') (gdb) p cursor $6 = ( unsigned char *) 0x40bd3335 "\nnnimap: Quickly checking mailbox INBOX.gnu-prog-disc\nnnimap: Quickly checking mailbox INBOX.libtool\nnnimap: Quickly checking mailbox INBOX.sent-mail.2002.12\nnnimap: Quickly checking mailbox INBOX.sen"... (gdb) p ceiling_addr $7 = (unsigned char *) 0x40bcd007 "" (gdb) p count $8 = -516 (gdb) n 814 if (++count == 0) (gdb) 809 while (--cursor != ceiling_addr && *cursor != '\n') (gdb) 814 if (++count == 0) (gdb) 809 while (--cursor != ceiling_addr && *cursor != '\n') (gdb) 814 if (++count == 0) (gdb) 809 while (--cursor != ceiling_addr && *cursor != '\n') (gdb) c Continuing. Program received signal SIGTSTP, Stopped (user). 0x08140f15 in scan_newline (start=1086115847, start_byte=513066, limit=1, limit_byte=1, count=-9641, allow_quit=0) at search.c:809 809 while (--cursor != ceiling_addr && *cursor != '\n') (gdb) p count $9 = -9641 (gdb) bt full #0 0x08140f15 in scan_newline (start=1086115847, start_byte=513066, limit=1, limit_byte=1, count=-9641, allow_quit=0) at search.c:809 direction = -1 cursor = ( unsigned char *) 0x40c4446c "% completed...\ngnus-agent-expire cleared download flag on article 4681 as the cached article file is missing.\ngnus-agent-expire detected a missing NOV entry. Run gnus-agent-regenerate-group to restor"... base = (unsigned char *) 0x40c4a431 "" ceiling = 1086604396 ceiling_addr = (unsigned char *) 0x40bcd007 "" old_immediate_quit = 0 #1 0x08096cdc in message_dolog (m=0x81a5be4 "", nbytes=-1073748704, nlflag=1, multibyte=0) at xdisp.c:6279 this_bol = -1073748704 this_bol_byte = -1073748689 prev_bol = 513022 prev_bol_byte = 513022 dup = 137550656 oldbuf = (struct buffer *) 0x9416958 oldpoint = 674330184 oldbegv = 674330204 oldzv = 674330224 old_windows_or_buffers_changed = 523342 ---Type to continue, or q to quit--- point_at_end = 1 zv_at_end = 1 old_deactivate_mark = 405673668 tem = 137550656 gcpro1 = { next = 0x0, var = 0x0, nvars = -1073748424 } #2 0x080969b4 in message_log_maybe_newline () at xdisp.c:6146 No locals. #3 0x0810bbf1 in cmd_error_internal (data=1500288016, context=0xbfffe5d0 "") at keyboard.c:1226 stream = 139876064 kill_emacs_p = 0 #4 0x0810ba7f in cmd_error (data=1500288016) at keyboard.c:1174 old_level = 405673668 old_length = 405673668 macroerror = "\04Q\b\0\0\0\0\001\0\0\0\031`^@\0\0\0\0\214\345\377\277\0\345\377\277\0\0\0\0\0\0\377\277\357q\0@\e\eY@o\247\a\bhB" #5 0x08163ab4 in internal_condition_case (bfun=0x810bde4 , handlers=405784756, hfun=0x810b9d8 ) at eval.c:1323 val = 1086604396 ---Type to continue, or q to quit--- c = { tag = 405673668, val = 1500288016, next = 0xbfffe780, gcpro = 0x0, jmp = {{ __jmpbuf = {0, 1, -1073747736, -1073748152, -1073748432, 135674529}, __mask_was_saved = 0, __saved_mask = { __val = {1079928080, 139543144, 0, 0, 110932256, 3221219136, 1073813208, 3221219016, 1079943696, 1079557216, 1078462232, 1079671240, 0 , 1073812652, 1073813208} } }}, backlist = 0x0, handlerlist = 0x0, lisp_eval_depth = 0, pdlcount = 2, poll_suppress_count = 1, interrupt_input_blocked = 0, byte_stack = 0x0 } h = { ---Type to continue, or q to quit--- handler = 405784756, var = 405673668, chosen_clause = 405673716, tag = 0xbfffe660, next = 0x0 } #6 0x0810bcba in command_loop_2 () at keyboard.c:1292 val = 1086604396 #7 0x081636a5 in internal_catch (tag=1086604396, func=0x810bc9c , arg=405673668) at eval.c:1094 c = { tag = 405746020, val = 405673668, next = 0x0, gcpro = 0x0, jmp = {{ __jmpbuf = {0, 1, -1073747736, -1073747864, -1073748112, 135673466}, __mask_was_saved = 0, __saved_mask = { __val = {0, 139542136, 1079924840, 5, 429496729, 0, 1080614752, 139543144, 139543144, 3221218984, 1079928080, 139543144, 0, 3221219016, 1079943727, 139543144, 1079882577, 3221219016, 0, 1074309576, 674330284, 0, 405919036, 3221219400, 135614975, ---Type to continue, or q to quit--- 405919036, 674330284, 405673668, 137303856, 1479460504, 405673668, 674330284} } }}, backlist = 0x0, handlerlist = 0x0, lisp_eval_depth = 0, pdlcount = 2, poll_suppress_count = 1, interrupt_input_blocked = 0, byte_stack = 0x0 } #8 0x0810bc70 in command_loop () at keyboard.c:1271 No locals. #9 0x0810b7b4 in recursive_edit_1 () at keyboard.c:987 val = 0 #10 0x0810b8c4 in Frecursive_edit () at keyboard.c:1043 buffer = 1086604396 #11 0x0810a225 in main (argc=3, argv=0xbfffeb84) at emacs.c:1666 dummy = 1073812652 stack_bottom_variable = -65 '\277' do_initial_setlocale = 1 skip_args = 0 ---Type to continue, or q to quit--- rlim = { rlim_cur = 18446744073709551615, rlim_max = 18446744073709551615 } no_loadup = 0 junk = 0x0 (gdb) (gdb)