emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Emacs carbon crash, and beginner question...


From: Martin Fredriksson
Subject: Re: Emacs carbon crash, and beginner question...
Date: Sun, 13 Feb 2005 17:03:11 +0100

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)





reply via email to

[Prev in Thread] Current Thread [Next in Thread]