Subject: bug#9945: 24.0.91; crash

From: Sam Steingold <[email-masked]>
Date: Tue, 8 Nov 2011 16:35:47 -0500

and yet again, after pulling & rebuilding :

Program received signal SIGSEGV, Segmentation fault.
0x00000000004b5d84 in x_draw_bar_cursor (w=0xf3d200, row=0x13b0a50,
width=2, kind=BAR_CURSOR)
    at /home/sds/src/emacs/trunk/src/xterm.c:7336
7336          if (face->background == f->output_data.x->cursor_pixel)
(gdb) bt full
#0  0x00000000004b5d84 in x_draw_bar_cursor (w=0xf3d200,
row=0x13b0a50, width=2, kind=BAR_CURSOR)
    at /home/sds/src/emacs/trunk/src/xterm.c:7336
        dpy = 0xeb9070
        window = 71303359
        gc = 0x15850c0
        mask = 65548
        xgcv = {
          function = 0,
          plane_mask = 0,
          foreground = 0,
          background = 0,
          line_width = 0,
          line_style = 0,
          cap_style = 0,
          join_style = 0,
          fill_style = 0,
          fill_rule = 1,
          arc_mode = 6,
          tile = 47244640258,
          stipple = 42949672962,
          ts_x_origin = 1,
          ts_y_origin = 10,
          font = 77309411329,
          subwindow_mode = 0,
          graphics_exposures = 0,
          clip_x_origin = 0,
          clip_y_origin = 0,
          clip_mask = 0,
          dash_offset = 0,
          dashes = 0 '\000'
        }
        face = 0x0
        f = 0xea3180
        cursor_glyph = 0xfb4390
#1  0x00000000004b627b in x_draw_window_cursor (w=0xf3d200,
glyph_row=0x13b0a50, x=0, y=104, cursor_type=<optimized out>,
    cursor_width=<optimized out>, on_p=1, active_p=1) at
/home/sds/src/emacs/trunk/src/xterm.c:7455
        f = 0xea3180
#2  0x0000000000450045 in display_and_set_cursor (w=0xf3d200, on=1,
hpos=-1, vpos=<optimized out>, x=0, y=104)
    at /home/sds/src/emacs/trunk/src/xdisp.c:25400
        f = <optimized out>
        new_cursor_width = 2
        active_cursor = 1
        glyph_row = 0x13b0a50
        glyph = <optimized out>
#3  0x00000000004b490f in x_update_window_end (w=0xf3d200,
cursor_on_p=<optimized out>, mouse_face_overwritten_p=0)
    at /home/sds/src/emacs/trunk/src/xterm.c:644
        hlinfo = 0xd7ad60
#4  0x0000000000414511 in update_window (w=0xf3d200,
force_p=<optimized out>) at
/home/sds/src/emacs/trunk/src/dispnew.c:3689
        end = <optimized out>
        mode_line_row = <optimized out>
        header_line_row = 0x0
        changed_p = <optimized out>
        mouse_face_overwritten_p = 0
        row = <optimized out>
        yb = 676
        desired_matrix = 0x101fde0
        paused_p = <optimized out>
        rif = 0x834b40
#5  0x0000000000416473 in update_window_tree (w=0xf3d200, force_p=1)
at /home/sds/src/emacs/trunk/src/dispnew.c:3326
        paused_p = <optimized out>
#6  0x000000000041964e in update_frame (f=0xea3180, force_p=1,
inhibit_hairy_id_p=0)
    at /home/sds/src/emacs/trunk/src/dispnew.c:3253
        paused_p = <optimized out>
        root_window = 0xf3d200
#7  0x0000000000443454 in redisplay_internal () at
/home/sds/src/emacs/trunk/src/xdisp.c:13238
        mini_window = <optimized out>
        mini_frame = <optimized out>
        w = 0xf3d200
        sw = 0xf3d200
        fr = <optimized out>
        pending = 0
        must_finish = 1
        tlbufpos = {
          charpos = <optimized out>,
          bytepos = 69376
        }
        tlendpos = <optimized out>
        number_of_visible_frames = <optimized out>
        count = 2
        count1 = <optimized out>
        sf = 0xea3180
        polling_stopped_here = 1
        old_frame = 15348101
        consider_all_windows_p = 0
#8  0x00000000004fc958 in read_char (commandflag=1, nmaps=2,
maps=0x7fffffffd290, prev_event=11970946,
    used_mouse_menu=0x7fffffffd410, end_time=0x0) at
/home/sds/src/emacs/trunk/src/keyboard.c:2443
        echo_current = 1
        c = <optimized out>
        local_getcjmp = {{
            __jmpbuf = {12160274, 69379, 1, 12160274, 24164854,
5996884, 22026693, 69377},
            __mask_was_saved = 22026693,
            __saved_mask = {
              __val = {5994309, 12005026, 69378, 12005026, 12005026,
24164854, 5996884, 22026693, 140737488343632, 12005026,
                69379, 277516, 5642582, 11059929, 5294077, 8192}
            }
          }}
        save_jump = {{
            __jmpbuf = {0, 9561760, 9561765, 4608393, 15979008,
4609852, 8593224, 140737488343424},
            __mask_was_saved = 12196450,
            __saved_mask = {
              __val = {11970946, 96, 312, 140737488343536,
4611686018427518976, 0, 5984379, 8192, 0, 0, 0, 0, 0, 0, 0, 0}
---Type <return> to continue, or q <return> to quit---
            }
          }}
        key_already_recorded = 0
        tem = <optimized out>
        save = <optimized out>
        previous_echo_area_message = 11970946
        also_record = 11970946
        reread = 0
        polling_stopped_here = 0
        orig_kboard = 0xe15d00
#9  0x00000000004fee37 in read_key_sequence (keybuf=0x7fffffffd470,
prompt=11970946, dont_downcase_last=0,
    can_return_switch_frame=1, fix_current_buffer=1, bufsize=30) at
/home/sds/src/emacs/trunk/src/keyboard.c:9290
        interrupted_kboard = 0xe15d00
        interrupted_frame = 0xea3180
        key = <optimized out>
        used_mouse_menu = 0
        echo_local_start = 0
        last_real_key_start = 0
        keys_local_start = 0
        local_first_binding = 0
        from_string = 11970946
        count = 2
        t = 0
        echo_start = 0
        keys_start = 0
        nmaps = <optimized out>
        nmaps_allocated = 2
        defs = 0x7fffffffd270
        submaps = 0x7fffffffd290
        orig_local_map = 18326918
        orig_keymap = 11970946
        localized_local_map = 0
        first_binding = 0
        first_unbound = 31
        mock_input = 0
        fkey = {
          parent = 13927222,
          map = 13927222,
          start = 0,
          end = 0
        }
        keytran = {
          parent = 11950502,
          map = 11950502,
          start = 0,
          end = 0
        }
        indec = {
          parent = 13927286,
          map = 13927286,
          start = 0,
          end = 0
        }
        shift_translated = 0
        delayed_switch_frame = 11970946
        original_uppercase = 0
        original_uppercase_position = -1
        dummyflag = 0
        starting_buffer = 0x15019c0
        fake_prefixed_keys = 11970946
#10 0x0000000000500b15 in command_loop_1 () at
/home/sds/src/emacs/trunk/src/keyboard.c:1447
        cmd = <optimized out>
        keybuf = {11972786, 76, 11970946, 11970946, 12023138, 2,
140737488344352, 5796284, 8371478602661652855,
          8820707984110875759, 140737488344421, 5795902, -1, 24105537,
0, -6117117637654218496, 140737287788544, 23418310,
          11970946, 11970946, 4294967295, 140737488346304,
140737488344400, 5199905, 13278336, 23418310, 11970946, 5200262,
          11970816, -6117117637654218496}
        i = <optimized out>
        prev_modiff = 230
        prev_buffer = 0x15019c0
#11 0x0000000000566876 in internal_condition_case (bfun=0x500940
<command_loop_1>, handlers=12023138, hfun=0x4f5870 <cmd_error>)
    at /home/sds/src/emacs/trunk/src/eval.c:1499
        val = <optimized out>
        c = {
          tag = 11970946,
          val = 11970946,
          next = 0x7fffffffd750,
          gcpro = 0x0,
          jmp = {{
              __jmpbuf = {13278336, 355615409374902759, 11970946,
140737488346024, 4294967295, 140737488346304,
                -355616977522116121, 355616614527547879},
              __mask_was_saved = 0,
              __saved_mask = {
                __val = {0, 4294967295, 0, 0, 13278336, 8585112, 0,
4294967295, 140737488346304, 0, 140737351950260, 1, 0, 0,
                  140737287759504, 0}
              }
            }},
          backlist = 0x0,
          handlerlist = 0x0,
          lisp_eval_depth = 0,
          pdlcount = 2,
          poll_suppress_count = 1,
          interrupt_input_blocked = 0,
          byte_stack = 0x0
        }
        h = {
          handler = 12023138,
          var = 11970946,
          chosen_clause = 11970994,
          tag = 0x7fffffffd5e0,
          next = 0x0
        }
---Type <return> to continue, or q <return> to quit---
#12 0x00000000004f3cbe in command_loop_2 (ignore=<optimized out>) at
/home/sds/src/emacs/trunk/src/keyboard.c:1158
        val = 255
#13 0x0000000000566758 in internal_catch (tag=15980312, func=0x4f3ca0
<command_loop_2>, arg=11970946)
    at /home/sds/src/emacs/trunk/src/eval.c:1256
        c = {
          tag = 12018930,
          val = 11970946,
          next = 0x0,
          gcpro = 0x0,
          jmp = {{
              __jmpbuf = {13278336, 355615409374902759, 11970946,
140737488346024, 4294967295, 140737488346304,
                -355616977438230041, 355616615035582951},
              __mask_was_saved = 0,
              __saved_mask = {
                __val = {0, 0, 0, 0, 0, 0, 5960777, 14534056,
140737488345224, 0, 140737488345216, 6270062, 11970946, 12197922,
                  5677142, 14}
              }
            }},
          backlist = 0x0,
          handlerlist = 0x0,
          lisp_eval_depth = 0,
          pdlcount = 2,
          poll_suppress_count = 1,
          interrupt_input_blocked = 0,
          byte_stack = 0x0
        }
#14 0x00000000004f5347 in command_loop () at
/home/sds/src/emacs/trunk/src/keyboard.c:1137
No locals.
#15 recursive_edit_1 () at /home/sds/src/emacs/trunk/src/keyboard.c:757
        val = 11970946
#16 0x00000000004f567c in Frecursive_edit () at
/home/sds/src/emacs/trunk/src/keyboard.c:821
        buffer = 11970946
#17 0x000000000040fb0d in main (argc=1, argv=<optimized out>) at
/home/sds/src/emacs/trunk/src/emacs.c:1707
        dummy = 140737270465443
        stack_bottom_variable = 0 '\000'
        do_initial_setlocale = <optimized out>
        skip_args = 0
        rlim = {
          rlim_cur = 8720000,
          rlim_max = 18446744073709551615
        }
        no_loadup = 0
        junk = 0x0
        dname_arg = 0x0
        ch_to_dir = 0x7ffff40b8c48 "2'"
(gdb)