bug-gnu-emacs
[Top][All Lists]
Advanced

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

bug#9436: 24.0.50; Segmentation fault during redisplay


From: Helmut Eller
Subject: bug#9436: 24.0.50; Segmentation fault during redisplay
Date: Sun, 04 Sep 2011 19:53:06 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (gnu/linux)

Last week I updated to the trunk version and now Emacs crashes once or
twice a day.  As far as I can tell, I don't do anything unusual when it
happens: just reading and moving up and down with the cursor keys.  This
happened in c-mode, lisp-mode and I think even in man-mode.

I now start Emacs with (ulimit -c unlimited && emacs)& and have a core
file.  The output of "bt full" is below. xbacktrace didn't show
anything, but I'm not sure if I sourced the .gdbinit correctly.

This is my configuration:

In GNU Emacs 24.0.50.2 (i686-pc-linux-gnu, GTK+ Version 2.20.1)
 of 2011-08-31 on ix
Windowing system distributor `The X.Org Foundation', version 11.0.10707000
configured using `configure  '--with-gif=no' '--with-gnutls=no''

Important settings:
  value of $LC_ALL: nil
  value of $LC_COLLATE: nil
  value of $LC_CTYPE: nil
  value of $LC_MESSAGES: nil
  value of $LC_MONETARY: nil
  value of $LC_NUMERIC: nil
  value of $LC_TIME: nil
  value of $LANG: en_US
  value of $XMODIFIERS: nil
  locale-coding-system: iso-latin-1-unix
  default enable-multibyte-characters: nil

Output of "bt full":

#0  0xb78c4424 in __kernel_vsyscall ()
No symbol table info available.
#1  0xb6ae6a26 in ?? ()
No symbol table info available.
#2  <signal handler called>
No symbol table info available.
#3  0x08077763 in move_it_to (it=0xbf9285d8, to_charpos=512, to_x=-1, to_y=-1, 
    to_vpos=-1, op=8) at xdisp.c:8444
        skip = <value optimized out>
        skip2 = <value optimized out>
        line_start_x = 177404328
        backup_data = 0x0
#4  0x08089fdb in redisplay_internal () at xdisp.c:12814
        it = {window = 55, w = 0x20, f = 0x0, method = 3214039648, 
          stop_charpos = 48, prev_stop = 46, base_level_stop = 57, 
          end_charpos = 140910104, s = 0x1 <Address 0x1 out of bounds>, 
          string_nchars = -1080927576, region_beg_charpos = -1080927528, 
          region_end_charpos = 135181508, 
          redisplay_end_trigger_charpos = -1080927564, multibyte_p = 0, 
          header_line_p = 1, string_from_display_prop_p = 1, 
          from_disp_prop_p = 1, ellipsis_p = 0, avoid_cursor_p = 1, dp = 0x30, 
          dpvec = 0x32, dpend = 0x20, dpvec_char_len = 124, 
          dpvec_face_id = 10, saved_face_id = -1080927172, ctl_chars = {
            138555874, 138576418 <repeats 15 times>}, start = {pos = {
              charpos = 139524506, bytepos = 138576418}, 
            overlay_string_index = -1080927464, string_pos = {
              charpos = 135625893, bytepos = 139869019}, 
            dpvec_index = 173435618}, current = {pos = {charpos = 0, 
              bytepos = 0}, overlay_string_index = 32, string_pos = {
              charpos = 124, bytepos = 32}, dpvec_index = 173435618}, 
          n_overlay_strings = 173485864, 
          overlay_strings_charpos = -1080927172, overlay_strings = {140910824, 
            171661680, 0, -1080927424, 0, 16, 140910829, 6919, 1, -301, 0, 32, 
            32, 498, 169812053, -1080926984}, string_overlays = {-1080927400, 
            136263045, 140910829, 171661685, -1080927000, 134684634, 
            139869019, 1, 1996, 1996, 173770784, 138555562, -1080927352, 
            136265499, 138725122, 174243246}, string = -1080927288, 
          from_overlay = 135625893, stack = {{string = 139869019, 
              string_nchars = 499, end_charpos = 1, stop_charpos = 174283270, 
              prev_stop = 173924264, base_level_stop = 138555562, cmp_it = {
                stop_pos = -1080927304, id = 136265499, ch = 138725882, 
                rule_idx = 174243246, lookback = -1080927320, nglyphs = 498, 
                reversed_p = 169812053, charpos = 138725882, nchars = 1, 
                nbytes = 172874494, from = 1996, to = 1, width = 0}, 
              face_id = 177281700, u = {image = {object = 138725882, slice = {
                    x = 138555562, y = -1080927272, width = 136265680, 
                    height = 172874494}, image_id = 138725882}, comp = {
                  object = 138725882}, stretch = {object = 138725882}}, 
              position = {charpos = 1, bytepos = 177281728}, current = {pos = {
                  charpos = 138725882, bytepos = 138555562}, 
                overlay_string_index = -1080927208, string_pos = {
                  charpos = 136286924, bytepos = 172874494}, 
                dpvec_index = 138725882}, from_overlay = -1080927200, 
              area = LEFT_MARGIN_AREA, method = 10, 
              paragraph_embedding = 138555562, multibyte_p = 1, 
              string_from_display_prop_p = 1, display_ellipsis_p = 1, 
              avoid_cursor_p = 0, bidi_p = 0, from_disp_prop_p = 1, 
              line_wrap = 3996, voffset = 520, space_width = -1080926980, 
              font_height = -1080927192}, {string = 1996, string_nchars = 999, 
              end_charpos = 138555562, stop_charpos = -1080927144, 
              prev_stop = 136303539, base_level_stop = 1996, cmp_it = {
                stop_pos = 138725882, id = 169812053, ch = 3996, 
                rule_idx = -1080927048, lookback = 138555562, 
                nglyphs = -1080927064, reversed_p = 138555874, 
                charpos = 136744705, nchars = 139870889, nbytes = 498, 
                from = 499, to = 999, width = 499}, face_id = -1080927016, 
              u = {image = {object = 136303677, slice = {x = 499, y = 999, 
                    width = -1080927044, height = -1080927048}, 
                  image_id = -1080927052}, comp = {object = 136303677}, 
                stretch = {object = 136303677}}, position = {
                charpos = 138555562, bytepos = -1080927048}, current = {pos = {
                  charpos = 136265371, bytepos = 174283566}, 
                overlay_string_index = 174243246, string_pos = {
                  charpos = 13541, bytepos = 498}, dpvec_index = 169812053}, 
              from_overlay = -1080915356, area = TEXT_AREA, method = 999, 
              paragraph_embedding = 138555562, multibyte_p = 1, 
              string_from_display_prop_p = 1, display_ellipsis_p = 0, 
              avoid_cursor_p = 0, bidi_p = 1, from_disp_prop_p = 1, 
              line_wrap = 3214040252, voffset = -6804, 
              space_width = 173966512, font_height = 138555562}, {
              string = -1080927016, string_nchars = 136265680, 
              end_charpos = 174259662, stop_charpos = 138555874, 
              prev_stop = 1, base_level_stop = 0, cmp_it = {
                stop_pos = 138228328, id = -1080926916, ch = -1080926952, 
                rule_idx = 136319035, lookback = 0, nglyphs = 172607816, 
                reversed_p = 499, charpos = 0, nchars = 138555562, 
                nbytes = 69, from = 138555562, to = 1811951786, 
                width = 177258816}, face_id = 0, u = {image = {
                  object = -1080926920, slice = {x = -1080915356, 
                    y = 177258816, width = 0, height = -1080926904}, 
                  image_id = 134653040}, comp = {object = -1080926920}, 
                stretch = {object = -1080926920}}, position = {
                charpos = 177258816, bytepos = -1080926916}, current = {pos = {
                  charpos = 1, bytepos = 138228328}, 
                overlay_string_index = 138555562, string_pos = {
                  charpos = 138555562, bytepos = -1080926648}, 
                dpvec_index = 108}, from_overlay = 177258816, 
              area = LEFT_MARGIN_AREA, method = 3214040664, 
              paragraph_embedding = 134803020, multibyte_p = 0, 
              string_from_display_prop_p = 0, display_ellipsis_p = 0, 
              avoid_cursor_p = 0, bidi_p = 0, from_disp_prop_p = 0, 
              line_wrap = 108, voffset = 24024, space_width = 134705262, 
              font_height = -1080915356}, {string = 169812053, 
              string_nchars = -1080926760, end_charpos = 136288856, 
              stop_charpos = 169812048, prev_stop = 169812053, 
              base_level_stop = -1080926744, cmp_it = {stop_pos = 136288856, 
                id = 169812048, ch = 124, rule_idx = 10, lookback = 124, 
                nglyphs = 32, reversed_p = 67, charpos = 76, nchars = 499, 
                nbytes = 0, from = 169812053, to = 1596, width = 525}, 
              face_id = 0, u = {image = {object = 169812053, slice = {
                    x = 1732, y = 138746546, width = 1, height = 112}, 
                  image_id = 40}, comp = {object = 169812053}, stretch = {
                  object = 169812053}}, position = {charpos = -1080915356, 
                bytepos = 1}, current = {pos = {charpos = 108, 
                  bytepos = -1080926632}, overlay_string_index = 134700105, 
                string_pos = {charpos = 108, bytepos = -1080915356}, 
                dpvec_index = -1080926712}, from_overlay = 136289415, 
              area = 1732, method = 138746402, 
              paragraph_embedding = 169812053, multibyte_p = 0, 
              string_from_display_prop_p = 0, display_ellipsis_p = 0, 
              avoid_cursor_p = 0, bidi_p = 0, from_disp_prop_p = 0, 
              line_wrap = TRUNCATE, voffset = 0, space_width = 169836992, 
              font_height = 138228328}, {string = 0, 
              string_nchars = 138746402, end_charpos = 169812053, 
              stop_charpos = 134680435, prev_stop = -1080915276, 
              base_level_stop = -1080915356, cmp_it = {stop_pos = 0, 
                id = 134680435, ch = 124, rule_idx = 32, lookback = 32, 
                nglyphs = 1811974756, reversed_p = 0, charpos = 482, 
                nchars = -1080917736, nbytes = -1080915356, from = 711, 
                to = 3, width = -1080917720}, face_id = 134692193, u = {
                image = {object = -1080915356, slice = {x = -1080919948, 
                    y = -1080922136, width = 83, height = -1080924308}, 
                  image_id = -1080919932}, comp = {object = -1080915356}, 
                stretch = {object = -1080915356}}, position = {
                charpos = -1080922120, bytepos = 173388144}, current = {pos = {
                  charpos = 48, bytepos = 1}, overlay_string_index = 1, 
                string_pos = {charpos = 173388144, bytepos = 45}, 
                dpvec_index = 1}, from_overlay = 1, area = LEFT_MARGIN_AREA, 
              method = GET_FROM_BUFFER, paragraph_embedding = NEUTRAL_DIR, 
              multibyte_p = 1, string_from_display_prop_p = 1, 
              display_ellipsis_p = 1, avoid_cursor_p = 1, bidi_p = 1, 
              from_disp_prop_p = 1, line_wrap = 711, voffset = 3, 
              space_width = 13541, font_height = 0}}, sp = 16777225, 
          selective = 12, what = 711, face_id = 0, 
          selective_display_ellipsis_p = 1, ctl_arrow_p = 0, face_box_p = 0, 
          start_of_box_run_p = 1, end_of_box_run_p = 0, 
          overlay_strings_at_end_processed_p = 0, 
          ignore_overlay_strings_at_pos_p = 0, glyph_not_available_p = 0, 
          starts_in_middle_of_char_p = 0, face_before_selective_p = 0, 
          constrain_row_ascent_descent_p = 0, line_wrap = 711, 
          base_face_id = 0, c = 0, len = 2, cmp_it = {stop_pos = 124, id = 32, 
            ch = 49, rule_idx = 46, lookback = 48, nglyphs = 56, 
            reversed_p = 32, charpos = 124, nchars = 32, nbytes = 32, 
            from = 49, to = 46, width = 48}, char_to_display = 55, 
          glyphless_method = 32, image_id = 124, slice = {x = 10, y = 124, 
            width = 32, height = 67}, space_width = 76, voffset = 79, 
          tab_width = 0, font_height = 83, object = 47, position = {
            charpos = 105, bytepos = 110}, truncation_pixel_width = 115, 
          continuation_pixel_width = 0, first_visible_x = 116, 
          last_visible_x = 97, last_visible_y = 110, extra_line_spacing = 116, 
          max_extra_line_spacing = 105, override_ascent = 97, 
          override_descent = 116, override_boff = 101, glyph_row = 0x0, 
          area = 32, nglyphs = 32, pixel_width = 32, ascent = 32, 
          descent = 32, max_ascent = 32, max_descent = 32, phys_ascent = 124, 
          phys_descent = 32, max_phys_ascent = 32, max_phys_descent = 53, 
          current_x = 46, continuation_lines_width = 54, eol_pos = {
            charpos = 48, bytepos = 32}, current_y = 124, first_vpos = 32, 
          vpos = 48, hpos = 46, left_user_fringe_bitmap = 56, 
          right_user_fringe_bitmap = 0, left_user_fringe_face_id = 55, 
          right_user_fringe_face_id = 32, bidi_p = 0, bidi_it = {
            bytepos = 124, charpos = 32, ch = 32, nchars = 48, ch_len = 46, 
            type = 57, type_after_w1 = 48, orig_type = 32, 
            resolved_level = 124, invalid_levels = 10, 
            invalid_rl_levels = 124, prev_was_pdf = 32, prev = {bytepos = 67, 
              charpos = 76, type = 79, type_after_w1 = 83, orig_type = 47}, 
            last_strong = {bytepos = 115, charpos = 105, type = 109, 
              type_after_w1 = 112, orig_type = 108}, next_for_neutral = {
              bytepos = 101, charpos = 45, type = 105, type_after_w1 = 110, 
              orig_type = 115}, prev_for_neutral = {bytepos = 116, 
              charpos = 97, type = 110, type_after_w1 = 116, orig_type = 105}, 
            next_for_ws = {bytepos = 97, charpos = 116, type = 101, 
              type_after_w1 = 32, orig_type = 124}, next_en_pos = 32, 
            ignore_bn_limit = 32, sor = 48, scan_dir = 46, disp_pos = 51, 
            disp_prop = 54, stack_idx = 32, level_stack = {{level = 124, 
                override = 32}, {level = 48, override = 46}, {level = 57, 
                override = 48}, {level = 32, override = 124}, {level = 32, 
                override = 32}, {level = 48, override = 46}, {level = 57, 
                override = 54}, {level = 32, override = 124}, {level = 10, 
                override = 124}, {level = 32, override = 67}, {level = 76, 
                override = 79}, {level = 83, override = 47}, {level = 109, 
                override = 101}, {level = 116, override = 104}, {level = 111, 
                override = 100}, {level = 99, override = 97}, {level = 108, 
                override = 108}, {level = 115, override = 32}, {level = 32, 
                override = 32}, {level = 32, override = 32}, {level = 32, 
                override = 32}, {level = 32, override = 124}, {level = 32, 
                override = 32}, {level = 49, override = 46}, {level = 53, 
                override = 57}, {level = 32, override = 124}, {level = 32, 
                override = 48}, {level = 46, override = 57}, {level = 55, 
                override = 32}, {level = 124, override = 32}, {level = 32, 
                override = 48}, {level = 46, override = 57}, {level = 53, 
                override = 32}, {level = 124, override = 10}, {level = 124, 
                override = 32}, {level = 67, override = 76}, {level = 79, 
                override = 83}, {level = 47, override = 109}, {level = 101, 
                override = 116}, {level = 104, override = 111}, {level = 100, 
                override = 43}, {level = 97, override = 102}, {level = 116, 
                override = 101}, {level = 114, override = 32}, {level = 32, 
                override = 32}, {level = 32, override = 32}, {level = 32, 
                override = 32}, {level = 124, override = 32}, {level = 32, 
                override = 50}, {level = 46, override = 52}, {level = 49, 
                override = 32}, {level = 124, override = 32}, {level = 49, 
                override = 46}, {level = 49, override = 52}, {level = 32, 
                override = 124}, {level = 32, override = 32}, {level = 49, 
                override = 46}, {level = 49, override = 51}, {level = 32, 
                override = 124}, {level = 10, override = 124}, {level = 32, 
                override = 67}, {level = 76, override = 79}, {level = 83, 
                override = 47}, {level = 99, override = 111}}, string = {
              lstring = 109, s = 0x70 <Address 0x70 out of bounds>, 
              schars = 108, bufpos = 101, from_disp_str = 0, unibyte = 0}, 
            paragraph_dir = 45, separator_limit = -1, first_elt = 1, 
            new_paragraph = 0, frame_window_p = 1}, paragraph_embedding = 116}
        row = <value optimized out>
        w = 0xa92f9a8
        sw = 0xa92f9a8
        pending = 13017
        must_finish = 1
        number_of_visible_frames = 1
        polling_stopped_here = 0
        old_frame = 140910109
        consider_all_windows_p = 0
#5  0x08145150 in read_char (commandflag=1, nmaps=3, maps=0xbf9299e0, 
    prev_event=138555562, used_mouse_menu=0xbf929af8, end_time=0x0)
    at keyboard.c:2445
        c = <value optimized out>
        local_getcjmp = {{__jmpbuf = {-1080911684, 169812048, -1080911704, 
              136265680, 174283270, 138577754}, __mask_was_saved = 1, 
            __saved_mask = {__val = {4294967295, 3214055612, 4294967295, 
                3214055832, 135928416, 174283270, 138577754, 169812053, 
                135663438, 138555562, 139797242, 138892802, 5, 0, 0, 
                4294967295, 172130608, 137084544, 138712680, 0, 0, 3, 6, 
                3214055432, 0, 8192, 169812053, 3214055800, 136288856, 
                169812048, 0, 0}}}}
        save_jump = {{__jmpbuf = {1, 2048, 75, 5, 6919, 1}, 
            __mask_was_saved = -301, __saved_mask = {__val = {173770784, 
                138555562, 3214055496, 510, 169812053, 169812048, 3214055512, 
                136263045, 177692248, 512, 1, 75, 5, 1, 2044, 2044, 173770784, 
                138555562, 3214055560, 136265499, 138577754, 174243246, 
                3214055560, 136287941, 177692248, 511, 1, 174283270, 
                174283270, 138725218, 169812053, 4294967295}}}}
        key_already_recorded = 0
        tem = <value optimized out>
        save = <value optimized out>
        previous_echo_area_message = 138555562
        also_record = 138555562
        reread = 0
        polling_stopped_here = 0
        orig_kboard = 0x859b7f0
#6  0x08147455 in read_key_sequence (keybuf=<value optimized out>, 
    bufsize=<value optimized out>, prompt=<value optimized out>, 
    dont_downcase_last=0, can_return_switch_frame=1, fix_current_buffer=1)
    at keyboard.c:9280
        interrupted_kboard = 0x859b7f0
        key = <value optimized out>
        used_mouse_menu = 0
        echo_local_start = 0
        last_real_key_start = 0
        keys_local_start = 0
        from_string = <value optimized out>
        t = <value optimized out>
        echo_start = 0
        keys_start = 0
        nmaps = <value optimized out>
        nmaps_allocated = 3
        defs = 0xbf9299c0
        submaps = <value optimized out>
        orig_local_map = 170447046
        orig_keymap = 138555562
        localized_local_map = 0
        first_binding = <value optimized out>
        first_unbound = <value optimized out>
        mock_input = <value optimized out>
        fkey = {parent = 141881710, map = 141881710, start = 0, end = 0}
        keytran = {parent = 138542790, map = 138542790, start = 0, end = 0}
        indec = {parent = 141881758, map = 141881758, start = 0, end = 0}
        shift_translated = 0
        delayed_switch_frame = 138555562
        original_uppercase = 0
        original_uppercase_position = -1
        starting_buffer = 0xa1f2050
        fake_prefixed_keys = 138555562
#7  0x08149203 in command_loop_1 () at keyboard.c:1445
        cmd = 169812048
        keybuf = {20, 135543987, 173459254, 138555586, -1080910882, 138555562, 
          138691778, 138555562, 138555562, -1080910882, 138555562, 138555562, 
          -1080910808, 135544284, 173459254, -1080910882, 0, 172130576, 2, 
          138823646, -1080910840, 134235330, 138823646, 138555562, 138555562, 
          138691776, -1230225884, -1231650268, -1472036457, 0}
        i = <value optimized out>
        prev_modiff = 3589
        prev_buffer = 0xa1f2050
#8  0x081ab804 in internal_condition_case (bfun=0x8149030 <command_loop_1>, 
    handlers=138586578, hfun=0x8143d10 <cmd_error>) at eval.c:1491
        val = 0
        c = {tag = 138555562, val = 138555562, next = 0xbf929d68, gcpro = 0x0, 
          jmp = {{__jmpbuf = {0, 139289496, 139289512, -1080910552, 475905492, 
                202003643}, __mask_was_saved = 0, __saved_mask = {__val = {
                  3079461398, 3064784998, 134548533, 141618112, 134546837, 
                  3063317168, 0, 3214056736, 3214056664, 3214056676, 
                  3079540724, 3079543032, 0, 3214056412, 3079462854, 
                  134547501, 139838823, 3214056448, 3061460420, 139837800, 
                  3214056672, 3214056976, 3214056824, 135607380, 2, 
                  3214056836, 3064741412, 3067607080, 0, 4294967295, 
                  3079540724, 134547501}}}}, backlist = 0x0, 
          handlerlist = 0x0, lisp_eval_depth = 0, pdlcount = 2, 
          poll_suppress_count = 1, interrupt_input_blocked = 0, 
          byte_stack = 0x0}
        h = {handler = 138586578, var = 138555562, chosen_clause = 138555586, 
          tag = 0xbf929c44, next = 0x0}
#9  0x08143985 in command_loop_2 (ignore=138555562) at keyboard.c:1156
        val = 0
#10 0x081ab8e1 in internal_catch (tag=138584554, 
    func=0x8143960 <command_loop_2>, arg=138555562) at eval.c:1248
        c = {tag = 138584554, val = 138555562, next = 0x0, gcpro = 0x0, jmp = {
            {__jmpbuf = {0, 139289496, 139289512, -1080910280, 476020180, 
                202679995}, __mask_was_saved = 0, __saved_mask = {__val = {
                  0 <repeats 12 times>, 3065157278, 0, 0, 0, 138575304, 1, 
                  138228288, 0, 14, 3214057068, 138743858, 138743856, 
                  138555562, 3214057016, 135957526, 138743858, 138555562, 
                  138555562, 1, 3214057064}}}}, backlist = 0x0, 
          handlerlist = 0x0, lisp_eval_depth = 0, pdlcount = 2, 
          poll_suppress_count = 1, interrupt_input_blocked = 0, 
          byte_stack = 0x0}
#11 0x08143fa6 in command_loop () at keyboard.c:1135
No locals.
#12 recursive_edit_1 () at keyboard.c:756
        val = <value optimized out>
#13 0x081440a2 in Frecursive_edit () at keyboard.c:820
        buffer = 138555562
#14 0x08137c8b in main (argc=0, argv=<value optimized out>) at emacs.c:1698
        dummy = -1080909400
        stack_bottom_variable = 8 '\b'
        do_initial_setlocale = 139289496
        skip_args = 0
        rlim = {rlim_cur = 8388608, rlim_max = 18446744073709551615}
        no_loadup = 0
        junk = 0x0
        dname_arg = 0x0
        ch_to_dir = 0xb6bfecc0 ""


Output of "list" in frame 3:

8439      /* On text terminals, we may stop at the end of a line in the middle
8440         of a multi-character glyph.  If the glyph itself is continued,
8441         i.e. it is actually displayed on the next line, don't treat this
8442         stopping point as valid; move to the next line instead (unless
8443         that brings us offscreen).  */
8444      if (!FRAME_WINDOW_P (it->f)
8445          && op & MOVE_TO_POS
8446          && IT_CHARPOS (*it) == to_charpos
8447          && it->what == IT_CHARACTER
8448          && it->nglyphs > 1





reply via email to

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