From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Masatake YAMATO Newsgroups: gmane.emacs.devel Subject: Re: xdisp.c problem? Date: Fri, 31 Jan 2003 11:16:42 +0900 (JST) Sender: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Message-ID: <20030131.111642.30174709.jet@gyve.org> References: <20030129.174125.01368882.Takaaki.Ota@am.sony.com> <20030131.015738.92575916.jet@gyve.org> <20030130.163517.81458014.Takaaki.Ota@am.sony.com> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Trace: main.gmane.org 1043984484 31150 80.91.224.249 (31 Jan 2003 03:41:24 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Fri, 31 Jan 2003 03:41:24 +0000 (UTC) Cc: handa@m17n.org Return-path: Original-Received: from quimby.gnus.org ([80.91.224.244]) by main.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 18eS3B-00085z-00 for ; Fri, 31 Jan 2003 04:41:09 +0100 Original-Received: from monty-python.gnu.org ([199.232.76.173]) by quimby.gnus.org with esmtp (Exim 3.12 #1 (Debian)) id 18eS98-0002S3-00 for ; Fri, 31 Jan 2003 04:47:18 +0100 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.10.13) id 18eS3H-00051R-00 for emacs-devel@quimby.gnus.org; Thu, 30 Jan 2003 22:41:15 -0500 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.10.13) id 18eS2O-0003XT-00 for emacs-devel@gnu.org; Thu, 30 Jan 2003 22:40:20 -0500 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.10.13) id 18eS1J-0002v1-00 for emacs-devel@gnu.org; Thu, 30 Jan 2003 22:39:16 -0500 Original-Received: from r-maa.spacetown.ne.jp ([210.130.136.40]) by monty-python.gnu.org with esmtp (Exim 4.10.13) id 18eS1G-0002lv-00 for emacs-devel@gnu.org; Thu, 30 Jan 2003 22:39:10 -0500 Original-Received: from localhost (h219-110-074-175.catv01.itscom.jp [219.110.74.175]) by r-maa.spacetown.ne.jp (8.11.6) with ESMTP id h0V3d3Y22715; Fri, 31 Jan 2003 12:39:03 +0900 (JST) Original-To: Takaaki.Ota@am.sony.com In-Reply-To: <20030130.163517.81458014.Takaaki.Ota@am.sony.com> X-Mailer: Mew version 3.1.52 on Emacs 21.3 / Mule 5.0 (SAKAKI) Original-cc: emacs-devel@gnu.org X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1b5 Precedence: list List-Id: Emacs development discussions. List-Help: List-Post: List-Subscribe: , List-Archive: List-Unsubscribe: , Errors-To: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Xref: main.gmane.org gmane.emacs.devel:11245 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:11245 > If you set a breakpoint in unwind_to_catch, say on the line _longjmp > (catch->jmp, 1); you should be able to catch the moment. If you can > provide the trace information from GNU/Linux under gdb it is probably > preferable data than the one I posted. I've tried. I got backtrace 4 times; and I found a cycle. In all backtraces, from #0 to #17, the called functions are same. However, functions at #18 are different. M-x occur #18 (backtrace 1) 46:#18 0x0806949f in redisplay_preserve_echo_area (from_where=7) at xdisp.c:9231 (backtrace 2) 114:#18 0x08067ea9 in redisplay () at xdisp.c:8434 (backtrace 3) 161:#18 0x0806949f in redisplay_preserve_echo_area (from_where=2) at xdisp.c:9231 (backtrace 4) 228:#18 0x08067ea9 in redisplay () at xdisp.c:8434 Regards, Masatake YAMATO p.s. I can provide backtraces log as a MIME attached file. ----------------------------------------------------------------------- (gdb) where #0 unwind_to_catch (catch=0xbfffede0, value=-1073746000) at eval.c:1172 #1 0x08132279 in Fsignal (error_symbol=405555460, data=1486783484) at eval.c:1547 #2 0x081220fe in args_out_of_range (a1=0, a2=0) at data.c:140 #3 0x0816dcd4 in validate_interval_range (object=1213853600, begin=0xbfffdb40, end=0xbfffdb40, force=0) at textprop.c:151 #4 0x0816e68d in Ftext_properties_at (position=0, object=-1073744464) at textprop.c:585 #5 0x0816e6f9 in Fget_text_property (position=0, prop=405682500, object=1213853600) at textprop.c:606 #6 0x0816e779 in get_char_property_and_overlay (position=0, prop=405682500, object=1213853600, overlay=0x0) at textprop.c:688 #7 0x0816e916 in Fget_char_property (position=0, prop=405682500, object=405458780) at textprop.c:704 #8 0x0816ea64 in Fnext_single_char_property_change (position=0, prop=405682500, object=405458780, limit=1367) at textprop.c:800 #9 0x08069a1a in set_cursor_from_row (w=0x8694028, row=0x89ab33c, matrix=0xbfffefb0, delta=0, delta_bytes=0, dy=0, dvpos=0) at xdisp.c:9527 #10 0x080716ba in display_line (it=0xbfffdd80) at xdisp.c:13577 #11 0x0806d815 in try_window (window=1214857256, pos={charpos = -1073750656, bytepos = -1073751424}) at xdisp.c:10978 #12 0x0806d2ec in redisplay_window (window=1214857256, just_this_one_p=0) at xdisp.c:10617 #13 0x080698b1 in redisplay_window_0 (window=1214857256) at xdisp.c:9437 #14 0x08131fec in internal_condition_case_1 (bfun=0x8069884 , arg=1214857256, handlers=1479377068, hfun=0x8069868 ) at eval.c:1392 #15 0x08069866 in redisplay_windows (window=141668432) at xdisp.c:9416 #16 0x08069828 in redisplay_windows (window=141668432) at xdisp.c:9410 #17 0x08068ae1 in redisplay_internal (preserve_echo_area=1) at xdisp.c:9007 #18 0x0806949f in redisplay_preserve_echo_area (from_where=7) at xdisp.c:9231 #19 0x080df3a2 in swallow_events (do_display=1) at keyboard.c:4130 #20 0x0805858c in sit_for (sec=0, usec=0, reading=0, display=1, initial_display=1) at dispnew.c:6233 #21 0x080586ae in Fsit_for (seconds=0, milliseconds=-1073744464, nodisp=405458780) at dispnew.c:6288 #22 0x08133a0a in Ffuncall (nargs=2, args=0xbfffea30) at eval.c:2740 #23 0x0815b790 in Fbyte_code (bytestr=141340868, vector=1, maxdepth=-1073747296) at bytecode.c:709 #24 0x08133cfb in funcall_lambda (fun=1213795320, nargs=0, arg_vector=0xbfffec88) at eval.c:2927 #25 0x081338e3 in Ffuncall (nargs=1, args=0xbfffec84) at eval.c:2797 #26 0x081332ea in Fapply (nargs=2, args=0xbfffec84) at eval.c:2247 #27 0x08133ad2 in Ffuncall (nargs=3, args=0xbfffec80) at eval.c:2721 #28 0x0815b790 in Fbyte_code (bytestr=407485460, vector=2, maxdepth=-1073746816) at bytecode.c:709 #29 0x08133056 in Feval (form=136768600) at eval.c:2095 #30 0x08131df0 in Fcondition_case (args=405458780) at eval.c:1298 #31 0x0815c39d in Fbyte_code (bytestr=407485460, vector=143, maxdepth=-1073746208) at bytecode.c:891 #32 0x08133cfb in funcall_lambda (fun=1210249372, nargs=1, arg_vector=0xbffff024) at eval.c:2927 #33 0x081338e3 in Ffuncall (nargs=2, args=0xbffff020) at eval.c:2797 #34 0x08133718 in call1 (fn=405513452, arg1=1213794184) at eval.c:2536 #35 0x080df838 in timer_check (do_it_now=1) at keyboard.c:4339 #36 0x080de75d in readable_filtered_events (do_timers_now=-1073744464, filter_events=0) at keyboard.c:3390 #37 0x080e171c in get_filtered_input_pending (addr=0x82a336c, do_timers_now=1, filter_events=0) at keyboard.c:6370 #38 0x080e173b in get_input_pending (addr=0x82a336c, do_timers_now=1) at keyboard.c:6386 #39 0x080e5ec7 in detect_input_pending_run_timers (do_display=0) at keyboard.c:9746 #40 0x080dca30 in read_char (commandflag=1, nmaps=2, maps=0xbffff390, prev_event=405458780, used_mouse_menu=0xbffff3c8) at keyboard.c:2418 #41 0x080e3c8d in read_key_sequence (keybuf=0xbffff4f0, bufsize=30, prompt=405458780, dont_downcase_last=0, can_return_switch_frame=1, fix_current_buffer=1) at keyboard.c:8531 #42 0x080dae8b in command_loop_1 () at keyboard.c:1474 #43 0x08131ef2 in internal_condition_case (bfun=0x80dad18 , handlers=405555388, hfun=0x80da914 ) at eval.c:1351 #44 0x080dabfe in command_loop_2 () at keyboard.c:1274 #45 0x08131a95 in internal_catch (tag=405458688, func=0x80dabe0 , arg=405458780) at eval.c:1112 #46 0x080dabb4 in command_loop () at keyboard.c:1253 #47 0x080da6f3 in recursive_edit_1 () at keyboard.c:969 #48 0x080da800 in Frecursive_edit () at keyboard.c:1025 #49 0x080d915b in main (argc=1, argv=0xbffffac4) at emacs.c:1659 #50 0x420158d4 in __libc_start_main () from /lib/i686/libc.so.6 (gdb) c Continuing. Breakpoint 2, unwind_to_catch (catch=0xbffff5b0, value=1486783644) at eval.c:1143 (gdb) c Continuing. Breakpoint 3, unwind_to_catch (catch=0xbffff5b0, value=0) at eval.c:1172 (gdb) where #0 unwind_to_catch (catch=0xbffff5b0, value=0) at eval.c:1172 #1 0x08132279 in Fsignal (error_symbol=405555460, data=1486783628) at eval.c:1547 #2 0x081220fe in args_out_of_range (a1=0, a2=0) at data.c:140 #3 0x0816dcd4 in validate_interval_range (object=1213853600, begin=0xbfffe3a0, end=0xbfffe3a0, force=0) at textprop.c:151 #4 0x0816e68d in Ftext_properties_at (position=0, object=-1073744176) at textprop.c:585 #5 0x0816e6f9 in Fget_text_property (position=0, prop=405682500, object=1213853600) at textprop.c:606 #6 0x0816e779 in get_char_property_and_overlay (position=0, prop=405682500, object=1213853600, overlay=0x0) at textprop.c:688 #7 0x0816e916 in Fget_char_property (position=0, prop=405682500, object=405458780) at textprop.c:704 #8 0x0816ea64 in Fnext_single_char_property_change (position=0, prop=405682500, object=405458780, limit=1367) at textprop.c:800 #9 0x08069a1a in set_cursor_from_row (w=0x8694028, row=0x89ab33c, matrix=0x0, delta=0, delta_bytes=0, dy=0, dvpos=0) at xdisp.c:9527 #10 0x080716ba in display_line (it=0xbfffe5e0) at xdisp.c:13577 #11 0x0806d815 in try_window (window=1214857256, pos={charpos = -1073748512, bytepos = -1073749280}) at xdisp.c:10978 #12 0x0806d2ec in redisplay_window (window=1214857256, just_this_one_p=0) at xdisp.c:10617 #13 0x080698b1 in redisplay_window_0 (window=1214857256) at xdisp.c:9437 #14 0x08131fec in internal_condition_case_1 (bfun=0x8069884 , arg=1214857256, handlers=1479377068, hfun=0x8069868 ) at eval.c:1392 #15 0x08069866 in redisplay_windows (window=141668384) at xdisp.c:9416 #16 0x08069828 in redisplay_windows (window=141668384) at xdisp.c:9410 #17 0x08068ae1 in redisplay_internal (preserve_echo_area=0) at xdisp.c:9007 #18 0x08067ea9 in redisplay () at xdisp.c:8434 #19 0x080ddd81 in read_char (commandflag=1, nmaps=2, maps=0xbffff390, prev_event=405458780, used_mouse_menu=0xbffff3c8) at keyboard.c:2428 #20 0x080e3c8d in read_key_sequence (keybuf=0xbffff4f0, bufsize=30, prompt=405458780, dont_downcase_last=0, can_return_switch_frame=1, fix_current_buffer=1) at keyboard.c:8531 #21 0x080dae8b in command_loop_1 () at keyboard.c:1474 #22 0x08131ef2 in internal_condition_case (bfun=0x80dad18 , handlers=405555388, hfun=0x80da914 ) at eval.c:1351 #23 0x080dabfe in command_loop_2 () at keyboard.c:1274 #24 0x08131a95 in internal_catch (tag=405458688, func=0x80dabe0 , arg=405458780) at eval.c:1112 #25 0x080dabb4 in command_loop () at keyboard.c:1253 #26 0x080da6f3 in recursive_edit_1 () at keyboard.c:969 #27 0x080da800 in Frecursive_edit () at keyboard.c:1025 #28 0x080d915b in main (argc=1, argv=0xbffffac4) at emacs.c:1659 #29 0x420158d4 in __libc_start_main () from /lib/i686/libc.so.6 (gdb) c Continuing. Breakpoint 2, unwind_to_catch (catch=0xbfffede0, value=1486784356) at eval.c:1143 (gdb) c Continuing. Breakpoint 3, unwind_to_catch (catch=0xbfffede0, value=-1073746000) at eval.c:1172 (gdb) where #0 unwind_to_catch (catch=0xbfffede0, value=-1073746000) at eval.c:1172 #1 0x08132279 in Fsignal (error_symbol=405555460, data=1486784348) at eval.c:1547 #2 0x081220fe in args_out_of_range (a1=0, a2=0) at data.c:140 #3 0x0816dcd4 in validate_interval_range (object=1213853600, begin=0xbfffdbd0, end=0xbfffdbd0, force=0) at textprop.c:151 #4 0x0816e68d in Ftext_properties_at (position=0, object=-1073744464) at textprop.c:585 #5 0x0816e6f9 in Fget_text_property (position=0, prop=405682500, object=1213853600) at textprop.c:606 #6 0x0816e779 in get_char_property_and_overlay (position=0, prop=405682500, object=1213853600, overlay=0x0) at textprop.c:688 #7 0x0816e916 in Fget_char_property (position=0, prop=405682500, object=405458780) at textprop.c:704 #8 0x0816ea64 in Fnext_single_char_property_change (position=0, prop=405682500, object=405458780, limit=1367) at textprop.c:800 #9 0x08069a1a in set_cursor_from_row (w=0x8694028, row=0x89ab33c, matrix=0xbfffefb0, delta=0, delta_bytes=0, dy=0, dvpos=0) at xdisp.c:9527 #10 0x080716ba in display_line (it=0xbfffde10) at xdisp.c:13577 #11 0x0806d815 in try_window (window=1214857256, pos={charpos = -1073750512, bytepos = -1073751280}) at xdisp.c:10978 #12 0x0806d2ec in redisplay_window (window=1214857256, just_this_one_p=0) at xdisp.c:10617 #13 0x080698b1 in redisplay_window_0 (window=1214857256) at xdisp.c:9437 #14 0x08131fec in internal_condition_case_1 (bfun=0x8069884 , arg=1214857256, handlers=1479377068, hfun=0x8069868 ) at eval.c:1392 #15 0x08069866 in redisplay_windows (window=141668432) at xdisp.c:9416 #16 0x08069828 in redisplay_windows (window=141668432) at xdisp.c:9410 #17 0x08068ae1 in redisplay_internal (preserve_echo_area=1) at xdisp.c:9007 #18 0x0806949f in redisplay_preserve_echo_area (from_where=2) at xdisp.c:9231 #19 0x08058610 in sit_for (sec=0, usec=0, reading=0, display=1, initial_display=1) at dispnew.c:6239 #20 0x080586ae in Fsit_for (seconds=0, milliseconds=-1073744464, nodisp=405458780) at dispnew.c:6288 #21 0x08133a0a in Ffuncall (nargs=2, args=0xbfffea30) at eval.c:2740 #22 0x0815b790 in Fbyte_code (bytestr=141340868, vector=1, maxdepth=-1073747296) at bytecode.c:709 #23 0x08133cfb in funcall_lambda (fun=1213795320, nargs=0, arg_vector=0xbfffec88) at eval.c:2927 #24 0x081338e3 in Ffuncall (nargs=1, args=0xbfffec84) at eval.c:2797 #25 0x081332ea in Fapply (nargs=2, args=0xbfffec84) at eval.c:2247 #26 0x08133ad2 in Ffuncall (nargs=3, args=0xbfffec80) at eval.c:2721 #27 0x0815b790 in Fbyte_code (bytestr=407485460, vector=2, maxdepth=-1073746816) at bytecode.c:709 #28 0x08133056 in Feval (form=136768600) at eval.c:2095 #29 0x08131df0 in Fcondition_case (args=405458780) at eval.c:1298 #30 0x0815c39d in Fbyte_code (bytestr=407485460, vector=143, maxdepth=-1073746208) at bytecode.c:891 #31 0x08133cfb in funcall_lambda (fun=1210249372, nargs=1, arg_vector=0xbffff024) at eval.c:2927 #32 0x081338e3 in Ffuncall (nargs=2, args=0xbffff020) at eval.c:2797 #33 0x08133718 in call1 (fn=405513452, arg1=1213794184) at eval.c:2536 #34 0x080df838 in timer_check (do_it_now=1) at keyboard.c:4339 #35 0x080de75d in readable_filtered_events (do_timers_now=-1073744464, filter_events=0) at keyboard.c:3390 #36 0x080e171c in get_filtered_input_pending (addr=0x82a336c, do_timers_now=1, filter_events=0) at keyboard.c:6370 #37 0x080e173b in get_input_pending (addr=0x82a336c, do_timers_now=1) at keyboard.c:6386 #38 0x080e5ec7 in detect_input_pending_run_timers (do_display=0) at keyboard.c:9746 #39 0x080dca30 in read_char (commandflag=1, nmaps=2, maps=0xbffff390, prev_event=405458780, used_mouse_menu=0xbffff3c8) at keyboard.c:2418 #40 0x080e3c8d in read_key_sequence (keybuf=0xbffff4f0, bufsize=30, prompt=405458780, dont_downcase_last=0, can_return_switch_frame=1, fix_current_buffer=1) at keyboard.c:8531 #41 0x080dae8b in command_loop_1 () at keyboard.c:1474 #42 0x08131ef2 in internal_condition_case (bfun=0x80dad18 , handlers=405555388, hfun=0x80da914 ) at eval.c:1351 #43 0x080dabfe in command_loop_2 () at keyboard.c:1274 #44 0x08131a95 in internal_catch (tag=405458688, func=0x80dabe0 , arg=405458780) at eval.c:1112 #45 0x080dabb4 in command_loop () at keyboard.c:1253 #46 0x080da6f3 in recursive_edit_1 () at keyboard.c:969 #47 0x080da800 in Frecursive_edit () at keyboard.c:1025 #48 0x080d915b in main (argc=1, argv=0xbffffac4) at emacs.c:1659 #49 0x420158d4 in __libc_start_main () from /lib/i686/libc.so.6 (gdb) c Continuing. Breakpoint 2, unwind_to_catch (catch=0xbffff5b0, value=1486784508) at eval.c:1143 (gdb) c Continuing. Breakpoint 3, unwind_to_catch (catch=0xbffff5b0, value=0) at eval.c:1172 (gdb) where #0 unwind_to_catch (catch=0xbffff5b0, value=0) at eval.c:1172 #1 0x08132279 in Fsignal (error_symbol=405555460, data=1486784492) at eval.c:1547 #2 0x081220fe in args_out_of_range (a1=0, a2=0) at data.c:140 #3 0x0816dcd4 in validate_interval_range (object=1213853600, begin=0xbfffe3a0, end=0xbfffe3a0, force=0) at textprop.c:151 #4 0x0816e68d in Ftext_properties_at (position=0, object=-1073744176) at textprop.c:585 #5 0x0816e6f9 in Fget_text_property (position=0, prop=405682500, object=1213853600) at textprop.c:606 #6 0x0816e779 in get_char_property_and_overlay (position=0, prop=405682500, object=1213853600, overlay=0x0) at textprop.c:688 #7 0x0816e916 in Fget_char_property (position=0, prop=405682500, object=405458780) at textprop.c:704 #8 0x0816ea64 in Fnext_single_char_property_change (position=0, prop=405682500, object=405458780, limit=1367) at textprop.c:800 #9 0x08069a1a in set_cursor_from_row (w=0x8694028, row=0x89ab33c, matrix=0x0, delta=0, delta_bytes=0, dy=0, dvpos=0) at xdisp.c:9527 #10 0x080716ba in display_line (it=0xbfffe5e0) at xdisp.c:13577 #11 0x0806d815 in try_window (window=1214857256, pos={charpos = -1073748512, bytepos = -1073749280}) at xdisp.c:10978 #12 0x0806d2ec in redisplay_window (window=1214857256, just_this_one_p=0) at xdisp.c:10617 #13 0x080698b1 in redisplay_window_0 (window=1214857256) at xdisp.c:9437 #14 0x08131fec in internal_condition_case_1 (bfun=0x8069884 , arg=1214857256, handlers=1479377068, hfun=0x8069868 ) at eval.c:1392 #15 0x08069866 in redisplay_windows (window=141668384) at xdisp.c:9416 #16 0x08069828 in redisplay_windows (window=141668384) at xdisp.c:9410 #17 0x08068ae1 in redisplay_internal (preserve_echo_area=0) at xdisp.c:9007 #18 0x08067ea9 in redisplay () at xdisp.c:8434 #19 0x080ddd81 in read_char (commandflag=1, nmaps=2, maps=0xbffff390, prev_event=405458780, used_mouse_menu=0xbffff3c8) at keyboard.c:2428 #20 0x080e3c8d in read_key_sequence (keybuf=0xbffff4f0, bufsize=30, prompt=405458780, dont_downcase_last=0, can_return_switch_frame=1, fix_current_buffer=1) at keyboard.c:8531 #21 0x080dae8b in command_loop_1 () at keyboard.c:1474 #22 0x08131ef2 in internal_condition_case (bfun=0x80dad18 , handlers=405555388, hfun=0x80da914 ) at eval.c:1351 #23 0x080dabfe in command_loop_2 () at keyboard.c:1274 #24 0x08131a95 in internal_catch (tag=405458688, func=0x80dabe0 , arg=405458780) at eval.c:1112 #25 0x080dabb4 in command_loop () at keyboard.c:1253 #26 0x080da6f3 in recursive_edit_1 () at keyboard.c:969 #27 0x080da800 in Frecursive_edit () at keyboard.c:1025 #28 0x080d915b in main (argc=1, argv=0xbffffac4) at emacs.c:1659 #29 0x420158d4 in __libc_start_main () from /lib/i686/libc.so.6 (gdb)