From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Martin Fredriksson Newsgroups: gmane.emacs.devel Subject: Re: Emacs carbon crash, and beginner question... Date: Sun, 13 Feb 2005 17:03:11 +0100 Message-ID: References: <4d158712f03d8fdd325551010df45bb9@rfc.se> <8334361ffc93cc1f84d4c31b365cdb43@rfc.se> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 (Apple Message framework v619.2) Content-Type: text/plain; charset=US-ASCII; format=flowed Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1108311110 447 80.91.229.2 (13 Feb 2005 16:11:50 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sun, 13 Feb 2005 16:11:50 +0000 (UTC) Cc: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sun Feb 13 17:11:50 2005 Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1D0ML0-000328-VD for ged-emacs-devel@m.gmane.org; Sun, 13 Feb 2005 17:11:11 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1D0MaN-0003z8-D4 for ged-emacs-devel@m.gmane.org; Sun, 13 Feb 2005 11:27:03 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1D0MVX-0000XR-JR for emacs-devel@gnu.org; Sun, 13 Feb 2005 11:22:06 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1D0MVF-0000Kh-IY for emacs-devel@gnu.org; Sun, 13 Feb 2005 11:21:46 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1D0MVC-0000Hi-1K for emacs-devel@gnu.org; Sun, 13 Feb 2005 11:21:42 -0500 Original-Received: from [195.47.254.20] (helo=mail.rfc.se) by monty-python.gnu.org with esmtp (TLSv1:DES-CBC3-SHA:168) (Exim 4.34) id 1D0MDM-0007SL-V1 for emacs-devel@gnu.org; Sun, 13 Feb 2005 11:03:17 -0500 Original-Received: from [10.15.100.51] (c273a.g-ml.bostream.se [212.181.21.101]) (using TLSv1 with cipher RC4-SHA (128/128 bits)) (No client certificate requested) by mail.rfc.se (Postfix) with ESMTP id BB0325A01; Sun, 13 Feb 2005 17:03:13 +0100 (CET) In-Reply-To: Original-To: storm@cua.dk (Kim F. Storm) X-Mailer: Apple Mail (2.619.2) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org X-MailScanner-To: ged-emacs-devel@m.gmane.org Xref: main.gmane.org gmane.emacs.devel:33340 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:33340 On 12 feb 2005, at 17.04, Kim F. Storm wrote: > Unfortunately, I cannot reproduce the crash following your procedure. That's understandable, as my description was flawed. Sorry. I try again. (1) gdb ./emacs (gdb) run -q (2) Open apa.txt, select outline minor mode (M-x outline-minor-mode) and go to end of buffer. (3) Hide body (must be done using keys): C-c @ C-t (4) Go up two lines (previous-line x 2) (5) Show all (must be done using keys): C-c @ C-a CRASH The bt here shows that it stops right at the line calling 'find_first_unchanged_at_end_of_row'. I don't understand the #1 entry below (unless the function has been inlined?). Breakpoint 1, 0x9009ead8 in abort () (gdb) bt #0 0x9009ead8 in abort () #1 0x0002a6e8 in try_window_id (w=0xbfffd744) at xdisp.c:13559 #2 0x0002a6e8 in try_window_id (w=0x1608020) at xdisp.c:13559 #3 0x000276a4 in redisplay_window (window=23101476, just_this_one_p=1) at xdisp.c:12104 #4 0x00024dac in redisplay_window_1 (window=244) at xdisp.c:10826 #5 0x0010b638 in internal_condition_case_1 (bfun=0x24d70 , arg=23101476, handlers=6341941, hfun=0x24ce0 ) at eval.c:1426 #6 0x0002447c in redisplay_internal (preserve_echo_area=244) at xdisp.c:10448 #7 0x000a53a8 in read_char (commandflag=1, nmaps=3, maps=0xbfffed10, prev_event=58721281, used_mouse_menu=0xbfffee04) at keyboard.c:2540 #8 0x000ae1c4 in read_key_sequence (keybuf=0xc24bc195, bufsize=-2021289069, prompt=-1035222635, dont_downcase_last=-2021289069, can_return_switch_frame=1069026791, fix_current_buffer=382730240) at keyboard.c:8799 #9 0x000a302c in command_loop_1 () at keyboard.c:1534 #10 0x0010b4cc in internal_condition_case (bfun=0xa2b4c , handlers=58766425, hfun=0xa243c ) at eval.c:1385 #11 0x000a28b0 in command_loop_2 () at keyboard.c:1315 #12 0x0010af28 in internal_catch (tag=244, func=0xa2870 , arg=58721281) at eval.c:1144 #13 0x000a2808 in command_loop () at keyboard.c:1294 #14 0x000a2094 in recursive_edit_1 () at keyboard.c:987 #15 0x000a2244 in Frecursive_edit () at keyboard.c:1048 #16 0x000a0cf4 in main (argc=0, argv=0xbffffc20) at emacs.c:1763 (gdb) (gdb) p *w $7 = { size = 0, vec_next = 0x40020000, frame = 1073741824, mini_p = 1, next = 2699160, prev = 2649508, hchild = 23079888, vchild = 0, parent = 23106800, left_col = 0, top_line = 2649508, total_lines = 0, total_cols = 23101476, buffer = 2649508, start = 2649508, pointm = 2699160, force_start = 2688260, optional_new_start = 23101472, hscroll = 159140, min_hscroll = -1073751360, use_time = 1145185314, sequence_number = 161444, temslot = 1375660, last_modified = -1073752080, last_overlay_modified = 2, last_point = 1375756, last_had_star = 0, vertical_scroll_bar = 1, left_margin_cols = 58721281, right_margin_cols = 2677332, left_fringe_width = 8, right_fringe_width = -1073751984, fringes_outside_margins = 2699160, scroll_bar_width = 58721281, vertical_scroll_bar_type = 1366612, last_mark_x = 27, last_mark_y = 27, window_end_pos = 1366812, window_end_vpos = 101, window_end_valid = 27, update_mode_line = 27, start_at_line_beg = -1073751824, display_table = 1375964, dedicated = 1, base_line_number = 1, base_line_pos = 1375908, region_showing = 0, column_number_displayed = 2700588, redisplay_end_trigger = 2, too_small_ok = 1, orig_total_lines = 0, orig_top_line = 2700588, current_matrix = 0x292f98, desired_matrix = 0x0, nrows_scale_factor = 2700588, ncols_scale_factor = 128948, last_cursor = { x = 1, y = 2650188, hpos = 2650188, vpos = 1 }, cursor = { x = -1073751184, y = 115944, hpos = 1539980, vpos = 1 }, phys_cursor = { x = 1, y = -1073751808, hpos = 98448, vpos = -1073751712 }, phys_cursor_type = 604144168, phys_cursor_width = 99176, phys_cursor_ascent = 8, phys_cursor_height = -1, overlay_arrow_bitmap = 23079332, phys_cursor_on_p = 1, cursor_off_p = 0, last_cursor_off_p = 1, must_be_updated_p = 1, pseudo_window_p = 1, vscroll = 1375964, window_end_bytepos = -1073751872, frozen_window_start_p = 0, height_fixed_p = 1 } (gdb) p delta $8 = 0 (gdb) p delta_bytes $9 = 58721329 (gdb)