emacs-devel
[Top][All Lists]
Advanced

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

Re: Emacs crashes, 07nov16


From: Robert J. Chassell
Subject: Re: Emacs crashes, 07nov16
Date: Fri, 23 Nov 2007 17:07:45 +0000 (UTC)

Following Jan's request, I intended to compile with -O0 but I may have
forgot and done a regular make.  (I cannot remember.)  In any case, I
have updated Emacs and done another make which is definitely -O0.


Today's GNU Emacs CVS snapshot, Fri, 2007 Nov 23  16:19 UTC
GNU Emacs 23.0.50.5 (i686-pc-linux-gnu, GTK+ Version 2.12.1)
started in debugger with

    set args -i -q \
    --eval '(emacs-version t)' -bg DodgerBlue4 -fg white \
    -fn '-misc-fixed-medium-r-normal--18-120-100-100-c-90-iso10646-1' \
    -geometry 80x44+545+43 -name '-q GNU Emacs in Debugger, font: fixed 18'

with the breakpoint at xterm.c:1374 
and after I evaluated  (x-synchronize t)  in the debuggee

After visiting my test file, which tried to insert a Euro sign,
Emacs crashed as before:

(gdb) bt full
#0  x_draw_glyph_string (s=0xbfd4ff40) at xterm.c:1374
        tem = <value optimized out>
        h = <value optimized out>
        y = <value optimized out>
        relief_drawn_p = 0
#1  0x0806b2f5 in draw_glyphs (w=0x8604f28, x=45, row=0x862a2c4, 
area=TEXT_AREA, start=0, end=2, hl=DRAW_NORMAL_TEXT, overlaps=0) at 
xdisp.c:19850
        base_face = (struct face *) 0x8055d21
        char2b = <value optimized out>
        cmp = <value optimized out>
        glyph_len = -1214909885
        faces = <value optimized out>
        first_s = <value optimized out>
        n = <value optimized out>
        first_glyph = <value optimized out>
        head = (struct glyph_string *) 0xbfd4ff40
        tail = (struct glyph_string *) 0xbfd4fe90
        s = (struct glyph_string *) 0xbfd4ff40
        clip_head = (struct glyph_string *) 0x0
        clip_tail = (struct glyph_string *) 0x0
        last_x = 747
        x_reached = 45
        i = 2
        j = -1076559800
        f = <value optimized out>
#2  0x0806d992 in x_write_glyphs (start=0x8608e78, len=2) at xdisp.c:21149
        x = <value optimized out>
#3  0x080560a1 in update_window_line (w=0x8604f28, vpos=9, 
mouse_face_overwritten_p=0xbfd50288) at dispnew.c:4446
        current_row = (struct glyph_row *) 0x86497bc
        desired_row = (struct glyph_row *) 0x862a2c4
        rif = (struct redisplay_interface *) 0x81c1960
        changed_p = 0
#4  0x080583e4 in update_window (w=0x8604f28, force_p=0) at dispnew.c:4302
        tm = {
  tv_sec = 1195836868, 
  tv_usec = 821064
}
        vpos = -1076560096
        i = <value optimized out>
        end = (struct glyph_row *) 0x862b794
        header_line_row = (struct glyph_row *) 0x0
        changed_p = 1
        mouse_face_overwritten_p = 0
        row = (struct glyph_row *) 0x862a2c4
        yb = 756
        desired_matrix = (struct glyph_matrix *) 0x8607ed0
        paused_p = 0
        rif = (struct redisplay_interface *) 0x81c1960
#5  0x08059689 in update_window_tree (w=0x8604f28, force_p=0) at dispnew.c:3995
        paused_p = <value optimized out>
#6  0x0805b80e in update_frame (f=0x8604da0, force_p=0, inhibit_hairy_id_p=0) 
at dispnew.c:3923
        tm = {
  tv_sec = 1195836868, 
  tv_usec = 809232
}
        p = 1
        sec = 0
        usec = 100000
        paused_p = <value optimized out>
        root_window = (struct window *) 0x8604f28
#7  0x0808a302 in redisplay_internal (preserve_echo_area=<value optimized out>) 
at xdisp.c:11455
        f = (struct frame *) 0x8604da0
        tail = <value optimized out>
        frame = <value optimized out>
        w = (struct window *) 0x8604f28
        pause = 0
        must_finish = 1
        tlbufpos = {
  charpos = 0, 
  bytepos = 0
}
        number_of_visible_frames = 1
        polling_stopped_here = 0
        old_frame = 140529060
        consider_all_windows_p = 1
#8  0x081054ae in read_char (commandflag=1, nmaps=2, maps=0xbfd50dd0, 
prev_event=137574601, used_mouse_menu=0xbfd50e68, end_time=0x0) at 
keyboard.c:2748
        keys = 0
        key_count = 140529056
        key_count_reset = 0
        saved_ok_to_echo = (struct kboard *) 0x0
        saved_echo_string = 0
        c = 137574601
        local_getcjmp = {{
    __jmpbuf = {-1076556648, 135923056, 137818325, 137609977, 1, 142076664}, 
    __mask_was_saved = 1418, 
    __saved_mask = {
      __val = {142076664, 3218410904, 135619163, 137818325, 137609977, 
142076668, 0 <repeats 26 times>}
    }
  }}
        save_jump = {{
    __jmpbuf = {142076668, 137892212, 1418, -1076556808, 135920506, 137892212}, 
    __mask_was_saved = 1417, 
    __saved_mask = {
      __val = {3218410520, 135920717, 0, 1, 3218410536, 142076668, 137892212, 
1417, 3218410536, 135920506, 137737233, 1416, 3218410568, 135920717, 1, 1, 
137574601, 137609977, 137818320, 137574601, 3218410616, 135922871, 137609977, 
137815845, 3218410624, 0, 1, 137818325, 137574601, 142076664, 1418, 1698}
    }
  }}
        key_already_recorded = 0
        tem = 2
        save = 140529056
        previous_echo_area_message = 137574601
        also_record = 137574601
        reread = 0
        polling_stopped_here = <value optimized out>
        orig_kboard = (struct kboard *) 0x85e5200
#9  0x08107f83 in read_key_sequence (keybuf=0xbfd50f14, bufsize=30, 
prompt=137574601, dont_downcase_last=0, can_return_switch_frame=1, 
fix_current_buffer=1) at keyboard.c:9455
        interrupted_kboard = (KBOARD *) 0x85e5200
        key = 142269956
        used_mouse_menu = 0
        echo_local_start = 0
        last_real_key_start = 0
        keys_local_start = 0
        local_first_binding = 0
        from_string = 137574601
        count = 2
        t = 0
        echo_start = 0
        keys_start = 0
        nmaps = 2
        nmaps_allocated = 2
        defs = (Lisp_Object * volatile) 0xbfd50db0
        submaps = (Lisp_Object * volatile) 0xbfd50dd0
        orig_local_map = 139144469
        orig_keymap = 137574601
        localized_local_map = 0
        first_binding = 0
        first_unbound = 31
        mock_input = 0
        fkey = {
  parent = 139144837, 
  map = 139144837, 
  start = 0, 
  end = 0
}
        keytran = {
  parent = 137567077, 
  map = 137567077, 
  start = 0, 
  end = 0
}
        indec = {
  parent = 139144845, 
  map = 139144845, 
  start = 0, 
  end = 0
}
        delayed_switch_frame = 137574601
        original_uppercase = 0
        original_uppercase_position = -1
        starting_buffer = (struct buffer *) 0x877eaf8
        fake_prefixed_keys = 137574601
#10 0x08109c41 in command_loop_1 () at keyboard.c:1684
        cmd = <value optimized out>
        lose = <value optimized out>
        nonundocount = 0
        keybuf = {192, 48, -1219745584, 134541263, -1472036458, 134541265, 
134541267, 0, 0, 1, 994, -1221146328, -1218412544, 134541263, -1219704740, 
134522612, 1, -1208238092, -1208236000, 0, -1076555912, -1076556064, 0, 
-1076559872, 137574601, 138202729, 0, 137923976, 137923960, -1076555880}
        i = <value optimized out>
        prev_modiff = 17
        prev_buffer = (struct buffer *) 0x833b540
        already_adjusted = 0
#11 0x08162e20 in internal_condition_case (bfun=0x8109aa0 <command_loop_1>, 
handlers=137632001, hfun=0x8104350 <cmd_error>) at eval.c:1493
        val = <value optimized out>
        c = {
  tag = 137574601, 
  val = 137574601, 
  next = 0xbfd510c0, 
  gcpro = 0x0, 
  jmp = {{
      __jmpbuf = {0, 137923976, 137923960, -1076555640, -1105248127, 
945538030}, 
      __mask_was_saved = 0, 
      __saved_mask = {
        __val = {0, 3086713404, 3218411184, 3218411460, 276967387, 49, 
3075226700, 3075225724, 134542134, 276967386, 3086533532, 134542138, 0, 0, 1, 
1997, 3073820968, 3218411584, 3218411872, 4294967295, 3218411720, 135341347, 
3218411872, 3218411584, 3075242604, 3076554752, 0, 110932256, 3086729204, 
134522612, 3086730856, 3218411664}
      }
    }}, 
  backlist = 0x0, 
  handlerlist = 0x0, 
  lisp_eval_depth = 0, 
  pdlcount = 2, 
  poll_suppress_count = 1, 
  interrupt_input_blocked = 0, 
  byte_stack = 0x0
}
        h = {
  handler = 137632001, 
  var = 137574601, 
  chosen_clause = 136050748, 
  tag = 0xbfd50fac, 
  next = 0x0
}
#12 0x081037d3 in command_loop_2 () at keyboard.c:1396
        val = 0
#13 0x08162efa in internal_catch (tag=137623561, func=0x81037b0 
<command_loop_2>, arg=137574601) at eval.c:1229
        c = {
  tag = 137623561, 
  val = 137574601, 
  next = 0x0, 
  gcpro = 0x0, 
  jmp = {{
      __jmpbuf = {0, 137923976, 137923960, -1076555384, -1105108863, 
945675246}, 
      __mask_was_saved = 0, 
      __saved_mask = {
        __val = {0, 177, 22, 0, 1, 0 <repeats 11 times>, 3078808897, 140049736, 
3076542832, 3218411976, 137760626, 137760624, 137759248, 3218411896, 135605589, 
137759249, 137760626, 137574601, 137606464, 3072579872, 140049744, 137574625}
      }
    }}, 
  backlist = 0x0, 
  handlerlist = 0x0, 
  lisp_eval_depth = 0, 
  pdlcount = 2, 
  poll_suppress_count = 1, 
  interrupt_input_blocked = 0, 
  byte_stack = 0x0
}
#14 0x081041b7 in command_loop () at keyboard.c:1375
No locals.
#15 0x0810451b in recursive_edit_1 () at keyboard.c:984
        val = <value optimized out>
#16 0x08104651 in Frecursive_edit () at keyboard.c:1046
        buffer = 137574601
#17 0x080f9e55 in main (argc=15, argv=0xbfd51594) at emacs.c:1777
        tz = 0xbfd52e75 "UTC"
        dummy = -1076554520
        stack_bottom_variable = 8 '\b'
        do_initial_setlocale = 1
        skip_args = 0
        rlim = {
  rlim_cur = 8388608, 
  rlim_max = 18446744073709551615
}
        no_loadup = 0
        junk = 0x0
(gdb) p *s->font_info
$1 = {
  font = 0x8605548, 
  font_idx = 0, 
  name = 0x8605470 
"-misc-fixed-medium-r-normal--18-120-100-100-c-90-iso10646-1", 
  full_name = 0x86054f0 
"-Misc-Fixed-Medium-R-Normal--18-120-100-100-C-90-ISO10646-1", 
  charset = 0, 
  size = 9, 
  height = 18, 
  space_width = 9, 
  average_width = 9, 
  vertical_centering = 0, 
  encoding = "\000\377", '\0' <repeats 126 times>, '\001' <repeats 127 times>, 
  baseline_offset = 0, 
  relative_compose = 0, 
  default_ascent = 0, 
  font_encoder = 0x8606a00
}
(gdb)  p *s->font
$2 = {
  ext_data = 0x8605660, 
  fid = 46137362, 
  direction = 0, 
  min_char_or_byte2 = 0, 
  max_char_or_byte2 = 255, 
  min_byte1 = 0, 
  max_byte1 = 255, 
  all_chars_exist = 0, 
  default_char = 0, 
  n_properties = 23, 
  properties = 0x86055a0, 
  min_bounds = {
    lbearing = 0, 
    rbearing = 0, 
    width = 9, 
    ascent = -3, 
    descent = -13, 
    attributes = 0
  }, 
  max_bounds = {
    lbearing = 8, 
    rbearing = 9, 
    width = 9, 
    ascent = 14, 
    descent = 4, 
    attributes = 0
  }, 
  per_char = 0xb6e9e000, 
  ascent = 14, 
  descent = 4
}
(gdb)  p *s
$3 = {
  x = 27, 
  y = 162, 
  ybase = 176, 
  width = 9, 
  background_width = 9, 
  height = 18, 
  left_overhang = 0, 
  right_overhang = 0, 
  f = 0x8604da0, 
  w = 0x8604f28, 
  display = 0x85bc400, 
  window = 46137560, 
  row = 0x862a2c4, 
  area = TEXT_AREA, 
  char2b = 0xbfd4ff20, 
  nchars = 1, 
  hl = DRAW_NORMAL_TEXT, 
  face = 0x88678a8, 
  font = 0x8605548, 
  font_info = 0x8605678, 
  cmp = 0x0, 
  gidx = 0, 
  extends_to_end_of_line_p = 0, 
  background_filled_p = 0, 
  two_byte_p = 1, 
  font_not_found_p = 0, 
  stippled_p = 0, 
  for_overlaps = 0, 
  gc = 0x88616a8, 
  first_glyph = 0x8608e78, 
  img = 0x0, 
  slice = {
    x = 0, 
    y = 0, 
    width = 0, 
    height = 0
  }, 
  clip_head = 0x0, 
  clip_tail = 0x0, 
  next = 0xbfd4fe90, 
  prev = 0x0
}
(gdb)  p s->char2b[0]
$4 = {
  byte1 = 32 ' ', 
  byte2 = 172 '\254'
}
(gdb) 

-- 
    Robert J. Chassell                          GnuPG Key ID: 004B4AC8
    address@hidden                         address@hidden
    http://www.rattlesnake.com                  http://www.teak.cc




reply via email to

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