From debbugs-submit-bounces@debbugs.gnu.org Wed Jul 12 09:43:24 2017 Received: (at submit) by debbugs.gnu.org; 12 Jul 2017 13:43:24 +0000 Received: from localhost ([127.0.0.1]:34893 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dVHvI-0002Gd-Pr for submit@debbugs.gnu.org; Wed, 12 Jul 2017 09:43:24 -0400 Received: from eggs.gnu.org ([208.118.235.92]:43527) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dVHvG-0002GR-Ui for submit@debbugs.gnu.org; Wed, 12 Jul 2017 09:43:23 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dVHv5-0001Hw-Sk for submit@debbugs.gnu.org; Wed, 12 Jul 2017 09:43:17 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=0.8 required=5.0 tests=BAYES_50,FILL_THIS_FORM, FREEMAIL_FROM,T_DKIM_INVALID,T_FILL_THIS_FORM_LOAN autolearn=disabled version=3.3.2 Received: from lists.gnu.org ([2001:4830:134:3::11]:33506) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1dVHv5-0001Hh-Lw for submit@debbugs.gnu.org; Wed, 12 Jul 2017 09:43:11 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:34407) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dVHuz-0003pK-6g for bug-gnu-emacs@gnu.org; Wed, 12 Jul 2017 09:43:11 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dVHut-000170-6T for bug-gnu-emacs@gnu.org; Wed, 12 Jul 2017 09:43:05 -0400 Received: from mail-wr0-x231.google.com ([2a00:1450:400c:c0c::231]:33457) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1dVHus-0000cB-Gg for bug-gnu-emacs@gnu.org; Wed, 12 Jul 2017 09:42:59 -0400 Received: by mail-wr0-x231.google.com with SMTP id r103so34343810wrb.0 for ; Wed, 12 Jul 2017 06:42:35 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:subject:date:message-id:user-agent:mime-version; bh=z+0m7PK5kxylvIAGTNyr50/6kicEGRHPi565IiqS6/U=; b=CJWrtviyYusOyvQIa9TsE8kh8rPRvGSYrzp2Jas47BRCzGJTNnr4yIBxGunYDsWVJB LH3sIOp6VKpeK2aIq3IB6zGX5FMfa7Wzxx6OK+CweD4E9KoxPAj28diivn/JE5xQFy5J HQBiDrped2g3067Cxk9IZQPm4JcLuZnpm4YZDhFJJKlkMVCegJrpQdi1tFQA7B26umNq +srQK4YoODUa5J4UQwMtgJAjHSt1vyeFbusEOcYcPQ0URs5gI3W9A7GuTNFLBPJcVQBZ 2LgzisWj2sycqVQAgANrtL+jICmT3bmdxLFntpgx3xyO4wiVSTVqoOWu+6GITM1RF/gi BVcQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:subject:date:message-id:user-agent :mime-version; bh=z+0m7PK5kxylvIAGTNyr50/6kicEGRHPi565IiqS6/U=; b=gD48lwqnXO1skJ2wfWOD2oz5RM5d7tOue0LgqD9iWF3NPrMrlfguvPtVZX4n3UgaXT lDOeGpksw17BkMCvnuFV60saKx4++h0QTI/P83NX1Z7SJlCztK7LazIP0/aN81jNgJk7 0iT5948Rt6rT6N/b/CAnf3YaNNShrlsbttCZDQLG/Z3Fl+AY2KRFwtQxsXLNxhtS9eun yHqzHlH1DCZPkZu/1f+7rmqRtS4cGgh0bbA3eDiAS70BQ8GwGvoDSeqN1T6J0ruPskDw N8DN1Wg/pvh/ygjnE6+oiemzmDdLXy8EzbB3qW8XNR66u1jPwHUqFDqRVtMc8iKQeL18 3UzQ== X-Gm-Message-State: AIVw112z7cTQums/UYsJTnt4sHfOes/D4+7NVswvsBGt2j2ERmyYc1Z3 LHMje0pBGgeTWifPP9w= X-Received: by 10.28.238.219 with SMTP id j88mr2727595wmi.33.1499866953767; Wed, 12 Jul 2017 06:42:33 -0700 (PDT) Received: from rpluim-ubuntu ([149.5.228.1]) by smtp.gmail.com with ESMTPSA id k15sm1885624wre.9.2017.07.12.06.42.32 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 12 Jul 2017 06:42:32 -0700 (PDT) From: Robert Pluim To: bug-gnu-emacs@gnu.org Subject: 26.0.50; Crash with display-line-numbers t Date: Wed, 12 Jul 2017 15:42:28 +0200 Message-ID: <87k23d7ovv.fsf@gmail.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 2001:4830:134:3::11 X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" I've had emacs crash on me twice today with the same backtrace. It appears to be related to setting display-line-numbers to t, although I'd been running the scratch/line-numbers branch for a while without any problems. It *seems* to happen the second time I do 'C-x C-f' from a buffer that has display-line-numbers t, although I'm having a hard time coming up with a reliable reproduction method, nor have a got a recipe from 'emacs -Q' (yet). I have an example trapped in gdb, let me know if you need more info. bt full: (gdb) bt full #0 terminate_due_to_signal (sig=sig@entry=6, backtrace_limit=backtrace_limit@entry=2147483647) at emacs.c:363 No locals. #1 0x00000000005a5084 in die (msg=msg@entry=0x6987d8 "pdl->kind == SPECPDL_BACKTRACE", file=file@entry=0x698448 "eval.c", line=line@entry=150) at alloc.c:7348 No locals. #2 0x0000000000419f3b in backtrace_function (pdl=) at eval.c:150 No locals. #3 No symbol table info available. #4 terminate_due_to_signal (sig=sig@entry=6, backtrace_limit=backtrace_limit@entry=2147483647) at emacs.c:363 No locals. #5 0x00000000005a5084 in die (msg=msg@entry=0x679355 "row->pixel_width >= 0", file=file@entry=0x678fc8 "xdisp.c", line=line@entry=19775) at alloc.c:7348 No locals. #6 0x000000000044fd4f in compute_line_metrics (it=it@entry=0x7fffffff8160) at xdisp.c:19775 i = min_y = max_y = row = 0x343ea30 #7 0x0000000000464404 in display_line (it=it@entry=0x7fffffff8160, cursor_vpos=cursor_vpos@entry=31) at xdisp.c:21944 row = overlay_arrow_string = wrap_it = { window = XIL(0x306b1a4), w = 0x7fffffff8bd8, f = 0x1, method = GET_FROM_BUFFER, stop_charpos = 0, prev_stop = 4294967300, base_level_stop = 6, end_charpos = 0, s = 0x2a , string_nchars = -7338326661860733952, redisplay_end_trigger_charpos = 2, multibyte_p = false, header_line_p = false, string_from_display_prop_p = false, string_from_prefix_prop_p = false, from_disp_prop_p = false, ellipsis_p = true, avoid_cursor_p = true, dp = 0x0, dpvec = 0x1, dpend = 0x6, dpvec_char_len = -29744, dpvec_face_id = 32767, saved_face_id = -29912, ctl_chars = {XIL(0x4dea53), make_number(10), XIL(0x146d7d0), XIL(0x100000000), XIL(0x7fffffff8bd8), XIL(0), XIL(0x7fffffff8b30), XIL(0x306b1a4), make_number(2), XIL(0), XIL(0), make_number(10), XIL(0x9a2906c7fa034c00), XIL(0x1157714), XIL(0x7fffffff8b10), XIL(0)}, start = { pos = { charpos = 1, bytepos = 0 }, overlay_string_index = 140737488327648, string_pos = { charpos = 0, bytepos = 5111028 }, dpvec_index = 1 }, current = { ---Type to continue, or q to quit--- pos = { charpos = 140737488325392, bytepos = 0 }, overlay_string_index = 21419984, string_pos = { charpos = 4294967296, bytepos = 1 }, dpvec_index = 10 }, n_overlay_strings = 140737488325584, overlay_strings_charpos = 140737488325416, overlay_strings = {XIL(0x9a2906c7fa034c00), XIL(0x7fffffff8b28), XIL(0x7fffffff8b10), XIL(0x7fffffff8b10), XIL(0x9a2906c7fa034c00), XIL(0), XIL(0x1), XIL(0x7fffffff70d0), XIL(0x2dacc63), XIL(0), XIL(0x4920), XIL(0x7fffffff5d90), XIL(0), XIL(0x1), XIL(0x63116f), XIL(0x7fffffff8b28)}, string_overlays = {XIL(0xdda404), make_number(1), make_number(1), XIL(0x4920), make_number(0), XIL(0xdda404), XIL(0x631ca0), make_number(0), XIL(0x633db8), XIL(0), XIL(0xdda404), make_number(1), make_number(1), XIL(0x4920), make_number(0), make_number(1)}, string = XIL(0x6345a5), from_overlay = XIL(0x1), stack = {{ string = make_number(0), string_nchars = 1, end_charpos = 2, stop_charpos = 14525444, prev_stop = 1, base_level_stop = 14525444, cmp_it = { stop_pos = 0, id = 6, ch = 4509939, rule_idx = 0, lookback = 140737488325592, nglyphs = 1, reversed_p = true, charpos = 0, nchars = 0, nbytes = 0, from = 4, to = 1, width = 1 }, face_id = 0, u = { image = { object = XIL(0x100000001), slice = { x = XIL(0x9a2906c7fa034c00), y = XIL(0), width = XIL(0x7fffffff93e0), height = XIL(0) }, image_id = 1 }, stretch = { object = XIL(0x100000001) }, xwidget = { object = XIL(0x100000001) } }, position = { ---Type to continue, or q to quit--- charpos = 1, bytepos = 140737488325584 }, current = { pos = { charpos = 140737488325416, bytepos = 5106259 }, overlay_string_index = 0, string_pos = { charpos = 21419984, bytepos = 4294967297 }, dpvec_index = -29736 }, from_overlay = XIL(0), area = -29904, method = 32767, paragraph_embedding = (unknown: 112), multibyte_p = false, string_from_display_prop_p = false, string_from_prefix_prop_p = false, display_ellipsis_p = false, avoid_cursor_p = false, bidi_p = false, from_disp_prop_p = false, line_wrap = WORD_WRAP, voffset = 0, space_width = XIL(0), font_height = XIL(0) }, { string = XIL(0x1), string_nchars = -100447232, end_charpos = 0, stop_charpos = 140737488325392, prev_stop = 0, base_level_stop = 1, cmp_it = { stop_pos = 0, id = 140737488327648, ch = 0, rule_idx = 5111028, lookback = 1, nglyphs = -29936, reversed_p = 255, charpos = 0, nchars = 5111057, nbytes = 0, from = 0, to = 0, width = 0 }, face_id = 0, u = { image = { object = XIL(0x1), slice = { x = make_number(2), y = XIL(0x9a2906c7fa034c00), width = XIL(0), height = XIL(0x7fffffff8b10) }, image_id = 140737488325392 ---Type to continue, or q to quit--- }, stretch = { object = XIL(0x1) }, xwidget = { object = XIL(0x1) } }, position = { charpos = -7338326661860733952, bytepos = 0 }, current = { pos = { charpos = 1, bytepos = 140737488319392 }, overlay_string_index = 140737488319392, string_pos = { charpos = 0, bytepos = 140737488319392 }, dpvec_index = 1 }, from_overlay = XIL(0x4e24e9), area = LEFT_MARGIN_AREA, method = GET_FROM_BUFFER, paragraph_embedding = (unknown: 4294937360), multibyte_p = true, string_from_display_prop_p = true, string_from_prefix_prop_p = true, display_ellipsis_p = true, avoid_cursor_p = true, bidi_p = true, from_disp_prop_p = true, line_wrap = (unknown: 4294937360), voffset = 32767, space_width = make_number(1277725), font_height = XIL(0) }, { string = XIL(0x7fffffff93e0), string_nchars = 0, end_charpos = 5111028, stop_charpos = 27264240, prev_stop = 10, base_level_stop = 10, cmp_it = { stop_pos = 140737302826789, id = 0, ch = -37360, rule_idx = 88080848, lookback = 10, nglyphs = 10, reversed_p = false, charpos = 1, nchars = -37360, nbytes = 32767, from = 88080848, to = 0, width = 10 }, face_id = 10, u = { ---Type to continue, or q to quit--- image = { object = XIL(0x7fffffff6e10), slice = { x = XIL(0x7ffff61f8c79), y = XIL(0x20), width = XIL(0xf4ec70), height = XIL(0x7fffffff70dc) }, image_id = 94489280513 }, stretch = { object = XIL(0x7fffffff6e10) }, xwidget = { object = XIL(0x7fffffff6e10) } }, position = { charpos = 22, bytepos = 27264240 }, current = { pos = { charpos = 0, bytepos = 140737488325592 }, overlay_string_index = 25769803782, string_pos = { charpos = 5, bytepos = 0 }, dpvec_index = -1 }, from_overlay = XIL(0), area = LEFT_MARGIN_AREA, method = GET_FROM_BUFFER, paragraph_embedding = L2R, multibyte_p = false, string_from_display_prop_p = false, string_from_prefix_prop_p = false, display_ellipsis_p = false, avoid_cursor_p = false, bidi_p = false, from_disp_prop_p = false, line_wrap = (unknown: 4194520064), voffset = 1735, space_width = XIL(0), font_height = XIL(0x7fffffff93e0) }, { string = XIL(0), string_nchars = 1, end_charpos = 1, stop_charpos = 140737488325584, prev_stop = 140737488325416, base_level_stop = 5106259, cmp_it = { stop_pos = 0, id = 21419984, ch = 1, rule_idx = 140737488325592, lookback = 0, nglyphs = -29904, reversed_p = 255, ---Type to continue, or q to quit--- charpos = 32, nchars = 1, nbytes = 0, from = 0, to = 0, width = 0 }, face_id = 22, u = { image = { object = XIL(0x9a2906c7fa034c00), slice = { x = XIL(0), y = XIL(0x7fffffff8b10), width = XIL(0), height = XIL(0x1) }, image_id = 0 }, stretch = { object = XIL(0x9a2906c7fa034c00) }, xwidget = { object = XIL(0x9a2906c7fa034c00) } }, position = { charpos = 140737488327648, bytepos = 0 }, current = { pos = { charpos = 5111028, bytepos = 1 }, overlay_string_index = 140737488325392, string_pos = { charpos = 0, bytepos = 5111057 }, dpvec_index = 0 }, from_overlay = XIL(0), area = LEFT_MARGIN_AREA, method = GET_FROM_DISPLAY_VECTOR, paragraph_embedding = L2R, multibyte_p = false, string_from_display_prop_p = false, string_from_prefix_prop_p = false, display_ellipsis_p = false, avoid_cursor_p = false, bidi_p = false, from_disp_prop_p = false, line_wrap = WINDOW_WRAP, voffset = 0, space_width = XIL(0x9a2906c7fa034c00), font_height = XIL(0) }, { string = XIL(0x7fffffff8b10), string_nchars = -29936, end_charpos = 0, stop_charpos = 0, prev_stop = 16, ---Type to continue, or q to quit--- base_level_stop = 6799399, cmp_it = { stop_pos = 5113057, id = 0, ch = 0, rule_idx = 0, lookback = 0, nglyphs = 0, reversed_p = false, charpos = 5110902, nchars = 0, nbytes = 0, from = 0, to = 0, width = 0 }, face_id = 0, u = { image = { object = XIL(0), slice = { x = XIL(0x9a2906c7fa034c00), y = XIL(0), width = XIL(0x7fffffff8b10), height = XIL(0) }, image_id = 0 }, stretch = { object = XIL(0) }, xwidget = { object = XIL(0) } }, position = { charpos = 0, bytepos = 32 }, current = { pos = { charpos = 1265, bytepos = 5113057 }, overlay_string_index = 0, string_pos = { charpos = 0, bytepos = 0 }, dpvec_index = 0 }, from_overlay = XIL(0), area = LEFT_MARGIN_AREA, method = GET_FROM_BUFFER, paragraph_embedding = NEUTRAL_DIR, multibyte_p = false, string_from_display_prop_p = false, string_from_prefix_prop_p = false, display_ellipsis_p = false, avoid_cursor_p = false, bidi_p = false, from_disp_prop_p = false, line_wrap = TRUNCATE, ---Type to continue, or q to quit--- voffset = 0, space_width = XIL(0), font_height = XIL(0) }}, sp = 0, selective = 0, what = IT_CHARACTER, face_id = 0, selective_display_ellipsis_p = false, ctl_arrow_p = false, face_box_p = false, start_of_box_run_p = false, end_of_box_run_p = false, overlay_strings_at_end_processed_p = false, ignore_overlay_strings_at_pos_p = false, glyph_not_available_p = false, starts_in_middle_of_char_p = false, face_before_selective_p = false, constrain_row_ascent_descent_p = false, line_wrap = TRUNCATE, base_face_id = 0, c = 28, len = 3, cmp_it = { stop_pos = 146028888064, id = 0, ch = 10935, rule_idx = -1, lookback = 4294967294, nglyphs = 0, reversed_p = false, charpos = 0, nchars = 0, nbytes = 0, from = 0, to = 0, width = 0 }, char_to_display = 0, glyphless_method = GLYPHLESS_DISPLAY_THIN_SPACE, image_id = 0, xwidget = 0x0, slice = { x = XIL(0), y = XIL(0), width = XIL(0), height = XIL(0) }, space_width = XIL(0), voffset = 0, tab_width = 0, font_height = XIL(0), object = XIL(0x80000), position = { charpos = 0, bytepos = 16341029 }, truncation_pixel_width = 9551, continuation_pixel_width = 0, first_visible_x = 0, last_visible_x = 9551, last_visible_y = 0, extra_line_spacing = 1048576, ---Type to continue, or q to quit--- max_extra_line_spacing = 0, override_ascent = 3798, override_descent = 1958, override_boff = 0, glyph_row = 0xffffffff, area = LEFT_MARGIN_AREA, nglyphs = 0, pixel_width = 0, ascent = 0, descent = 1, max_ascent = 1, max_descent = 0, phys_ascent = 0, phys_descent = 0, max_phys_ascent = 0, max_phys_descent = 0, current_x = 0, continuation_lines_width = 0, eol_pos = { charpos = 0, bytepos = 0 }, current_y = 0, first_vpos = 0, vpos = 0, hpos = 0, lnum = 1028, lnum_bytepos = 4294967266, lnum_width = 0, lnum_pixel_width = 0, pt_lnum = 0, left_user_fringe_bitmap = 0, right_user_fringe_bitmap = 0, left_user_fringe_face_id = 0, right_user_fringe_face_id = 0, bidi_p = false, bidi_it = { bytepos = 0, charpos = 1048576, ch = 9551, nchars = 9551, ch_len = 0, type = 47893603, type_after_wn = UNKNOWN_BT, orig_type = UNKNOWN_BT, resolved_level = 0 '\000', isolate_level = 0 '\000', invalid_levels = 21552, invalid_isolates = 0, prev = { charpos = 57619507, type = STRONG_L, orig_type = UNKNOWN_BT }, last_strong = { charpos = 57621456, type = 27264240, orig_type = UNKNOWN_BT }, next_for_neutral = { charpos = 10, type = RLE, orig_type = UNKNOWN_BT ---Type to continue, or q to quit--- }, prev_for_neutral = { charpos = 140737302826789, type = STRONG_L, orig_type = UNKNOWN_BT }, next_for_ws = { charpos = 140737488319344, type = 88080834, orig_type = UNKNOWN_BT }, bracket_pairing_pos = 10, bracket_enclosed_type = RLE, next_en_pos = 1, next_en_type = 4294931312, sos = (L2R | R2L | unknown: 32764), scan_dir = 88080834, disp_pos = 10, disp_prop = 10, stack_idx = 0, level_stack = {{ next_for_neutral_pos = 140737488319344, next_for_neutral_type = 1, last_strong_type = 7, prev_for_neutral_type = 1, level = 31 '\037', flags = 246 '\366' }, { next_for_neutral_pos = 21415872, next_for_neutral_type = 0, last_strong_type = 6, prev_for_neutral_type = 1, level = 175 '\257', flags = 1 '\001' }, { next_for_neutral_pos = 140737488320060, next_for_neutral_type = 4, last_strong_type = 5, prev_for_neutral_type = 3, level = 79 'O', flags = 0 '\000' }, { next_for_neutral_pos = 140737488316120, next_for_neutral_type = 0, last_strong_type = 6, prev_for_neutral_type = 3, level = 160 '\240', flags = 1 '\001' }, { next_for_neutral_pos = 140737488325392, next_for_neutral_type = 6, last_strong_type = 0, prev_for_neutral_type = 0, level = 0 '\000', flags = 0 '\000' }, { next_for_neutral_pos = 0, next_for_neutral_type = 0, last_strong_type = 2, prev_for_neutral_type = 0, level = 0 '\000', flags = 0 '\000' }, { ---Type to continue, or q to quit--- next_for_neutral_pos = 0, next_for_neutral_type = 1, last_strong_type = 7, prev_for_neutral_type = 0, level = 78 'N', flags = 0 '\000' }, { next_for_neutral_pos = 0, next_for_neutral_type = 1, last_strong_type = 0, prev_for_neutral_type = 0, level = 0 '\000', flags = 0 '\000' }, { next_for_neutral_pos = -1, next_for_neutral_type = 0, last_strong_type = 2, prev_for_neutral_type = 7, level = 98 'b', flags = 0 '\000' }, { next_for_neutral_pos = 14583440, next_for_neutral_type = 0, last_strong_type = 0, prev_for_neutral_type = 0, level = 3 '\003', flags = 250 '\372' }, { next_for_neutral_pos = 140737488325392, next_for_neutral_type = 0, last_strong_type = 2, prev_for_neutral_type = 4, level = 255 '\377', flags = 255 '\377' }, { next_for_neutral_pos = 140737488325392, next_for_neutral_type = 0, last_strong_type = 0, prev_for_neutral_type = 0, level = 0 '\000', flags = 0 '\000' }, { next_for_neutral_pos = 16, next_for_neutral_type = 0, last_strong_type = 5, prev_for_neutral_type = 1, level = 78 'N', flags = 0 '\000' }, { next_for_neutral_pos = 42, next_for_neutral_type = 0, last_strong_type = 0, prev_for_neutral_type = 0, level = 3 '\003', flags = 250 '\372' }, { next_for_neutral_pos = 1, next_for_neutral_type = 0, last_strong_type = 2, prev_for_neutral_type = 4, level = 255 '\377', flags = 255 '\377' }, { ---Type to continue, or q to quit--- next_for_neutral_pos = 0, next_for_neutral_type = 6, last_strong_type = 0, prev_for_neutral_type = 0, level = 0 '\000', flags = 0 '\000' }, { next_for_neutral_pos = 0, next_for_neutral_type = 3, last_strong_type = 4, prev_for_neutral_type = 1, level = 0 '\000', flags = 0 '\000' }, { next_for_neutral_pos = 1217, next_for_neutral_type = 1, last_strong_type = 7, prev_for_neutral_type = 0, level = 78 'N', flags = 0 '\000' }, { next_for_neutral_pos = 5, next_for_neutral_type = 1, last_strong_type = 0, prev_for_neutral_type = 0, level = 0 '\000', flags = 0 '\000' }, { next_for_neutral_pos = -1, next_for_neutral_type = 6, last_strong_type = 0, prev_for_neutral_type = 0, level = 0 '\000', flags = 0 '\000' }, { next_for_neutral_pos = 21419989, next_for_neutral_type = 0, last_strong_type = 0, prev_for_neutral_type = 0, level = 3 '\003', flags = 250 '\372' }, { next_for_neutral_pos = 140737488325392, next_for_neutral_type = 0, last_strong_type = 2, prev_for_neutral_type = 4, level = 255 '\377', flags = 255 '\377' }, { next_for_neutral_pos = 140737488325392, next_for_neutral_type = 0, last_strong_type = 0, prev_for_neutral_type = 0, level = 0 '\000', flags = 0 '\000' }, { next_for_neutral_pos = 1217, next_for_neutral_type = 0, last_strong_type = 5, prev_for_neutral_type = 1, level = 78 'N', flags = 0 '\000' }, { ---Type to continue, or q to quit--- next_for_neutral_pos = 0, next_for_neutral_type = 6, last_strong_type = 0, prev_for_neutral_type = 0, level = 0 '\000', flags = 0 '\000' }, { next_for_neutral_pos = 0, next_for_neutral_type = 0, last_strong_type = 0, prev_for_neutral_type = 0, level = 0 '\000', flags = 0 '\000' }, { next_for_neutral_pos = 46827888, next_for_neutral_type = 0, last_strong_type = 0, prev_for_neutral_type = 0, level = 0 '\000', flags = 0 '\000' }, { next_for_neutral_pos = 0, next_for_neutral_type = 0, last_strong_type = 0, prev_for_neutral_type = 0, level = 0 '\000', flags = 0 '\000' }, { next_for_neutral_pos = 1, next_for_neutral_type = 0, last_strong_type = 0, prev_for_neutral_type = 0, level = 0 '\000', flags = 0 '\000' }, { next_for_neutral_pos = 0, next_for_neutral_type = 0, last_strong_type = 0, prev_for_neutral_type = 0, level = 0 '\000', flags = 0 '\000' }, { next_for_neutral_pos = 0, next_for_neutral_type = 0, last_strong_type = 0, prev_for_neutral_type = 0, level = 0 '\000', flags = 0 '\000' }, { next_for_neutral_pos = 0, next_for_neutral_type = 0, last_strong_type = 0, prev_for_neutral_type = 0, level = 0 '\000', flags = 0 '\000' }, { next_for_neutral_pos = 0, next_for_neutral_type = 0, last_strong_type = 0, prev_for_neutral_type = 0, level = 0 '\000', flags = 0 '\000' }, { ---Type to continue, or q to quit--- next_for_neutral_pos = 0, next_for_neutral_type = 0, last_strong_type = 0, prev_for_neutral_type = 0, level = 0 '\000', flags = 0 '\000' }, { next_for_neutral_pos = 0, next_for_neutral_type = 0, last_strong_type = 6, prev_for_neutral_type = 0, level = 255 '\377', flags = 255 '\377' }, { next_for_neutral_pos = 140737488317748, next_for_neutral_type = 4, last_strong_type = 6, prev_for_neutral_type = 4, level = 255 '\377', flags = 255 '\377' }, { next_for_neutral_pos = 140737488316460, next_for_neutral_type = 0, last_strong_type = 0, prev_for_neutral_type = 0, level = 0 '\000', flags = 0 '\000' }, { next_for_neutral_pos = 46849344, next_for_neutral_type = 3, last_strong_type = 3, prev_for_neutral_type = 2, level = 107 'k', flags = 244 '\364' }, { next_for_neutral_pos = 24868864, next_for_neutral_type = 0, last_strong_type = 6, prev_for_neutral_type = 1, level = 255 '\377', flags = 255 '\377' }, { next_for_neutral_pos = 140737488317744, next_for_neutral_type = 1, last_strong_type = 0, prev_for_neutral_type = 0, level = 0 '\000', flags = 0 '\000' }, { next_for_neutral_pos = 140737488317828, next_for_neutral_type = 4, last_strong_type = 0, prev_for_neutral_type = 6, level = 255 '\377', flags = 255 '\377' }, { next_for_neutral_pos = 140737488316540, next_for_neutral_type = 0, last_strong_type = 0, prev_for_neutral_type = 0, level = 0 '\000', flags = 0 '\000' }, { ---Type to continue, or q to quit--- next_for_neutral_pos = 46849344, next_for_neutral_type = 3, last_strong_type = 3, prev_for_neutral_type = 2, level = 107 'k', flags = 244 '\364' }, { next_for_neutral_pos = 24868864, next_for_neutral_type = 0, last_strong_type = 0, prev_for_neutral_type = 3, level = 255 '\377', flags = 255 '\377' }, { next_for_neutral_pos = 140737488317824, next_for_neutral_type = 1, last_strong_type = 0, prev_for_neutral_type = 0, level = 0 '\000', flags = 0 '\000' }, { next_for_neutral_pos = 14525444, next_for_neutral_type = 1, last_strong_type = 0, prev_for_neutral_type = 0, level = 0 '\000', flags = 0 '\000' }, { next_for_neutral_pos = 21415872, next_for_neutral_type = 6, last_strong_type = 0, prev_for_neutral_type = 0, level = 0 '\000', flags = 0 '\000' }, { next_for_neutral_pos = 0, next_for_neutral_type = 4, last_strong_type = 5, prev_for_neutral_type = 3, level = 79 'O', flags = 0 '\000' }, { next_for_neutral_pos = 140737488316840, next_for_neutral_type = 7, last_strong_type = 7, prev_for_neutral_type = 7, level = 255 '\377', flags = 255 '\377' }, { next_for_neutral_pos = 140737488325392, next_for_neutral_type = 1, last_strong_type = 0, prev_for_neutral_type = 0, level = 0 '\000', flags = 0 '\000' }, { next_for_neutral_pos = 0, next_for_neutral_type = 5, last_strong_type = 6, prev_for_neutral_type = 4, level = 24 '\030', flags = 246 '\366' }, { ---Type to continue, or q to quit--- next_for_neutral_pos = 0, next_for_neutral_type = 0, last_strong_type = 4, prev_for_neutral_type = 2, level = 160 '\240', flags = 1 '\001' }, { next_for_neutral_pos = 17512920, next_for_neutral_type = 1, last_strong_type = 4, prev_for_neutral_type = 2, level = 31 '\037', flags = 246 '\366' }, { next_for_neutral_pos = -1, next_for_neutral_type = 0, last_strong_type = 6, prev_for_neutral_type = 1, level = 244 '\364', flags = 0 '\000' }, { next_for_neutral_pos = 140737488317968, next_for_neutral_type = 0, last_strong_type = 0, prev_for_neutral_type = 0, level = 3 '\003', flags = 250 '\372' }, { next_for_neutral_pos = 140737488325392, next_for_neutral_type = 0, last_strong_type = 4, prev_for_neutral_type = 2, level = 255 '\377', flags = 255 '\377' }, { next_for_neutral_pos = 17512560, next_for_neutral_type = 0, last_strong_type = 2, prev_for_neutral_type = 0, level = 255 '\377', flags = 255 '\377' }, { next_for_neutral_pos = 140737325249344, next_for_neutral_type = 0, last_strong_type = 6, prev_for_neutral_type = 1, level = 244 '\364', flags = 0 '\000' }, { next_for_neutral_pos = 140737488322560, next_for_neutral_type = 2, last_strong_type = 2, prev_for_neutral_type = 0, level = 30 '\036', flags = 246 '\366' }, { next_for_neutral_pos = 0, next_for_neutral_type = 0, last_strong_type = 2, prev_for_neutral_type = 4, level = 255 '\377', flags = 255 '\377' }, { ---Type to continue, or q to quit--- next_for_neutral_pos = 0, next_for_neutral_type = 1, last_strong_type = 0, prev_for_neutral_type = 0, level = 0 '\000', flags = 0 '\000' }, { next_for_neutral_pos = 0, next_for_neutral_type = 2, last_strong_type = 1, prev_for_neutral_type = 0, level = 0 '\000', flags = 0 '\000' }, { next_for_neutral_pos = 0, next_for_neutral_type = 4, last_strong_type = 2, prev_for_neutral_type = 0, level = 0 '\000', flags = 0 '\000' }, { next_for_neutral_pos = 0, next_for_neutral_type = 1, last_strong_type = 0, prev_for_neutral_type = 0, level = 0 '\000', flags = 0 '\000' }, { next_for_neutral_pos = -1, next_for_neutral_type = 1, last_strong_type = 0, prev_for_neutral_type = 0, level = 0 '\000', flags = 0 '\000' }, { next_for_neutral_pos = 21419989, next_for_neutral_type = 0, last_strong_type = 0, prev_for_neutral_type = 0, level = 3 '\003', flags = 250 '\372' }, { next_for_neutral_pos = 140737488325392, next_for_neutral_type = 0, last_strong_type = 2, prev_for_neutral_type = 4, level = 255 '\377', flags = 255 '\377' }, { next_for_neutral_pos = 140737488325392, next_for_neutral_type = 0, last_strong_type = 0, prev_for_neutral_type = 0, level = 0 '\000', flags = 0 '\000' }, { next_for_neutral_pos = 1249, next_for_neutral_type = 0, last_strong_type = 5, prev_for_neutral_type = 1, level = 78 'N', flags = 0 '\000' }, { ---Type to continue, or q to quit--- next_for_neutral_pos = 0, next_for_neutral_type = 1, last_strong_type = 0, prev_for_neutral_type = 0, level = 0 '\000', flags = 0 '\000' }, { next_for_neutral_pos = 0, next_for_neutral_type = 0, last_strong_type = 0, prev_for_neutral_type = 0, level = 0 '\000', flags = 0 '\000' }, { next_for_neutral_pos = 46827888, next_for_neutral_type = 0, last_strong_type = 0, prev_for_neutral_type = 0, level = 0 '\000', flags = 0 '\000' }, { next_for_neutral_pos = 0, next_for_neutral_type = 0, last_strong_type = 0, prev_for_neutral_type = 0, level = 0 '\000', flags = 0 '\000' }, { next_for_neutral_pos = 1, next_for_neutral_type = 0, last_strong_type = 0, prev_for_neutral_type = 0, level = 0 '\000', flags = 0 '\000' }, { next_for_neutral_pos = 0, next_for_neutral_type = 0, last_strong_type = 0, prev_for_neutral_type = 0, level = 0 '\000', flags = 0 '\000' } , { next_for_neutral_pos = 0, next_for_neutral_type = 7, last_strong_type = 7, prev_for_neutral_type = 7, level = 255 '\377', flags = 255 '\377' }, { next_for_neutral_pos = 0, next_for_neutral_type = 0, last_strong_type = 0, prev_for_neutral_type = 0, level = 0 '\000', flags = 0 '\000' }, { next_for_neutral_pos = 4294967295, next_for_neutral_type = 0, last_strong_type = 0, prev_for_neutral_type = 0, level = 0 '\000', flags = 0 '\000' }, { ---Type to continue, or q to quit--- next_for_neutral_pos = 0, next_for_neutral_type = 0, last_strong_type = 0, prev_for_neutral_type = 0, level = 0 '\000', flags = 0 '\000' }, { next_for_neutral_pos = 0, next_for_neutral_type = 0, last_strong_type = 0, prev_for_neutral_type = 0, level = 0 '\000', flags = 0 '\000' }, { next_for_neutral_pos = 0, next_for_neutral_type = 0, last_strong_type = 0, prev_for_neutral_type = 0, level = 0 '\000', flags = 0 '\000' }, { next_for_neutral_pos = 0, next_for_neutral_type = 0, last_strong_type = 0, prev_for_neutral_type = 0, level = 0 '\000', flags = 0 '\000' }, { next_for_neutral_pos = 0, next_for_neutral_type = 0, last_strong_type = 0, prev_for_neutral_type = 0, level = 3 '\003', flags = 250 '\372' }, { next_for_neutral_pos = 0, next_for_neutral_type = 0, last_strong_type = 2, prev_for_neutral_type = 4, level = 255 '\377', flags = 255 '\377' }, { next_for_neutral_pos = 140737488325392, next_for_neutral_type = 1, last_strong_type = 0, prev_for_neutral_type = 0, level = 0 '\000', flags = 0 '\000' }, { next_for_neutral_pos = 0, next_for_neutral_type = 0, last_strong_type = 2, prev_for_neutral_type = 0, level = 0 '\000', flags = 0 '\000' }, { next_for_neutral_pos = 6799399, next_for_neutral_type = 1, last_strong_type = 7, prev_for_neutral_type = 0, level = 78 'N', flags = 0 '\000' }, { ---Type to continue, or q to quit--- next_for_neutral_pos = 0, next_for_neutral_type = 1, last_strong_type = 0, prev_for_neutral_type = 0, level = 0 '\000', flags = 0 '\000' }, { next_for_neutral_pos = -1, next_for_neutral_type = 0, last_strong_type = 0, prev_for_neutral_type = 0, level = 0 '\000', flags = 0 '\000' }, { next_for_neutral_pos = 0, next_for_neutral_type = 0, last_strong_type = 0, prev_for_neutral_type = 0, level = 3 '\003', flags = 250 '\372' }, { next_for_neutral_pos = 140737488325392, next_for_neutral_type = 0, last_strong_type = 2, prev_for_neutral_type = 4, level = 255 '\377', flags = 255 '\377' }, { next_for_neutral_pos = 140737488325392, next_for_neutral_type = 0, last_strong_type = 0, prev_for_neutral_type = 0, level = 0 '\000', flags = 0 '\000' }, { next_for_neutral_pos = 16, next_for_neutral_type = 0, last_strong_type = 0, prev_for_neutral_type = 0, level = 3 '\003', flags = 250 '\372' }, { next_for_neutral_pos = 0, next_for_neutral_type = 0, last_strong_type = 2, prev_for_neutral_type = 4, level = 255 '\377', flags = 255 '\377' }, { next_for_neutral_pos = 0, next_for_neutral_type = 1, last_strong_type = 0, prev_for_neutral_type = 0, level = 0 '\000', flags = 0 '\000' }, { next_for_neutral_pos = 0, next_for_neutral_type = 0, last_strong_type = 0, prev_for_neutral_type = 4, level = 202 '\312', flags = 0 '\000' }, { ---Type to continue, or q to quit--- next_for_neutral_pos = 0, next_for_neutral_type = 0, last_strong_type = 0, prev_for_neutral_type = 4, level = 241 '\361', flags = 0 '\000' }, { next_for_neutral_pos = 0, next_for_neutral_type = 0, last_strong_type = 4, prev_for_neutral_type = 6, level = 255 '\377', flags = 255 '\377' }, { next_for_neutral_pos = 21419984, next_for_neutral_type = 2, last_strong_type = 1, prev_for_neutral_type = 6, level = 100 'd', flags = 0 '\000' }, { next_for_neutral_pos = 5629499535654928, next_for_neutral_type = 0, last_strong_type = 2, prev_for_neutral_type = 0, level = 0 '\000', flags = 0 '\000' }, { next_for_neutral_pos = 0, next_for_neutral_type = 0, last_strong_type = 0, prev_for_neutral_type = 0, level = 3 '\003', flags = 250 '\372' }, { next_for_neutral_pos = 50058280, next_for_neutral_type = 7, last_strong_type = 6, prev_for_neutral_type = 3, level = 71 'G', flags = 0 '\000' }, { next_for_neutral_pos = 0, next_for_neutral_type = 0, last_strong_type = 6, prev_for_neutral_type = 7, level = 255 '\377', flags = 255 '\377' }, { next_for_neutral_pos = 21419984, next_for_neutral_type = 2, last_strong_type = 1, prev_for_neutral_type = 6, level = 100 'd', flags = 0 '\000' }, { next_for_neutral_pos = 5629499535654928, next_for_neutral_type = 0, last_strong_type = 2, prev_for_neutral_type = 0, level = 0 '\000', flags = 0 '\000' }, { ---Type to continue, or q to quit--- next_for_neutral_pos = 0, next_for_neutral_type = 0, last_strong_type = 0, prev_for_neutral_type = 0, level = 3 '\003', flags = 250 '\372' }, { next_for_neutral_pos = 50058280, next_for_neutral_type = 7, last_strong_type = 6, prev_for_neutral_type = 3, level = 71 'G', flags = 0 '\000' }, { next_for_neutral_pos = 0, next_for_neutral_type = 0, last_strong_type = 0, prev_for_neutral_type = 0, level = 0 '\000', flags = 0 '\000' }, { next_for_neutral_pos = 0, next_for_neutral_type = 0, last_strong_type = 0, prev_for_neutral_type = 0, level = 3 '\003', flags = 250 '\372' }, { next_for_neutral_pos = 0, next_for_neutral_type = 0, last_strong_type = 0, prev_for_neutral_type = 0, level = 123 '{', flags = 1 '\001' }, { next_for_neutral_pos = 140737488322492, next_for_neutral_type = 1, last_strong_type = 1, prev_for_neutral_type = 7, level = 64 '@', flags = 5 '\005' }, { next_for_neutral_pos = 573, next_for_neutral_type = 0, last_strong_type = 4, prev_for_neutral_type = 7, level = 135 '\207', flags = 1 '\001' }, { next_for_neutral_pos = 88080841, next_for_neutral_type = 0, last_strong_type = 0, prev_for_neutral_type = 0, level = 3 '\003', flags = 250 '\372' }, { next_for_neutral_pos = 85899345930, next_for_neutral_type = 0, last_strong_type = 4, prev_for_neutral_type = 5, level = 255 '\377', flags = 255 '\377' }, { ---Type to continue, or q to quit--- next_for_neutral_pos = 0, next_for_neutral_type = 1, last_strong_type = 2, prev_for_neutral_type = 4, level = 0 '\000', flags = 0 '\000' }, { next_for_neutral_pos = 0, next_for_neutral_type = 0, last_strong_type = 6, prev_for_neutral_type = 4, level = 67 'C', flags = 3 '\003' }, { next_for_neutral_pos = 21419984, next_for_neutral_type = 2, last_strong_type = 5, prev_for_neutral_type = 3, level = 68 'D', flags = 0 '\000' }, { next_for_neutral_pos = 92, next_for_neutral_type = 0, last_strong_type = 2, prev_for_neutral_type = 3, level = 39 '\'', flags = 3 '\003' }}, string = { lstring = XIL(0x146d7d5), s = 0x146d7d0 "\027`\002\004", schars = 21415872, bufpos = 0, from_disp_str = false, unibyte = false }, w = 0x0, paragraph_dir = NEUTRAL_DIR, separator_limit = 0, first_elt = false, new_paragraph = false, frame_window_p = false }, paragraph_embedding = NEUTRAL_DIR } wrap_data = may_wrap = wrap_x = wrap_row_used = wrap_row_ascent = wrap_row_height = wrap_row_phys_ascent = wrap_row_phys_height = wrap_row_extra_line_spacing = wrap_row_min_pos = wrap_row_min_bpos = wrap_row_max_pos = wrap_row_max_bpos = cvpos = min_pos = max_pos = min_bpos = max_bpos = ---Type to continue, or q to quit--- pending_handle_line_prefix = header_line = hscroll_this_line = first_visible_x = last_visible_x = x_incr = line_number_needed = true #8 0x00000000004672bd in try_window (window=..., window@entry=XIL(0x146d7d5), pos=..., flags=flags@entry=1) at xdisp.c:17544 it = { window = XIL(0x146d7d5), w = 0x146d7d0, f = 0x146c7c0, method = GET_FROM_BUFFER, stop_charpos = 9689, prev_stop = 9589, base_level_stop = 9589, end_charpos = 13348, s = 0x0, string_nchars = 0, redisplay_end_trigger_charpos = 0, multibyte_p = true, header_line_p = false, string_from_display_prop_p = false, string_from_prefix_prop_p = false, from_disp_prop_p = false, ellipsis_p = false, avoid_cursor_p = false, dp = 0x2b75418, dpvec = 0x0, dpend = 0x0, dpvec_char_len = 0, dpvec_face_id = 0, saved_face_id = 28, ctl_chars = {XIL(0) }, start = { pos = { charpos = 9551, bytepos = 9551 }, overlay_string_index = -1, string_pos = { charpos = -1, bytepos = -1 }, dpvec_index = -1 }, current = { pos = { charpos = 9615, bytepos = 9615 }, overlay_string_index = -1, string_pos = { charpos = -1, bytepos = -1 }, dpvec_index = -1 }, n_overlay_strings = 0, overlay_strings_charpos = 9589, overlay_strings = {XIL(0) }, string_overlays = {XIL(0) }, ---Type to continue, or q to quit--- string = XIL(0), from_overlay = XIL(0), stack = {{ string = XIL(0), string_nchars = 0, end_charpos = 0, stop_charpos = 0, prev_stop = 0, base_level_stop = 0, cmp_it = { stop_pos = 0, id = 0, ch = 0, rule_idx = 0, lookback = 0, nglyphs = 0, reversed_p = false, charpos = 0, nchars = 0, nbytes = 0, from = 0, to = 0, width = 0 }, face_id = 0, u = { image = { object = XIL(0), slice = { x = XIL(0), y = XIL(0), width = XIL(0), height = XIL(0) }, image_id = 0 }, stretch = { object = XIL(0) }, xwidget = { object = XIL(0) } }, position = { charpos = 0, bytepos = 0 }, current = { pos = { charpos = 0, bytepos = 0 }, overlay_string_index = 0, string_pos = { charpos = 0, bytepos = 0 }, dpvec_index = 0 }, from_overlay = XIL(0), area = LEFT_MARGIN_AREA, method = GET_FROM_BUFFER, paragraph_embedding = NEUTRAL_DIR, ---Type to continue, or q to quit--- multibyte_p = false, string_from_display_prop_p = false, string_from_prefix_prop_p = false, display_ellipsis_p = false, avoid_cursor_p = false, bidi_p = false, from_disp_prop_p = false, line_wrap = TRUNCATE, voffset = 0, space_width = XIL(0), font_height = XIL(0) }, { string = XIL(0), string_nchars = 0, end_charpos = 0, stop_charpos = 0, prev_stop = 0, base_level_stop = 0, cmp_it = { stop_pos = 0, id = 0, ch = 0, rule_idx = 0, lookback = 0, nglyphs = 0, reversed_p = false, charpos = 0, nchars = 0, nbytes = 0, from = 0, to = 0, width = 0 }, face_id = 0, u = { image = { object = XIL(0), slice = { x = XIL(0), y = XIL(0), width = XIL(0), height = XIL(0) }, image_id = 0 }, stretch = { object = XIL(0) }, xwidget = { object = XIL(0) } }, position = { charpos = 0, bytepos = 0 }, current = { pos = { charpos = 0, bytepos = 0 }, overlay_string_index = 0, string_pos = { ---Type to continue, or q to quit--- charpos = 0, bytepos = 0 }, dpvec_index = 0 }, from_overlay = XIL(0), area = LEFT_MARGIN_AREA, method = GET_FROM_BUFFER, paragraph_embedding = NEUTRAL_DIR, multibyte_p = false, string_from_display_prop_p = false, string_from_prefix_prop_p = false, display_ellipsis_p = false, avoid_cursor_p = false, bidi_p = false, from_disp_prop_p = false, line_wrap = TRUNCATE, voffset = 0, space_width = XIL(0), font_height = XIL(0) }, { string = XIL(0), string_nchars = 0, end_charpos = 0, stop_charpos = 0, prev_stop = 0, base_level_stop = 0, cmp_it = { stop_pos = 0, id = 0, ch = 0, rule_idx = 0, lookback = 0, nglyphs = 0, reversed_p = false, charpos = 0, nchars = 0, nbytes = 0, from = 0, to = 0, width = 0 }, face_id = 0, u = { image = { object = XIL(0), slice = { x = XIL(0), y = XIL(0), width = XIL(0), height = XIL(0) }, image_id = 0 }, stretch = { object = XIL(0) }, xwidget = { object = XIL(0) } }, position = { charpos = 0, ---Type to continue, or q to quit--- bytepos = 0 }, current = { pos = { charpos = 0, bytepos = 0 }, overlay_string_index = 0, string_pos = { charpos = 0, bytepos = 0 }, dpvec_index = 0 }, from_overlay = XIL(0), area = LEFT_MARGIN_AREA, method = GET_FROM_BUFFER, paragraph_embedding = NEUTRAL_DIR, multibyte_p = false, string_from_display_prop_p = false, string_from_prefix_prop_p = false, display_ellipsis_p = false, avoid_cursor_p = false, bidi_p = false, from_disp_prop_p = false, line_wrap = TRUNCATE, voffset = 0, space_width = XIL(0), font_height = XIL(0) }, { string = XIL(0), string_nchars = 0, end_charpos = 0, stop_charpos = 0, prev_stop = 0, base_level_stop = 0, cmp_it = { stop_pos = 0, id = 0, ch = 0, rule_idx = 0, lookback = 0, nglyphs = 0, reversed_p = false, charpos = 0, nchars = 0, nbytes = 0, from = 0, to = 0, width = 0 }, face_id = 0, u = { image = { object = XIL(0), slice = { x = XIL(0), y = XIL(0), width = XIL(0), height = XIL(0) }, image_id = 0 }, ---Type to continue, or q to quit--- stretch = { object = XIL(0) }, xwidget = { object = XIL(0) } }, position = { charpos = 0, bytepos = 0 }, current = { pos = { charpos = 0, bytepos = 0 }, overlay_string_index = 0, string_pos = { charpos = 0, bytepos = 0 }, dpvec_index = 0 }, from_overlay = XIL(0), area = LEFT_MARGIN_AREA, method = GET_FROM_BUFFER, paragraph_embedding = NEUTRAL_DIR, multibyte_p = false, string_from_display_prop_p = false, string_from_prefix_prop_p = false, display_ellipsis_p = false, avoid_cursor_p = false, bidi_p = false, from_disp_prop_p = false, line_wrap = TRUNCATE, voffset = 0, space_width = XIL(0), font_height = XIL(0) }, { string = XIL(0), string_nchars = 0, end_charpos = 0, stop_charpos = 0, prev_stop = 0, base_level_stop = 0, cmp_it = { stop_pos = 0, id = 0, ch = 0, rule_idx = 0, lookback = 0, nglyphs = 0, reversed_p = false, charpos = 0, nchars = 0, nbytes = 0, from = 0, to = 0, width = 0 }, face_id = 0, u = { image = { ---Type to continue, or q to quit--- object = XIL(0), slice = { x = XIL(0), y = XIL(0), width = XIL(0), height = XIL(0) }, image_id = 0 }, stretch = { object = XIL(0) }, xwidget = { object = XIL(0) } }, position = { charpos = 0, bytepos = 0 }, current = { pos = { charpos = 0, bytepos = 0 }, overlay_string_index = 0, string_pos = { charpos = 0, bytepos = 0 }, dpvec_index = 0 }, from_overlay = XIL(0), area = LEFT_MARGIN_AREA, method = GET_FROM_BUFFER, paragraph_embedding = NEUTRAL_DIR, multibyte_p = false, string_from_display_prop_p = false, string_from_prefix_prop_p = false, display_ellipsis_p = false, avoid_cursor_p = false, bidi_p = false, from_disp_prop_p = false, line_wrap = TRUNCATE, voffset = 0, space_width = XIL(0), font_height = XIL(0) }}, sp = 0, selective = 0, what = IT_CHARACTER, face_id = 28, selective_display_ellipsis_p = true, ctl_arrow_p = true, face_box_p = false, start_of_box_run_p = false, end_of_box_run_p = false, overlay_strings_at_end_processed_p = false, ignore_overlay_strings_at_pos_p = false, glyph_not_available_p = false, starts_in_middle_of_char_p = false, face_before_selective_p = false, constrain_row_ascent_descent_p = false, ---Type to continue, or q to quit--- line_wrap = WINDOW_WRAP, base_face_id = 0, c = 0, len = 1, cmp_it = { stop_pos = 9615, id = -1, ch = -2, rule_idx = 0, lookback = 0, nglyphs = 0, reversed_p = false, charpos = 0, nchars = 0, nbytes = 0, from = 0, to = 0, width = 0 }, char_to_display = 10, glyphless_method = GLYPHLESS_DISPLAY_THIN_SPACE, image_id = 0, xwidget = 0x0, slice = { x = XIL(0), y = XIL(0), width = XIL(0), height = XIL(0) }, space_width = XIL(0), voffset = 0, tab_width = 8, font_height = XIL(0), object = XIL(0xf95825), position = { charpos = 9614, bytepos = 9614 }, truncation_pixel_width = 0, continuation_pixel_width = 16, first_visible_x = 0, last_visible_x = 3798, last_visible_y = 1958, extra_line_spacing = 0, max_extra_line_spacing = 0, override_ascent = -1, override_descent = 0, override_boff = 0, glyph_row = 0x343ea30, area = TEXT_AREA, nglyphs = 1, pixel_width = 16, ascent = 25, descent = 6, max_ascent = 25, max_descent = 6, phys_ascent = 0, phys_descent = 0, max_phys_ascent = 25, max_phys_descent = 6, current_x = 1088, continuation_lines_width = 0, eol_pos = { ---Type to continue, or q to quit--- charpos = 9614, bytepos = 9614 }, current_y = 31, first_vpos = 0, vpos = 1, hpos = 68, lnum = 236, lnum_bytepos = 9551, lnum_width = 3, lnum_pixel_width = 80, pt_lnum = 266, left_user_fringe_bitmap = 0, right_user_fringe_bitmap = 0, left_user_fringe_face_id = 0, right_user_fringe_face_id = 0, bidi_p = true, bidi_it = { bytepos = 9615, charpos = 9615, ch = 98, nchars = 1, ch_len = 1, type = STRONG_L, type_after_wn = STRONG_L, orig_type = STRONG_L, resolved_level = 0 '\000', isolate_level = 0 '\000', invalid_levels = 0, invalid_isolates = 0, prev = { charpos = 9614, type = NEUTRAL_B, orig_type = NEUTRAL_B }, last_strong = { charpos = 9613, type = UNKNOWN_BT, orig_type = UNKNOWN_BT }, next_for_neutral = { charpos = -1, type = UNKNOWN_BT, orig_type = UNKNOWN_BT }, prev_for_neutral = { charpos = 9614, type = STRONG_L, orig_type = STRONG_L }, next_for_ws = { charpos = -1, type = UNKNOWN_BT, orig_type = UNKNOWN_BT }, bracket_pairing_pos = -1, bracket_enclosed_type = UNKNOWN_BT, next_en_pos = 0, next_en_type = UNKNOWN_BT, sos = L2R, scan_dir = 1, disp_pos = 9739, disp_prop = 0, ---Type to continue, or q to quit--- stack_idx = 0, level_stack = {{ next_for_neutral_pos = 0, next_for_neutral_type = 0, last_strong_type = 0, prev_for_neutral_type = 0, level = 0 '\000', flags = 0 '\000' } }, string = { lstring = XIL(0), s = 0x0, schars = 0, bufpos = 0, from_disp_str = false, unibyte = false }, w = 0x146d7d0, paragraph_dir = L2R, separator_limit = -1, first_elt = false, new_paragraph = false, frame_window_p = true }, paragraph_embedding = L2R } last_text_row = 0x343e930 cursor_vpos = 31 it_charpos = #9 0x000000000047f9ab in redisplay_window (window=XIL(0x146d7d5), just_this_one_p=just_this_one_p@entry=false) at xdisp.c:16991 d2 = 0 d6 = 0 d1 = 0 d5 = 0 rtop = 0 rbot = 0 old = lpoint = opoint = startp = { charpos = 9489, bytepos = 9489 } update_mode_line = true it = { window = XIL(0x146d7d5), w = 0x146d7d0, f = 0x146c7c0, method = GET_FROM_BUFFER, stop_charpos = 9489, prev_stop = 10932, base_level_stop = 9489, end_charpos = 13348, s = 0x0, string_nchars = 0, redisplay_end_trigger_charpos = 0, multibyte_p = true, header_line_p = false, string_from_display_prop_p = false, string_from_prefix_prop_p = false, from_disp_prop_p = false, ellipsis_p = false, ---Type to continue, or q to quit--- avoid_cursor_p = false, dp = 0x2b75418, dpvec = 0x0, dpend = 0x0, dpvec_char_len = 0, dpvec_face_id = 0, saved_face_id = 0, ctl_chars = {XIL(0) }, start = { pos = { charpos = 10932, bytepos = 10932 }, overlay_string_index = -1, string_pos = { charpos = -1, bytepos = -1 }, dpvec_index = -1 }, current = { pos = { charpos = 9489, bytepos = 9489 }, overlay_string_index = -1, string_pos = { charpos = -1, bytepos = -1 }, dpvec_index = -1 }, n_overlay_strings = 0, overlay_strings_charpos = 10932, overlay_strings = {XIL(0) }, string_overlays = {XIL(0) }, string = XIL(0), from_overlay = XIL(0), stack = {{ string = XIL(0), string_nchars = 0, end_charpos = 0, stop_charpos = 0, prev_stop = 0, base_level_stop = 0, cmp_it = { stop_pos = 0, id = 0, ch = 0, rule_idx = 0, lookback = 0, nglyphs = 0, reversed_p = false, charpos = 0, nchars = 0, nbytes = 0, from = 0, to = 0, width = 0 }, face_id = 0, u = { image = { ---Type to continue, or q to quit--- object = XIL(0), slice = { x = XIL(0), y = XIL(0), width = XIL(0), height = XIL(0) }, image_id = 0 }, stretch = { object = XIL(0) }, xwidget = { object = XIL(0) } }, position = { charpos = 0, bytepos = 0 }, current = { pos = { charpos = 0, bytepos = 0 }, overlay_string_index = 0, string_pos = { charpos = 0, bytepos = 0 }, dpvec_index = 0 }, from_overlay = XIL(0), area = LEFT_MARGIN_AREA, method = GET_FROM_BUFFER, paragraph_embedding = NEUTRAL_DIR, multibyte_p = false, string_from_display_prop_p = false, string_from_prefix_prop_p = false, display_ellipsis_p = false, avoid_cursor_p = false, bidi_p = false, from_disp_prop_p = false, line_wrap = TRUNCATE, voffset = 0, space_width = XIL(0), font_height = XIL(0) }, { string = XIL(0), string_nchars = 0, end_charpos = 0, stop_charpos = 0, prev_stop = 0, base_level_stop = 0, cmp_it = { stop_pos = 0, id = 0, ch = 0, rule_idx = 0, lookback = 0, nglyphs = 0, reversed_p = false, charpos = 0, ---Type to continue, or q to quit--- nchars = 0, nbytes = 0, from = 0, to = 0, width = 0 }, face_id = 0, u = { image = { object = XIL(0), slice = { x = XIL(0), y = XIL(0), width = XIL(0), height = XIL(0) }, image_id = 0 }, stretch = { object = XIL(0) }, xwidget = { object = XIL(0) } }, position = { charpos = 0, bytepos = 0 }, current = { pos = { charpos = 0, bytepos = 0 }, overlay_string_index = 0, string_pos = { charpos = 0, bytepos = 0 }, dpvec_index = 0 }, from_overlay = XIL(0), area = LEFT_MARGIN_AREA, method = GET_FROM_BUFFER, paragraph_embedding = NEUTRAL_DIR, multibyte_p = false, string_from_display_prop_p = false, string_from_prefix_prop_p = false, display_ellipsis_p = false, avoid_cursor_p = false, bidi_p = false, from_disp_prop_p = false, line_wrap = TRUNCATE, voffset = 0, space_width = XIL(0), font_height = XIL(0) }, { string = XIL(0), string_nchars = 0, end_charpos = 0, stop_charpos = 0, prev_stop = 0, base_level_stop = 0, ---Type to continue, or q to quit--- cmp_it = { stop_pos = 0, id = 0, ch = 0, rule_idx = 0, lookback = 0, nglyphs = 0, reversed_p = false, charpos = 0, nchars = 0, nbytes = 0, from = 0, to = 0, width = 0 }, face_id = 0, u = { image = { object = XIL(0), slice = { x = XIL(0), y = XIL(0), width = XIL(0), height = XIL(0) }, image_id = 0 }, stretch = { object = XIL(0) }, xwidget = { object = XIL(0) } }, position = { charpos = 0, bytepos = 0 }, current = { pos = { charpos = 0, bytepos = 0 }, overlay_string_index = 0, string_pos = { charpos = 0, bytepos = 0 }, dpvec_index = 0 }, from_overlay = XIL(0), area = LEFT_MARGIN_AREA, method = GET_FROM_BUFFER, paragraph_embedding = NEUTRAL_DIR, multibyte_p = false, string_from_display_prop_p = false, string_from_prefix_prop_p = false, display_ellipsis_p = false, avoid_cursor_p = false, bidi_p = false, from_disp_prop_p = false, line_wrap = TRUNCATE, voffset = 0, ---Type to continue, or q to quit--- space_width = XIL(0), font_height = XIL(0) }, { string = XIL(0), string_nchars = 0, end_charpos = 0, stop_charpos = 0, prev_stop = 0, base_level_stop = 0, cmp_it = { stop_pos = 0, id = 0, ch = 0, rule_idx = 0, lookback = 0, nglyphs = 0, reversed_p = false, charpos = 0, nchars = 0, nbytes = 0, from = 0, to = 0, width = 0 }, face_id = 0, u = { image = { object = XIL(0), slice = { x = XIL(0), y = XIL(0), width = XIL(0), height = XIL(0) }, image_id = 0 }, stretch = { object = XIL(0) }, xwidget = { object = XIL(0) } }, position = { charpos = 0, bytepos = 0 }, current = { pos = { charpos = 0, bytepos = 0 }, overlay_string_index = 0, string_pos = { charpos = 0, bytepos = 0 }, dpvec_index = 0 }, from_overlay = XIL(0), area = LEFT_MARGIN_AREA, method = GET_FROM_BUFFER, paragraph_embedding = NEUTRAL_DIR, ---Type to continue, or q to quit--- multibyte_p = false, string_from_display_prop_p = false, string_from_prefix_prop_p = false, display_ellipsis_p = false, avoid_cursor_p = false, bidi_p = false, from_disp_prop_p = false, line_wrap = TRUNCATE, voffset = 0, space_width = XIL(0), font_height = XIL(0) }, { string = XIL(0), string_nchars = 0, end_charpos = 0, stop_charpos = 0, prev_stop = 0, base_level_stop = 0, cmp_it = { stop_pos = 0, id = 0, ch = 0, rule_idx = 0, lookback = 0, nglyphs = 0, reversed_p = false, charpos = 0, nchars = 0, nbytes = 0, from = 0, to = 0, width = 0 }, face_id = 0, u = { image = { object = XIL(0), slice = { x = XIL(0), y = XIL(0), width = XIL(0), height = XIL(0) }, image_id = 0 }, stretch = { object = XIL(0) }, xwidget = { object = XIL(0) } }, position = { charpos = 0, bytepos = 0 }, current = { pos = { charpos = 0, bytepos = 0 }, overlay_string_index = 0, string_pos = { ---Type to continue, or q to quit--- charpos = 0, bytepos = 0 }, dpvec_index = 0 }, from_overlay = XIL(0), area = LEFT_MARGIN_AREA, method = GET_FROM_BUFFER, paragraph_embedding = NEUTRAL_DIR, multibyte_p = false, string_from_display_prop_p = false, string_from_prefix_prop_p = false, display_ellipsis_p = false, avoid_cursor_p = false, bidi_p = false, from_disp_prop_p = false, line_wrap = TRUNCATE, voffset = 0, space_width = XIL(0), font_height = XIL(0) }}, sp = 0, selective = 0, what = IT_CHARACTER, face_id = 28, selective_display_ellipsis_p = true, ctl_arrow_p = true, face_box_p = false, start_of_box_run_p = false, end_of_box_run_p = false, overlay_strings_at_end_processed_p = false, ignore_overlay_strings_at_pos_p = false, glyph_not_available_p = false, starts_in_middle_of_char_p = false, face_before_selective_p = false, constrain_row_ascent_descent_p = false, line_wrap = WINDOW_WRAP, base_face_id = 0, c = 34, len = 0, cmp_it = { stop_pos = 10935, id = -1, ch = -2, rule_idx = 0, lookback = 0, nglyphs = 0, reversed_p = false, charpos = 0, nchars = 0, nbytes = 0, from = 0, to = 0, width = 0 }, char_to_display = 0, glyphless_method = GLYPHLESS_DISPLAY_THIN_SPACE, image_id = 0, xwidget = 0x0, slice = { x = XIL(0), y = XIL(0), width = XIL(0), ---Type to continue, or q to quit--- height = XIL(0) }, space_width = XIL(0), voffset = 0, tab_width = 8, font_height = XIL(0), object = XIL(0xf95825), position = { charpos = 9489, bytepos = 9489 }, truncation_pixel_width = 0, continuation_pixel_width = 16, first_visible_x = 0, last_visible_x = 3798, last_visible_y = 1958, extra_line_spacing = 0, max_extra_line_spacing = 0, override_ascent = -1, override_descent = 0, override_boff = 0, glyph_row = 0x0, area = TEXT_AREA, nglyphs = 1, pixel_width = 0, ascent = 0, descent = 0, max_ascent = 0, max_descent = 0, phys_ascent = 0, phys_descent = 0, max_phys_ascent = 0, max_phys_descent = 0, current_x = 0, continuation_lines_width = 0, eol_pos = { charpos = 0, bytepos = 0 }, current_y = 997, first_vpos = 0, vpos = -31, hpos = 0, lnum = 0, lnum_bytepos = 0, lnum_width = 0, lnum_pixel_width = 0, pt_lnum = 0, left_user_fringe_bitmap = 0, right_user_fringe_bitmap = 0, left_user_fringe_face_id = 0, right_user_fringe_face_id = 0, bidi_p = true, bidi_it = { bytepos = 9489, charpos = 9489, ch = 0, nchars = -1, ch_len = 0, type = NEUTRAL_B, type_after_wn = NEUTRAL_B, orig_type = NEUTRAL_B, resolved_level = 0 '\000', ---Type to continue, or q to quit--- isolate_level = 0 '\000', invalid_levels = 0, invalid_isolates = 0, prev = { charpos = 0, type = UNKNOWN_BT, orig_type = UNKNOWN_BT }, last_strong = { charpos = 0, type = UNKNOWN_BT, orig_type = UNKNOWN_BT }, next_for_neutral = { charpos = -1, type = UNKNOWN_BT, orig_type = UNKNOWN_BT }, prev_for_neutral = { charpos = -1, type = UNKNOWN_BT, orig_type = UNKNOWN_BT }, next_for_ws = { charpos = 0, type = UNKNOWN_BT, orig_type = UNKNOWN_BT }, bracket_pairing_pos = -1, bracket_enclosed_type = UNKNOWN_BT, next_en_pos = 0, next_en_type = UNKNOWN_BT, sos = L2R, scan_dir = 0, disp_pos = -1, disp_prop = 0, stack_idx = 0, level_stack = {{ next_for_neutral_pos = 0, next_for_neutral_type = 0, last_strong_type = 0, prev_for_neutral_type = 0, level = 0 '\000', flags = 0 '\000' } , { next_for_neutral_pos = 0, next_for_neutral_type = 0, last_strong_type = 0, prev_for_neutral_type = 0, level = 218 '\332', flags = 0 '\000' }, { next_for_neutral_pos = 6, next_for_neutral_type = 1, last_strong_type = 4, prev_for_neutral_type = 5, level = 106 'j', flags = 1 '\001' }, { next_for_neutral_pos = 1, next_for_neutral_type = 0, last_strong_type = 0, prev_for_neutral_type = 0, ---Type to continue, or q to quit--- level = 218 '\332', flags = 0 '\000' }, { next_for_neutral_pos = 6, next_for_neutral_type = 2, last_strong_type = 0, prev_for_neutral_type = 6, level = 86 'V', flags = 0 '\000' }, { next_for_neutral_pos = 0, next_for_neutral_type = 0, last_strong_type = 4, prev_for_neutral_type = 5, level = 106 'j', flags = 1 '\001' }}, string = { lstring = XIL(0), s = 0x5b0f94 "H\203\304\b\303\017\037\200", schars = 10512, bufpos = 5967961, from_disp_str = false, unibyte = false }, w = 0x560169 , paragraph_dir = NEUTRAL_DIR, separator_limit = 21424096, first_elt = false, new_paragraph = false, frame_window_p = false }, paragraph_embedding = NEUTRAL_DIR } current_matrix_up_to_date_p = false used_current_matrix_p = false buffer_unchanged_p = temp_scroll_step = false rc = 25909504 centering_position = -1 last_line_misfit = false beg_unchanged = end_unchanged = frame_line_height = margin = use_desired_matrix = itdata = 0x0 #10 0x00000000004831fb in redisplay_window_0 (window=..., window@entry=XIL(0x146d7d5)) at xdisp.c:14751 No locals. #11 0x00000000005c7cf4 in internal_condition_case_1 (bfun=bfun@entry=0x4831d0 , arg=..., handlers=..., hfun=hfun@entry=0x435960 ) at eval.c:1350 val = XIL(0x4d) c = 0x173b780 #12 0x000000000043d160 in redisplay_windows (window=...) at xdisp.c:14731 No locals. #13 0x000000000046c945 in redisplay_internal () at xdisp.c:14220 gcscrollbars = f_redisplay_flag = w = sw = pending = false must_finish = tlbufpos = ---Type to continue, or q to quit--- tlendpos = number_of_visible_frames = sf = polling_stopped_here = false tail = frame = hscroll_retries = 0 garbaged_frame_retries = 0 consider_all_windows_p = update_miniwindow_p = #14 0x000000000046eed5 in redisplay () at xdisp.c:13440 No locals. #15 0x0000000000545cfb in read_char (commandflag=commandflag@entry=1, map=..., map@entry=XIL(0x36dda13), prev_event=..., used_mouse_menu=used_mouse_menu@entry=0x7fffffffd6cb, end_time=end_time@entry=0x0) at keyboard.c:2484 echo_current = true c = jmpcount = local_getcjmp = {{ __jmpbuf = {0, 47894787, 1, 47894784, 43730, 6478751, 31344, 140737488344384}, __mask_was_saved = 16341024, __saved_mask = { __val = {13348, 16341029, 6478910, 13348, 6493927, 31344, 5999412, 0, 3, 16341024, 6073606, 43730, 16341029, 10932, 31344, 6181603955547184155} } }} save_jump = {{ __jmpbuf = {-8850944303828534838, 7782313075914899540, 5080973852243150467, -3888857915273982720, -8853780226898623147, 2383264908248154196, 33077798516626462, 1445320133139829774}, __mask_was_saved = 554897104, __saved_mask = { __val = {9517247309503668499, 1035370607900819591, 9944197025784225813, 1623865207772288014, 6779059137601146575, 2383264915891688718, 9376796853527913053, 1035370607900819682, 1445320714031554581, 1067784266828680912, 2267685139, 0} } }} tem = XIL(0x7fffffffdb50) save = previous_echo_area_message = XIL(0) also_record = XIL(0) reread = false recorded = false polling_stopped_here = false orig_kboard = 0x18e9980 #16 0x0000000000548ddb in read_key_sequence (keybuf=keybuf@entry=0x7fffffffd7b0, prompt=..., prompt@entry=XIL(0), dont_downcase_last=dont_downcase_last@entry=false, can_return_switch_frame=can_return_switch_frame@entry=true, fix_current_buffer=fix_current_buffer@entry=true, prevent_redisplay=prevent_redisplay@entry=false, bufsize=30) at keyboard.c:9151 interrupted_kboard = 0x18e9980 interrupted_frame = 0x146c7c0 key = used_mouse_menu = false echo_local_start = 0 last_real_key_start = keys_local_start = new_binding = t = echo_start = 0 keys_start = 0 current_binding = XIL(0x36dda13) first_event = XIL(0) first_unbound = 31 ---Type to continue, or q to quit--- mock_input = 0 fkey = { parent = XIL(0x117dcb3), map = XIL(0x117dcb3), start = 0, end = 0 } keytran = { parent = XIL(0xd7a293), map = XIL(0xd7a293), start = 0, end = 0 } indec = { parent = XIL(0x117dcc3), map = XIL(0x117dcc3), start = 0, end = 0 } shift_translated = false delayed_switch_frame = XIL(0) original_uppercase = XIL(0) original_uppercase_position = -1 dummyflag = false fake_prefixed_keys = XIL(0) #17 0x000000000054b096 in command_loop_1 () at keyboard.c:1372 cmd = XIL(0xf) keybuf = {make_number(113), XIL(0x9a2906c7fa034c00), make_number(4), XIL(0x1249f63), XIL(0x957bf0), XIL(0x9a2906c7fa034c00), XIL(0x7620), XIL(0), XIL(0xd14e70), make_number(0), XIL(0x7fffffffdb50), XIL(0x5b39e5), XIL(0), XIL(0x78), XIL(0), XIL(0x111da73), make_number(1000), XIL(0x5c72ed), XIL(0x80201), XIL(0x3200005), XIL(0x78), XIL(0), XIL(0x111da73), make_number(1515925), XIL(0x5), XIL(0x7620), XIL(0), XIL(0xd9fea5), XIL(0), XIL(0x9a2906c7fa034c00)} i = prev_modiff = 103 prev_buffer = 0x23839d0 #18 0x00000000005c7c27 in internal_condition_case (bfun=bfun@entry=0x54adf0 , handlers=..., handlers@entry=XIL(0x4fb0), hfun=hfun@entry=0x53e770 ) at eval.c:1326 val = XIL(0x4d) c = 0x173b660 #19 0x00000000005380dc in command_loop_2 (ignore=..., ignore@entry=XIL(0)) at keyboard.c:1114 val = #20 0x00000000005c7b6c in internal_catch (tag=..., tag@entry=XIL(0xc1e0), func=func@entry=0x5380c0 , arg=..., arg@entry=XIL(0)) at eval.c:1091 val = XIL(0x4d) c = 0x173b540 #21 0x0000000000538099 in command_loop () at keyboard.c:1093 No locals. #22 0x000000000053e296 in recursive_edit_1 () at keyboard.c:699 val = #23 0x000000000053e613 in Frecursive_edit () at keyboard.c:770 No locals. #24 0x000000000041ad4b in main (argc=, argv=0x7fffffffdb58) at emacs.c:1706 stack_bottom_variable = 0 '\000' do_initial_setlocale = dumping = skip_args = 0 no_loadup = false junk = 0x0 dname_arg = 0x0 ch_to_dir = 0x0 original_pwd = disable_aslr = rlim = { ---Type to continue, or q to quit--- rlim_cur = 10022912, rlim_max = 18446744073709551615 } sockfd = -1 Lisp Backtrace: eval.c:150: Emacs fatal error: assertion failed: pdl->kind == SPECPDL_BACKTRACE Thread 1 "emacs" hit Breakpoint 1, terminate_due_to_signal (sig=sig@entry=6, backtrace_limit=backtrace_limit@entry=2147483647) at emacs.c:363 363 { The program being debugged stopped while in a function called from GDB. Evaluation of the expression containing the function (backtrace_function) will be abandoned. When the function is done executing, GDB will silently stop. xbactrace: (gdb) xbacktrace eval.c:150: Emacs fatal error: assertion failed: pdl->kind == SPECPDL_BACKTRACE Thread 1 "emacs" hit Breakpoint 1, terminate_due_to_signal (sig=sig@entry=6, backtrace_limit=backtrace_limit@entry=2147483647) at emacs.c:363 363 { The program being debugged stopped while in a function called from GDB. Evaluation of the expression containing the function (backtrace_function) will be abandoned. When the function is done executing, GDB will silently stop. In GNU Emacs 26.0.50 (build 16, x86_64-pc-linux-gnu, GTK+ Version 3.18.9) of 2017-07-12 built on rpluim-ubuntu Repository revision: 3c32df9903c97ac70e003356d5e09334acf9c39d Windowing system distributor 'The X.Org Foundation', version 11.0.11804000 System Description: KDE neon LTS User Edition 5.8 Configured using: 'configure --enable-checking --enable-check-lisp-object-type' Configured features: XPM JPEG TIFF GIF PNG RSVG IMAGEMAGICK SOUND GPM DBUS GCONF GSETTINGS NOTIFY ACL LIBSELINUX GNUTLS LIBXML2 FREETYPE M17N_FLT LIBOTF XFT ZLIB TOOLKIT_SCROLL_BARS GTK3 X11 From debbugs-submit-bounces@debbugs.gnu.org Wed Jul 12 10:34:44 2017 Received: (at 27668) by debbugs.gnu.org; 12 Jul 2017 14:34:44 +0000 Received: from localhost ([127.0.0.1]:35490 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dVIiy-0005YG-Ex for submit@debbugs.gnu.org; Wed, 12 Jul 2017 10:34:44 -0400 Received: from eggs.gnu.org ([208.118.235.92]:38420) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dVIiw-0005Y4-UT for 27668@debbugs.gnu.org; Wed, 12 Jul 2017 10:34:43 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dVIip-0001yU-3j for 27668@debbugs.gnu.org; Wed, 12 Jul 2017 10:34:37 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-0.0 required=5.0 tests=BAYES_40,RP_MATCHES_RCVD autolearn=disabled version=3.3.2 Received: from fencepost.gnu.org ([2001:4830:134:3::e]:52513) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dVIip-0001yQ-0Y; Wed, 12 Jul 2017 10:34:35 -0400 Received: from 84.94.185.246.cable.012.net.il ([84.94.185.246]:2682 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1dVIio-0001hp-BE; Wed, 12 Jul 2017 10:34:34 -0400 Date: Wed, 12 Jul 2017 17:34:33 +0300 Message-Id: <83inixiv0m.fsf@gnu.org> From: Eli Zaretskii To: Robert Pluim In-reply-to: <87k23d7ovv.fsf@gmail.com> (message from Robert Pluim on Wed, 12 Jul 2017 15:42:28 +0200) Subject: Re: bug#27668: 26.0.50; Crash with display-line-numbers t References: <87k23d7ovv.fsf@gmail.com> X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2001:4830:134:3::e X-Spam-Score: -5.0 (-----) X-Debbugs-Envelope-To: 27668 Cc: 27668@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: Eli Zaretskii Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -5.0 (-----) > From: Robert Pluim > Date: Wed, 12 Jul 2017 15:42:28 +0200 > > I've had emacs crash on me twice today with the same backtrace. It > appears to be related to setting display-line-numbers to t, although > I'd been running the scratch/line-numbers branch for a while without > any problems. > > It *seems* to happen the second time I do 'C-x C-f' from a buffer that > has display-line-numbers t, although I'm having a hard time coming up > with a reliable reproduction method, nor have a got a recipe from > 'emacs -Q' (yet). > > I have an example trapped in gdb, let me know if you need more info. Go to the call-stack frame #6, the one in compute_line_metrics, and type (gdb) pgrowx it->glyph_row Then post the results here. (If it says "pgrowx" is an unknown command, you need to "source .gdbinit" first.) Thanks. From debbugs-submit-bounces@debbugs.gnu.org Wed Jul 12 10:48:24 2017 Received: (at submit) by debbugs.gnu.org; 12 Jul 2017 14:48:24 +0000 Received: from localhost ([127.0.0.1]:35539 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dVIwB-0005v8-Iv for submit@debbugs.gnu.org; Wed, 12 Jul 2017 10:48:24 -0400 Received: from eggs.gnu.org ([208.118.235.92]:46100) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dVIw9-0005uv-Vy for submit@debbugs.gnu.org; Wed, 12 Jul 2017 10:48:22 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dVIw3-00021y-3Y for submit@debbugs.gnu.org; Wed, 12 Jul 2017 10:48:16 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=0.8 required=5.0 tests=BAYES_50,FREEMAIL_FROM autolearn=disabled version=3.3.2 Received: from lists.gnu.org ([2001:4830:134:3::11]:38811) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1dVIw3-00021s-0A for submit@debbugs.gnu.org; Wed, 12 Jul 2017 10:48:15 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:37053) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dVIw0-0000Xg-Qj for bug-gnu-emacs@gnu.org; Wed, 12 Jul 2017 10:48:14 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dVIvw-0001xm-Ni for bug-gnu-emacs@gnu.org; Wed, 12 Jul 2017 10:48:12 -0400 Received: from [195.159.176.226] (port=40317 helo=blaine.gmane.org) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1dVIvw-0001x8-E4 for bug-gnu-emacs@gnu.org; Wed, 12 Jul 2017 10:48:08 -0400 Received: from list by blaine.gmane.org with local (Exim 4.84_2) (envelope-from ) id 1dVIvn-0005GK-BQ for bug-gnu-emacs@gnu.org; Wed, 12 Jul 2017 16:47:59 +0200 X-Injected-Via-Gmane: http://gmane.org/ Mail-Followup-To: bug-gnu-emacs@gnu.org To: bug-gnu-emacs@gnu.org From: Robert Pluim Subject: Re: bug#27668: 26.0.50; Crash with display-line-numbers t Date: Wed, 12 Jul 2017 16:47:57 +0200 Organization: not if I can help it Lines: 161 Message-ID: <877ezd7luq.fsf@gmail.com> References: <87k23d7ovv.fsf@gmail.com> <83inixiv0m.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain X-Complaints-To: usenet@blaine.gmane.org User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.0.50 (gnu/linux) Mail-Copies-To: never X-Debbugs-No-Ack: yes Cancel-Lock: sha1:ev5DWb0SoRT+5bx8M3eiE74ZWiI= X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy] X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 2001:4830:134:3::11 X-Spam-Score: -4.8 (----) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: bug-gnu-emacs@gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -4.8 (----) Eli Zaretskii writes: >> From: Robert Pluim >> Date: Wed, 12 Jul 2017 15:42:28 +0200 >> >> I have an example trapped in gdb, let me know if you need more info. > > Go to the call-stack frame #6, the one in compute_line_metrics, and > type > > (gdb) pgrowx it->glyph_row > > Then post the results here. (If it says "pgrowx" is an unknown > command, you need to "source .gdbinit" first.) GDB is not a happy bunny, that somehow turned into frame #14. Looks like I was on line 237 of lisp/net/gnutls.el #14 0x000000000044fd4f in compute_line_metrics (it=it@entry=0x7fffffff8160) at xdisp.c:19775 19775 eassert (row->pixel_width >= 0); (gdb) pgrowx it->glyph_row TEXT: 138 glyphs 0 0: CHAR[ ] pos=-1 blev=2,btyp=EN w=16 a+d=25+6 face=23 MB AVOID 1 16: CHAR[2] pos=-1 blev=2,btyp=EN w=16 a+d=25+6 face=23 MB AVOID 2 32: CHAR[3] pos=-1 blev=2,btyp=EN w=16 a+d=25+6 face=23 MB AVOID 3 48: CHAR[7] pos=-1 blev=2,btyp=EN w=16 a+d=25+6 face=23 MB AVOID 4 64: CHAR[ ] pos=-1 blev=2,btyp=EN w=16 a+d=25+6 face=23 MB AVOID 5 80: CHAR[c] pos=9551 blev=0,btyp=L w=16 a+d=25+6 face=28 MB 6 96: CHAR[e] pos=9552 blev=0,btyp=L w=16 a+d=25+6 face=28 MB 7 112: CHAR[r] pos=9553 blev=0,btyp=L w=16 a+d=25+6 face=28 MB 8 128: CHAR[t] pos=9554 blev=0,btyp=L w=16 a+d=25+6 face=28 MB 9 144: CHAR[i] pos=9555 blev=0,btyp=L w=16 a+d=25+6 face=28 MB 10 160: CHAR[f] pos=9556 blev=0,btyp=L w=16 a+d=25+6 face=28 MB 11 176: CHAR[i] pos=9557 blev=0,btyp=L w=16 a+d=25+6 face=28 MB 12 192: CHAR[c] pos=9558 blev=0,btyp=L w=16 a+d=25+6 face=28 MB 13 208: CHAR[a] pos=9559 blev=0,btyp=L w=16 a+d=25+6 face=28 MB 14 224: CHAR[t] pos=9560 blev=0,btyp=L w=16 a+d=25+6 face=28 MB 15 240: CHAR[e] pos=9561 blev=0,btyp=L w=16 a+d=25+6 face=28 MB 16 256: CHAR['] pos=9562 blev=0,btyp=L w=16 a+d=25+6 face=28 MB 17 272: CHAR[s] pos=9563 blev=0,btyp=L w=16 a+d=25+6 face=28 MB 18 288: CHAR[ ] pos=9564 blev=0,btyp=L w=16 a+d=25+6 face=28 MB 19 304: CHAR[h] pos=9565 blev=0,btyp=L w=16 a+d=25+6 face=28 MB 20 320: CHAR[o] pos=9566 blev=0,btyp=L w=16 a+d=25+6 face=28 MB 21 336: CHAR[s] pos=9567 blev=0,btyp=L w=16 a+d=25+6 face=28 MB 22 352: CHAR[t] pos=9568 blev=0,btyp=L w=16 a+d=25+6 face=28 MB 23 368: CHAR[ ] pos=9569 blev=0,btyp=L w=16 a+d=25+6 face=28 MB 24 384: CHAR[n] pos=9570 blev=0,btyp=L w=16 a+d=25+6 face=28 MB 25 400: CHAR[a] pos=9571 blev=0,btyp=L w=16 a+d=25+6 face=28 MB 26 416: CHAR[m] pos=9572 blev=0,btyp=L w=16 a+d=25+6 face=28 MB 27 432: CHAR[e] pos=9573 blev=0,btyp=L w=16 a+d=25+6 face=28 MB 28 448: CHAR[.] pos=9574 blev=0,btyp=L w=16 a+d=25+6 face=28 MB 29 464: CHAR[ ] pos=9575 blev=0,btyp=L w=16 a+d=25+6 face=28 MB 30 480: CHAR[ ] pos=9576 blev=0,btyp=L w=16 a+d=25+6 face=28 MB 31 496: CHAR[T] pos=9577 blev=0,btyp=L w=16 a+d=25+6 face=28 MB 32 512: CHAR[h] pos=9578 blev=0,btyp=L w=16 a+d=25+6 face=28 MB 33 528: CHAR[e] pos=9579 blev=0,btyp=L w=16 a+d=25+6 face=28 MB 34 544: CHAR[ ] pos=9580 blev=0,btyp=L w=16 a+d=25+6 face=28 MB 35 560: CHAR[e] pos=9581 blev=0,btyp=L w=16 a+d=25+6 face=28 MB 36 576: CHAR[x] pos=9582 blev=0,btyp=L w=16 a+d=25+6 face=28 MB 37 592: CHAR[a] pos=9583 blev=0,btyp=L w=16 a+d=25+6 face=28 MB 38 608: CHAR[c] pos=9584 blev=0,btyp=L w=16 a+d=25+6 face=28 MB 39 624: CHAR[t] pos=9585 blev=0,btyp=L w=16 a+d=25+6 face=28 MB 40 640: CHAR[ ] pos=9586 blev=0,btyp=L w=16 a+d=25+6 face=28 MB 41 656: CHAR[v] pos=9587 blev=0,btyp=L w=16 a+d=25+6 face=28 MB 42 672: CHAR[e] pos=9588 blev=0,btyp=L w=16 a+d=25+6 face=28 MB 43 688: CHAR[r] pos=9589 blev=0,btyp=L w=16 a+d=25+6 face=28 MB 44 704: CHAR[i] pos=9590 blev=0,btyp=L w=16 a+d=25+6 face=28 MB 45 720: CHAR[f] pos=9591 blev=0,btyp=L w=16 a+d=25+6 face=28 MB 46 736: CHAR[i] pos=9592 blev=0,btyp=L w=16 a+d=25+6 face=28 MB 47 752: CHAR[c] pos=9593 blev=0,btyp=L w=16 a+d=25+6 face=28 MB 48 768: CHAR[a] pos=9594 blev=0,btyp=L w=16 a+d=25+6 face=28 MB 49 784: CHAR[t] pos=9595 blev=0,btyp=L w=16 a+d=25+6 face=28 MB 50 800: CHAR[i] pos=9596 blev=0,btyp=L w=16 a+d=25+6 face=28 MB 51 816: CHAR[o] pos=9597 blev=0,btyp=L w=16 a+d=25+6 face=28 MB 52 832: CHAR[n] pos=9598 blev=0,btyp=L w=16 a+d=25+6 face=28 MB 53 848: CHAR[ ] pos=9599 blev=0,btyp=L w=16 a+d=25+6 face=28 MB 54 864: CHAR[a] pos=9600 blev=0,btyp=L w=16 a+d=25+6 face=28 MB 55 880: CHAR[l] pos=9601 blev=0,btyp=L w=16 a+d=25+6 face=28 MB 56 896: CHAR[g] pos=9602 blev=0,btyp=L w=16 a+d=25+6 face=28 MB 57 912: CHAR[o] pos=9603 blev=0,btyp=L w=16 a+d=25+6 face=28 MB 58 928: CHAR[r] pos=9604 blev=0,btyp=L w=16 a+d=25+6 face=28 MB 59 944: CHAR[i] pos=9605 blev=0,btyp=L w=16 a+d=25+6 face=28 MB 60 960: CHAR[t] pos=9606 blev=0,btyp=L w=16 a+d=25+6 face=28 MB 61 976: CHAR[h] pos=9607 blev=0,btyp=L w=16 a+d=25+6 face=28 MB ---Type to continue, or q to quit--- 62 992: CHAR[m] pos=9608 blev=0,btyp=L w=16 a+d=25+6 face=28 MB 63 1008: CHAR[ ] pos=9609 blev=0,btyp=L w=16 a+d=25+6 face=28 MB 64 1024: CHAR[i] pos=9610 blev=0,btyp=L w=16 a+d=25+6 face=28 MB 65 1040: CHAR[s] pos=9611 blev=0,btyp=L w=16 a+d=25+6 face=28 MB 66 1056: CHAR[ ] pos=9612 blev=0,btyp=L w=16 a+d=25+6 face=28 MB 67 1072: CHAR[a] pos=9613 blev=0,btyp=L w=16 a+d=25+6 face=28 MB 68 1088: CHAR[ ] pos=0 blev=0,btyp=B w=16 a+d=25+6 face=28 MB 69 1104: CHAR[s] pos=6237 blev=0,btyp=L w=16 a+d=25+6 MB 70 1120: CHAR[ ] pos=0 blev=0,btyp=B w=16 a+d=25+6 MB 71 1136: str=0xc8676d[9683324] w=-15971 a+d=147+0 MB PAD N/A [ slice=49485,147,0,0 72 -14835: str=0xc8671b[9683580] w=-15715 a+d=147+0 MB PAD AVOID [ slice=49741,147,0,0 74 -46113: CHAR[c] pos=9551 blev=0,btyp=L w=16 a+d=25+6 face=28 MB 75 -46097: CHAR[e] pos=9552 blev=0,btyp=L w=16 a+d=25+6 face=28 MB 76 -46081: CHAR[r] pos=9553 blev=0,btyp=L w=16 a+d=25+6 face=28 MB 77 -46065: CHAR[t] pos=9554 blev=0,btyp=L w=16 a+d=25+6 face=28 MB 78 -46049: CHAR[i] pos=9555 blev=0,btyp=L w=16 a+d=25+6 face=28 MB 79 -46033: CHAR[f] pos=9556 blev=0,btyp=L w=16 a+d=25+6 face=28 MB 80 -46017: CHAR[i] pos=9557 blev=0,btyp=L w=16 a+d=25+6 face=28 MB 81 -46001: CHAR[c] pos=9558 blev=0,btyp=L w=16 a+d=25+6 face=28 MB 82 -45985: CHAR[a] pos=9559 blev=0,btyp=L w=16 a+d=25+6 face=28 MB 83 -45969: CHAR[t] pos=9560 blev=0,btyp=L w=16 a+d=25+6 face=28 MB 84 -45953: CHAR[e] pos=9561 blev=0,btyp=L w=16 a+d=25+6 face=28 MB 85 -45937: CHAR['] pos=9562 blev=0,btyp=L w=16 a+d=25+6 face=28 MB 86 -45921: CHAR[s] pos=9563 blev=0,btyp=L w=16 a+d=25+6 face=28 MB 87 -45905: CHAR[ ] pos=9564 blev=0,btyp=L w=16 a+d=25+6 face=28 MB 88 -45889: CHAR[h] pos=9565 blev=0,btyp=L w=16 a+d=25+6 face=28 MB 89 -45873: CHAR[o] pos=9566 blev=0,btyp=L w=16 a+d=25+6 face=28 MB 90 -45857: CHAR[s] pos=9567 blev=0,btyp=L w=16 a+d=25+6 face=28 MB 91 -45841: CHAR[t] pos=9568 blev=0,btyp=L w=16 a+d=25+6 face=28 MB 92 -45825: CHAR[ ] pos=9569 blev=0,btyp=L w=16 a+d=25+6 face=28 MB 93 -45809: CHAR[n] pos=9570 blev=0,btyp=L w=16 a+d=25+6 face=28 MB 94 -45793: CHAR[a] pos=9571 blev=0,btyp=L w=16 a+d=25+6 face=28 MB 95 -45777: CHAR[m] pos=9572 blev=0,btyp=L w=16 a+d=25+6 face=28 MB 96 -45761: CHAR[e] pos=9573 blev=0,btyp=L w=16 a+d=25+6 face=28 MB 97 -45745: CHAR[.] pos=9574 blev=0,btyp=L w=16 a+d=25+6 face=28 MB 98 -45729: CHAR[ ] pos=9575 blev=0,btyp=L w=16 a+d=25+6 face=28 MB 99 -45713: CHAR[ ] pos=9576 blev=0,btyp=L w=16 a+d=25+6 face=28 MB 100 -45697: CHAR[T] pos=9577 blev=0,btyp=L w=16 a+d=25+6 face=28 MB 101 -45681: CHAR[h] pos=9578 blev=0,btyp=L w=16 a+d=25+6 face=28 MB 102 -45665: CHAR[e] pos=9579 blev=0,btyp=L w=16 a+d=25+6 face=28 MB 103 -45649: CHAR[ ] pos=9580 blev=0,btyp=L w=16 a+d=25+6 face=28 MB 104 -45633: CHAR[e] pos=9581 blev=0,btyp=L w=16 a+d=25+6 face=28 MB 105 -45617: CHAR[x] pos=9582 blev=0,btyp=L w=16 a+d=25+6 face=28 MB 106 -45601: CHAR[a] pos=9583 blev=0,btyp=L w=16 a+d=25+6 face=28 MB 107 -45585: CHAR[c] pos=9584 blev=0,btyp=L w=16 a+d=25+6 face=28 MB 108 -45569: CHAR[t] pos=9585 blev=0,btyp=L w=16 a+d=25+6 face=28 MB 109 -45553: CHAR[ ] pos=9586 blev=0,btyp=L w=16 a+d=25+6 face=28 MB 110 -45537: CHAR[v] pos=9587 blev=0,btyp=L w=16 a+d=25+6 face=28 MB 111 -45521: CHAR[e] pos=9588 blev=0,btyp=L w=16 a+d=25+6 face=28 MB 112 -45505: CHAR[r] pos=9589 blev=0,btyp=L w=16 a+d=25+6 face=28 MB 113 -45489: CHAR[i] pos=9590 blev=0,btyp=L w=16 a+d=25+6 face=28 MB 114 -45473: CHAR[f] pos=9591 blev=0,btyp=L w=16 a+d=25+6 face=28 MB 115 -45457: CHAR[i] pos=9592 blev=0,btyp=L w=16 a+d=25+6 face=28 MB 116 -45441: CHAR[c] pos=9593 blev=0,btyp=L w=16 a+d=25+6 face=28 MB 117 -45425: CHAR[a] pos=9594 blev=0,btyp=L w=16 a+d=25+6 face=28 MB 118 -45409: CHAR[t] pos=9595 blev=0,btyp=L w=16 a+d=25+6 face=28 MB 119 -45393: CHAR[i] pos=9596 blev=0,btyp=L w=16 a+d=25+6 face=28 MB 120 -45377: CHAR[o] pos=9597 blev=0,btyp=L w=16 a+d=25+6 face=28 MB 121 -45361: CHAR[n] pos=9598 blev=0,btyp=L w=16 a+d=25+6 face=28 MB 122 -45345: CHAR[ ] pos=9599 blev=0,btyp=L w=16 a+d=25+6 face=28 MB 123 -45329: CHAR[a] pos=9600 blev=0,btyp=L w=16 a+d=25+6 face=28 MB 124 -45313: CHAR[l] pos=9601 blev=0,btyp=L w=16 a+d=25+6 face=28 MB ---Type to continue, or q to quit--- 125 -45297: CHAR[g] pos=9602 blev=0,btyp=L w=16 a+d=25+6 face=28 MB 126 -45281: CHAR[o] pos=9603 blev=0,btyp=L w=16 a+d=25+6 face=28 MB 127 -45265: CHAR[r] pos=9604 blev=0,btyp=L w=16 a+d=25+6 face=28 MB 128 -45249: CHAR[i] pos=9605 blev=0,btyp=L w=16 a+d=25+6 face=28 MB 129 -45233: CHAR[t] pos=9606 blev=0,btyp=L w=16 a+d=25+6 face=28 MB 130 -45217: CHAR[h] pos=9607 blev=0,btyp=L w=16 a+d=25+6 face=28 MB 131 -45201: CHAR[m] pos=9608 blev=0,btyp=L w=16 a+d=25+6 face=28 MB 132 -45185: CHAR[ ] pos=9609 blev=0,btyp=L w=16 a+d=25+6 face=28 MB 133 -45169: CHAR[i] pos=9610 blev=0,btyp=L w=16 a+d=25+6 face=28 MB 134 -45153: CHAR[s] pos=9611 blev=0,btyp=L w=16 a+d=25+6 face=28 MB 135 -45137: CHAR[ ] pos=9612 blev=0,btyp=L w=16 a+d=25+6 face=28 MB 136 -45121: CHAR[a] pos=9613 blev=0,btyp=L w=16 a+d=25+6 face=28 MB 137 -45105: CHAR[ ] pos=0 blev=0,btyp=B w=16 a+d=25+6 face=28 MB From debbugs-submit-bounces@debbugs.gnu.org Wed Jul 12 11:05:50 2017 Received: (at submit) by debbugs.gnu.org; 12 Jul 2017 15:05:50 +0000 Received: from localhost ([127.0.0.1]:35554 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dVJD3-0006N8-QK for submit@debbugs.gnu.org; Wed, 12 Jul 2017 11:05:50 -0400 Received: from eggs.gnu.org ([208.118.235.92]:53438) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dVJD1-0006Mu-Tj for submit@debbugs.gnu.org; Wed, 12 Jul 2017 11:05:48 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dVJCv-0003Kn-6S for submit@debbugs.gnu.org; Wed, 12 Jul 2017 11:05:42 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=0.8 required=5.0 tests=BAYES_50,RP_MATCHES_RCVD autolearn=disabled version=3.3.2 Received: from lists.gnu.org ([2001:4830:134:3::11]:47635) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1dVJCu-0003Kg-Vn for submit@debbugs.gnu.org; Wed, 12 Jul 2017 11:05:41 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:44409) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dVJCt-0001nF-Gq for bug-gnu-emacs@gnu.org; Wed, 12 Jul 2017 11:05:40 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dVJCq-0003J1-4h for bug-gnu-emacs@gnu.org; Wed, 12 Jul 2017 11:05:39 -0400 Received: from fencepost.gnu.org ([2001:4830:134:3::e]:53100) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dVJCq-0003Ia-0v for bug-gnu-emacs@gnu.org; Wed, 12 Jul 2017 11:05:36 -0400 Received: from 84.94.185.246.cable.012.net.il ([84.94.185.246]:2718 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1dVJCp-0003s0-8x for bug-gnu-emacs@gnu.org; Wed, 12 Jul 2017 11:05:35 -0400 Date: Wed, 12 Jul 2017 18:05:33 +0300 Message-Id: <83bmopitky.fsf@gnu.org> From: Eli Zaretskii To: bug-gnu-emacs@gnu.org In-reply-to: <877ezd7luq.fsf@gmail.com> (message from Robert Pluim on Wed, 12 Jul 2017 16:47:57 +0200) Subject: Re: bug#27668: 26.0.50; Crash with display-line-numbers t References: <87k23d7ovv.fsf@gmail.com> <83inixiv0m.fsf@gnu.org> <877ezd7luq.fsf@gmail.com> X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 2001:4830:134:3::11 X-Spam-Score: -5.0 (-----) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: Eli Zaretskii Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -5.0 (-----) > From: Robert Pluim > Date: Wed, 12 Jul 2017 16:47:57 +0200 > > (gdb) pgrowx it->glyph_row > TEXT: 138 glyphs > 0 0: CHAR[ ] pos=-1 blev=2,btyp=EN w=16 a+d=25+6 face=23 MB AVOID > 1 16: CHAR[2] pos=-1 blev=2,btyp=EN w=16 a+d=25+6 face=23 MB AVOID > 2 32: CHAR[3] pos=-1 blev=2,btyp=EN w=16 a+d=25+6 face=23 MB AVOID > 3 48: CHAR[7] pos=-1 blev=2,btyp=EN w=16 a+d=25+6 face=23 MB AVOID > 4 64: CHAR[ ] pos=-1 blev=2,btyp=EN w=16 a+d=25+6 face=23 MB AVOID > 5 80: CHAR[c] pos=9551 blev=0,btyp=L w=16 a+d=25+6 face=28 MB > 6 96: CHAR[e] pos=9552 blev=0,btyp=L w=16 a+d=25+6 face=28 MB > 7 112: CHAR[r] pos=9553 blev=0,btyp=L w=16 a+d=25+6 face=28 MB > 8 128: CHAR[t] pos=9554 blev=0,btyp=L w=16 a+d=25+6 face=28 MB > 9 144: CHAR[i] pos=9555 blev=0,btyp=L w=16 a+d=25+6 face=28 MB > 10 160: CHAR[f] pos=9556 blev=0,btyp=L w=16 a+d=25+6 face=28 MB > 11 176: CHAR[i] pos=9557 blev=0,btyp=L w=16 a+d=25+6 face=28 MB > 12 192: CHAR[c] pos=9558 blev=0,btyp=L w=16 a+d=25+6 face=28 MB > 13 208: CHAR[a] pos=9559 blev=0,btyp=L w=16 a+d=25+6 face=28 MB > 14 224: CHAR[t] pos=9560 blev=0,btyp=L w=16 a+d=25+6 face=28 MB > 15 240: CHAR[e] pos=9561 blev=0,btyp=L w=16 a+d=25+6 face=28 MB > 16 256: CHAR['] pos=9562 blev=0,btyp=L w=16 a+d=25+6 face=28 MB > 17 272: CHAR[s] pos=9563 blev=0,btyp=L w=16 a+d=25+6 face=28 MB > 18 288: CHAR[ ] pos=9564 blev=0,btyp=L w=16 a+d=25+6 face=28 MB > 19 304: CHAR[h] pos=9565 blev=0,btyp=L w=16 a+d=25+6 face=28 MB > 20 320: CHAR[o] pos=9566 blev=0,btyp=L w=16 a+d=25+6 face=28 MB > 21 336: CHAR[s] pos=9567 blev=0,btyp=L w=16 a+d=25+6 face=28 MB > 22 352: CHAR[t] pos=9568 blev=0,btyp=L w=16 a+d=25+6 face=28 MB > 23 368: CHAR[ ] pos=9569 blev=0,btyp=L w=16 a+d=25+6 face=28 MB > 24 384: CHAR[n] pos=9570 blev=0,btyp=L w=16 a+d=25+6 face=28 MB > 25 400: CHAR[a] pos=9571 blev=0,btyp=L w=16 a+d=25+6 face=28 MB > 26 416: CHAR[m] pos=9572 blev=0,btyp=L w=16 a+d=25+6 face=28 MB > 27 432: CHAR[e] pos=9573 blev=0,btyp=L w=16 a+d=25+6 face=28 MB > 28 448: CHAR[.] pos=9574 blev=0,btyp=L w=16 a+d=25+6 face=28 MB > 29 464: CHAR[ ] pos=9575 blev=0,btyp=L w=16 a+d=25+6 face=28 MB > 30 480: CHAR[ ] pos=9576 blev=0,btyp=L w=16 a+d=25+6 face=28 MB > 31 496: CHAR[T] pos=9577 blev=0,btyp=L w=16 a+d=25+6 face=28 MB > 32 512: CHAR[h] pos=9578 blev=0,btyp=L w=16 a+d=25+6 face=28 MB > 33 528: CHAR[e] pos=9579 blev=0,btyp=L w=16 a+d=25+6 face=28 MB > 34 544: CHAR[ ] pos=9580 blev=0,btyp=L w=16 a+d=25+6 face=28 MB > 35 560: CHAR[e] pos=9581 blev=0,btyp=L w=16 a+d=25+6 face=28 MB > 36 576: CHAR[x] pos=9582 blev=0,btyp=L w=16 a+d=25+6 face=28 MB > 37 592: CHAR[a] pos=9583 blev=0,btyp=L w=16 a+d=25+6 face=28 MB > 38 608: CHAR[c] pos=9584 blev=0,btyp=L w=16 a+d=25+6 face=28 MB > 39 624: CHAR[t] pos=9585 blev=0,btyp=L w=16 a+d=25+6 face=28 MB > 40 640: CHAR[ ] pos=9586 blev=0,btyp=L w=16 a+d=25+6 face=28 MB > 41 656: CHAR[v] pos=9587 blev=0,btyp=L w=16 a+d=25+6 face=28 MB > 42 672: CHAR[e] pos=9588 blev=0,btyp=L w=16 a+d=25+6 face=28 MB > 43 688: CHAR[r] pos=9589 blev=0,btyp=L w=16 a+d=25+6 face=28 MB > 44 704: CHAR[i] pos=9590 blev=0,btyp=L w=16 a+d=25+6 face=28 MB > 45 720: CHAR[f] pos=9591 blev=0,btyp=L w=16 a+d=25+6 face=28 MB > 46 736: CHAR[i] pos=9592 blev=0,btyp=L w=16 a+d=25+6 face=28 MB > 47 752: CHAR[c] pos=9593 blev=0,btyp=L w=16 a+d=25+6 face=28 MB > 48 768: CHAR[a] pos=9594 blev=0,btyp=L w=16 a+d=25+6 face=28 MB > 49 784: CHAR[t] pos=9595 blev=0,btyp=L w=16 a+d=25+6 face=28 MB > 50 800: CHAR[i] pos=9596 blev=0,btyp=L w=16 a+d=25+6 face=28 MB > 51 816: CHAR[o] pos=9597 blev=0,btyp=L w=16 a+d=25+6 face=28 MB > 52 832: CHAR[n] pos=9598 blev=0,btyp=L w=16 a+d=25+6 face=28 MB > 53 848: CHAR[ ] pos=9599 blev=0,btyp=L w=16 a+d=25+6 face=28 MB > 54 864: CHAR[a] pos=9600 blev=0,btyp=L w=16 a+d=25+6 face=28 MB > 55 880: CHAR[l] pos=9601 blev=0,btyp=L w=16 a+d=25+6 face=28 MB > 56 896: CHAR[g] pos=9602 blev=0,btyp=L w=16 a+d=25+6 face=28 MB > 57 912: CHAR[o] pos=9603 blev=0,btyp=L w=16 a+d=25+6 face=28 MB > 58 928: CHAR[r] pos=9604 blev=0,btyp=L w=16 a+d=25+6 face=28 MB > 59 944: CHAR[i] pos=9605 blev=0,btyp=L w=16 a+d=25+6 face=28 MB > 60 960: CHAR[t] pos=9606 blev=0,btyp=L w=16 a+d=25+6 face=28 MB > 61 976: CHAR[h] pos=9607 blev=0,btyp=L w=16 a+d=25+6 face=28 MB > ---Type to continue, or q to quit--- > 62 992: CHAR[m] pos=9608 blev=0,btyp=L w=16 a+d=25+6 face=28 MB > 63 1008: CHAR[ ] pos=9609 blev=0,btyp=L w=16 a+d=25+6 face=28 MB > 64 1024: CHAR[i] pos=9610 blev=0,btyp=L w=16 a+d=25+6 face=28 MB > 65 1040: CHAR[s] pos=9611 blev=0,btyp=L w=16 a+d=25+6 face=28 MB > 66 1056: CHAR[ ] pos=9612 blev=0,btyp=L w=16 a+d=25+6 face=28 MB > 67 1072: CHAR[a] pos=9613 blev=0,btyp=L w=16 a+d=25+6 face=28 MB > 68 1088: CHAR[ ] pos=0 blev=0,btyp=B w=16 a+d=25+6 face=28 MB > 69 1104: CHAR[s] pos=6237 blev=0,btyp=L w=16 a+d=25+6 MB > 70 1120: CHAR[ ] pos=0 blev=0,btyp=B w=16 a+d=25+6 MB > 71 1136: str=0xc8676d[9683324] w=-15971 a+d=147+0 MB PAD N/A [ slice=49485,147,0,0 > 72 -14835: str=0xc8671b[9683580] w=-15715 a+d=147+0 MB PAD AVOID [ slice=49741,147,0,0 > 74 -46113: CHAR[c] pos=9551 blev=0,btyp=L w=16 a+d=25+6 face=28 MB Does the text of this line give you enough hint to tell me what was on this line? In particular, does it make sense that the line had 138 glyphs? Because it looks like everything after glyph 68 is garbage, although I don't yet have any idea how it ended up there. Can you reproduce the buffer/window that showed this text (in another session)? Because if yes, I'd like some information from there. Thanks. From debbugs-submit-bounces@debbugs.gnu.org Wed Jul 12 11:18:02 2017 Received: (at submit) by debbugs.gnu.org; 12 Jul 2017 15:18:02 +0000 Received: from localhost ([127.0.0.1]:35564 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dVJOs-0006fy-61 for submit@debbugs.gnu.org; Wed, 12 Jul 2017 11:18:02 -0400 Received: from eggs.gnu.org ([208.118.235.92]:57821) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dVJOq-0006fd-LI for submit@debbugs.gnu.org; Wed, 12 Jul 2017 11:18:00 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dVJOk-0001Ba-Di for submit@debbugs.gnu.org; Wed, 12 Jul 2017 11:17:55 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=0.8 required=5.0 tests=BAYES_50,FREEMAIL_FROM autolearn=disabled version=3.3.2 Received: from lists.gnu.org ([2001:4830:134:3::11]:51897) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1dVJOk-0001BU-Ax for submit@debbugs.gnu.org; Wed, 12 Jul 2017 11:17:54 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:48786) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dVJOh-0000qR-Et for bug-gnu-emacs@gnu.org; Wed, 12 Jul 2017 11:17:54 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dVJOd-00018f-IR for bug-gnu-emacs@gnu.org; Wed, 12 Jul 2017 11:17:50 -0400 Received: from [195.159.176.226] (port=49277 helo=blaine.gmane.org) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1dVJOd-00018K-Be for bug-gnu-emacs@gnu.org; Wed, 12 Jul 2017 11:17:47 -0400 Received: from list by blaine.gmane.org with local (Exim 4.84_2) (envelope-from ) id 1dVJOR-0006dC-KB for bug-gnu-emacs@gnu.org; Wed, 12 Jul 2017 17:17:35 +0200 X-Injected-Via-Gmane: http://gmane.org/ Mail-Followup-To: bug-gnu-emacs@gnu.org To: bug-gnu-emacs@gnu.org From: Robert Pluim Subject: Re: bug#27668: 26.0.50; Crash with display-line-numbers t Date: Wed, 12 Jul 2017 17:17:31 +0200 Organization: not if I can help it Lines: 41 Message-ID: <87vamx65x0.fsf@gmail.com> References: <87k23d7ovv.fsf@gmail.com> <83inixiv0m.fsf@gnu.org> <877ezd7luq.fsf@gmail.com> <83bmopitky.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain X-Complaints-To: usenet@blaine.gmane.org User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.0.50 (gnu/linux) Mail-Copies-To: never X-Debbugs-No-Ack: yes Cancel-Lock: sha1:j/EQE/izeYAakZOqIeAiuUvV2lY= X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy] X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 2001:4830:134:3::11 X-Spam-Score: -4.8 (----) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: bug-gnu-emacs@gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -4.8 (----) Eli Zaretskii writes: >> From: Robert Pluim >> Date: Wed, 12 Jul 2017 16:47:57 +0200 >> 62 992: CHAR[m] pos=9608 blev=0,btyp=L w=16 a+d=25+6 face=28 MB >> 63 1008: CHAR[ ] pos=9609 blev=0,btyp=L w=16 a+d=25+6 face=28 MB >> 64 1024: CHAR[i] pos=9610 blev=0,btyp=L w=16 a+d=25+6 face=28 MB >> 65 1040: CHAR[s] pos=9611 blev=0,btyp=L w=16 a+d=25+6 face=28 MB >> 66 1056: CHAR[ ] pos=9612 blev=0,btyp=L w=16 a+d=25+6 face=28 MB >> 67 1072: CHAR[a] pos=9613 blev=0,btyp=L w=16 a+d=25+6 face=28 MB >> 68 1088: CHAR[ ] pos=0 blev=0,btyp=B w=16 a+d=25+6 face=28 MB >> 69 1104: CHAR[s] pos=6237 blev=0,btyp=L w=16 a+d=25+6 MB >> 70 1120: CHAR[ ] pos=0 blev=0,btyp=B w=16 a+d=25+6 MB >> 71 1136: str=0xc8676d[9683324] w=-15971 a+d=147+0 MB PAD N/A [ slice=49485,147,0,0 >> 72 -14835: str=0xc8671b[9683580] w=-15715 a+d=147+0 MB PAD AVOID [ slice=49741,147,0,0 >> 74 -46113: CHAR[c] pos=9551 blev=0,btyp=L w=16 a+d=25+6 face=28 MB > > Does the text of this line give you enough hint to tell me what was on > this line? In particular, does it make sense that the line had 138 > glyphs? Because it looks like everything after glyph 68 is garbage, > although I don't yet have any idea how it ended up there. > Yes, as I said it's line 237 of lisp/net/gnutls.el, it's definitely not 138 glyphs: ----begin---- certificate's host name. The exact verification algorithm is a ---end--- > Can you reproduce the buffer/window that showed this text (in another > session)? Because if yes, I'd like some information from there. > Yes, although as I said I haven't found a reproduction yet, and it's happened with other files as well (but only with display-line-numbers t in the buffer displaying the file). Regards Robert From debbugs-submit-bounces@debbugs.gnu.org Wed Jul 12 12:20:51 2017 Received: (at submit) by debbugs.gnu.org; 12 Jul 2017 16:20:51 +0000 Received: from localhost ([127.0.0.1]:35634 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dVKNf-0008HH-4t for submit@debbugs.gnu.org; Wed, 12 Jul 2017 12:20:51 -0400 Received: from eggs.gnu.org ([208.118.235.92]:51242) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dVKNc-0008H4-S1 for submit@debbugs.gnu.org; Wed, 12 Jul 2017 12:20:49 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dVKNW-000434-Fs for submit@debbugs.gnu.org; Wed, 12 Jul 2017 12:20:43 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=0.8 required=5.0 tests=BAYES_50,RP_MATCHES_RCVD autolearn=disabled version=3.3.2 Received: from lists.gnu.org ([2001:4830:134:3::11]:43703) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1dVKNW-00042z-BV for submit@debbugs.gnu.org; Wed, 12 Jul 2017 12:20:42 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:42206) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dVKNU-0001YY-WD for bug-gnu-emacs@gnu.org; Wed, 12 Jul 2017 12:20:42 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dVKNP-0003zG-2V for bug-gnu-emacs@gnu.org; Wed, 12 Jul 2017 12:20:40 -0400 Received: from fencepost.gnu.org ([2001:4830:134:3::e]:54327) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dVKNO-0003ys-Um for bug-gnu-emacs@gnu.org; Wed, 12 Jul 2017 12:20:34 -0400 Received: from 84.94.185.246.cable.012.net.il ([84.94.185.246]:2796 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1dVKNO-0005WK-5N for bug-gnu-emacs@gnu.org; Wed, 12 Jul 2017 12:20:34 -0400 Date: Wed, 12 Jul 2017 19:20:32 +0300 Message-Id: <837ezdiq3z.fsf@gnu.org> From: Eli Zaretskii To: bug-gnu-emacs@gnu.org In-reply-to: <87vamx65x0.fsf@gmail.com> (message from Robert Pluim on Wed, 12 Jul 2017 17:17:31 +0200) Subject: Re: bug#27668: 26.0.50; Crash with display-line-numbers t References: <87k23d7ovv.fsf@gmail.com> <83inixiv0m.fsf@gnu.org> <877ezd7luq.fsf@gmail.com> <83bmopitky.fsf@gnu.org> <87vamx65x0.fsf@gmail.com> X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 2001:4830:134:3::11 X-Spam-Score: -5.0 (-----) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: Eli Zaretskii Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -5.0 (-----) > From: Robert Pluim > Date: Wed, 12 Jul 2017 17:17:31 +0200 > > Eli Zaretskii writes: > > >> From: Robert Pluim > >> Date: Wed, 12 Jul 2017 16:47:57 +0200 > >> 62 992: CHAR[m] pos=9608 blev=0,btyp=L w=16 a+d=25+6 face=28 MB > >> 63 1008: CHAR[ ] pos=9609 blev=0,btyp=L w=16 a+d=25+6 face=28 MB > >> 64 1024: CHAR[i] pos=9610 blev=0,btyp=L w=16 a+d=25+6 face=28 MB > >> 65 1040: CHAR[s] pos=9611 blev=0,btyp=L w=16 a+d=25+6 face=28 MB > >> 66 1056: CHAR[ ] pos=9612 blev=0,btyp=L w=16 a+d=25+6 face=28 MB > >> 67 1072: CHAR[a] pos=9613 blev=0,btyp=L w=16 a+d=25+6 face=28 MB > >> 68 1088: CHAR[ ] pos=0 blev=0,btyp=B w=16 a+d=25+6 face=28 MB > >> 69 1104: CHAR[s] pos=6237 blev=0,btyp=L w=16 a+d=25+6 MB > >> 70 1120: CHAR[ ] pos=0 blev=0,btyp=B w=16 a+d=25+6 MB > >> 71 1136: str=0xc8676d[9683324] w=-15971 a+d=147+0 MB PAD N/A [ slice=49485,147,0,0 > >> 72 -14835: str=0xc8671b[9683580] w=-15715 a+d=147+0 MB PAD AVOID [ slice=49741,147,0,0 > >> 74 -46113: CHAR[c] pos=9551 blev=0,btyp=L w=16 a+d=25+6 face=28 MB > > > > Does the text of this line give you enough hint to tell me what was on > > this line? In particular, does it make sense that the line had 138 > > glyphs? Because it looks like everything after glyph 68 is garbage, > > although I don't yet have any idea how it ended up there. > > > > Yes, as I said it's line 237 of lisp/net/gnutls.el, it's definitely > not 138 glyphs: Well, I cannot know what kind of display features you have there; what is just 63 characters in the file could have all kind of stuff appended to it on display... Anyway, what do these 2 show: (gdb) p it->glyph_row->enabled_p (gdb) p it->glyph_row->displays_text_p Also, is the previous screen line OK? This will show: (gdb) pgrowx (it->glyph_row-1) Eventually, if nothing else gives a clue, please continue running Emacs under GDB, and if the crashes are always in compute_line_metrics, show the offending glyph_row each time it crashes. Perhaps the data will give some hint about what could be wrong. (Currently, the only idea I have is that somehow glyph_row->used[1] is set to a value larger than it should, which might mean some problem in maybe_produce_line_number, where it increments the used count, but I'd like first to see if all the problems manifest themselves with such a large used count.) Thanks. From debbugs-submit-bounces@debbugs.gnu.org Wed Jul 12 14:27:15 2017 Received: (at submit) by debbugs.gnu.org; 12 Jul 2017 18:27:16 +0000 Received: from localhost ([127.0.0.1]:35748 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dVMLz-0002x6-Ci for submit@debbugs.gnu.org; Wed, 12 Jul 2017 14:27:15 -0400 Received: from eggs.gnu.org ([208.118.235.92]:57495) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dVMLx-0002wo-5O for submit@debbugs.gnu.org; Wed, 12 Jul 2017 14:27:13 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dVMLq-0000cw-AQ for submit@debbugs.gnu.org; Wed, 12 Jul 2017 14:27:08 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=0.8 required=5.0 tests=BAYES_50,FREEMAIL_FROM autolearn=disabled version=3.3.2 Received: from lists.gnu.org ([2001:4830:134:3::11]:52909) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1dVMLq-0000cp-7C for submit@debbugs.gnu.org; Wed, 12 Jul 2017 14:27:06 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:48466) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dVMLo-0000Jx-4t for bug-gnu-emacs@gnu.org; Wed, 12 Jul 2017 14:27:05 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dVMLj-0000bC-DK for bug-gnu-emacs@gnu.org; Wed, 12 Jul 2017 14:27:04 -0400 Received: from [195.159.176.226] (port=33378 helo=blaine.gmane.org) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1dVMLj-0000an-3J for bug-gnu-emacs@gnu.org; Wed, 12 Jul 2017 14:26:59 -0400 Received: from list by blaine.gmane.org with local (Exim 4.84_2) (envelope-from ) id 1dVMLb-0004Bw-1f for bug-gnu-emacs@gnu.org; Wed, 12 Jul 2017 20:26:51 +0200 X-Injected-Via-Gmane: http://gmane.org/ Mail-Followup-To: bug-gnu-emacs@gnu.org To: bug-gnu-emacs@gnu.org From: Robert Pluim Subject: Re: bug#27668: 26.0.50; Crash with display-line-numbers t Date: Wed, 12 Jul 2017 20:26:50 +0200 Organization: not if I can help it Lines: 181 Message-ID: <871spl5x5h.fsf@gmail.com> References: <87k23d7ovv.fsf@gmail.com> <83inixiv0m.fsf@gnu.org> <877ezd7luq.fsf@gmail.com> <83bmopitky.fsf@gnu.org> <87vamx65x0.fsf@gmail.com> <837ezdiq3z.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain X-Complaints-To: usenet@blaine.gmane.org User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.0.50 (gnu/linux) Mail-Copies-To: never X-Debbugs-No-Ack: yes Cancel-Lock: sha1:ohxcwEmthqUpPg7AIzioBXxbdpQ= X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy] X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 2001:4830:134:3::11 X-Spam-Score: -4.8 (----) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: bug-gnu-emacs@gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -4.8 (----) Eli Zaretskii writes: > Well, I cannot know what kind of display features you have there; what > is just 63 characters in the file could have all kind of stuff > appended to it on display... > > Anyway, what do these 2 show: > > (gdb) p it->glyph_row->enabled_p $1 = true > (gdb) p it->glyph_row->displays_text_p $2 = true > > Also, is the previous screen line OK? This will show: > > (gdb) pgrowx (it->glyph_row-1) (gdb) pgrowx (it->glyph_row-1) TEXT: 134 glyphs 0 0: CHAR[ ] pos=-1 blev=2,btyp=EN w=16 a+d=25+6 face=23 MB AVOID 1 16: CHAR[2] pos=-1 blev=2,btyp=EN w=16 a+d=25+6 face=23 MB AVOID 2 32: CHAR[3] pos=-1 blev=2,btyp=EN w=16 a+d=25+6 face=23 MB AVOID 3 48: CHAR[6] pos=-1 blev=2,btyp=EN w=16 a+d=25+6 face=23 MB AVOID 4 64: CHAR[ ] pos=-1 blev=2,btyp=EN w=16 a+d=25+6 face=23 MB AVOID 5 80: CHAR[w] pos=9489 blev=0,btyp=L w=16 a+d=25+6 face=28 MB 6 96: CHAR[i] pos=9490 blev=0,btyp=L w=16 a+d=25+6 face=28 MB 7 112: CHAR[l] pos=9491 blev=0,btyp=L w=16 a+d=25+6 face=28 MB 8 128: CHAR[l] pos=9492 blev=0,btyp=L w=16 a+d=25+6 face=28 MB 9 144: CHAR[ ] pos=9493 blev=0,btyp=L w=16 a+d=25+6 face=28 MB 11 176: CHAR[e] pos=9495 blev=0,btyp=L w=16 a+d=25+6 face=28 MB 12 192: CHAR[ ] pos=9496 blev=0,btyp=L w=16 a+d=25+6 face=28 MB 13 208: CHAR[r] pos=9497 blev=0,btyp=L w=16 a+d=25+6 face=28 MB 14 224: CHAR[a] pos=9498 blev=0,btyp=L w=16 a+d=25+6 face=28 MB 15 240: CHAR[i] pos=9499 blev=0,btyp=L w=16 a+d=25+6 face=28 MB 16 256: CHAR[s] pos=9500 blev=0,btyp=L w=16 a+d=25+6 face=28 MB 17 272: CHAR[e] pos=9501 blev=0,btyp=L w=16 a+d=25+6 face=28 MB 18 288: CHAR[d] pos=9502 blev=0,btyp=L w=16 a+d=25+6 face=28 MB 19 304: CHAR[ ] pos=9503 blev=0,btyp=L w=16 a+d=25+6 face=28 MB 20 320: CHAR[w] pos=9504 blev=0,btyp=L w=16 a+d=25+6 face=28 MB 21 336: CHAR[h] pos=9505 blev=0,btyp=L w=16 a+d=25+6 face=28 MB 22 352: CHAR[e] pos=9506 blev=0,btyp=L w=16 a+d=25+6 face=28 MB 23 368: CHAR[n] pos=9507 blev=0,btyp=L w=16 a+d=25+6 face=28 MB 24 384: CHAR[ ] pos=9508 blev=0,btyp=L w=16 a+d=25+6 face=28 MB 25 400: CHAR[t] pos=9509 blev=0,btyp=L w=16 a+d=25+6 face=28 MB 26 416: CHAR[h] pos=9510 blev=0,btyp=L w=16 a+d=25+6 face=28 MB 27 432: CHAR[e] pos=9511 blev=0,btyp=L w=16 a+d=25+6 face=28 MB 28 448: CHAR[ ] pos=9512 blev=0,btyp=L w=16 a+d=25+6 face=28 MB 29 464: CHAR[h] pos=9513 blev=0,btyp=L w=16 a+d=25+6 face=28 MB 30 480: CHAR[o] pos=9514 blev=0,btyp=L w=16 a+d=25+6 face=28 MB 31 496: CHAR[s] pos=9515 blev=0,btyp=L w=16 a+d=25+6 face=28 MB 32 512: CHAR[t] pos=9516 blev=0,btyp=L w=16 a+d=25+6 face=28 MB 33 528: CHAR[n] pos=9517 blev=0,btyp=L w=16 a+d=25+6 face=28 MB 34 544: CHAR[a] pos=9518 blev=0,btyp=L w=16 a+d=25+6 face=28 MB 35 560: CHAR[m] pos=9519 blev=0,btyp=L w=16 a+d=25+6 face=28 MB 36 576: CHAR[e] pos=9520 blev=0,btyp=L w=16 a+d=25+6 face=28 MB 37 592: CHAR[ ] pos=9521 blev=0,btyp=L w=16 a+d=25+6 face=28 MB 38 608: CHAR[d] pos=9522 blev=0,btyp=L w=16 a+d=25+6 face=28 MB 39 624: CHAR[o] pos=9523 blev=0,btyp=L w=16 a+d=25+6 face=28 MB 40 640: CHAR[e] pos=9524 blev=0,btyp=L w=16 a+d=25+6 face=28 MB 41 656: CHAR[s] pos=9525 blev=0,btyp=L w=16 a+d=25+6 face=28 MB 42 672: CHAR[ ] pos=9526 blev=0,btyp=L w=16 a+d=25+6 face=28 MB 43 688: CHAR[n] pos=9527 blev=0,btyp=L w=16 a+d=25+6 face=28 MB 44 704: CHAR[o] pos=9528 blev=0,btyp=L w=16 a+d=25+6 face=28 MB 45 720: CHAR[t] pos=9529 blev=0,btyp=L w=16 a+d=25+6 face=28 MB 46 736: CHAR[ ] pos=9530 blev=0,btyp=L w=16 a+d=25+6 face=28 MB 47 752: CHAR[m] pos=9531 blev=0,btyp=L w=16 a+d=25+6 face=28 MB 48 768: CHAR[a] pos=9532 blev=0,btyp=L w=16 a+d=25+6 face=28 MB 49 784: CHAR[t] pos=9533 blev=0,btyp=L w=16 a+d=25+6 face=28 MB 50 800: CHAR[c] pos=9534 blev=0,btyp=L w=16 a+d=25+6 face=28 MB 51 816: CHAR[h] pos=9535 blev=0,btyp=L w=16 a+d=25+6 face=28 MB 52 832: CHAR[ ] pos=9536 blev=0,btyp=L w=16 a+d=25+6 face=28 MB 53 848: CHAR[t] pos=9537 blev=0,btyp=L w=16 a+d=25+6 face=28 MB 54 864: CHAR[h] pos=9538 blev=0,btyp=L w=16 a+d=25+6 face=28 MB 55 880: CHAR[e] pos=9539 blev=0,btyp=L w=16 a+d=25+6 face=28 MB 56 896: CHAR[ ] pos=9540 blev=0,btyp=L w=16 a+d=25+6 face=28 MB 57 912: CHAR[p] pos=9541 blev=0,btyp=L w=16 a+d=25+6 face=28 MB 58 928: CHAR[r] pos=9542 blev=0,btyp=L w=16 a+d=25+6 face=28 MB 59 944: CHAR[e] pos=9543 blev=0,btyp=L w=16 a+d=25+6 face=28 MB 60 960: CHAR[s] pos=9544 blev=0,btyp=L w=16 a+d=25+6 face=28 MB 61 976: CHAR[e] pos=9545 blev=0,btyp=L w=16 a+d=25+6 face=28 MB ---Type to continue, or q to quit--- 62 992: CHAR[n] pos=9546 blev=0,btyp=L w=16 a+d=25+6 face=28 MB 63 1008: CHAR[t] pos=9547 blev=0,btyp=L w=16 a+d=25+6 face=28 MB 64 1024: CHAR[e] pos=9548 blev=0,btyp=L w=16 a+d=25+6 face=28 MB 65 1040: CHAR[d] pos=9549 blev=0,btyp=L w=16 a+d=25+6 face=28 MB 66 1056: CHAR[ ] pos=0 blev=0,btyp=B w=16 a+d=25+6 face=28 MB 67 1072: CHAR[ ] pos=-1 blev=0,btyp=B w=16 a+d=25+6 face=5 68 1088: CHAR[ ] pos=-1 blev=0,btyp=B w=16 a+d=25+6 face=5 69 1104: CHAR[ ] pos=-1 blev=0,btyp=B w=16 a+d=25+6 face=5 70 1120: CHAR[ ] pos=-1 blev=0,btyp=B w=16 a+d=25+6 face=5 71 1136: CHAR[ ] pos=-1 blev=0,btyp=B w=16 a+d=25+6 face=5 72 1152: CHAR[w] pos=9489 blev=0,btyp=L w=16 a+d=25+6 face=28 MB 73 1168: CHAR[i] pos=9490 blev=0,btyp=L w=16 a+d=25+6 face=28 MB 74 1184: CHAR[l] pos=9491 blev=0,btyp=L w=16 a+d=25+6 face=28 MB 75 1200: CHAR[l] pos=9492 blev=0,btyp=L w=16 a+d=25+6 face=28 MB 76 1216: CHAR[ ] pos=9493 blev=0,btyp=L w=16 a+d=25+6 face=28 MB 77 1232: CHAR[b] pos=9494 blev=0,btyp=L w=16 a+d=25+6 face=28 MB 78 1248: CHAR[e] pos=9495 blev=0,btyp=L w=16 a+d=25+6 face=28 MB 79 1264: CHAR[ ] pos=9496 blev=0,btyp=L w=16 a+d=25+6 face=28 MB 80 1280: CHAR[r] pos=9497 blev=0,btyp=L w=16 a+d=25+6 face=28 MB 81 1296: CHAR[a] pos=9498 blev=0,btyp=L w=16 a+d=25+6 face=28 MB 82 1312: CHAR[i] pos=9499 blev=0,btyp=L w=16 a+d=25+6 face=28 MB 83 1328: CHAR[s] pos=9500 blev=0,btyp=L w=16 a+d=25+6 face=28 MB 84 1344: CHAR[e] pos=9501 blev=0,btyp=L w=16 a+d=25+6 face=28 MB 85 1360: CHAR[d] pos=9502 blev=0,btyp=L w=16 a+d=25+6 face=28 MB 86 1376: CHAR[ ] pos=9503 blev=0,btyp=L w=16 a+d=25+6 face=28 MB 87 1392: CHAR[w] pos=9504 blev=0,btyp=L w=16 a+d=25+6 face=28 MB 88 1408: CHAR[h] pos=9505 blev=0,btyp=L w=16 a+d=25+6 face=28 MB 89 1424: CHAR[e] pos=9506 blev=0,btyp=L w=16 a+d=25+6 face=28 MB 90 1440: CHAR[n] pos=9507 blev=0,btyp=L w=16 a+d=25+6 face=28 MB 91 1456: CHAR[ ] pos=9508 blev=0,btyp=L w=16 a+d=25+6 face=28 MB 92 1472: CHAR[t] pos=9509 blev=0,btyp=L w=16 a+d=25+6 face=28 MB 93 1488: CHAR[h] pos=9510 blev=0,btyp=L w=16 a+d=25+6 face=28 MB 94 1504: CHAR[e] pos=9511 blev=0,btyp=L w=16 a+d=25+6 face=28 MB 95 1520: CHAR[ ] pos=9512 blev=0,btyp=L w=16 a+d=25+6 face=28 MB 96 1536: CHAR[h] pos=9513 blev=0,btyp=L w=16 a+d=25+6 face=28 MB 97 1552: CHAR[o] pos=9514 blev=0,btyp=L w=16 a+d=25+6 face=28 MB 98 1568: CHAR[s] pos=9515 blev=0,btyp=L w=16 a+d=25+6 face=28 MB 99 1584: CHAR[t] pos=9516 blev=0,btyp=L w=16 a+d=25+6 face=28 MB 100 1600: CHAR[n] pos=9517 blev=0,btyp=L w=16 a+d=25+6 face=28 MB 101 1616: CHAR[a] pos=9518 blev=0,btyp=L w=16 a+d=25+6 face=28 MB 102 1632: CHAR[m] pos=9519 blev=0,btyp=L w=16 a+d=25+6 face=28 MB 103 1648: CHAR[e] pos=9520 blev=0,btyp=L w=16 a+d=25+6 face=28 MB 104 1664: CHAR[ ] pos=9521 blev=0,btyp=L w=16 a+d=25+6 face=28 MB 105 1680: CHAR[d] pos=9522 blev=0,btyp=L w=16 a+d=25+6 face=28 MB 106 1696: CHAR[o] pos=9523 blev=0,btyp=L w=16 a+d=25+6 face=28 MB 107 1712: CHAR[e] pos=9524 blev=0,btyp=L w=16 a+d=25+6 face=28 MB 108 1728: CHAR[s] pos=9525 blev=0,btyp=L w=16 a+d=25+6 face=28 MB 109 1744: CHAR[ ] pos=9526 blev=0,btyp=L w=16 a+d=25+6 face=28 MB 110 1760: CHAR[n] pos=9527 blev=0,btyp=L w=16 a+d=25+6 face=28 MB 111 1776: CHAR[o] pos=9528 blev=0,btyp=L w=16 a+d=25+6 face=28 MB 112 1792: CHAR[t] pos=9529 blev=0,btyp=L w=16 a+d=25+6 face=28 MB 113 1808: CHAR[ ] pos=9530 blev=0,btyp=L w=16 a+d=25+6 face=28 MB 114 1824: CHAR[m] pos=9531 blev=0,btyp=L w=16 a+d=25+6 face=28 MB 115 1840: CHAR[a] pos=9532 blev=0,btyp=L w=16 a+d=25+6 face=28 MB 116 1856: CHAR[t] pos=9533 blev=0,btyp=L w=16 a+d=25+6 face=28 MB 117 1872: CHAR[c] pos=9534 blev=0,btyp=L w=16 a+d=25+6 face=28 MB 118 1888: CHAR[h] pos=9535 blev=0,btyp=L w=16 a+d=25+6 face=28 MB 119 1904: CHAR[ ] pos=9536 blev=0,btyp=L w=16 a+d=25+6 face=28 MB 120 1920: CHAR[t] pos=9537 blev=0,btyp=L w=16 a+d=25+6 face=28 MB 121 1936: CHAR[h] pos=9538 blev=0,btyp=L w=16 a+d=25+6 face=28 MB 122 1952: CHAR[e] pos=9539 blev=0,btyp=L w=16 a+d=25+6 face=28 MB 123 1968: CHAR[ ] pos=9540 blev=0,btyp=L w=16 a+d=25+6 face=28 MB 124 1984: CHAR[p] pos=9541 blev=0,btyp=L w=16 a+d=25+6 face=28 MB ---Type to continue, or q to quit--- 125 2000: CHAR[r] pos=9542 blev=0,btyp=L w=16 a+d=25+6 face=28 MB 126 2016: CHAR[e] pos=9543 blev=0,btyp=L w=16 a+d=25+6 face=28 MB 127 2032: CHAR[s] pos=9544 blev=0,btyp=L w=16 a+d=25+6 face=28 MB 128 2048: CHAR[e] pos=9545 blev=0,btyp=L w=16 a+d=25+6 face=28 MB 129 2064: CHAR[n] pos=9546 blev=0,btyp=L w=16 a+d=25+6 face=28 MB 130 2080: CHAR[t] pos=9547 blev=0,btyp=L w=16 a+d=25+6 face=28 MB 131 2096: CHAR[e] pos=9548 blev=0,btyp=L w=16 a+d=25+6 face=28 MB 132 2112: CHAR[d] pos=9549 blev=0,btyp=L w=16 a+d=25+6 face=28 MB 133 2128: CHAR[ ] pos=0 blev=0,btyp=B w=16 a+d=25+6 face=28 MB Hmm. Is it normal for the text on that line to be shown twice here? The actual line is only 61 glyphs: will be raised when the hostname does not match the presented > > Eventually, if nothing else gives a clue, please continue running > Emacs under GDB, and if the crashes are always in > compute_line_metrics, show the offending glyph_row each time it > crashes. Perhaps the data will give some hint about what could be > wrong. (Currently, the only idea I have is that somehow > glyph_row->used[1] is set to a value larger than it should, which > might mean some problem in maybe_produce_line_number, where it > increments the used count, but I'd like first to see if all the > problems manifest themselves with such a large used count.) The crash is always in compute_line_metrics. I'll continue to run under gdb, and see if I can find a recipe. Regards Robert From debbugs-submit-bounces@debbugs.gnu.org Wed Jul 12 15:02:08 2017 Received: (at submit) by debbugs.gnu.org; 12 Jul 2017 19:02:08 +0000 Received: from localhost ([127.0.0.1]:35767 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dVMtk-0003lq-3j for submit@debbugs.gnu.org; Wed, 12 Jul 2017 15:02:08 -0400 Received: from eggs.gnu.org ([208.118.235.92]:37193) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dVMti-0003lN-02 for submit@debbugs.gnu.org; Wed, 12 Jul 2017 15:02:06 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dVMtb-0000rz-Td for submit@debbugs.gnu.org; Wed, 12 Jul 2017 15:02:00 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=0.8 required=5.0 tests=BAYES_50,RP_MATCHES_RCVD autolearn=disabled version=3.3.2 Received: from lists.gnu.org ([2001:4830:134:3::11]:59578) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1dVMtb-0000ru-Qv for submit@debbugs.gnu.org; Wed, 12 Jul 2017 15:01:59 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:56396) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dVMta-0005X6-KX for bug-gnu-emacs@gnu.org; Wed, 12 Jul 2017 15:01:59 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dVMtV-0000qS-Qf for bug-gnu-emacs@gnu.org; Wed, 12 Jul 2017 15:01:58 -0400 Received: from fencepost.gnu.org ([2001:4830:134:3::e]:56277) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dVMtV-0000qO-NJ for bug-gnu-emacs@gnu.org; Wed, 12 Jul 2017 15:01:53 -0400 Received: from 84.94.185.246.cable.012.net.il ([84.94.185.246]:3046 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1dVMtT-0007vb-05 for bug-gnu-emacs@gnu.org; Wed, 12 Jul 2017 15:01:53 -0400 Date: Wed, 12 Jul 2017 22:01:28 +0300 Message-Id: <834luhiinr.fsf@gnu.org> From: Eli Zaretskii To: bug-gnu-emacs@gnu.org In-reply-to: <871spl5x5h.fsf@gmail.com> (message from Robert Pluim on Wed, 12 Jul 2017 20:26:50 +0200) Subject: Re: bug#27668: 26.0.50; Crash with display-line-numbers t References: <87k23d7ovv.fsf@gmail.com> <83inixiv0m.fsf@gnu.org> <877ezd7luq.fsf@gmail.com> <83bmopitky.fsf@gnu.org> <87vamx65x0.fsf@gmail.com> <837ezdiq3z.fsf@gnu.org> <871spl5x5h.fsf@gmail.com> X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 2001:4830:134:3::11 X-Spam-Score: -5.0 (-----) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: Eli Zaretskii Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -5.0 (-----) > From: Robert Pluim > Date: Wed, 12 Jul 2017 20:26:50 +0200 > > 125 2000: CHAR[r] pos=9542 blev=0,btyp=L w=16 a+d=25+6 face=28 MB > 126 2016: CHAR[e] pos=9543 blev=0,btyp=L w=16 a+d=25+6 face=28 MB > 127 2032: CHAR[s] pos=9544 blev=0,btyp=L w=16 a+d=25+6 face=28 MB > 128 2048: CHAR[e] pos=9545 blev=0,btyp=L w=16 a+d=25+6 face=28 MB > 129 2064: CHAR[n] pos=9546 blev=0,btyp=L w=16 a+d=25+6 face=28 MB > 130 2080: CHAR[t] pos=9547 blev=0,btyp=L w=16 a+d=25+6 face=28 MB > 131 2096: CHAR[e] pos=9548 blev=0,btyp=L w=16 a+d=25+6 face=28 MB > 132 2112: CHAR[d] pos=9549 blev=0,btyp=L w=16 a+d=25+6 face=28 MB > 133 2128: CHAR[ ] pos=0 blev=0,btyp=B w=16 a+d=25+6 face=28 MB > > Hmm. Is it normal for the text on that line to be shown twice here? No, of course not. Everything beyond the first glyph whose pos is zero (that's the glyph that stands for the newline, it is there so we could put the cursor at EOL) shouldn't be there. > The crash is always in compute_line_metrics. I'll continue to run > under gdb, and see if I can find a recipe. If it's always in compute_line_metrics, then please see if the value of row->used[1] is always about twice the correct one. If it is, perhaps we will be able to come up with a breakpoint or watchpoint condition that will catch the code which is responsible. From debbugs-submit-bounces@debbugs.gnu.org Thu Jul 13 04:29:10 2017 Received: (at submit) by debbugs.gnu.org; 13 Jul 2017 08:29:10 +0000 Received: from localhost ([127.0.0.1]:36189 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dVZUj-0008A1-OD for submit@debbugs.gnu.org; Thu, 13 Jul 2017 04:29:09 -0400 Received: from eggs.gnu.org ([208.118.235.92]:38297) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dVZUh-00089n-RZ for submit@debbugs.gnu.org; Thu, 13 Jul 2017 04:29:08 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dVZUb-0004Ly-M5 for submit@debbugs.gnu.org; Thu, 13 Jul 2017 04:29:02 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=0.8 required=5.0 tests=BAYES_50,FREEMAIL_FROM autolearn=disabled version=3.3.2 Received: from lists.gnu.org ([2001:4830:134:3::11]:41876) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1dVZUb-0004Lp-Iw for submit@debbugs.gnu.org; Thu, 13 Jul 2017 04:29:01 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:57499) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dVZUa-0007Xz-AD for bug-gnu-emacs@gnu.org; Thu, 13 Jul 2017 04:29:01 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dVZUW-0004Jt-BI for bug-gnu-emacs@gnu.org; Thu, 13 Jul 2017 04:29:00 -0400 Received: from [195.159.176.226] (port=45733 helo=blaine.gmane.org) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1dVZUW-0004JP-3z for bug-gnu-emacs@gnu.org; Thu, 13 Jul 2017 04:28:56 -0400 Received: from list by blaine.gmane.org with local (Exim 4.84_2) (envelope-from ) id 1dVZUL-0003vI-FV for bug-gnu-emacs@gnu.org; Thu, 13 Jul 2017 10:28:45 +0200 X-Injected-Via-Gmane: http://gmane.org/ Mail-Followup-To: bug-gnu-emacs@gnu.org To: bug-gnu-emacs@gnu.org From: Robert Pluim Subject: Re: bug#27668: 26.0.50; Crash with display-line-numbers t Date: Thu, 13 Jul 2017 10:28:42 +0200 Organization: not if I can help it Lines: 36 Message-ID: <8760ewviyt.fsf@gmail.com> References: <87k23d7ovv.fsf@gmail.com> <83inixiv0m.fsf@gnu.org> <877ezd7luq.fsf@gmail.com> <83bmopitky.fsf@gnu.org> <87vamx65x0.fsf@gmail.com> <837ezdiq3z.fsf@gnu.org> <871spl5x5h.fsf@gmail.com> <834luhiinr.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain X-Complaints-To: usenet@blaine.gmane.org User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.0.50 (gnu/linux) Mail-Copies-To: never X-Debbugs-No-Ack: yes Cancel-Lock: sha1:mrfn6G+q+7Idmu9Fxy+JugrB9uA= X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy] X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 2001:4830:134:3::11 X-Spam-Score: -4.8 (----) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: bug-gnu-emacs@gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -4.8 (----) Eli Zaretskii writes: >> From: Robert Pluim >> Date: Wed, 12 Jul 2017 20:26:50 +0200 >> >> 125 2000: CHAR[r] pos=9542 blev=0,btyp=L w=16 a+d=25+6 face=28 MB >> 126 2016: CHAR[e] pos=9543 blev=0,btyp=L w=16 a+d=25+6 face=28 MB >> 127 2032: CHAR[s] pos=9544 blev=0,btyp=L w=16 a+d=25+6 face=28 MB >> 128 2048: CHAR[e] pos=9545 blev=0,btyp=L w=16 a+d=25+6 face=28 MB >> 129 2064: CHAR[n] pos=9546 blev=0,btyp=L w=16 a+d=25+6 face=28 MB >> 130 2080: CHAR[t] pos=9547 blev=0,btyp=L w=16 a+d=25+6 face=28 MB >> 131 2096: CHAR[e] pos=9548 blev=0,btyp=L w=16 a+d=25+6 face=28 MB >> 132 2112: CHAR[d] pos=9549 blev=0,btyp=L w=16 a+d=25+6 face=28 MB >> 133 2128: CHAR[ ] pos=0 blev=0,btyp=B w=16 a+d=25+6 face=28 MB >> >> Hmm. Is it normal for the text on that line to be shown twice here? > > No, of course not. Everything beyond the first glyph whose pos is > zero (that's the glyph that stands for the newline, it is there so we > could put the cursor at EOL) shouldn't be there. > >> The crash is always in compute_line_metrics. I'll continue to run >> under gdb, and see if I can find a recipe. > > If it's always in compute_line_metrics, then please see if the value > of row->used[1] is always about twice the correct one. If it is, > perhaps we will be able to come up with a breakpoint or watchpoint > condition that will catch the code which is responsible. It's always approximately twice the correct one. In the two cases I have so far it's 67:138 and 47:98. That's a ratio of n:(2n + 4) in both cases. Regards Robert From debbugs-submit-bounces@debbugs.gnu.org Thu Jul 13 12:24:37 2017 Received: (at submit) by debbugs.gnu.org; 13 Jul 2017 16:24:37 +0000 Received: from localhost ([127.0.0.1]:37268 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dVgur-0006Jk-6C for submit@debbugs.gnu.org; Thu, 13 Jul 2017 12:24:37 -0400 Received: from eggs.gnu.org ([208.118.235.92]:48384) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dVgup-0006JX-Cp for submit@debbugs.gnu.org; Thu, 13 Jul 2017 12:24:35 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dVguj-0008Tv-9j for submit@debbugs.gnu.org; Thu, 13 Jul 2017 12:24:30 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=0.8 required=5.0 tests=BAYES_50,RP_MATCHES_RCVD autolearn=disabled version=3.3.2 Received: from lists.gnu.org ([2001:4830:134:3::11]:45796) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1dVguj-0008Tq-6X for submit@debbugs.gnu.org; Thu, 13 Jul 2017 12:24:29 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:39355) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dVgui-0008Tw-0A for bug-gnu-emacs@gnu.org; Thu, 13 Jul 2017 12:24:29 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dVgud-0008SX-3W for bug-gnu-emacs@gnu.org; Thu, 13 Jul 2017 12:24:27 -0400 Received: from fencepost.gnu.org ([2001:4830:134:3::e]:42181) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dVguc-0008SR-W9 for bug-gnu-emacs@gnu.org; Thu, 13 Jul 2017 12:24:23 -0400 Received: from 84.94.185.246.cable.012.net.il ([84.94.185.246]:3493 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1dVgub-0007Ww-T7 for bug-gnu-emacs@gnu.org; Thu, 13 Jul 2017 12:24:22 -0400 Date: Thu, 13 Jul 2017 19:24:13 +0300 Message-Id: <83r2xkgv9u.fsf@gnu.org> From: Eli Zaretskii To: bug-gnu-emacs@gnu.org In-reply-to: <8760ewviyt.fsf@gmail.com> (message from Robert Pluim on Thu, 13 Jul 2017 10:28:42 +0200) Subject: Re: bug#27668: 26.0.50; Crash with display-line-numbers t References: <87k23d7ovv.fsf@gmail.com> <83inixiv0m.fsf@gnu.org> <877ezd7luq.fsf@gmail.com> <83bmopitky.fsf@gnu.org> <87vamx65x0.fsf@gmail.com> <837ezdiq3z.fsf@gnu.org> <871spl5x5h.fsf@gmail.com> <834luhiinr.fsf@gnu.org> <8760ewviyt.fsf@gmail.com> X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 2001:4830:134:3::11 X-Spam-Score: -5.0 (-----) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: Eli Zaretskii Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -5.0 (-----) > From: Robert Pluim > Date: Thu, 13 Jul 2017 10:28:42 +0200 > > > If it's always in compute_line_metrics, then please see if the value > > of row->used[1] is always about twice the correct one. If it is, > > perhaps we will be able to come up with a breakpoint or watchpoint > > condition that will catch the code which is responsible. > > It's always approximately twice the correct one. In the two cases I > have so far it's 67:138 and 47:98. That's a ratio of n:(2n + 4) in > both cases. It's nice that a clear pattern emerges, but I still cannot see how that could happen... I think next thing to try is to see where does the used[1] count becomes too large. I suggest to run Emacs under GDB with the following breakpoint on a line immediately after the call to PRODUCE_GLYPHS in display_line: (gdb) break xdisp.c:21374 if it->glyph_row->used[1] > 90 This assumes that you're windows are never wider than 90 columns; if that's not true, enlarge the number as needed to prevent the breakpoint from breaking in legitimate cases. When this breaks, please show the backtrace. Another idea is to set the following breakpoint inside maybe_produce_line_number: (gdb) break xdisp.c:21010 if it->glyph_row != 0 && it->glyph_row->used[1] > 0 Line 21010 is this: short *u = it->glyph_row ? &it->glyph_row->used[TEXT_AREA] : NULL; There's a hidden assumption in the code that maybe_produce_line_number is called when no glyphs were produced for the screen line yet. Maybe that assumption is wrong. Btw, what version of GCC do you use? Thanks. From debbugs-submit-bounces@debbugs.gnu.org Thu Jul 13 12:30:02 2017 Received: (at submit) by debbugs.gnu.org; 13 Jul 2017 16:30:02 +0000 Received: from localhost ([127.0.0.1]:37275 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dVh05-0006R4-Pg for submit@debbugs.gnu.org; Thu, 13 Jul 2017 12:30:01 -0400 Received: from eggs.gnu.org ([208.118.235.92]:50158) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dVh04-0006Qo-6v for submit@debbugs.gnu.org; Thu, 13 Jul 2017 12:30:00 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dVgzy-0002Rk-9p for submit@debbugs.gnu.org; Thu, 13 Jul 2017 12:29:55 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,RP_MATCHES_RCVD autolearn=disabled version=3.3.2 Received: from lists.gnu.org ([2001:4830:134:3::11]:39780) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1dVgzy-0002Rf-6f for submit@debbugs.gnu.org; Thu, 13 Jul 2017 12:29:54 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:41108) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dVgzx-0001Fw-3d for bug-gnu-emacs@gnu.org; Thu, 13 Jul 2017 12:29:54 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dVgzt-0002NP-32 for bug-gnu-emacs@gnu.org; Thu, 13 Jul 2017 12:29:53 -0400 Received: from fencepost.gnu.org ([2001:4830:134:3::e]:42294) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dVgzs-0002NH-UU for bug-gnu-emacs@gnu.org; Thu, 13 Jul 2017 12:29:48 -0400 Received: from 84.94.185.246.cable.012.net.il ([84.94.185.246]:3494 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1dVgzs-0004U2-DR for bug-gnu-emacs@gnu.org; Thu, 13 Jul 2017 12:29:48 -0400 Date: Thu, 13 Jul 2017 19:29:49 +0300 Message-Id: <83pod4gv0i.fsf@gnu.org> From: Eli Zaretskii To: bug-gnu-emacs@gnu.org In-reply-to: <8760ewviyt.fsf@gmail.com> (message from Robert Pluim on Thu, 13 Jul 2017 10:28:42 +0200) Subject: Re: bug#27668: 26.0.50; Crash with display-line-numbers t References: <87k23d7ovv.fsf@gmail.com> <83inixiv0m.fsf@gnu.org> <877ezd7luq.fsf@gmail.com> <83bmopitky.fsf@gnu.org> <87vamx65x0.fsf@gmail.com> <837ezdiq3z.fsf@gnu.org> <871spl5x5h.fsf@gmail.com> <834luhiinr.fsf@gnu.org> <8760ewviyt.fsf@gmail.com> X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 2001:4830:134:3::11 X-Spam-Score: -5.0 (-----) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: Eli Zaretskii Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -5.0 (-----) > From: Robert Pluim > Date: Thu, 13 Jul 2017 10:28:42 +0200 > > It's always approximately twice the correct one. In the two cases I > have so far it's 67:138 and 47:98. That's a ratio of n:(2n + 4) in > both cases. A few more questions about your Emacs use patterns: . do you use modes that put stuff in the display margins? if so, could it be that these crashes happen shortly after you switch away from a window with margins to one without margins, or delete a window with margins? . do you use truncate-lines or split windows with "C-x 3", and if so, do these crashes happen shortly after you use those features? . do you have any optional display-related features turned on in your sessions, like show-trailing-whitespace etc.? Thanks. From debbugs-submit-bounces@debbugs.gnu.org Thu Jul 13 12:33:43 2017 Received: (at submit) by debbugs.gnu.org; 13 Jul 2017 16:33:43 +0000 Received: from localhost ([127.0.0.1]:37284 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dVh3f-0006Y9-Jo for submit@debbugs.gnu.org; Thu, 13 Jul 2017 12:33:43 -0400 Received: from eggs.gnu.org ([208.118.235.92]:51643) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dVh3d-0006Xw-SK for submit@debbugs.gnu.org; Thu, 13 Jul 2017 12:33:42 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dVh3X-0004ca-Ol for submit@debbugs.gnu.org; Thu, 13 Jul 2017 12:33:36 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=0.8 required=5.0 tests=BAYES_50,FREEMAIL_FROM autolearn=disabled version=3.3.2 Received: from lists.gnu.org ([2001:4830:134:3::11]:59237) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1dVh3X-0004cQ-M7 for submit@debbugs.gnu.org; Thu, 13 Jul 2017 12:33:35 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:42580) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dVh3W-0003Ir-ET for bug-gnu-emacs@gnu.org; Thu, 13 Jul 2017 12:33:35 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dVh3Q-0004Xe-JD for bug-gnu-emacs@gnu.org; Thu, 13 Jul 2017 12:33:34 -0400 Received: from [195.159.176.226] (port=59647 helo=blaine.gmane.org) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1dVh3Q-0004Wb-Bv for bug-gnu-emacs@gnu.org; Thu, 13 Jul 2017 12:33:28 -0400 Received: from list by blaine.gmane.org with local (Exim 4.84_2) (envelope-from ) id 1dVh3F-0000OT-VQ for bug-gnu-emacs@gnu.org; Thu, 13 Jul 2017 18:33:17 +0200 X-Injected-Via-Gmane: http://gmane.org/ Mail-Followup-To: bug-gnu-emacs@gnu.org To: bug-gnu-emacs@gnu.org From: Robert Pluim Subject: Re: bug#27668: 26.0.50; Crash with display-line-numbers t Date: Thu, 13 Jul 2017 18:33:08 +0200 Organization: not if I can help it Lines: 71 Message-ID: <87fue047qz.fsf@gmail.com> References: <87k23d7ovv.fsf@gmail.com> <83inixiv0m.fsf@gnu.org> <877ezd7luq.fsf@gmail.com> <83bmopitky.fsf@gnu.org> <87vamx65x0.fsf@gmail.com> <837ezdiq3z.fsf@gnu.org> <871spl5x5h.fsf@gmail.com> <834luhiinr.fsf@gnu.org> <8760ewviyt.fsf@gmail.com> <83r2xkgv9u.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain Content-Transfer-Encoding: quoted-printable X-Complaints-To: usenet@blaine.gmane.org User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.0.50 (gnu/linux) Mail-Copies-To: never X-Debbugs-No-Ack: yes Cancel-Lock: sha1:AuL9Q8TG2qSMTk4AnHtHDvWrCP4= X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy] X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 2001:4830:134:3::11 X-Spam-Score: -4.8 (----) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: bug-gnu-emacs@gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -4.8 (----) Eli Zaretskii writes: >> From: Robert Pluim >> Date: Thu, 13 Jul 2017 10:28:42 +0200 >> It's always approximately twice the correct one. In the two cases I >> have so far it's 67:138 and 47:98. That's a ratio of n:(2n + 4) in >> both cases. > > It's nice that a clear pattern emerges, but I still cannot see how > that could happen... > > I think next thing to try is to see where does the used[1] count > becomes too large. I suggest to run Emacs under GDB with the > following breakpoint on a line immediately after the call to > PRODUCE_GLYPHS in display_line: > > (gdb) break xdisp.c:21374 if it->glyph_row->used[1] > 90 > OK, I can try that. > This assumes that you're windows are never wider than 90 columns; if > that's not true, enlarge the number as needed to prevent the > breakpoint from breaking in legitimate cases. When this breaks, > please show the backtrace. > > Another idea is to set the following breakpoint inside > maybe_produce_line_number: > > (gdb) break xdisp.c:21010 if it->glyph_row !=3D 0 && it->glyph_row->use= d[1] > 0 > > Line 21010 is this: > > short *u =3D it->glyph_row ? &it->glyph_row->used[TEXT_AREA] : NULL; > > There's a hidden assumption in the code that maybe_produce_line_number > is called when no glyphs were produced for the screen line yet. Maybe > that assumption is wrong. > I'll try that if method 1 doesn't get me anywhere. > Btw, what version of GCC do you use? It's the standard system gcc for Ubuntu 16.04: $ gcc -v Using built-in specs. COLLECT_GCC=3Dgcc COLLECT_LTO_WRAPPER=3D/usr/lib/gcc/x86_64-linux-gnu/5/lto-wrapper Target: x86_64-linux-gnu Configured with: ../src/configure -v --with-pkgversion=3D'Ubuntu 5.4.0-6ubu= ntu1~16.04.4' --with-bugurl=3Dfile:///usr/share/doc/gcc-5/README.Bugs --ena= ble-languages=3Dc,ada,c++,java,go,d,fortran,objc,obj-c++ --prefix=3D/usr --= program-suffix=3D-5 --enable-shared --enable-linker-build-id --libexecdir= =3D/usr/lib --without-included-gettext --enable-threads=3Dposix --libdir=3D= /usr/lib --enable-nls --with-sysroot=3D/ --enable-clocale=3Dgnu --enable-li= bstdcxx-debug --enable-libstdcxx-time=3Dyes --with-default-libstdcxx-abi=3D= new --enable-gnu-unique-object --disable-vtable-verify --enable-libmpx --en= able-plugin --with-system-zlib --disable-browser-plugin --enable-java-awt= =3Dgtk --enable-gtk-cairo --with-java-home=3D/usr/lib/jvm/java-1.5.0-gcj-5-= amd64/jre --enable-java-home --with-jvm-root-dir=3D/usr/lib/jvm/java-1.5.0-= gcj-5-amd64 --with-jvm-jar-dir=3D/usr/lib/jvm-exports/java-1.5.0-gcj-5-amd6= 4 --with-arch-directory=3Damd64 --with-ecj-jar=3D/usr/share/java/eclipse-ec= j.jar --enable-objc-gc --enable-multiarch --disable-werror --with-arch-32= =3Di686 --with-abi=3Dm64 --with-multilib-list=3Dm32,m64,mx32 --enable-multi= lib --with-tune=3Dgeneric --enable-checking=3Drelease --build=3Dx86_64-linu= x-gnu --host=3Dx86_64-linux-gnu --target=3Dx86_64-linux-gnu Thread model: posix gcc version 5.4.0 20160609 (Ubuntu 5.4.0-6ubuntu1~16.04.4)=20 From debbugs-submit-bounces@debbugs.gnu.org Thu Jul 13 12:43:10 2017 Received: (at submit) by debbugs.gnu.org; 13 Jul 2017 16:43:11 +0000 Received: from localhost ([127.0.0.1]:37290 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dVhCo-0006kv-Iz for submit@debbugs.gnu.org; Thu, 13 Jul 2017 12:43:10 -0400 Received: from eggs.gnu.org ([208.118.235.92]:55275) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dVhCn-0006ki-3y for submit@debbugs.gnu.org; Thu, 13 Jul 2017 12:43:09 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dVhCg-00051G-QX for submit@debbugs.gnu.org; Thu, 13 Jul 2017 12:43:03 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,FREEMAIL_FROM autolearn=disabled version=3.3.2 Received: from lists.gnu.org ([2001:4830:134:3::11]:52148) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1dVhCg-000511-Mk for submit@debbugs.gnu.org; Thu, 13 Jul 2017 12:43:02 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:46230) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dVhCf-0004Iw-EQ for bug-gnu-emacs@gnu.org; Thu, 13 Jul 2017 12:43:02 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dVhCc-0004yh-7l for bug-gnu-emacs@gnu.org; Thu, 13 Jul 2017 12:43:01 -0400 Received: from [195.159.176.226] (port=51268 helo=blaine.gmane.org) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1dVhCc-0004yN-0l for bug-gnu-emacs@gnu.org; Thu, 13 Jul 2017 12:42:58 -0400 Received: from list by blaine.gmane.org with local (Exim 4.84_2) (envelope-from ) id 1dVhCU-0003Hr-HB for bug-gnu-emacs@gnu.org; Thu, 13 Jul 2017 18:42:50 +0200 X-Injected-Via-Gmane: http://gmane.org/ Mail-Followup-To: bug-gnu-emacs@gnu.org To: bug-gnu-emacs@gnu.org From: Robert Pluim Subject: Re: bug#27668: 26.0.50; Crash with display-line-numbers t Date: Thu, 13 Jul 2017 18:42:49 +0200 Organization: not if I can help it Lines: 52 Message-ID: <87r2xkl246.fsf@gmail.com> References: <87k23d7ovv.fsf@gmail.com> <83inixiv0m.fsf@gnu.org> <877ezd7luq.fsf@gmail.com> <83bmopitky.fsf@gnu.org> <87vamx65x0.fsf@gmail.com> <837ezdiq3z.fsf@gnu.org> <871spl5x5h.fsf@gmail.com> <834luhiinr.fsf@gnu.org> <8760ewviyt.fsf@gmail.com> <83pod4gv0i.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain X-Complaints-To: usenet@blaine.gmane.org User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.0.50 (gnu/linux) Mail-Copies-To: never X-Debbugs-No-Ack: yes Cancel-Lock: sha1:NsTfAn2hNcpM5ARnQB1SRtLIAl4= X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy] X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 2001:4830:134:3::11 X-Spam-Score: -4.8 (----) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: bug-gnu-emacs@gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -4.8 (----) Eli Zaretskii writes: >> From: Robert Pluim >> Date: Thu, 13 Jul 2017 10:28:42 +0200 >> >> It's always approximately twice the correct one. In the two cases I >> have so far it's 67:138 and 47:98. That's a ratio of n:(2n + 4) in >> both cases. > > A few more questions about your Emacs use patterns: > > . do you use modes that put stuff in the display margins? if so, > could it be that these crashes happen shortly after you switch > away from a window with margins to one without margins, or delete > a window with margins? Apart from display-line-numbers, I don't think so. Of course I don't have that switched on in all my buffers. > . do you use truncate-lines or split windows with "C-x 3", and if > so, do these crashes happen shortly after you use those > features? I do use C-x 3, but that doesn't seem correlated. > . do you have any optional display-related features turned on in > your sessions, like show-trailing-whitespace etc.? In buffers with line-numbers I tend to have whitespace-mode enabled, but I don't use show-trailing-whitespace directly. However, your second gdb suggestion just got me: (gdb) break xdisp.c:21010 if it->glyph_row != 0 && it->glyph_row->used[1] > 0 Breakpoint 4 at 0x45baaf: file xdisp.c, line 21010. (gdb) run Starting program: /home/rpluim/repos/emacs-master/src/emacs [Thread debugging using libthread_db enabled] Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1". [New Thread 0x7fffe4de5700 (LWP 19567)] [New Thread 0x7fffdffff700 (LWP 19568)] [New Thread 0x7fffdf5f1700 (LWP 19569)] Thread 1 "emacs" hit Breakpoint 4, maybe_produce_line_number (it=it@entry=0x7fffffff8130) at xdisp.c:21010 21010 short *u = it->glyph_row ? &it->glyph_row->used[TEXT_AREA] : NULL; I was in the process of switching from a non-line-number to a line-number buffer when that hit. Regards Robert From debbugs-submit-bounces@debbugs.gnu.org Thu Jul 13 13:57:12 2017 Received: (at submit) by debbugs.gnu.org; 13 Jul 2017 17:57:12 +0000 Received: from localhost ([127.0.0.1]:37323 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dViMS-00006F-6r for submit@debbugs.gnu.org; Thu, 13 Jul 2017 13:57:12 -0400 Received: from eggs.gnu.org ([208.118.235.92]:49071) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dViMR-000063-54 for submit@debbugs.gnu.org; Thu, 13 Jul 2017 13:57:11 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dViML-0002yf-7r for submit@debbugs.gnu.org; Thu, 13 Jul 2017 13:57:05 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,RP_MATCHES_RCVD autolearn=disabled version=3.3.2 Received: from lists.gnu.org ([2001:4830:134:3::11]:51142) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1dViML-0002yI-4Q for submit@debbugs.gnu.org; Thu, 13 Jul 2017 13:57:05 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:40037) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dViMJ-0000ZB-W9 for bug-gnu-emacs@gnu.org; Thu, 13 Jul 2017 13:57:04 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dViMG-0002sz-WB for bug-gnu-emacs@gnu.org; Thu, 13 Jul 2017 13:57:04 -0400 Received: from fencepost.gnu.org ([2001:4830:134:3::e]:43579) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dViMG-0002sg-Sr for bug-gnu-emacs@gnu.org; Thu, 13 Jul 2017 13:57:00 -0400 Received: from 84.94.185.246.cable.012.net.il ([84.94.185.246]:3569 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1dViME-00029I-GQ for bug-gnu-emacs@gnu.org; Thu, 13 Jul 2017 13:57:00 -0400 Date: Thu, 13 Jul 2017 20:56:49 +0300 Message-Id: <83mv88gqzi.fsf@gnu.org> From: Eli Zaretskii To: bug-gnu-emacs@gnu.org In-reply-to: <87r2xkl246.fsf@gmail.com> (message from Robert Pluim on Thu, 13 Jul 2017 18:42:49 +0200) Subject: Re: bug#27668: 26.0.50; Crash with display-line-numbers t References: <87k23d7ovv.fsf@gmail.com> <83inixiv0m.fsf@gnu.org> <877ezd7luq.fsf@gmail.com> <83bmopitky.fsf@gnu.org> <87vamx65x0.fsf@gmail.com> <837ezdiq3z.fsf@gnu.org> <871spl5x5h.fsf@gmail.com> <834luhiinr.fsf@gnu.org> <8760ewviyt.fsf@gmail.com> <83pod4gv0i.fsf@gnu.org> <87r2xkl246.fsf@gmail.com> X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 2001:4830:134:3::11 X-Spam-Score: -5.0 (-----) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: Eli Zaretskii Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -5.0 (-----) > From: Robert Pluim > Date: Thu, 13 Jul 2017 18:42:49 +0200 > > (gdb) break xdisp.c:21010 if it->glyph_row != 0 && it->glyph_row->used[1] > 0 > Breakpoint 4 at 0x45baaf: file xdisp.c, line 21010. > (gdb) run > Starting program: /home/rpluim/repos/emacs-master/src/emacs > [Thread debugging using libthread_db enabled] > Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1". > [New Thread 0x7fffe4de5700 (LWP 19567)] > [New Thread 0x7fffdffff700 (LWP 19568)] > [New Thread 0x7fffdf5f1700 (LWP 19569)] > > Thread 1 "emacs" hit Breakpoint 4, maybe_produce_line_number (it=it@entry=0x7fffffff8130) at xdisp.c:21010 > 21010 short *u = it->glyph_row ? &it->glyph_row->used[TEXT_AREA] : NULL; > > > I was in the process of switching from a non-line-number to a > line-number buffer when that hit. OK, thanks. What is the value of it->glyph_row->used[TEXT_AREA], and what is the backtrace? From debbugs-submit-bounces@debbugs.gnu.org Thu Jul 13 14:18:20 2017 Received: (at submit) by debbugs.gnu.org; 13 Jul 2017 18:18:20 +0000 Received: from localhost ([127.0.0.1]:37338 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dVigu-0000cA-8U for submit@debbugs.gnu.org; Thu, 13 Jul 2017 14:18:20 -0400 Received: from eggs.gnu.org ([208.118.235.92]:54868) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dVigt-0000bx-2l for submit@debbugs.gnu.org; Thu, 13 Jul 2017 14:18:19 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dVigm-0002NZ-Lp for submit@debbugs.gnu.org; Thu, 13 Jul 2017 14:18:13 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=0.0 required=5.0 tests=BAYES_20,FREEMAIL_FROM autolearn=disabled version=3.3.2 Received: from lists.gnu.org ([2001:4830:134:3::11]:41343) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1dVigm-0002NQ-IH for submit@debbugs.gnu.org; Thu, 13 Jul 2017 14:18:12 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:45823) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dVigl-0001bF-9m for bug-gnu-emacs@gnu.org; Thu, 13 Jul 2017 14:18:12 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dVigg-0002JW-GN for bug-gnu-emacs@gnu.org; Thu, 13 Jul 2017 14:18:11 -0400 Received: from [195.159.176.226] (port=54850 helo=blaine.gmane.org) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1dVigg-0002Iw-9W for bug-gnu-emacs@gnu.org; Thu, 13 Jul 2017 14:18:06 -0400 Received: from list by blaine.gmane.org with local (Exim 4.84_2) (envelope-from ) id 1dVigT-0007Zp-9M for bug-gnu-emacs@gnu.org; Thu, 13 Jul 2017 20:17:53 +0200 X-Injected-Via-Gmane: http://gmane.org/ Mail-Followup-To: bug-gnu-emacs@gnu.org To: bug-gnu-emacs@gnu.org From: Robert Pluim Subject: Re: bug#27668: 26.0.50; Crash with display-line-numbers t Date: Thu, 13 Jul 2017 20:17:51 +0200 Organization: not if I can help it Lines: 55 Message-ID: <87mv88kxps.fsf@gmail.com> References: <87k23d7ovv.fsf@gmail.com> <83inixiv0m.fsf@gnu.org> <877ezd7luq.fsf@gmail.com> <83bmopitky.fsf@gnu.org> <87vamx65x0.fsf@gmail.com> <837ezdiq3z.fsf@gnu.org> <871spl5x5h.fsf@gmail.com> <834luhiinr.fsf@gnu.org> <8760ewviyt.fsf@gmail.com> <83pod4gv0i.fsf@gnu.org> <87r2xkl246.fsf@gmail.com> <83mv88gqzi.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain X-Complaints-To: usenet@blaine.gmane.org User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.0.50 (gnu/linux) Mail-Copies-To: never X-Debbugs-No-Ack: yes Cancel-Lock: sha1:77fBX3fC09DzsSEaem03H2xCx/c= X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy] X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 2001:4830:134:3::11 X-Spam-Score: -4.8 (----) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: bug-gnu-emacs@gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -4.8 (----) Eli Zaretskii writes: >> From: Robert Pluim >> Date: Thu, 13 Jul 2017 18:42:49 +0200 >> >> (gdb) break xdisp.c:21010 if it->glyph_row != 0 && it->glyph_row->used[1] > 0 >> Breakpoint 4 at 0x45baaf: file xdisp.c, line 21010. >> (gdb) run >> Starting program: /home/rpluim/repos/emacs-master/src/emacs >> [Thread debugging using libthread_db enabled] >> Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1". >> [New Thread 0x7fffe4de5700 (LWP 19567)] >> [New Thread 0x7fffdffff700 (LWP 19568)] >> [New Thread 0x7fffdf5f1700 (LWP 19569)] >> >> Thread 1 "emacs" hit Breakpoint 4, maybe_produce_line_number (it=it@entry=0x7fffffff8130) at xdisp.c:21010 >> 21010 short *u = it->glyph_row ? &it->glyph_row->used[TEXT_AREA] : NULL; >> >> >> I was in the process of switching from a non-line-number to a >> line-number buffer when that hit. > > OK, thanks. What is the value of it->glyph_row->used[TEXT_AREA], and > what is the backtrace? (gdb) p it->glyph_row->used[TEXT_AREA] $1 = 66 (gdb) bt #0 terminate_due_to_signal (sig=sig@entry=6, backtrace_limit=backtrace_limit@entry=2147483647) at emacs.c:363 #1 0x00000000005a5084 in die (msg=msg@entry=0x6987d8 "pdl->kind == SPECPDL_BACKTRACE", file=file@entry=0x698448 "eval.c", line=line@entry=150) at alloc.c:7348 #2 0x0000000000419f3b in backtrace_function (pdl=) at eval.c:150 #3 #4 maybe_produce_line_number (it=it@entry=0x7fffffff8130) at xdisp.c:21010 #5 0x0000000000465365 in display_line (it=it@entry=0x7fffffff8130, cursor_vpos=cursor_vpos@entry=16) at xdisp.c:21225 #6 0x00000000004672bd in try_window (window=..., window@entry=XIL(0x146d7d5), pos=..., flags=flags@entry=1) at xdisp.c:17544 #7 0x000000000047f9ab in redisplay_window (window=XIL(0x146d7d5), just_this_one_p=just_this_one_p@entry=false) at xdisp.c:16991 #8 0x00000000004831fb in redisplay_window_0 (window=..., window@entry=XIL(0x146d7d5)) at xdisp.c:14751 #9 0x00000000005c7cf4 in internal_condition_case_1 (bfun=bfun@entry=0x4831d0 , arg=..., handlers=..., hfun=hfun@entry=0x435960 ) at eval.c:1350 #10 0x000000000043d160 in redisplay_windows (window=...) at xdisp.c:14731 #11 0x000000000043d129 in redisplay_windows (window=...) at xdisp.c:14725 #12 0x000000000046c945 in redisplay_internal () at xdisp.c:14220 #13 0x000000000046eed5 in redisplay () at xdisp.c:13440 #14 0x0000000000545cfb in read_char (commandflag=commandflag@entry=1, map=..., map@entry=XIL(0x35b6253), prev_event=..., used_mouse_menu=used_mouse_menu@entry=0x7fffffffd6cb, end_time=end_time@entry=0x0) at keyboard.c:2484 #15 0x0000000000548ddb in read_key_sequence (keybuf=keybuf@entry=0x7fffffffd7b0, prompt=..., prompt@entry=XIL(0), dont_downcase_last=dont_downcase_last@entry=false, can_return_switch_frame=can_return_switch_frame@entry=true, fix_current_buffer=fix_current_buffer@entry=true, prevent_redisplay=prevent_redisplay@entry=false, bufsize=30) at keyboard.c:9151 #16 0x000000000054b096 in command_loop_1 () at keyboard.c:1372 #17 0x00000000005c7c27 in internal_condition_case (bfun=bfun@entry=0x54adf0 , handlers=..., handlers@entry=XIL(0x4fb0), hfun=hfun@entry=0x53e770 ) at eval.c:1326 #18 0x00000000005380dc in command_loop_2 (ignore=..., ignore@entry=XIL(0)) at keyboard.c:1114 #19 0x00000000005c7b6c in internal_catch (tag=..., tag@entry=XIL(0xc1e0), func=func@entry=0x5380c0 , arg=..., arg@entry=XIL(0)) at eval.c:1091 #20 0x0000000000538099 in command_loop () at keyboard.c:1093 #21 0x000000000053e296 in recursive_edit_1 () at keyboard.c:699 #22 0x000000000053e613 in Frecursive_edit () at keyboard.c:770 #23 0x000000000041ad4b in main (argc=, argv=0x7fffffffdb58) at emacs.c:1706 From debbugs-submit-bounces@debbugs.gnu.org Thu Jul 13 15:23:11 2017 Received: (at submit) by debbugs.gnu.org; 13 Jul 2017 19:23:11 +0000 Received: from localhost ([127.0.0.1]:37366 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dVjhf-000286-CA for submit@debbugs.gnu.org; Thu, 13 Jul 2017 15:23:11 -0400 Received: from eggs.gnu.org ([208.118.235.92]:47935) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dVjhd-00027t-QW for submit@debbugs.gnu.org; Thu, 13 Jul 2017 15:23:10 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dVjhX-00063C-Rh for submit@debbugs.gnu.org; Thu, 13 Jul 2017 15:23:04 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,RP_MATCHES_RCVD autolearn=disabled version=3.3.2 Received: from lists.gnu.org ([2001:4830:134:3::11]:46436) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1dVjhX-000631-Nw for submit@debbugs.gnu.org; Thu, 13 Jul 2017 15:23:03 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:38888) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dVjhW-0007sR-HN for bug-gnu-emacs@gnu.org; Thu, 13 Jul 2017 15:23:03 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dVjhS-00060O-Gy for bug-gnu-emacs@gnu.org; Thu, 13 Jul 2017 15:23:02 -0400 Received: from fencepost.gnu.org ([2001:4830:134:3::e]:44770) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dVjhS-00060K-Da for bug-gnu-emacs@gnu.org; Thu, 13 Jul 2017 15:22:58 -0400 Received: from 84.94.185.246.cable.012.net.il ([84.94.185.246]:3690 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1dVjhQ-0000yT-Nt for bug-gnu-emacs@gnu.org; Thu, 13 Jul 2017 15:22:58 -0400 Date: Thu, 13 Jul 2017 22:22:49 +0300 Message-Id: <83eftkgn06.fsf@gnu.org> From: Eli Zaretskii To: bug-gnu-emacs@gnu.org In-reply-to: <87mv88kxps.fsf@gmail.com> (message from Robert Pluim on Thu, 13 Jul 2017 20:17:51 +0200) Subject: Re: bug#27668: 26.0.50; Crash with display-line-numbers t References: <87k23d7ovv.fsf@gmail.com> <83inixiv0m.fsf@gnu.org> <877ezd7luq.fsf@gmail.com> <83bmopitky.fsf@gnu.org> <87vamx65x0.fsf@gmail.com> <837ezdiq3z.fsf@gnu.org> <871spl5x5h.fsf@gmail.com> <834luhiinr.fsf@gnu.org> <8760ewviyt.fsf@gmail.com> <83pod4gv0i.fsf@gnu.org> <87r2xkl246.fsf@gmail.com> <83mv88gqzi.fsf@gnu.org> <87mv88kxps.fsf@gmail.com> X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 2001:4830:134:3::11 X-Spam-Score: -5.0 (-----) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: Eli Zaretskii Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -5.0 (-----) > From: Robert Pluim > Date: Thu, 13 Jul 2017 20:17:51 +0200 > > (gdb) p it->glyph_row->used[TEXT_AREA] > $1 = 66 > > (gdb) bt > #0 terminate_due_to_signal (sig=sig@entry=6, backtrace_limit=backtrace_limit@entry=2147483647) at emacs.c:363 > #1 0x00000000005a5084 in die (msg=msg@entry=0x6987d8 "pdl->kind == SPECPDL_BACKTRACE", file=file@entry=0x698448 "eval.c", line=line@entry=150) at alloc.c:7348 > #2 0x0000000000419f3b in backtrace_function (pdl=) at eval.c:150 > #3 > #4 maybe_produce_line_number (it=it@entry=0x7fffffff8130) at xdisp.c:21010 > #5 0x0000000000465365 in display_line (it=it@entry=0x7fffffff8130, cursor_vpos=cursor_vpos@entry=16) at xdisp.c:21225 > #6 0x00000000004672bd in try_window (window=..., window@entry=XIL(0x146d7d5), pos=..., flags=flags@entry=1) at xdisp.c:17544 > #7 0x000000000047f9ab in redisplay_window (window=XIL(0x146d7d5), just_this_one_p=just_this_one_p@entry=false) at xdisp.c:16991 > #8 0x00000000004831fb in redisplay_window_0 (window=..., window@entry=XIL(0x146d7d5)) at xdisp.c:14751 Curiouser and curiouser... OK, in frame #5, the one in display_line, what do these produce: (gdb) p it->current (gdb) pgrowx it->glyph_row From debbugs-submit-bounces@debbugs.gnu.org Thu Jul 13 15:36:15 2017 Received: (at submit) by debbugs.gnu.org; 13 Jul 2017 19:36:15 +0000 Received: from localhost ([127.0.0.1]:37378 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dVjuI-0002S6-Vr for submit@debbugs.gnu.org; Thu, 13 Jul 2017 15:36:15 -0400 Received: from eggs.gnu.org ([208.118.235.92]:51489) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dVjuH-0002Rt-D2 for submit@debbugs.gnu.org; Thu, 13 Jul 2017 15:36:13 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dVjuA-0005w8-N8 for submit@debbugs.gnu.org; Thu, 13 Jul 2017 15:36:08 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=0.8 required=5.0 tests=BAYES_50,FREEMAIL_FROM autolearn=disabled version=3.3.2 Received: from lists.gnu.org ([2001:4830:134:3::11]:38281) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1dVjuA-0005vy-JR for submit@debbugs.gnu.org; Thu, 13 Jul 2017 15:36:06 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:42437) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dVju8-0003wa-Lu for bug-gnu-emacs@gnu.org; Thu, 13 Jul 2017 15:36:06 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dVju5-0005s8-HT for bug-gnu-emacs@gnu.org; Thu, 13 Jul 2017 15:36:04 -0400 Received: from [195.159.176.226] (port=50029 helo=blaine.gmane.org) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1dVju5-0005q9-9l for bug-gnu-emacs@gnu.org; Thu, 13 Jul 2017 15:36:01 -0400 Received: from list by blaine.gmane.org with local (Exim 4.84_2) (envelope-from ) id 1dVjts-0003Ct-5X for bug-gnu-emacs@gnu.org; Thu, 13 Jul 2017 21:35:48 +0200 X-Injected-Via-Gmane: http://gmane.org/ Mail-Followup-To: bug-gnu-emacs@gnu.org To: bug-gnu-emacs@gnu.org From: Robert Pluim Subject: Re: bug#27668: 26.0.50; Crash with display-line-numbers t Date: Thu, 13 Jul 2017 21:35:45 +0200 Organization: not if I can help it Lines: 111 Message-ID: <87iniwku3y.fsf@gmail.com> References: <87k23d7ovv.fsf@gmail.com> <83inixiv0m.fsf@gnu.org> <877ezd7luq.fsf@gmail.com> <83bmopitky.fsf@gnu.org> <87vamx65x0.fsf@gmail.com> <837ezdiq3z.fsf@gnu.org> <871spl5x5h.fsf@gmail.com> <834luhiinr.fsf@gnu.org> <8760ewviyt.fsf@gmail.com> <83pod4gv0i.fsf@gnu.org> <87r2xkl246.fsf@gmail.com> <83mv88gqzi.fsf@gnu.org> <87mv88kxps.fsf@gmail.com> <83eftkgn06.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain X-Complaints-To: usenet@blaine.gmane.org User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.0.50 (gnu/linux) Mail-Copies-To: never X-Debbugs-No-Ack: yes Cancel-Lock: sha1:l/+BZs0e/4v6HgeF1fuD3O6A/Ro= X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy] X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 2001:4830:134:3::11 X-Spam-Score: -4.8 (----) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: bug-gnu-emacs@gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -4.8 (----) Eli Zaretskii writes: >> From: Robert Pluim >> Date: Thu, 13 Jul 2017 20:17:51 +0200 >> >> (gdb) p it->glyph_row->used[TEXT_AREA] >> $1 = 66 >> >> (gdb) bt >> #0 terminate_due_to_signal (sig=sig@entry=6, backtrace_limit=backtrace_limit@entry=2147483647) at emacs.c:363 >> #1 0x00000000005a5084 in die (msg=msg@entry=0x6987d8 "pdl->kind == SPECPDL_BACKTRACE", file=file@entry=0x698448 "eval.c", line=line@entry=150) at alloc.c:7348 >> #2 0x0000000000419f3b in backtrace_function (pdl=) at eval.c:150 >> #3 >> #4 maybe_produce_line_number (it=it@entry=0x7fffffff8130) at xdisp.c:21010 >> #5 0x0000000000465365 in display_line (it=it@entry=0x7fffffff8130, cursor_vpos=cursor_vpos@entry=16) at xdisp.c:21225 >> #6 0x00000000004672bd in try_window (window=..., window@entry=XIL(0x146d7d5), pos=..., flags=flags@entry=1) at xdisp.c:17544 >> #7 0x000000000047f9ab in redisplay_window (window=XIL(0x146d7d5), just_this_one_p=just_this_one_p@entry=false) at xdisp.c:16991 >> #8 0x00000000004831fb in redisplay_window_0 (window=..., window@entry=XIL(0x146d7d5)) at xdisp.c:14751 > > Curiouser and curiouser... > > OK, in frame #5, the one in display_line, what do these produce: > > (gdb) p it->current > (gdb) pgrowx it->glyph_row (gdb) p it->current $2 = { pos = { charpos = 37180, bytepos = 37180 }, overlay_string_index = -1, string_pos = { charpos = -1, bytepos = -1 }, dpvec_index = -1 } (gdb) pgrowx it->glyph_row TEXT: 66 glyphs 0 0: CHAR[ ] pos=-1 blev=2,btyp=EN w=16 a+d=25+6 face=51 MB AVOID 1 16: CHAR[1] pos=-1 blev=2,btyp=EN w=16 a+d=25+6 face=51 MB AVOID 2 32: CHAR[2] pos=-1 blev=2,btyp=EN w=16 a+d=25+6 face=51 MB AVOID 3 48: CHAR[6] pos=-1 blev=2,btyp=EN w=16 a+d=25+6 face=51 MB AVOID 4 64: CHAR[1] pos=-1 blev=2,btyp=EN w=16 a+d=25+6 face=51 MB AVOID 5 80: CHAR[ ] pos=-1 blev=2,btyp=EN w=16 a+d=25+6 face=51 MB AVOID 6 96: CHAR[ ] pos=37180 blev=0,btyp=L w=16 a+d=25+6 MB 7 112: CHAR[ ] pos=37181 blev=0,btyp=L w=16 a+d=25+6 MB 8 128: CHAR[ ] pos=37182 blev=0,btyp=L w=16 a+d=25+6 MB 9 144: CHAR[ ] pos=37183 blev=0,btyp=L w=16 a+d=25+6 MB 10 160: CHAR[ ] pos=37184 blev=0,btyp=L w=16 a+d=25+6 MB 11 176: CHAR[ ] pos=37185 blev=0,btyp=L w=16 a+d=25+6 MB 12 192: CHAR[/] pos=37186 blev=0,btyp=L w=16 a+d=25+6 face=50 MB 13 208: CHAR[*] pos=37187 blev=0,btyp=L w=16 a+d=25+6 face=50 MB 14 224: CHAR[ ] pos=37188 blev=0,btyp=L w=16 a+d=25+6 face=50 MB 15 240: CHAR[A] pos=37189 blev=0,btyp=L w=16 a+d=25+6 face=50 MB 16 256: CHAR[d] pos=37190 blev=0,btyp=L w=16 a+d=25+6 face=50 MB 17 272: CHAR[j] pos=37191 blev=0,btyp=L w=16 a+d=25+6 face=50 MB 18 288: CHAR[u] pos=37192 blev=0,btyp=L w=16 a+d=25+6 face=50 MB 19 304: CHAR[s] pos=37193 blev=0,btyp=L w=16 a+d=25+6 face=50 MB 20 320: CHAR[t] pos=37194 blev=0,btyp=L w=16 a+d=25+6 face=50 MB 21 336: CHAR[ ] pos=37195 blev=0,btyp=L w=16 a+d=25+6 face=50 MB 22 352: CHAR[c] pos=37196 blev=0,btyp=L w=16 a+d=25+6 face=50 MB 23 368: CHAR[o] pos=37197 blev=0,btyp=L w=16 a+d=25+6 face=50 MB 24 384: CHAR[o] pos=37198 blev=0,btyp=L w=16 a+d=25+6 face=50 MB 25 400: CHAR[r] pos=37199 blev=0,btyp=L w=16 a+d=25+6 face=50 MB 26 416: CHAR[d] pos=37200 blev=0,btyp=L w=16 a+d=25+6 face=50 MB 27 432: CHAR[i] pos=37201 blev=0,btyp=L w=16 a+d=25+6 face=50 MB 28 448: CHAR[n] pos=37202 blev=0,btyp=L w=16 a+d=25+6 face=50 MB ---Type to continue, or q to quit--- 29 464: CHAR[a] pos=37203 blev=0,btyp=L w=16 a+d=25+6 face=50 MB 30 480: CHAR[t] pos=37204 blev=0,btyp=L w=16 a+d=25+6 face=50 MB 31 496: CHAR[e] pos=37205 blev=0,btyp=L w=16 a+d=25+6 face=50 MB 32 512: CHAR[s] pos=37206 blev=0,btyp=L w=16 a+d=25+6 face=50 MB 33 528: CHAR[ ] pos=37207 blev=0,btyp=L w=16 a+d=25+6 face=50 MB 34 544: CHAR[t] pos=37208 blev=0,btyp=L w=16 a+d=25+6 face=50 MB 35 560: CHAR[o] pos=37209 blev=0,btyp=L w=16 a+d=25+6 face=50 MB 36 576: CHAR[ ] pos=37210 blev=0,btyp=L w=16 a+d=25+6 face=50 MB 37 592: CHAR[b] pos=37211 blev=0,btyp=L w=16 a+d=25+6 face=50 MB 38 608: CHAR[e] pos=37212 blev=0,btyp=L w=16 a+d=25+6 face=50 MB 39 624: CHAR[ ] pos=37213 blev=0,btyp=L w=16 a+d=25+6 face=50 MB 40 640: CHAR[r] pos=37214 blev=0,btyp=L w=16 a+d=25+6 face=50 MB 41 656: CHAR[o] pos=37215 blev=0,btyp=L w=16 a+d=25+6 face=50 MB 42 672: CHAR[o] pos=37216 blev=0,btyp=L w=16 a+d=25+6 face=50 MB 43 688: CHAR[t] pos=37217 blev=0,btyp=L w=16 a+d=25+6 face=50 MB 44 704: CHAR[-] pos=37218 blev=0,btyp=L w=16 a+d=25+6 face=50 MB 45 720: CHAR[w] pos=37219 blev=0,btyp=L w=16 a+d=25+6 face=50 MB 46 736: CHAR[i] pos=37220 blev=0,btyp=L w=16 a+d=25+6 face=50 MB 47 752: CHAR[n] pos=37221 blev=0,btyp=L w=16 a+d=25+6 face=50 MB 48 768: CHAR[d] pos=37222 blev=0,btyp=L w=16 a+d=25+6 face=50 MB 49 784: CHAR[o] pos=37223 blev=0,btyp=L w=16 a+d=25+6 face=50 MB 50 800: CHAR[w] pos=37224 blev=0,btyp=L w=16 a+d=25+6 face=50 MB 51 816: CHAR[-] pos=37225 blev=0,btyp=L w=16 a+d=25+6 face=50 MB 52 832: CHAR[r] pos=37226 blev=0,btyp=L w=16 a+d=25+6 face=50 MB 53 848: CHAR[e] pos=37227 blev=0,btyp=L w=16 a+d=25+6 face=50 MB 54 864: CHAR[l] pos=37228 blev=0,btyp=L w=16 a+d=25+6 face=50 MB 55 880: CHAR[a] pos=37229 blev=0,btyp=L w=16 a+d=25+6 face=50 MB 56 896: CHAR[t] pos=37230 blev=0,btyp=L w=16 a+d=25+6 face=50 MB 57 912: CHAR[i] pos=37231 blev=0,btyp=L w=16 a+d=25+6 face=50 MB 58 928: CHAR[v] pos=37232 blev=0,btyp=L w=16 a+d=25+6 face=50 MB ---Type to continue, or q to quit--- 59 944: CHAR[e] pos=37233 blev=0,btyp=L w=16 a+d=25+6 face=50 MB 60 960: CHAR[.] pos=37234 blev=0,btyp=L w=16 a+d=25+6 face=50 MB 61 976: CHAR[ ] pos=37235 blev=0,btyp=L w=16 a+d=25+6 face=50 MB 62 992: CHAR[ ] pos=37236 blev=0,btyp=L w=16 a+d=25+6 face=50 MB 63 1008: CHAR[*] pos=37237 blev=0,btyp=L w=16 a+d=25+6 face=50 MB 64 1024: CHAR[/] pos=37238 blev=0,btyp=L w=16 a+d=25+6 face=50 MB 65 1040: CHAR[ ] pos=0 blev=0,btyp=B w=16 a+d=25+6 MB (gdb) From debbugs-submit-bounces@debbugs.gnu.org Fri Jul 14 04:03:59 2017 Received: (at submit) by debbugs.gnu.org; 14 Jul 2017 08:03:59 +0000 Received: from localhost ([127.0.0.1]:37689 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dVvZu-0007UF-QD for submit@debbugs.gnu.org; Fri, 14 Jul 2017 04:03:59 -0400 Received: from eggs.gnu.org ([208.118.235.92]:47798) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dVvZt-0007U2-EH for submit@debbugs.gnu.org; Fri, 14 Jul 2017 04:03:58 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dVvZn-0002OA-Ay for submit@debbugs.gnu.org; Fri, 14 Jul 2017 04:03:52 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,RP_MATCHES_RCVD autolearn=disabled version=3.3.2 Received: from lists.gnu.org ([2001:4830:134:3::11]:42507) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1dVvZn-0002O6-7k for submit@debbugs.gnu.org; Fri, 14 Jul 2017 04:03:51 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:38769) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dVvZl-0002eI-VK for bug-gnu-emacs@gnu.org; Fri, 14 Jul 2017 04:03:50 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dVvZi-0002NW-Rp for bug-gnu-emacs@gnu.org; Fri, 14 Jul 2017 04:03:49 -0400 Received: from fencepost.gnu.org ([2001:4830:134:3::e]:54321) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dVvZi-0002NS-OO for bug-gnu-emacs@gnu.org; Fri, 14 Jul 2017 04:03:46 -0400 Received: from 84.94.185.246.cable.012.net.il ([84.94.185.246]:4050 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1dVvZi-0006zM-4T for bug-gnu-emacs@gnu.org; Fri, 14 Jul 2017 04:03:46 -0400 Date: Fri, 14 Jul 2017 11:03:48 +0300 Message-Id: <83zic7fnrv.fsf@gnu.org> From: Eli Zaretskii To: bug-gnu-emacs@gnu.org In-reply-to: <87iniwku3y.fsf@gmail.com> (message from Robert Pluim on Thu, 13 Jul 2017 21:35:45 +0200) Subject: Re: bug#27668: 26.0.50; Crash with display-line-numbers t References: <87k23d7ovv.fsf@gmail.com> <83inixiv0m.fsf@gnu.org> <877ezd7luq.fsf@gmail.com> <83bmopitky.fsf@gnu.org> <87vamx65x0.fsf@gmail.com> <837ezdiq3z.fsf@gnu.org> <871spl5x5h.fsf@gmail.com> <834luhiinr.fsf@gnu.org> <8760ewviyt.fsf@gmail.com> <83pod4gv0i.fsf@gnu.org> <87r2xkl246.fsf@gmail.com> <83mv88gqzi.fsf@gnu.org> <87mv88kxps.fsf@gmail.com> <83eftkgn06.fsf@gnu.org> <87iniwku3y.fsf@gmail.com> X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 2001:4830:134:3::11 X-Spam-Score: -5.0 (-----) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: Eli Zaretskii Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -5.0 (-----) > From: Robert Pluim > Date: Thu, 13 Jul 2017 21:35:45 +0200 > > Eli Zaretskii writes: > > >> From: Robert Pluim > >> Date: Thu, 13 Jul 2017 20:17:51 +0200 > >> > >> (gdb) p it->glyph_row->used[TEXT_AREA] > >> $1 = 66 > >> > >> (gdb) bt > >> #0 terminate_due_to_signal (sig=sig@entry=6, backtrace_limit=backtrace_limit@entry=2147483647) at emacs.c:363 > >> #1 0x00000000005a5084 in die (msg=msg@entry=0x6987d8 "pdl->kind == SPECPDL_BACKTRACE", file=file@entry=0x698448 "eval.c", line=line@entry=150) at alloc.c:7348 > >> #2 0x0000000000419f3b in backtrace_function (pdl=) at eval.c:150 > >> #3 > >> #4 maybe_produce_line_number (it=it@entry=0x7fffffff8130) at xdisp.c:21010 > >> #5 0x0000000000465365 in display_line (it=it@entry=0x7fffffff8130, cursor_vpos=cursor_vpos@entry=16) at xdisp.c:21225 > >> #6 0x00000000004672bd in try_window (window=..., window@entry=XIL(0x146d7d5), pos=..., flags=flags@entry=1) at xdisp.c:17544 > >> #7 0x000000000047f9ab in redisplay_window (window=XIL(0x146d7d5), just_this_one_p=just_this_one_p@entry=false) at xdisp.c:16991 > >> #8 0x00000000004831fb in redisplay_window_0 (window=..., window@entry=XIL(0x146d7d5)) at xdisp.c:14751 > > > > Curiouser and curiouser... > > > > OK, in frame #5, the one in display_line, what do these produce: > > > > (gdb) p it->current > > (gdb) pgrowx it->glyph_row > > (gdb) p it->current > $2 = { > pos = { > charpos = 37180, > bytepos = 37180 > }, > overlay_string_index = -1, > string_pos = { > charpos = -1, > bytepos = -1 > }, > dpvec_index = -1 > } > (gdb) pgrowx it->glyph_row > TEXT: 66 glyphs > 0 0: CHAR[ ] pos=-1 blev=2,btyp=EN w=16 a+d=25+6 face=51 MB AVOID > 1 16: CHAR[1] pos=-1 blev=2,btyp=EN w=16 a+d=25+6 face=51 MB AVOID > 2 32: CHAR[2] pos=-1 blev=2,btyp=EN w=16 a+d=25+6 face=51 MB AVOID > 3 48: CHAR[6] pos=-1 blev=2,btyp=EN w=16 a+d=25+6 face=51 MB AVOID > 4 64: CHAR[1] pos=-1 blev=2,btyp=EN w=16 a+d=25+6 face=51 MB AVOID > 5 80: CHAR[ ] pos=-1 blev=2,btyp=EN w=16 a+d=25+6 face=51 MB AVOID > 6 96: CHAR[ ] pos=37180 blev=0,btyp=L w=16 a+d=25+6 MB Hmm... I'm not sure how this happened, but I have a theory. I've now made a change in master based on that theory, and also added an assertion where you previously had to set a breakpoint. Please see if the current master fixes the problem and doesn't hit the assertion in maybe_produce_line_number. Thanks. From debbugs-submit-bounces@debbugs.gnu.org Fri Jul 14 04:59:44 2017 Received: (at submit) by debbugs.gnu.org; 14 Jul 2017 08:59:44 +0000 Received: from localhost ([127.0.0.1]:37731 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dVwRs-0000Ox-9j for submit@debbugs.gnu.org; Fri, 14 Jul 2017 04:59:44 -0400 Received: from eggs.gnu.org ([208.118.235.92]:33619) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dVwRp-0000Ok-Rh for submit@debbugs.gnu.org; Fri, 14 Jul 2017 04:59:42 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dVwRj-0004M8-0q for submit@debbugs.gnu.org; Fri, 14 Jul 2017 04:59:36 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=0.8 required=5.0 tests=BAYES_50,FREEMAIL_FROM autolearn=disabled version=3.3.2 Received: from lists.gnu.org ([2001:4830:134:3::11]:53619) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1dVwRi-0004Lz-Tl for submit@debbugs.gnu.org; Fri, 14 Jul 2017 04:59:34 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:52809) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dVwRh-0000SH-En for bug-gnu-emacs@gnu.org; Fri, 14 Jul 2017 04:59:34 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dVwRd-0004IT-Hl for bug-gnu-emacs@gnu.org; Fri, 14 Jul 2017 04:59:33 -0400 Received: from [195.159.176.226] (port=35513 helo=blaine.gmane.org) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1dVwRd-0004Hd-A5 for bug-gnu-emacs@gnu.org; Fri, 14 Jul 2017 04:59:29 -0400 Received: from list by blaine.gmane.org with local (Exim 4.84_2) (envelope-from ) id 1dVwRS-0000oF-2Z for bug-gnu-emacs@gnu.org; Fri, 14 Jul 2017 10:59:18 +0200 X-Injected-Via-Gmane: http://gmane.org/ Mail-Followup-To: bug-gnu-emacs@gnu.org To: bug-gnu-emacs@gnu.org From: Robert Pluim Subject: Re: bug#27668: 26.0.50; Crash with display-line-numbers t Date: Fri, 14 Jul 2017 10:59:17 +0200 Organization: not if I can help it Lines: 83 Message-ID: <87d1931jiy.fsf@gmail.com> References: <87k23d7ovv.fsf@gmail.com> <83inixiv0m.fsf@gnu.org> <877ezd7luq.fsf@gmail.com> <83bmopitky.fsf@gnu.org> <87vamx65x0.fsf@gmail.com> <837ezdiq3z.fsf@gnu.org> <871spl5x5h.fsf@gmail.com> <834luhiinr.fsf@gnu.org> <8760ewviyt.fsf@gmail.com> <83pod4gv0i.fsf@gnu.org> <87r2xkl246.fsf@gmail.com> <83mv88gqzi.fsf@gnu.org> <87mv88kxps.fsf@gmail.com> <83eftkgn06.fsf@gnu.org> <87iniwku3y.fsf@gmail.com> <83zic7fnrv.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain X-Complaints-To: usenet@blaine.gmane.org User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.0.50 (gnu/linux) Mail-Copies-To: never X-Debbugs-No-Ack: yes Cancel-Lock: sha1:Q6DhaFiIGOE+fJjss9jDxZ7ORdU= X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy] X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 2001:4830:134:3::11 X-Spam-Score: -4.8 (----) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: bug-gnu-emacs@gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -4.8 (----) Eli Zaretskii writes: >> From: Robert Pluim >> (gdb) pgrowx it->glyph_row >> TEXT: 66 glyphs >> 0 0: CHAR[ ] pos=-1 blev=2,btyp=EN w=16 a+d=25+6 face=51 MB AVOID >> 1 16: CHAR[1] pos=-1 blev=2,btyp=EN w=16 a+d=25+6 face=51 MB AVOID >> 2 32: CHAR[2] pos=-1 blev=2,btyp=EN w=16 a+d=25+6 face=51 MB AVOID >> 3 48: CHAR[6] pos=-1 blev=2,btyp=EN w=16 a+d=25+6 face=51 MB AVOID >> 4 64: CHAR[1] pos=-1 blev=2,btyp=EN w=16 a+d=25+6 face=51 MB AVOID >> 5 80: CHAR[ ] pos=-1 blev=2,btyp=EN w=16 a+d=25+6 face=51 MB AVOID >> 6 96: CHAR[ ] pos=37180 blev=0,btyp=L w=16 a+d=25+6 MB > > Hmm... I'm not sure how this happened, but I have a theory. I've now > made a change in master based on that theory, and also added an > assertion where you previously had to set a breakpoint. Please see if > the current master fixes the problem and doesn't hit the assertion in > maybe_produce_line_number. git describe HEAD emacs-24.5-rc3-fixed-13053-g60d24e1681 (gdb) run Starting program: /home/rpluim/repos/emacs-master/src/emacs [Thread debugging using libthread_db enabled] Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1". [New Thread 0x7fffe4de5700 (LWP 6631)] [New Thread 0x7fffdffff700 (LWP 6632)] [New Thread 0x7fffdf5f1700 (LWP 6633)] xdisp.c:21012: Emacs fatal error: assertion failed: it->glyph_row == NULL || it->glyph_row->used[TEXT_AREA] == 0 Thread 1 "emacs" hit Breakpoint 1, terminate_due_to_signal (sig=sig@entry=6, backtrace_limit=backtrace_limit@entry=2147483647) at emacs.c:363 363 { (gdb) bt #0 terminate_due_to_signal (sig=sig@entry=6, backtrace_limit=backtrace_limit@entry=2147483647) at emacs.c:363 #1 0x00000000005a4ed4 in die (msg=msg@entry=0x67aec0 "it->glyph_row == NULL || it->glyph_row->used[TEXT_AREA] == 0", file=file@entry=0x678e68 "xdisp.c", line=line@entry=21012) at alloc.c:7348 #2 0x000000000045befb in maybe_produce_line_number (it=it@entry=0x7fffffff8130) at xdisp.c:21012 #3 0x0000000000465335 in display_line (it=it@entry=0x7fffffff8130, cursor_vpos=cursor_vpos@entry=9) at xdisp.c:21227 #4 0x000000000046728d in try_window (window=..., window@entry=XIL(0x146e6c5), pos=..., flags=flags@entry=1) at xdisp.c:17544 #5 0x000000000047f8fb in redisplay_window (window=XIL(0x146e6c5), just_this_one_p=just_this_one_p@entry=false) at xdisp.c:16991 #6 0x000000000048314b in redisplay_window_0 (window=..., window@entry=XIL(0x146e6c5)) at xdisp.c:14751 #7 0x00000000005c7b44 in internal_condition_case_1 (bfun=bfun@entry=0x483120 , arg=..., handlers=..., hfun=hfun@entry=0x435900 ) at eval.c:1350 #8 0x000000000043d100 in redisplay_windows (window=...) at xdisp.c:14731 #9 0x000000000043d0c9 in redisplay_windows (window=...) at xdisp.c:14725 #10 0x000000000046c915 in redisplay_internal () at xdisp.c:14220 #11 0x000000000046eea5 in redisplay () at xdisp.c:13440 #12 0x0000000000545b4b in read_char (commandflag=commandflag@entry=1, map=..., map@entry=XIL(0x346a793), prev_event=..., used_mouse_menu=used_mouse_menu@entry=0x7fffffffd6cb, end_time=end_time@entry=0x0) at keyboard.c:2484 #13 0x0000000000548c2b in read_key_sequence (keybuf=keybuf@entry=0x7fffffffd7b0, prompt=..., prompt@entry=XIL(0), dont_downcase_last=dont_downcase_last@entry=false, can_return_switch_frame=can_return_switch_frame@entry=true, fix_current_buffer=fix_current_buffer@entry=true, prevent_redisplay=prevent_redisplay@entry=false, bufsize=30) at keyboard.c:9151 #14 0x000000000054aee6 in command_loop_1 () at keyboard.c:1372 #15 0x00000000005c7a77 in internal_condition_case (bfun=bfun@entry=0x54ac40 , handlers=..., handlers@entry=XIL(0x4fb0), hfun=hfun@entry=0x53e5c0 ) at eval.c:1326 #16 0x0000000000537f2c in command_loop_2 (ignore=..., ignore@entry=XIL(0)) at keyboard.c:1114 #17 0x00000000005c79bc in internal_catch (tag=..., tag@entry=XIL(0xc1e0), func=func@entry=0x537f10 , arg=..., arg@entry=XIL(0)) at eval.c:1091 #18 0x0000000000537ee9 in command_loop () at keyboard.c:1093 #19 0x000000000053e0e6 in recursive_edit_1 () at keyboard.c:699 #20 0x000000000053e463 in Frecursive_edit () at keyboard.c:770 #21 0x000000000041aceb in main (argc=, argv=0x7fffffffdb58) at emacs.c:1706 Lisp Backtrace: eval.c:150: Emacs fatal error: assertion failed: pdl->kind == SPECPDL_BACKTRACE Thread 1 "emacs" hit Breakpoint 1, terminate_due_to_signal (sig=sig@entry=6, backtrace_limit=backtrace_limit@entry=2147483647) at emacs.c:363 363 { I was looking at a commit in Magit, and had just hit enter in a diff hunk to view the source file containing the change, so it's happening when we switch from non-line-number to line-number mode. Robert From debbugs-submit-bounces@debbugs.gnu.org Fri Jul 14 05:47:27 2017 Received: (at submit) by debbugs.gnu.org; 14 Jul 2017 09:47:27 +0000 Received: from localhost ([127.0.0.1]:37755 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dVxC3-0001XD-6o for submit@debbugs.gnu.org; Fri, 14 Jul 2017 05:47:27 -0400 Received: from eggs.gnu.org ([208.118.235.92]:44682) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dVxC0-0001X0-Tz for submit@debbugs.gnu.org; Fri, 14 Jul 2017 05:47:25 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dVxBu-0003QH-Ii for submit@debbugs.gnu.org; Fri, 14 Jul 2017 05:47:19 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=0.0 required=5.0 tests=BAYES_20,FREEMAIL_FROM autolearn=disabled version=3.3.2 Received: from lists.gnu.org ([2001:4830:134:3::11]:58238) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1dVxBu-0003Q3-Fp for submit@debbugs.gnu.org; Fri, 14 Jul 2017 05:47:18 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:35599) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dVxBt-0003od-1H for bug-gnu-emacs@gnu.org; Fri, 14 Jul 2017 05:47:18 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dVxBp-0003Mj-VH for bug-gnu-emacs@gnu.org; Fri, 14 Jul 2017 05:47:17 -0400 Received: from [195.159.176.226] (port=50101 helo=blaine.gmane.org) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1dVxBp-0003Ly-PB for bug-gnu-emacs@gnu.org; Fri, 14 Jul 2017 05:47:13 -0400 Received: from list by blaine.gmane.org with local (Exim 4.84_2) (envelope-from ) id 1dVxBg-0007UE-Gj for bug-gnu-emacs@gnu.org; Fri, 14 Jul 2017 11:47:04 +0200 X-Injected-Via-Gmane: http://gmane.org/ Mail-Followup-To: bug-gnu-emacs@gnu.org To: bug-gnu-emacs@gnu.org From: Robert Pluim Subject: Re: bug#27668: 26.0.50; Crash with display-line-numbers t Date: Fri, 14 Jul 2017 11:47:03 +0200 Organization: not if I can help it Lines: 38 Message-ID: <87vamvqrjc.fsf@gmail.com> References: <87k23d7ovv.fsf@gmail.com> <83inixiv0m.fsf@gnu.org> <877ezd7luq.fsf@gmail.com> <83bmopitky.fsf@gnu.org> <87vamx65x0.fsf@gmail.com> <837ezdiq3z.fsf@gnu.org> <871spl5x5h.fsf@gmail.com> <834luhiinr.fsf@gnu.org> <8760ewviyt.fsf@gmail.com> <83pod4gv0i.fsf@gnu.org> <87r2xkl246.fsf@gmail.com> <83mv88gqzi.fsf@gnu.org> <87mv88kxps.fsf@gmail.com> <83eftkgn06.fsf@gnu.org> <87iniwku3y.fsf@gmail.com> <83zic7fnrv.fsf@gnu.org> <87d1931jiy.fsf@gmail.com> Mime-Version: 1.0 Content-Type: text/plain X-Complaints-To: usenet@blaine.gmane.org User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.0.50 (gnu/linux) Mail-Copies-To: never X-Debbugs-No-Ack: yes Cancel-Lock: sha1:dJG3DOI6ZtQhk6wmCYV7UeaRBJY= X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy] X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 2001:4830:134:3::11 X-Spam-Score: -4.8 (----) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: bug-gnu-emacs@gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -4.8 (----) Robert Pluim writes: > Eli Zaretskii writes: > >>> From: Robert Pluim >>> (gdb) pgrowx it->glyph_row >>> TEXT: 66 glyphs >>> 0 0: CHAR[ ] pos=-1 blev=2,btyp=EN w=16 a+d=25+6 face=51 MB AVOID >>> 1 16: CHAR[1] pos=-1 blev=2,btyp=EN w=16 a+d=25+6 face=51 MB AVOID >>> 2 32: CHAR[2] pos=-1 blev=2,btyp=EN w=16 a+d=25+6 face=51 MB AVOID >>> 3 48: CHAR[6] pos=-1 blev=2,btyp=EN w=16 a+d=25+6 face=51 MB AVOID >>> 4 64: CHAR[1] pos=-1 blev=2,btyp=EN w=16 a+d=25+6 face=51 MB AVOID >>> 5 80: CHAR[ ] pos=-1 blev=2,btyp=EN w=16 a+d=25+6 face=51 MB AVOID >>> 6 96: CHAR[ ] pos=37180 blev=0,btyp=L w=16 a+d=25+6 MB >> >> Hmm... I'm not sure how this happened, but I have a theory. I've now >> made a change in master based on that theory, and also added an >> assertion where you previously had to set a breakpoint. Please see if >> the current master fixes the problem and doesn't hit the assertion in >> maybe_produce_line_number. > > git describe HEAD > emacs-24.5-rc3-fixed-13053-g60d24e1681 All this TLS discussion has at least yielded something useful: a reproduction recipe: src/emacs -Q ; Put the following in *scratch* (setq display-line-number t) C-x C-e M-x eww https://revoked.badssl.com/ q *boom* Regards Robert From debbugs-submit-bounces@debbugs.gnu.org Fri Jul 14 05:51:19 2017 Received: (at submit) by debbugs.gnu.org; 14 Jul 2017 09:51:19 +0000 Received: from localhost ([127.0.0.1]:37766 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dVxFn-0001dj-1A for submit@debbugs.gnu.org; Fri, 14 Jul 2017 05:51:19 -0400 Received: from eggs.gnu.org ([208.118.235.92]:45753) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dVxFm-0001dW-BB for submit@debbugs.gnu.org; Fri, 14 Jul 2017 05:51:18 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dVxFg-0005O0-AT for submit@debbugs.gnu.org; Fri, 14 Jul 2017 05:51:13 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-0.0 required=5.0 tests=BAYES_20,RP_MATCHES_RCVD autolearn=disabled version=3.3.2 Received: from lists.gnu.org ([2001:4830:134:3::11]:47885) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1dVxFg-0005Nt-70 for submit@debbugs.gnu.org; Fri, 14 Jul 2017 05:51:12 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:36710) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dVxFe-0007YP-TA for bug-gnu-emacs@gnu.org; Fri, 14 Jul 2017 05:51:11 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dVxFZ-0005Hk-4P for bug-gnu-emacs@gnu.org; Fri, 14 Jul 2017 05:51:10 -0400 Received: from fencepost.gnu.org ([2001:4830:134:3::e]:58323) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dVxFZ-0005Hd-18 for bug-gnu-emacs@gnu.org; Fri, 14 Jul 2017 05:51:05 -0400 Received: from 84.94.185.246.cable.012.net.il ([84.94.185.246]:4274 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1dVxFY-0006qc-DW for bug-gnu-emacs@gnu.org; Fri, 14 Jul 2017 05:51:04 -0400 Date: Fri, 14 Jul 2017 12:51:06 +0300 Message-Id: <83vamvfit1.fsf@gnu.org> From: Eli Zaretskii To: bug-gnu-emacs@gnu.org In-reply-to: <87d1931jiy.fsf@gmail.com> (message from Robert Pluim on Fri, 14 Jul 2017 10:59:17 +0200) Subject: Re: bug#27668: 26.0.50; Crash with display-line-numbers t References: <87k23d7ovv.fsf@gmail.com> <83inixiv0m.fsf@gnu.org> <877ezd7luq.fsf@gmail.com> <83bmopitky.fsf@gnu.org> <87vamx65x0.fsf@gmail.com> <837ezdiq3z.fsf@gnu.org> <871spl5x5h.fsf@gmail.com> <834luhiinr.fsf@gnu.org> <8760ewviyt.fsf@gmail.com> <83pod4gv0i.fsf@gnu.org> <87r2xkl246.fsf@gmail.com> <83mv88gqzi.fsf@gnu.org> <87mv88kxps.fsf@gmail.com> <83eftkgn06.fsf@gnu.org> <87iniwku3y.fsf@gmail.com> <83zic7fnrv.fsf@gnu.org> <87d1931jiy.fsf@gmail.com> X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 2001:4830:134:3::11 X-Spam-Score: -5.0 (-----) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: Eli Zaretskii Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -5.0 (-----) > From: Robert Pluim > Date: Fri, 14 Jul 2017 10:59:17 +0200 > > xdisp.c:21012: Emacs fatal error: assertion failed: it->glyph_row == NULL || it->glyph_row->used[TEXT_AREA] == 0 > > Thread 1 "emacs" hit Breakpoint 1, terminate_due_to_signal (sig=sig@entry=6, > backtrace_limit=backtrace_limit@entry=2147483647) at emacs.c:363 > 363 { > (gdb) bt > #0 terminate_due_to_signal (sig=sig@entry=6, backtrace_limit=backtrace_limit@entry=2147483647) at emacs.c:363 > #1 0x00000000005a4ed4 in die (msg=msg@entry=0x67aec0 "it->glyph_row == NULL || it->glyph_row->used[TEXT_AREA] == 0", > file=file@entry=0x678e68 "xdisp.c", line=line@entry=21012) at alloc.c:7348 > #2 0x000000000045befb in maybe_produce_line_number (it=it@entry=0x7fffffff8130) at xdisp.c:21012 > #3 0x0000000000465335 in display_line (it=it@entry=0x7fffffff8130, cursor_vpos=cursor_vpos@entry=9) at xdisp.c:21227 > #4 0x000000000046728d in try_window (window=..., window@entry=XIL(0x146e6c5), pos=..., flags=flags@entry=1) > at xdisp.c:17544 > #5 0x000000000047f8fb in redisplay_window (window=XIL(0x146e6c5), just_this_one_p=just_this_one_p@entry=false) > at xdisp.c:16991 In this frame #5, in redisplay_window, which of the conditions in the following 'if' clause are true? /* Try to redisplay starting at same place as before. If point has not moved off frame, accept the results. */ if (!current_matrix_up_to_date_p /* Don't use try_window_reusing_current_matrix in this case because a window scroll function can have changed the buffer. */ || !NILP (Vwindow_scroll_functions) || MINI_WINDOW_P (w) || !(used_current_matrix_p = try_window_reusing_current_matrix (w))) { IF_DEBUG (debug_method_add (w, "1")); if (try_window (window, startp, TRY_WINDOW_CHECK_MARGINS) < 0) It cannot be MINI_WINDOW_P, so it's either current_matrix_up_to_date_p is false, or your window-scroll-functions is non-nil, or we called try_window_reusing_current_matrix. In the latter case, I'd expect my recent change to fix the problem, so I guess that function wasn't called, and some other condition caused us to call try_window. Or maybe I'm missing something here. > I was looking at a commit in Magit, and had just hit enter in a diff > hunk to view the source file containing the change, so it's happening > when we switch from non-line-number to line-number mode. How do you "switch from non-line-number to line-number mode"? I tried several ways I could think about, but couldn't reproduce the issue. I wonder what's different in your case that you hit this problem so frequently. Did the previous times also happened when switching from a Magit buffer to a buffer under display-line-numbers? From debbugs-submit-bounces@debbugs.gnu.org Fri Jul 14 06:04:19 2017 Received: (at submit) by debbugs.gnu.org; 14 Jul 2017 10:04:19 +0000 Received: from localhost ([127.0.0.1]:37775 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dVxSN-0001xa-EI for submit@debbugs.gnu.org; Fri, 14 Jul 2017 06:04:19 -0400 Received: from eggs.gnu.org ([208.118.235.92]:49823) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dVxSL-0001xN-OW for submit@debbugs.gnu.org; Fri, 14 Jul 2017 06:04:18 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dVxSC-0002fm-OQ for submit@debbugs.gnu.org; Fri, 14 Jul 2017 06:04:12 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,RP_MATCHES_RCVD autolearn=disabled version=3.3.2 Received: from lists.gnu.org ([2001:4830:134:3::11]:41788) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1dVxSC-0002fg-L2 for submit@debbugs.gnu.org; Fri, 14 Jul 2017 06:04:08 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:40786) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dVxSB-0001hs-BM for bug-gnu-emacs@gnu.org; Fri, 14 Jul 2017 06:04:08 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dVxS6-0002bW-Ei for bug-gnu-emacs@gnu.org; Fri, 14 Jul 2017 06:04:07 -0400 Received: from fencepost.gnu.org ([2001:4830:134:3::e]:59131) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dVxS6-0002bN-C0 for bug-gnu-emacs@gnu.org; Fri, 14 Jul 2017 06:04:02 -0400 Received: from 84.94.185.246.cable.012.net.il ([84.94.185.246]:4323 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1dVxS5-0002pu-LP for bug-gnu-emacs@gnu.org; Fri, 14 Jul 2017 06:04:02 -0400 Date: Fri, 14 Jul 2017 13:04:04 +0300 Message-Id: <83tw2ffi7f.fsf@gnu.org> From: Eli Zaretskii To: bug-gnu-emacs@gnu.org In-reply-to: <87vamvqrjc.fsf@gmail.com> (message from Robert Pluim on Fri, 14 Jul 2017 11:47:03 +0200) Subject: Re: bug#27668: 26.0.50; Crash with display-line-numbers t References: <87k23d7ovv.fsf@gmail.com> <83inixiv0m.fsf@gnu.org> <877ezd7luq.fsf@gmail.com> <83bmopitky.fsf@gnu.org> <87vamx65x0.fsf@gmail.com> <837ezdiq3z.fsf@gnu.org> <871spl5x5h.fsf@gmail.com> <834luhiinr.fsf@gnu.org> <8760ewviyt.fsf@gmail.com> <83pod4gv0i.fsf@gnu.org> <87r2xkl246.fsf@gmail.com> <83mv88gqzi.fsf@gnu.org> <87mv88kxps.fsf@gmail.com> <83eftkgn06.fsf@gnu.org> <87iniwku3y.fsf@gmail.com> <83zic7fnrv.fsf@gnu.org> <87d1931jiy.fsf@gmail.com> <87vamvqrjc.fsf@gmail.com> X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 2001:4830:134:3::11 X-Spam-Score: -5.0 (-----) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: Eli Zaretskii Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -5.0 (-----) > From: Robert Pluim > Date: Fri, 14 Jul 2017 11:47:03 +0200 > > src/emacs -Q > ; Put the following in *scratch* > (setq display-line-number t) > C-x C-e > M-x eww https://revoked.badssl.com/ > q > *boom* Thanks. Unfortunately, it doesn't crash here... From debbugs-submit-bounces@debbugs.gnu.org Fri Jul 14 07:36:58 2017 Received: (at submit) by debbugs.gnu.org; 14 Jul 2017 11:36:58 +0000 Received: from localhost ([127.0.0.1]:37804 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dVyu1-00060f-OY for submit@debbugs.gnu.org; Fri, 14 Jul 2017 07:36:57 -0400 Received: from eggs.gnu.org ([208.118.235.92]:44042) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dVyu0-00060S-6c for submit@debbugs.gnu.org; Fri, 14 Jul 2017 07:36:56 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dVytu-0006Yq-4u for submit@debbugs.gnu.org; Fri, 14 Jul 2017 07:36:50 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,FREEMAIL_FROM autolearn=disabled version=3.3.2 Received: from lists.gnu.org ([2001:4830:134:3::11]:33874) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1dVytu-0006Ym-22 for submit@debbugs.gnu.org; Fri, 14 Jul 2017 07:36:50 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:34999) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dVyts-0007q9-Sy for bug-gnu-emacs@gnu.org; Fri, 14 Jul 2017 07:36:49 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dVyto-0006Vr-Lj for bug-gnu-emacs@gnu.org; Fri, 14 Jul 2017 07:36:48 -0400 Received: from [195.159.176.226] (port=53450 helo=blaine.gmane.org) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1dVyto-0006Uv-F9 for bug-gnu-emacs@gnu.org; Fri, 14 Jul 2017 07:36:44 -0400 Received: from list by blaine.gmane.org with local (Exim 4.84_2) (envelope-from ) id 1dVytV-0007ib-QR for bug-gnu-emacs@gnu.org; Fri, 14 Jul 2017 13:36:25 +0200 X-Injected-Via-Gmane: http://gmane.org/ Mail-Followup-To: bug-gnu-emacs@gnu.org To: bug-gnu-emacs@gnu.org From: Robert Pluim Subject: Re: bug#27668: 26.0.50; Crash with display-line-numbers t Date: Fri, 14 Jul 2017 13:36:16 +0200 Organization: not if I can help it Lines: 18 Message-ID: <87o9snqmhb.fsf@gmail.com> References: <87k23d7ovv.fsf@gmail.com> <83inixiv0m.fsf@gnu.org> <877ezd7luq.fsf@gmail.com> <83bmopitky.fsf@gnu.org> <87vamx65x0.fsf@gmail.com> <837ezdiq3z.fsf@gnu.org> <871spl5x5h.fsf@gmail.com> <834luhiinr.fsf@gnu.org> <8760ewviyt.fsf@gmail.com> <83pod4gv0i.fsf@gnu.org> <87r2xkl246.fsf@gmail.com> <83mv88gqzi.fsf@gnu.org> <87mv88kxps.fsf@gmail.com> <83eftkgn06.fsf@gnu.org> <87iniwku3y.fsf@gmail.com> <83zic7fnrv.fsf@gnu.org> <87d1931jiy.fsf@gmail.com> <87vamvqrjc.fsf@gmail.com> <83tw2ffi7f.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain X-Complaints-To: usenet@blaine.gmane.org User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.0.50 (gnu/linux) Mail-Copies-To: never X-Debbugs-No-Ack: yes Cancel-Lock: sha1:7c0l8/QNNX8GGaEkrps1Twnd49U= X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy] X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 2001:4830:134:3::11 X-Spam-Score: -4.8 (----) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: bug-gnu-emacs@gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -4.8 (----) Eli Zaretskii writes: >> From: Robert Pluim >> Date: Fri, 14 Jul 2017 11:47:03 +0200 >> >> src/emacs -Q >> ; Put the following in *scratch* >> (setq display-line-number t) >> C-x C-e >> M-x eww https://revoked.badssl.com/ >> q >> *boom* > > Thanks. > > Unfortunately, it doesn't crash here... Even if you fix my typo and use display-line-numbers instead of display-line-number? From debbugs-submit-bounces@debbugs.gnu.org Fri Jul 14 07:45:28 2017 Received: (at submit) by debbugs.gnu.org; 14 Jul 2017 11:45:28 +0000 Received: from localhost ([127.0.0.1]:37812 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dVz2F-0006F8-U5 for submit@debbugs.gnu.org; Fri, 14 Jul 2017 07:45:28 -0400 Received: from eggs.gnu.org ([208.118.235.92]:46245) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dVz2E-0006Et-Gf for submit@debbugs.gnu.org; Fri, 14 Jul 2017 07:45:26 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dVz28-0004OF-Bh for submit@debbugs.gnu.org; Fri, 14 Jul 2017 07:45:21 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=0.0 required=5.0 tests=BAYES_40,FREEMAIL_FROM autolearn=disabled version=3.3.2 Received: from lists.gnu.org ([2001:4830:134:3::11]:58828) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1dVz28-0004O8-7t for submit@debbugs.gnu.org; Fri, 14 Jul 2017 07:45:20 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:37209) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dVz26-00008h-SP for bug-gnu-emacs@gnu.org; Fri, 14 Jul 2017 07:45:19 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dVz23-0004MG-PA for bug-gnu-emacs@gnu.org; Fri, 14 Jul 2017 07:45:18 -0400 Received: from [195.159.176.226] (port=42973 helo=blaine.gmane.org) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1dVz23-0004Lf-HE for bug-gnu-emacs@gnu.org; Fri, 14 Jul 2017 07:45:15 -0400 Received: from list by blaine.gmane.org with local (Exim 4.84_2) (envelope-from ) id 1dVz1u-0000C8-Fx for bug-gnu-emacs@gnu.org; Fri, 14 Jul 2017 13:45:06 +0200 X-Injected-Via-Gmane: http://gmane.org/ Mail-Followup-To: bug-gnu-emacs@gnu.org To: bug-gnu-emacs@gnu.org From: Robert Pluim Subject: Re: bug#27668: 26.0.50; Crash with display-line-numbers t Date: Fri, 14 Jul 2017 13:45:04 +0200 Organization: not if I can help it Lines: 66 Message-ID: <87k23bqm2n.fsf@gmail.com> References: <87k23d7ovv.fsf@gmail.com> <83inixiv0m.fsf@gnu.org> <877ezd7luq.fsf@gmail.com> <83bmopitky.fsf@gnu.org> <87vamx65x0.fsf@gmail.com> <837ezdiq3z.fsf@gnu.org> <871spl5x5h.fsf@gmail.com> <834luhiinr.fsf@gnu.org> <8760ewviyt.fsf@gmail.com> <83pod4gv0i.fsf@gnu.org> <87r2xkl246.fsf@gmail.com> <83mv88gqzi.fsf@gnu.org> <87mv88kxps.fsf@gmail.com> <83eftkgn06.fsf@gnu.org> <87iniwku3y.fsf@gmail.com> <83zic7fnrv.fsf@gnu.org> <87d1931jiy.fsf@gmail.com> <83vamvfit1.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain X-Complaints-To: usenet@blaine.gmane.org User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.0.50 (gnu/linux) Mail-Copies-To: never X-Debbugs-No-Ack: yes Cancel-Lock: sha1:NTFTcjMElycnhtiv/5oOFTX7Yr4= X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy] X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 2001:4830:134:3::11 X-Spam-Score: -4.8 (----) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: bug-gnu-emacs@gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -4.8 (----) Eli Zaretskii writes: >> From: Robert Pluim >> > In this frame #5, in redisplay_window, which of the conditions in the > following 'if' clause are true? > > /* Try to redisplay starting at same place as before. > If point has not moved off frame, accept the results. */ > if (!current_matrix_up_to_date_p > /* Don't use try_window_reusing_current_matrix in this case > because a window scroll function can have changed the > buffer. */ > || !NILP (Vwindow_scroll_functions) > || MINI_WINDOW_P (w) > || !(used_current_matrix_p > = try_window_reusing_current_matrix (w))) > { > IF_DEBUG (debug_method_add (w, "1")); > if (try_window (window, startp, TRY_WINDOW_CHECK_MARGINS) < 0) > > It cannot be MINI_WINDOW_P, so it's either current_matrix_up_to_date_p > is false, or your window-scroll-functions is non-nil, or we called > try_window_reusing_current_matrix. In the latter case, I'd expect my > recent change to fix the problem, so I guess that function wasn't > called, and some other condition caused us to call try_window. Or > maybe I'm missing something here. > (gdb) p used_current_matrix_p $1 = false (gdb) p Vwindow_scroll_functions $2 = XIL(0) (gdb) p w $3 = (gdb) p current_matrix_up_to_date_p $4 = false Would you like me to try an unoptimised build? CFLAGS=-O0 -ggdb or similar? >> I was looking at a commit in Magit, and had just hit enter in a diff >> hunk to view the source file containing the change, so it's happening >> when we switch from non-line-number to line-number mode. > > How do you "switch from non-line-number to line-number mode"? I tried > several ways I could think about, but couldn't reproduce the issue. I > wonder what's different in your case that you hit this problem so > frequently. > Basically, I have a buffer where display-line-numbers is nil, then I either switch to a buffer where it's t or visit a file where the mode-hook sets it to t. In this case I was looking at a diff hunk, where Magit does all sorts of highlighting and font-locking, and it visits the underlying file for you when you hit RET > Did the previous times also happened when switching from a Magit > buffer to a buffer under display-line-numbers? No, previous times were when calling C-x C-f from a buffer with display-line-numbers t Regards Robert From debbugs-submit-bounces@debbugs.gnu.org Fri Jul 14 08:39:13 2017 Received: (at submit) by debbugs.gnu.org; 14 Jul 2017 12:39:13 +0000 Received: from localhost ([127.0.0.1]:37868 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dVzsG-0000uv-VL for submit@debbugs.gnu.org; Fri, 14 Jul 2017 08:39:13 -0400 Received: from eggs.gnu.org ([208.118.235.92]:33722) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dVzsF-0000uh-OK for submit@debbugs.gnu.org; Fri, 14 Jul 2017 08:39:12 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dVzs7-0005lK-G1 for submit@debbugs.gnu.org; Fri, 14 Jul 2017 08:39:06 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,RP_MATCHES_RCVD autolearn=disabled version=3.3.2 Received: from lists.gnu.org ([2001:4830:134:3::11]:50472) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1dVzs7-0005l5-CR for submit@debbugs.gnu.org; Fri, 14 Jul 2017 08:39:03 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:52903) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dVzs6-0001hQ-20 for bug-gnu-emacs@gnu.org; Fri, 14 Jul 2017 08:39:03 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dVzs5-0005jl-4y for bug-gnu-emacs@gnu.org; Fri, 14 Jul 2017 08:39:02 -0400 Received: from fencepost.gnu.org ([2001:4830:134:3::e]:40074) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dVzs5-0005jf-1d for bug-gnu-emacs@gnu.org; Fri, 14 Jul 2017 08:39:01 -0400 Received: from 84.94.185.246.cable.012.net.il ([84.94.185.246]:4384 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1dVzs4-0006XS-9e for bug-gnu-emacs@gnu.org; Fri, 14 Jul 2017 08:39:00 -0400 Date: Fri, 14 Jul 2017 15:39:03 +0300 Message-Id: <83pod3fb14.fsf@gnu.org> From: Eli Zaretskii To: bug-gnu-emacs@gnu.org In-reply-to: <87o9snqmhb.fsf@gmail.com> (message from Robert Pluim on Fri, 14 Jul 2017 13:36:16 +0200) Subject: Re: bug#27668: 26.0.50; Crash with display-line-numbers t References: <87k23d7ovv.fsf@gmail.com> <83inixiv0m.fsf@gnu.org> <877ezd7luq.fsf@gmail.com> <83bmopitky.fsf@gnu.org> <87vamx65x0.fsf@gmail.com> <837ezdiq3z.fsf@gnu.org> <871spl5x5h.fsf@gmail.com> <834luhiinr.fsf@gnu.org> <8760ewviyt.fsf@gmail.com> <83pod4gv0i.fsf@gnu.org> <87r2xkl246.fsf@gmail.com> <83mv88gqzi.fsf@gnu.org> <87mv88kxps.fsf@gmail.com> <83eftkgn06.fsf@gnu.org> <87iniwku3y.fsf@gmail.com> <83zic7fnrv.fsf@gnu.org> <87d1931jiy.fsf@gmail.com> <87vamvqrjc.fsf@gmail.com> <83tw2ffi7f.fsf@gnu.org> <87o9snqmhb.fsf@gmail.com> X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 2001:4830:134:3::11 X-Spam-Score: -5.0 (-----) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: Eli Zaretskii Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -5.0 (-----) > From: Robert Pluim > Date: Fri, 14 Jul 2017 13:36:16 +0200 > > Eli Zaretskii writes: > > >> From: Robert Pluim > >> Date: Fri, 14 Jul 2017 11:47:03 +0200 > >> > >> src/emacs -Q > >> ; Put the following in *scratch* > >> (setq display-line-number t) > >> C-x C-e > >> M-x eww https://revoked.badssl.com/ > >> q > >> *boom* > > > > Thanks. > > > > Unfortunately, it doesn't crash here... > > Even if you fix my typo and use display-line-numbers instead of display-line-number? Yes, even then. From debbugs-submit-bounces@debbugs.gnu.org Fri Jul 14 09:28:39 2017 Received: (at submit) by debbugs.gnu.org; 14 Jul 2017 13:28:39 +0000 Received: from localhost ([127.0.0.1]:37943 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dW0e7-0003wI-J9 for submit@debbugs.gnu.org; Fri, 14 Jul 2017 09:28:39 -0400 Received: from eggs.gnu.org ([208.118.235.92]:45325) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dW0e5-0003w7-WF for submit@debbugs.gnu.org; Fri, 14 Jul 2017 09:28:38 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dW0dz-0007rh-Id for submit@debbugs.gnu.org; Fri, 14 Jul 2017 09:28:32 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=0.8 required=5.0 tests=BAYES_50,RP_MATCHES_RCVD autolearn=disabled version=3.3.2 Received: from lists.gnu.org ([2001:4830:134:3::11]:56066) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1dW0dz-0007rV-FQ for submit@debbugs.gnu.org; Fri, 14 Jul 2017 09:28:31 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:36288) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dW0dy-0007Kd-7D for bug-gnu-emacs@gnu.org; Fri, 14 Jul 2017 09:28:31 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dW0dv-0007ow-1X for bug-gnu-emacs@gnu.org; Fri, 14 Jul 2017 09:28:30 -0400 Received: from fencepost.gnu.org ([2001:4830:134:3::e]:40640) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dW0du-0007os-Ua for bug-gnu-emacs@gnu.org; Fri, 14 Jul 2017 09:28:26 -0400 Received: from 84.94.185.246.cable.012.net.il ([84.94.185.246]:4412 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1dW0dt-0000sm-6J for bug-gnu-emacs@gnu.org; Fri, 14 Jul 2017 09:28:26 -0400 Date: Fri, 14 Jul 2017 16:28:22 +0300 Message-Id: <83o9snf8qx.fsf@gnu.org> From: Eli Zaretskii To: bug-gnu-emacs@gnu.org In-reply-to: <87k23bqm2n.fsf@gmail.com> (message from Robert Pluim on Fri, 14 Jul 2017 13:45:04 +0200) Subject: Re: bug#27668: 26.0.50; Crash with display-line-numbers t References: <87k23d7ovv.fsf@gmail.com> <83inixiv0m.fsf@gnu.org> <877ezd7luq.fsf@gmail.com> <83bmopitky.fsf@gnu.org> <87vamx65x0.fsf@gmail.com> <837ezdiq3z.fsf@gnu.org> <871spl5x5h.fsf@gmail.com> <834luhiinr.fsf@gnu.org> <8760ewviyt.fsf@gmail.com> <83pod4gv0i.fsf@gnu.org> <87r2xkl246.fsf@gmail.com> <83mv88gqzi.fsf@gnu.org> <87mv88kxps.fsf@gmail.com> <83eftkgn06.fsf@gnu.org> <87iniwku3y.fsf@gmail.com> <83zic7fnrv.fsf@gnu.org> <87d1931jiy.fsf@gmail.com> <83vamvfit1.fsf@gnu.org> <87k23bqm2n.fsf@gmail.com> X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 2001:4830:134:3::11 X-Spam-Score: -5.0 (-----) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: Eli Zaretskii Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -5.0 (-----) > From: Robert Pluim > Date: Fri, 14 Jul 2017 13:45:04 +0200 > > > /* Try to redisplay starting at same place as before. > > If point has not moved off frame, accept the results. */ > > if (!current_matrix_up_to_date_p > > /* Don't use try_window_reusing_current_matrix in this case > > because a window scroll function can have changed the > > buffer. */ > > || !NILP (Vwindow_scroll_functions) > > || MINI_WINDOW_P (w) > > || !(used_current_matrix_p > > = try_window_reusing_current_matrix (w))) > > { > > IF_DEBUG (debug_method_add (w, "1")); > > if (try_window (window, startp, TRY_WINDOW_CHECK_MARGINS) < 0) > > > > It cannot be MINI_WINDOW_P, so it's either current_matrix_up_to_date_p > > is false, or your window-scroll-functions is non-nil, or we called > > try_window_reusing_current_matrix. In the latter case, I'd expect my > > recent change to fix the problem, so I guess that function wasn't > > called, and some other condition caused us to call try_window. Or > > maybe I'm missing something here. > > > > (gdb) p used_current_matrix_p > $1 = false > (gdb) p Vwindow_scroll_functions > $2 = XIL(0) > (gdb) p w > $3 = > (gdb) p current_matrix_up_to_date_p > $4 = false So the trigger is current_matrix_up_to_date_p, which is false. That explains why my recent changes didn't solve the problem: the function where I made those changes wasn't called. > Would you like me to try an unoptimised build? CFLAGS=-O0 -ggdb or > similar? It cannot hurt, so please do. Maybe this will give some valuable hints. (Please use "-gdwarf-4 -g3" instead of -ggdb, it should provide a better debug info.) Btw, I already did an optimized build, but was unable to reproduce the problem there as well. > Basically, I have a buffer where display-line-numbers is nil, then I > either switch to a buffer where it's t or visit a file where the > mode-hook sets it to t. In this case I was looking at a diff hunk, > where Magit does all sorts of highlighting and font-locking, and it > visits the underlying file for you when you hit RET > > > Did the previous times also happened when switching from a Magit > > buffer to a buffer under display-line-numbers? > > No, previous times were when calling C-x C-f from a buffer with > display-line-numbers t That's what I tried, but the problem didn't happen. When the assertion in maybe_produce_line_number is hit, what are the values of it->vpos and it->glyph_row->y? Are they always the same values? If they are, maybe we could put a watchpoint on the corresponding glyph row and see who changes it. The problem seems to be that display_line starts producing glyphs in a glyph row which wasn't cleared, i.e. its used[1] counter is non-zero. The call to prepare_desired_row at the beginning of display_line is supposed to do that, but only if the row->enabled_p flag is reset. This flag should be reset for all the glyph rows of the window's desired_matrix, because redisplay calls clear_glyph_matrix for w->desired_matrix, directly and indirectly, in many places. Somehow in your case either those calls to clear_glyph_matrix are bypassed or some code sets the enabled_p flag at some point and doesn't reset it before the call to try_window on line 16991 of xdisp.c. I'm trying to establish where does this happen and why. Just to make sure I'm on the right track: if you make the change below, does the problem go away? diff --git a/src/xdisp.c b/src/xdisp.c index 2aceb89..341a1e3 100644 --- a/src/xdisp.c +++ b/src/xdisp.c @@ -16988,6 +16988,7 @@ redisplay_window (Lisp_Object window, bool just_this_one_p) = try_window_reusing_current_matrix (w))) { IF_DEBUG (debug_method_add (w, "1")); + clear_glyph_matrix (w->desired_matrix); if (try_window (window, startp, TRY_WINDOW_CHECK_MARGINS) < 0) /* -1 means we need to scroll. 0 means we need new matrices, but fonts_changed From debbugs-submit-bounces@debbugs.gnu.org Fri Jul 14 10:48:20 2017 Received: (at submit) by debbugs.gnu.org; 14 Jul 2017 14:48:20 +0000 Received: from localhost ([127.0.0.1]:39163 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dW1tD-0006BG-UB for submit@debbugs.gnu.org; Fri, 14 Jul 2017 10:48:20 -0400 Received: from eggs.gnu.org ([208.118.235.92]:36660) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dW1tB-0006B0-QG for submit@debbugs.gnu.org; Fri, 14 Jul 2017 10:48:18 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dW1t5-0000Pm-Oo for submit@debbugs.gnu.org; Fri, 14 Jul 2017 10:48:12 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=0.8 required=5.0 tests=BAYES_50,FREEMAIL_FROM autolearn=disabled version=3.3.2 Received: from lists.gnu.org ([2001:4830:134:3::11]:36515) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1dW1t5-0000Pg-LJ for submit@debbugs.gnu.org; Fri, 14 Jul 2017 10:48:11 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:55860) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dW1t4-0003CW-Gy for bug-gnu-emacs@gnu.org; Fri, 14 Jul 2017 10:48:11 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dW1sz-0000Of-Q6 for bug-gnu-emacs@gnu.org; Fri, 14 Jul 2017 10:48:10 -0400 Received: from [195.159.176.226] (port=37201 helo=blaine.gmane.org) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1dW1sz-0000ON-Jv for bug-gnu-emacs@gnu.org; Fri, 14 Jul 2017 10:48:05 -0400 Received: from list by blaine.gmane.org with local (Exim 4.84_2) (envelope-from ) id 1dW1sr-0002GR-W5 for bug-gnu-emacs@gnu.org; Fri, 14 Jul 2017 16:47:57 +0200 X-Injected-Via-Gmane: http://gmane.org/ Mail-Followup-To: bug-gnu-emacs@gnu.org To: bug-gnu-emacs@gnu.org From: Robert Pluim Subject: Re: bug#27668: 26.0.50; Crash with display-line-numbers t Date: Fri, 14 Jul 2017 16:47:56 +0200 Organization: not if I can help it Lines: 52 Message-ID: <874luf3wir.fsf@gmail.com> References: <87k23d7ovv.fsf@gmail.com> <83inixiv0m.fsf@gnu.org> <877ezd7luq.fsf@gmail.com> <83bmopitky.fsf@gnu.org> <87vamx65x0.fsf@gmail.com> <837ezdiq3z.fsf@gnu.org> <871spl5x5h.fsf@gmail.com> <834luhiinr.fsf@gnu.org> <8760ewviyt.fsf@gmail.com> <83pod4gv0i.fsf@gnu.org> <87r2xkl246.fsf@gmail.com> <83mv88gqzi.fsf@gnu.org> <87mv88kxps.fsf@gmail.com> <83eftkgn06.fsf@gnu.org> <87iniwku3y.fsf@gmail.com> <83zic7fnrv.fsf@gnu.org> <87d1931jiy.fsf@gmail.com> <83vamvfit1.fsf@gnu.org> <87k23bqm2n.fsf@gmail.com> <83o9snf8qx.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain X-Complaints-To: usenet@blaine.gmane.org User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.0.50 (gnu/linux) Mail-Copies-To: never X-Debbugs-No-Ack: yes Cancel-Lock: sha1:efG3eOFNemiuud+79E3w3Qu8aEM= X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy] X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 2001:4830:134:3::11 X-Spam-Score: -4.8 (----) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: bug-gnu-emacs@gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -4.8 (----) Eli Zaretskii writes: >> From: Robert Pluim >> Would you like me to try an unoptimised build? CFLAGS=-O0 -ggdb or >> similar? > > It cannot hurt, so please do. Maybe this will give some valuable > hints. (Please use "-gdwarf-4 -g3" instead of -ggdb, it should > provide a better debug info.) Btw, I already did an optimized build, > but was unable to reproduce the problem there as well. > I'll try that next, I think you're on the right track. > When the assertion in maybe_produce_line_number is hit, what are the > values of it->vpos and it->glyph_row->y? Are they always the same > values? If they are, maybe we could put a watchpoint on the > corresponding glyph row and see who changes it. They're both always 0. 21012 eassert (it->glyph_row == NULL || it->glyph_row->used[TEXT_AREA] == 0); (gdb) p it->vpos $5 = 0 (gdb) p it->glyph_row->y $6 = 0 > The problem seems to be that display_line starts producing glyphs in a > glyph row which wasn't cleared, i.e. its used[1] counter is non-zero. > The call to prepare_desired_row at the beginning of display_line is > supposed to do that, but only if the row->enabled_p flag is reset. > This flag should be reset for all the glyph rows of the window's > desired_matrix, because redisplay calls clear_glyph_matrix for > w->desired_matrix, directly and indirectly, in many places. Somehow > in your case either those calls to clear_glyph_matrix are bypassed or > some code sets the enabled_p flag at some point and doesn't reset it > before the call to try_window on line 16991 of xdisp.c. I'm trying to > establish where does this happen and why. > > Just to make sure I'm on the right track: if you make the change > below, does the problem go away? > Yes. Without the patch I ran my eww recipe three times, it crashed three times. With the patch, I ran it three times in 3 separate instances of emacs, no crash so far (and I tried a bunch of the magit related operations as well for good measure, and I'm using the resulting emacs to send this). Regards Robert From debbugs-submit-bounces@debbugs.gnu.org Fri Jul 14 11:07:40 2017 Received: (at submit) by debbugs.gnu.org; 14 Jul 2017 15:07:40 +0000 Received: from localhost ([127.0.0.1]:39167 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dW2Bw-0006et-KY for submit@debbugs.gnu.org; Fri, 14 Jul 2017 11:07:40 -0400 Received: from eggs.gnu.org ([208.118.235.92]:40167) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dW2Bv-0006ef-1n for submit@debbugs.gnu.org; Fri, 14 Jul 2017 11:07:39 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dW2Bo-00082b-SM for submit@debbugs.gnu.org; Fri, 14 Jul 2017 11:07:33 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,FREEMAIL_FROM autolearn=disabled version=3.3.2 Received: from lists.gnu.org ([2001:4830:134:3::11]:46693) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1dW2Bo-00082P-OM for submit@debbugs.gnu.org; Fri, 14 Jul 2017 11:07:32 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:59344) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dW2Bn-0002BQ-FC for bug-gnu-emacs@gnu.org; Fri, 14 Jul 2017 11:07:32 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dW2Bj-00080N-G1 for bug-gnu-emacs@gnu.org; Fri, 14 Jul 2017 11:07:31 -0400 Received: from [195.159.176.226] (port=50602 helo=blaine.gmane.org) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1dW2Bj-0007zn-A8 for bug-gnu-emacs@gnu.org; Fri, 14 Jul 2017 11:07:27 -0400 Received: from list by blaine.gmane.org with local (Exim 4.84_2) (envelope-from ) id 1dW2Ba-0000N2-Eh for bug-gnu-emacs@gnu.org; Fri, 14 Jul 2017 17:07:18 +0200 X-Injected-Via-Gmane: http://gmane.org/ Mail-Followup-To: bug-gnu-emacs@gnu.org To: bug-gnu-emacs@gnu.org From: Robert Pluim Subject: Re: bug#27668: 26.0.50; Crash with display-line-numbers t Date: Fri, 14 Jul 2017 17:07:17 +0200 Organization: not if I can help it Lines: 53 Message-ID: <87h8yfcb16.fsf@gmail.com> References: <87k23d7ovv.fsf@gmail.com> <83inixiv0m.fsf@gnu.org> <877ezd7luq.fsf@gmail.com> <83bmopitky.fsf@gnu.org> <87vamx65x0.fsf@gmail.com> <837ezdiq3z.fsf@gnu.org> <871spl5x5h.fsf@gmail.com> <834luhiinr.fsf@gnu.org> <8760ewviyt.fsf@gmail.com> <83pod4gv0i.fsf@gnu.org> <87r2xkl246.fsf@gmail.com> <83mv88gqzi.fsf@gnu.org> <87mv88kxps.fsf@gmail.com> <83eftkgn06.fsf@gnu.org> <87iniwku3y.fsf@gmail.com> <83zic7fnrv.fsf@gnu.org> <87d1931jiy.fsf@gmail.com> <83vamvfit1.fsf@gnu.org> <87k23bqm2n.fsf@gmail.com> <83o9snf8qx.fsf@gnu.org> <874luf3wir.fsf@gmail.com> Mime-Version: 1.0 Content-Type: text/plain Content-Transfer-Encoding: quoted-printable X-Complaints-To: usenet@blaine.gmane.org User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.0.50 (gnu/linux) Mail-Copies-To: never X-Debbugs-No-Ack: yes Cancel-Lock: sha1:2CLPD7nLmlG8BSAxgFL8v5qxAVQ= X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy] X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 2001:4830:134:3::11 X-Spam-Score: -4.8 (----) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: bug-gnu-emacs@gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -4.8 (----) Robert Pluim writes: > Eli Zaretskii writes: > >>> From: Robert Pluim >>> Would you like me to try an unoptimised build? CFLAGS=3D-O0 -ggdb or >>> similar? >> >> It cannot hurt, so please do. Maybe this will give some valuable >> hints. (Please use "-gdwarf-4 -g3" instead of -ggdb, it should >> provide a better debug info.) Btw, I already did an optimized build, >> but was unable to reproduce the problem there as well. >> > > I'll try that next, I think you're on the right track. > Two more data points: - building with CFLAGS=3D'-gdwarf-4 -g3 -O0' results in an emacs that I can't get to crash - building with default CFLAGS=3D'-g3 -O2', but using the previous system compiler also results in an emacs that I can't crash. That one reports: $ gcc-4.9 -v Using built-in specs. COLLECT_GCC=3Dgcc-4.9 COLLECT_LTO_WRAPPER=3D/usr/lib/gcc/x86_64-linux-gnu/4.9/lto-wrapper Target: x86_64-linux-gnu Configured with: ../src/configure -v --with-pkgversion=3D'Ubuntu 4.9.3-13ub= untu2' --with-bugurl=3Dfile:///usr/share/doc/gcc-4.9/README.Bugs --enable-l= anguages=3Dc,c++,java,go,d,fortran,objc,obj-c++ --prefix=3D/usr --program-s= uffix=3D-4.9 --enable-shared --enable-linker-build-id --libexecdir=3D/usr/l= ib --without-included-gettext --enable-threads=3Dposix --with-gxx-include-d= ir=3D/usr/include/c++/4.9 --libdir=3D/usr/lib --enable-nls --with-sysroot= =3D/ --enable-clocale=3Dgnu --enable-libstdcxx-debug --enable-libstdcxx-tim= e=3Dyes --enable-gnu-unique-object --disable-vtable-verify --enable-plugin = --with-system-zlib --disable-browser-plugin --enable-java-awt=3Dgtk --enabl= e-gtk-cairo --with-java-home=3D/usr/lib/jvm/java-1.5.0-gcj-4.9-amd64/jre --= enable-java-home --with-jvm-root-dir=3D/usr/lib/jvm/java-1.5.0-gcj-4.9-amd6= 4 --with-jvm-jar-dir=3D/usr/lib/jvm-exports/java-1.5.0-gcj-4.9-amd64 --with= -arch-directory=3Damd64 --with-ecj-jar=3D/usr/share/java/eclipse-ecj.jar --= enable-objc-gc --enable-multiarch --disable-werror --with-arch-32=3Di686 --= with-abi=3Dm64 --with-multilib-list=3Dm32,m64,mx32 --enable-multilib --with= -tune=3Dgeneric --enable-checking=3Drelease --build=3Dx86_64-linux-gnu --ho= st=3Dx86_64-linux-gnu --target=3Dx86_64-linux-gnu Thread model: posix gcc version 4.9.3 (Ubuntu 4.9.3-13ubuntu2)=20 Regards Robert From debbugs-submit-bounces@debbugs.gnu.org Fri Jul 14 11:15:00 2017 Received: (at submit) by debbugs.gnu.org; 14 Jul 2017 15:15:00 +0000 Received: from localhost ([127.0.0.1]:39182 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dW2J1-0006qS-UP for submit@debbugs.gnu.org; Fri, 14 Jul 2017 11:15:00 -0400 Received: from eggs.gnu.org ([208.118.235.92]:42738) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dW2J0-0006qE-9V for submit@debbugs.gnu.org; Fri, 14 Jul 2017 11:14:58 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dW2It-0002Tr-N8 for submit@debbugs.gnu.org; Fri, 14 Jul 2017 11:14:53 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=0.8 required=5.0 tests=BAYES_50,RP_MATCHES_RCVD autolearn=disabled version=3.3.2 Received: from lists.gnu.org ([2001:4830:134:3::11]:40969) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1dW2It-0002Th-Hu for submit@debbugs.gnu.org; Fri, 14 Jul 2017 11:14:51 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:33651) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dW2Ir-0008JF-VJ for bug-gnu-emacs@gnu.org; Fri, 14 Jul 2017 11:14:51 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dW2Io-0002Qc-K0 for bug-gnu-emacs@gnu.org; Fri, 14 Jul 2017 11:14:49 -0400 Received: from fencepost.gnu.org ([2001:4830:134:3::e]:41720) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dW2Io-0002QV-HL for bug-gnu-emacs@gnu.org; Fri, 14 Jul 2017 11:14:46 -0400 Received: from 84.94.185.246.cable.012.net.il ([84.94.185.246]:4696 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1dW2In-0001nJ-Ev for bug-gnu-emacs@gnu.org; Fri, 14 Jul 2017 11:14:46 -0400 Date: Fri, 14 Jul 2017 18:14:44 +0300 Message-Id: <83lgnrf3tn.fsf@gnu.org> From: Eli Zaretskii To: bug-gnu-emacs@gnu.org In-reply-to: <874luf3wir.fsf@gmail.com> (message from Robert Pluim on Fri, 14 Jul 2017 16:47:56 +0200) Subject: Re: bug#27668: 26.0.50; Crash with display-line-numbers t References: <87k23d7ovv.fsf@gmail.com> <83inixiv0m.fsf@gnu.org> <877ezd7luq.fsf@gmail.com> <83bmopitky.fsf@gnu.org> <87vamx65x0.fsf@gmail.com> <837ezdiq3z.fsf@gnu.org> <871spl5x5h.fsf@gmail.com> <834luhiinr.fsf@gnu.org> <8760ewviyt.fsf@gmail.com> <83pod4gv0i.fsf@gnu.org> <87r2xkl246.fsf@gmail.com> <83mv88gqzi.fsf@gnu.org> <87mv88kxps.fsf@gmail.com> <83eftkgn06.fsf@gnu.org> <87iniwku3y.fsf@gmail.com> <83zic7fnrv.fsf@gnu.org> <87d1931jiy.fsf@gmail.com> <83vamvfit1.fsf@gnu.org> <87k23bqm2n.fsf@gmail.com> <83o9snf8qx.fsf@gnu.org> <874luf3wir.fsf@gmail.com> X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 2001:4830:134:3::11 X-Spam-Score: -5.0 (-----) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: Eli Zaretskii Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -5.0 (-----) > From: Robert Pluim > Date: Fri, 14 Jul 2017 16:47:56 +0200 > > > When the assertion in maybe_produce_line_number is hit, what are the > > values of it->vpos and it->glyph_row->y? Are they always the same > > values? If they are, maybe we could put a watchpoint on the > > corresponding glyph row and see who changes it. > > They're both always 0. > > 21012 eassert (it->glyph_row == NULL || it->glyph_row->used[TEXT_AREA] == 0); > (gdb) p it->vpos > $5 = 0 > (gdb) p it->glyph_row->y > $6 = 0 That's the first row of desired_matrix. > > The problem seems to be that display_line starts producing glyphs in a > > glyph row which wasn't cleared, i.e. its used[1] counter is non-zero. > > The call to prepare_desired_row at the beginning of display_line is > > supposed to do that, but only if the row->enabled_p flag is reset. > > This flag should be reset for all the glyph rows of the window's > > desired_matrix, because redisplay calls clear_glyph_matrix for > > w->desired_matrix, directly and indirectly, in many places. Somehow > > in your case either those calls to clear_glyph_matrix are bypassed or > > some code sets the enabled_p flag at some point and doesn't reset it > > before the call to try_window on line 16991 of xdisp.c. I'm trying to > > establish where does this happen and why. > > > > Just to make sure I'm on the right track: if you make the change > > below, does the problem go away? > > > > Yes. Without the patch I ran my eww recipe three times, it crashed > three times. With the patch, I ran it three times in 3 separate > instances of emacs, no crash so far (and I tried a bunch of the magit > related operations as well for good measure, and I'm using the > resulting emacs to send this). Great, thanks. So here's the next step: we set a hardware watchpoint on the enabled_p flag of that glyph row, and see who sets it. You will need to remove that line which fixed the problem, I guess. Below please find the transcript of what I did to set up the snare: (gdb) break Fredraw_display (gdb) r -Q Inside Emacs: ; Put the following in *scratch* (setq display-line-number t) C-x C-e M-x eww RET https://revoked.badssl.com/ RET M-x redraw-display RET Now GDB kicks in, so: 3031 FOR_EACH_FRAME (tail, frame) (gdb) p selected_window $1 = XIL(0xa000000001b4e6f0) (gdb) p XWINDOW(selected_window)->contents $2 = XIL(0xa000000007047b30) (gdb) p XWINDOW(selected_window) $3 = (struct window *) 0x1b4e6f0 (gdb) p XWINDOW(selected_window)->contents $4 = XIL(0xa000000007047b30) (gdb) xtype Lisp_Vectorlike PVEC_BUFFER (gdb) xbuffer $5 = (struct buffer *) 0x7047b30 (unsigned char *) 0x6ffc1ec "*eww*" (gdb) p XWINDOW(selected_window)->desired_matrix $6 = (struct glyph_matrix *) 0x6850008 (gdb) p XWINDOW(selected_window)->desired_matrix->rows $7 = (struct glyph_row *) 0xfae158 (gdb) p XWINDOW(selected_window)->desired_matrix->rows->enabled_p $8 = false (gdb) watch -l $3->desired_matrix->rows->enabled_p Hardware watchpoint 4: -location $3->desired_matrix->rows->enabled_p (gdb) commands Type commands for breakpoint(s) 4, one per line. End with a line saying just "end". >bt >continue >end (gdb) c Continuing. (Note that the $3 thing could be a different number in your case: it depends on the number GDB gives to the output where it shows the 'struct window' of the selected-window. The commands I typed after that were just to make sure I'm in the right buffer and so the window is indeed the one we are interested in.) Back in Emacs, type 'q'. This should produce several hits of the watchpoint, and show the backtraces; post them here. In my case, I see that prepare_desired_row sets the flag, then update_window calls clear_glyph_matrix which resets the flag. This is the expected sequence: update_window is called after we've actually redrawn the window to the glass, so it clears the glyph matrix in preparation for the next redisplay. In your case, I expect to see at least one more hit, and the assertion violation. From debbugs-submit-bounces@debbugs.gnu.org Mon Jul 17 10:39:12 2017 Received: (at submit) by debbugs.gnu.org; 17 Jul 2017 14:39:12 +0000 Received: from localhost ([127.0.0.1]:44568 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dX7B2-0007uM-DC for submit@debbugs.gnu.org; Mon, 17 Jul 2017 10:39:12 -0400 Received: from eggs.gnu.org ([208.118.235.92]:43375) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dX7B1-0007uB-28 for submit@debbugs.gnu.org; Mon, 17 Jul 2017 10:39:11 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dX7Av-0005R7-8w for submit@debbugs.gnu.org; Mon, 17 Jul 2017 10:39:06 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-0.5 required=5.0 tests=BAYES_05,FREEMAIL_FROM autolearn=disabled version=3.3.2 Received: from lists.gnu.org ([2001:4830:134:3::11]:39308) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1dX7Av-0005R2-6J for submit@debbugs.gnu.org; Mon, 17 Jul 2017 10:39:05 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:34335) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dX7At-0000sd-Jr for bug-gnu-emacs@gnu.org; Mon, 17 Jul 2017 10:39:04 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dX7Ao-0005P4-UA for bug-gnu-emacs@gnu.org; Mon, 17 Jul 2017 10:39:03 -0400 Received: from [195.159.176.226] (port=47019 helo=blaine.gmane.org) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1dX7Ao-0005Oo-NA for bug-gnu-emacs@gnu.org; Mon, 17 Jul 2017 10:38:58 -0400 Received: from list by blaine.gmane.org with local (Exim 4.84_2) (envelope-from ) id 1dX7Ag-0005LI-RX for bug-gnu-emacs@gnu.org; Mon, 17 Jul 2017 16:38:50 +0200 X-Injected-Via-Gmane: http://gmane.org/ Mail-Followup-To: bug-gnu-emacs@gnu.org To: bug-gnu-emacs@gnu.org From: Robert Pluim Subject: Re: bug#27668: 26.0.50; Crash with display-line-numbers t Date: Mon, 17 Jul 2017 16:38:48 +0200 Organization: not if I can help it Lines: 16 Message-ID: <87379vjfgn.fsf@gmail.com> References: <87k23d7ovv.fsf@gmail.com> <877ezd7luq.fsf@gmail.com> <83bmopitky.fsf@gnu.org> <87vamx65x0.fsf@gmail.com> <837ezdiq3z.fsf@gnu.org> <871spl5x5h.fsf@gmail.com> <834luhiinr.fsf@gnu.org> <8760ewviyt.fsf@gmail.com> <83pod4gv0i.fsf@gnu.org> <87r2xkl246.fsf@gmail.com> <83mv88gqzi.fsf@gnu.org> <87mv88kxps.fsf@gmail.com> <83eftkgn06.fsf@gnu.org> <87iniwku3y.fsf@gmail.com> <83zic7fnrv.fsf@gnu.org> <87d1931jiy.fsf@gmail.com> <83vamvfit1.fsf@gnu.org> <87k23bqm2n.fsf@gmail.com> <83o9snf8qx.fsf@gnu.org> <874luf3wir.fsf@gmail.com> <83lgnrf3tn.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain X-Complaints-To: usenet@blaine.gmane.org User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.0.50 (gnu/linux) Mail-Copies-To: never X-Debbugs-No-Ack: yes Cancel-Lock: sha1:Xl7swyK3lxowaS83s0EoTQvYdNY= X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy] X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 2001:4830:134:3::11 X-Spam-Score: -4.8 (----) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: bug-gnu-emacs@gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -4.8 (----) Eli Zaretskii writes: > Great, thanks. So here's the next step: we set a hardware watchpoint > on the enabled_p flag of that glyph row, and see who sets it. You > will need to remove that line which fixed the problem, I guess. Eli, I haven't forgotten about this, but my reproduction recipe has stopped working :-( If it starts crashing again I'll look again. In the meantime I don't think anyone else has reported any similar problems, so it must be something very specific in my setup. Thanks Robert From debbugs-submit-bounces@debbugs.gnu.org Mon Jul 17 11:34:26 2017 Received: (at submit) by debbugs.gnu.org; 17 Jul 2017 15:34:26 +0000 Received: from localhost ([127.0.0.1]:44682 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dX82U-0002hk-2z for submit@debbugs.gnu.org; Mon, 17 Jul 2017 11:34:26 -0400 Received: from eggs.gnu.org ([208.118.235.92]:59011) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dX82T-0002hX-CY for submit@debbugs.gnu.org; Mon, 17 Jul 2017 11:34:25 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dX82N-0005Nh-Iy for submit@debbugs.gnu.org; Mon, 17 Jul 2017 11:34:20 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,RP_MATCHES_RCVD autolearn=disabled version=3.3.2 Received: from lists.gnu.org ([2001:4830:134:3::11]:44999) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1dX82N-0005Nb-F3 for submit@debbugs.gnu.org; Mon, 17 Jul 2017 11:34:19 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:49975) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dX82M-0005t3-D0 for bug-gnu-emacs@gnu.org; Mon, 17 Jul 2017 11:34:19 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dX82J-0005MU-AU for bug-gnu-emacs@gnu.org; Mon, 17 Jul 2017 11:34:18 -0400 Received: from fencepost.gnu.org ([2001:4830:134:3::e]:35505) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dX82J-0005MQ-7G for bug-gnu-emacs@gnu.org; Mon, 17 Jul 2017 11:34:15 -0400 Received: from 84.94.185.246.cable.012.net.il ([84.94.185.246]:4338 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1dX82I-0001cj-Iy for bug-gnu-emacs@gnu.org; Mon, 17 Jul 2017 11:34:15 -0400 Date: Mon, 17 Jul 2017 18:34:23 +0300 Message-Id: <83mv83cc1s.fsf@gnu.org> From: Eli Zaretskii To: bug-gnu-emacs@gnu.org In-reply-to: <87379vjfgn.fsf@gmail.com> (message from Robert Pluim on Mon, 17 Jul 2017 16:38:48 +0200) Subject: Re: bug#27668: 26.0.50; Crash with display-line-numbers t References: <87k23d7ovv.fsf@gmail.com> <877ezd7luq.fsf@gmail.com> <83bmopitky.fsf@gnu.org> <87vamx65x0.fsf@gmail.com> <837ezdiq3z.fsf@gnu.org> <871spl5x5h.fsf@gmail.com> <834luhiinr.fsf@gnu.org> <8760ewviyt.fsf@gmail.com> <83pod4gv0i.fsf@gnu.org> <87r2xkl246.fsf@gmail.com> <83mv88gqzi.fsf@gnu.org> <87mv88kxps.fsf@gmail.com> <83eftkgn06.fsf@gnu.org> <87iniwku3y.fsf@gmail.com> <83zic7fnrv.fsf@gnu.org> <87d1931jiy.fsf@gmail.com> <83vamvfit1.fsf@gnu.org> <87k23bqm2n.fsf@gmail.com> <83o9snf8qx.fsf@gnu.org> <874luf3wir.fsf@gmail.com> <83lgnrf3tn.fsf@gnu.org> <87379vjfgn.fsf@gmail.com> X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 2001:4830:134:3::11 X-Spam-Score: -5.0 (-----) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: Eli Zaretskii Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -5.0 (-----) > From: Robert Pluim > Date: Mon, 17 Jul 2017 16:38:48 +0200 > > Eli, I haven't forgotten about this, but my reproduction recipe has > stopped working :-( > > If it starts crashing again I'll look again. In the meantime I don't > think anyone else has reported any similar problems, so it must be > something very specific in my setup. OK, thanks for your efforts. If this is a real problem, it will be back. From debbugs-submit-bounces@debbugs.gnu.org Fri Oct 06 04:39:08 2017 Received: (at control) by debbugs.gnu.org; 6 Oct 2017 08:39:08 +0000 Received: from localhost ([127.0.0.1]:52125 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1e0O9z-0005v3-M6 for submit@debbugs.gnu.org; Fri, 06 Oct 2017 04:39:07 -0400 Received: from eggs.gnu.org ([208.118.235.92]:46096) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1e0O9y-0005ua-In for control@debbugs.gnu.org; Fri, 06 Oct 2017 04:39:06 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1e0O9q-0001zu-DJ for control@debbugs.gnu.org; Fri, 06 Oct 2017 04:39:01 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=0.8 required=5.0 tests=BAYES_50,RP_MATCHES_RCVD autolearn=disabled version=3.3.2 Received: from fencepost.gnu.org ([2001:4830:134:3::e]:38072) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1e0O9q-0001zi-9v; Fri, 06 Oct 2017 04:38:58 -0400 Received: from 84.94.185.246.cable.012.net.il ([84.94.185.246]:4518 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1e0O9p-0004R2-9t; Fri, 06 Oct 2017 04:38:57 -0400 Date: Fri, 06 Oct 2017 11:38:48 +0300 Message-Id: <83wp48vffr.fsf@gnu.org> From: Eli Zaretskii To: Alex In-reply-to: <87bmllxieq.fsf@gmail.com> (message from Alex on Thu, 05 Oct 2017 17:51:41 -0600) Subject: Re: bug#28710: 27.0.50; eassert failure in maybe_produce_line_number References: <8760buwnne.fsf@gmail.com> <83d162xahp.fsf@gnu.org> <87bmllxieq.fsf@gmail.com> X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2001:4830:134:3::e X-Spam-Score: -5.0 (-----) X-Debbugs-Envelope-To: control Cc: 28710@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: Eli Zaretskii Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -5.0 (-----) merge 28710 27668 thanks > From: Alex > Cc: 28710@debbugs.gnu.org > Date: Thu, 05 Oct 2017 17:51:41 -0600 > > > It doesn't crash for me here. But since it's hardly repeatable for > > you, I'm not surprised. > > What about using the below recipe? Thanks, but still no cigar. > > If you go to frame #3, in maybe_produce_line_number, and type > > > > (gdb) pgrowx it->glyph_row > > > > what does that produce? (You will need to source src/.gdbinit for the > > pgrowx command to work.) > > TEXT: 34 glyphs > 0 0: CHAR[ ] pos=-1 blev=2,btyp=EN w=9 a+d=14+4 face=35 MB AVOID > 1 9: CHAR[3] pos=-1 blev=2,btyp=EN w=9 a+d=14+4 face=35 MB AVOID > 2 18: CHAR[1] pos=-1 blev=2,btyp=EN w=9 a+d=14+4 face=35 MB AVOID > 3 27: CHAR[3] pos=-1 blev=2,btyp=EN w=9 a+d=14+4 face=35 MB AVOID > 4 36: CHAR[0] pos=-1 blev=2,btyp=EN w=9 a+d=14+4 face=35 MB AVOID > 5 45: CHAR[ ] pos=-1 blev=2,btyp=EN w=9 a+d=14+4 face=35 MB AVOID > 6 54: CHAR[@] pos=123808 blev=0,btyp=L w=9 a+d=14+4 MB It sounds like you've rediscovered bug#27668. Robert Pluim lost the ability to reproduce it when we were close to catching the offending code, but maybe you will be able to pick up where he left off? In a nutshell, the glyph rows where display_line produces glyphs are not cleared, so they still hold the glyphs produced by some previous code in the display engine. The question is where should we add a call to clear_glyph_matrix to force the glyph rows to be cleared at the beginning of display_line. I wrote instructions for a debugging session to find that out, see https://debbugs.gnu.org/cgi/bugreport.cgi?bug=27668#89 Instead of "r -Q", type just "run" to run Emacs as usual, or even attach to an already running Emacs with "gdb -p", set the breakpoint, and type "continue. The "Inside Emacs" part will have to be replaced with your recipe, up to and including step 5, and you should invoke redraw-display just before hitting the final RET in step 6, the one that triggers the assertion. After performing the GDB commands and continuing Emacs, hit RET, and post the backtraces from every time the watchpoint set by those GDB commands is hit. I hope we will then see the offending code that needs to be fixed. Let me know if you need me to rewrite the instructions to fit your case exactly. > > Btw, your recipe didn't quite work for me: the first step failed when > > I pressed RET "on the first line" of the buffer presented by "M-x > > magit-status" in the current release branch tip. It said there was > > nothing to show about that line. I needed to find a suitable line > > further down in the buffer. Am I missing something here? Can you > > specify precise steps, assuming I know nothing about using Magit? > > That's odd, since I believe unless there was a git error the first line > should start with "Head:" and pressing RET on it shows the commit at > HEAD. Maybe there's another situation where that's not the case. What if HEAD is a merge-commit? I think this is what I got when I tried. Anyway, this is just a tangential issue. > Just to specify a commit, try M-x magit-show-commit RET 92045f45 RET in > an Emacs repo and press RET on the following line: > +@code{file-symlink-p}, @code{file-system-info} You mean "C-u M-x magit-show-commit", right? Tried this as well, still no assertion violation. Thanks. P.S. Btw, I'm debugging this in the emacs-26 branch, so perhaps so should you, to avoid any irrelevant differences between what you and I see. I tried reproducing the assertion violation in both branches, and failed in both. From unknown Sun Jun 22 00:21:28 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Tue, 07 Nov 2017 12:24:03 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator