all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Martin Fredriksson <m@rfc.se>
Cc: emacs-devel@gnu.org
Subject: Re: Emacs carbon crash, and beginner question...
Date: Sun, 13 Feb 2005 17:03:11 +0100	[thread overview]
Message-ID: <d29ae8df6eec53217e35a926df02a506@rfc.se> (raw)
In-Reply-To: <m3ekfl22a1.fsf@kfs-l.imdomain.dk>

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 
<redisplay_window_1>, arg=23101476, handlers=6341941, hfun=0x24ce0 
<redisplay_window_error>) 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 
<command_loop_1>, handlers=58766425, hfun=0xa243c <cmd_error>) at 
eval.c:1385
#11 0x000a28b0 in command_loop_2 () at keyboard.c:1315
#12 0x0010af28 in internal_catch (tag=244, func=0xa2870 
<command_loop_2>, 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)

  parent reply	other threads:[~2005-02-13 16:03 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-02-11 12:51 Emacs carbon crash, and beginner question Martin Fredriksson
2005-02-11 13:47 ` David Kastrup
2005-02-11 15:03   ` Martin Fredriksson
     [not found]     ` <m3psz714ri.fsf@kfs-l.imdomain.dk>
2005-02-11 21:56       ` Martin Fredriksson
2005-02-12 16:04         ` Kim F. Storm
2005-02-12 18:15           ` chad brown
2005-02-25  8:25             ` YAMAMOTO Mitsuharu
2005-02-13 16:03           ` Martin Fredriksson [this message]
2005-02-14  9:51 ` Sébastien Kirche
2005-02-14 21:41   ` Martin Fredriksson

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=d29ae8df6eec53217e35a926df02a506@rfc.se \
    --to=m@rfc.se \
    --cc=emacs-devel@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.