From carsten.dominik@gmail.com Tue Aug 11 23:49:59 2009 Received: (at submit) by emacsbugs.donarmstrong.com; 12 Aug 2009 06:49:59 +0000 X-Spam-Checker-Version: SpamAssassin 3.2.5-bugs.debian.org_2005_01_02 (2008-06-10) on rzlab.ucr.edu X-Spam-Level: ** X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available. hammytokens:Tokens not available. X-Spam-Status: No, score=2.3 required=4.0 tests=AWL,FOURLA,IMPRONONCABLE_1, IMPRONONCABLE_2,MURPHY_WRONG_WORD1,MURPHY_WRONG_WORD2,PHONENUMBER autolearn=no version=3.2.5-bugs.debian.org_2005_01_02 Received: from fencepost.gnu.org (fencepost.gnu.org [140.186.70.10]) by rzlab.ucr.edu (8.14.3/8.14.3/Debian-5) with ESMTP id n7C6nvQn004208 for ; Tue, 11 Aug 2009 23:49:58 -0700 Received: from mail.gnu.org ([199.232.76.166]:45749 helo=mx10.gnu.org) by fencepost.gnu.org with esmtp (Exim 4.67) (envelope-from ) id 1Mb7em-0002wy-JD for emacs-pretest-bug@gnu.org; Wed, 12 Aug 2009 02:49:56 -0400 Received: from Debian-exim by monty-python.gnu.org with spam-scanned (Exim 4.60) (envelope-from ) id 1Mb7ec-0004vU-3u for emacs-pretest-bug@gnu.org; Wed, 12 Aug 2009 02:49:56 -0400 Received: from ey-out-1920.google.com ([74.125.78.144]:26732) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1Mb7ea-0004uw-Lg; Wed, 12 Aug 2009 02:49:45 -0400 Received: by ey-out-1920.google.com with SMTP id 5so1279876eyb.24 for ; Tue, 11 Aug 2009 23:49:43 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:from:to :content-type:content-transfer-encoding:mime-version:subject:date:cc :x-mailer; bh=xW7qNHWP7mHRq8yZbKVlqNpTD/f1xDfx7vGZU6leFNE=; b=JYyhd6CinqegKug7BP5y0t3byekSWXyc4qqZtYtILBztEPIbHrQkJx2KaAdgaw0vUr Fii13mMMGQtu6rYyXG92pRxajaNSvM6GEZjQ+Xm+JlZve/979uiohV4fMyvz+Ze6tILL vY16D3+LzONL5tT6+MgsiI9+bFC5xOnWIcCdI= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:from:to:content-type:content-transfer-encoding :mime-version:subject:date:cc:x-mailer; b=xzhT+cjLBTnkVEXDb8Vl7EmAO8cL0vHHdhe3+JG0kfYyRvdkjelN/r1Iuxles5Wsvd b1BMYVntM7rDrcFoVG7uMXjl4hkQOn8zW3CDYowx5ZeGd/s53xOtmye7y9jD9Xp58OG/ mrmzhp5zHS3E6VsG/zUA0BkX87OYmxG6P9HKQ= Received: by 10.210.63.18 with SMTP id l18mr7546713eba.11.1250059783244; Tue, 11 Aug 2009 23:49:43 -0700 (PDT) Received: from ?192.168.2.2? (u016822.science.uva.nl [146.50.39.34]) by mx.google.com with ESMTPS id 24sm1933519eyx.33.2009.08.11.23.49.41 (version=TLSv1/SSLv3 cipher=RC4-MD5); Tue, 11 Aug 2009 23:49:42 -0700 (PDT) Message-Id: From: Carsten Dominik To: emacs-pretest-bug@gnu.org Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit Mime-Version: 1.0 (Apple Message framework v936) Subject: Emacs crashes with line-prefix text property and outline Date: Wed, 12 Aug 2009 08:49:40 +0200 Cc: Miles Bader X-Mailer: Apple Mail (2.936) X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 2) Please write in English if possible, because the Emacs maintainers usually do not have translators to read other languages for them. Your bug report will be posted to the emacs-pretest-bug@gnu.org mailing list. Please describe exactly what actions triggered the bug and the precise symptoms of the bug: If Emacs crashed, and you have the Emacs process in the gdb debugger, please include the output from the following gdb commands: `bt full' and `xbacktrace'. If you would like to further debug the crash, please read the file /Users/dominik/lib/git/emacs-new/etc/DEBUG for instructions. In GNU Emacs 23.0.96.1 (i386-apple-darwin9.7.0, X toolkit, Xaw3d scroll bars) of 2009-08-08 on carsten-dominiks-macbook-pro.local Windowing system distributor `The X.Org Foundation', version 11.0.10402000 Important settings: value of $LC_ALL: nil value of $LC_COLLATE: nil value of $LC_CTYPE: nil value of $LC_MESSAGES: nil value of $LC_MONETARY: nil value of $LC_NUMERIC: nil value of $LC_TIME: nil value of $LANG: nil value of $XMODIFIERS: nil locale-coding-system: nil default-enable-multibyte-characters: t Major mode: Outline Minor modes in effect: show-paren-mode: t iswitchb-mode: t yas/minor-mode: t diff-auto-refine-mode: t tooltip-mode: t mouse-wheel-mode: t menu-bar-mode: t file-name-shadow-mode: t global-font-lock-mode: t font-lock-mode: t blink-cursor-mode: t global-auto-composition-mode: t auto-composition-mode: t auto-encryption-mode: t auto-compression-mode: t line-number-mode: t transient-mark-mode: t Recent input: M-x g d f i l e M-x r e p o r t - e Recent messages: Loading iswitchb...done Loading paren...done Loading /Users/dominik/.custom.el (source)...done Ido mode enabled Loading /Users/dominik/lib/emacs/lisp/db-colors.el (source)...done For information about GNU Emacs and the GNU system, type C-h C-a. crash has auto save data; consider M-x recover-this-file Loading vc-git...done Making completion list... Source file `/Users/dominik/lib/git/emacs-new/lisp/progmodes/gdb- ui.el' newer than byte-compiled file ----------------------------------------------------------------------------- ----------------------------------------------------------------------------- ----------------------------------------------------------------------------- ----------------------------------------------------------------------------- ----------------------------------------------------------------------------- ----------------------------------------------------------------------------- Output of bt full ----------------------------------------------------------------------------- (gdb) bt full #0 0x0001fe4d in next_element_from_display_vector (it=0xbfffd168) at xdisp.c:6223 gc = #1 0x0001e9cc in get_next_display_element (it=0xbfffd168) at xdisp.c: 5676 success_p = 1 #2 0x000291ac in display_line (it=0xbfffd168) at xdisp.c:16619 n_glyphs_before = 1 hpos_before = 1 phys_ascent = 0 phys_descent = 0 x = 10060532 nglyphs = 1 descent = 0 i = -1073756264 ascent = 0 row = (struct glyph_row *) 0x2b00800 overlay_arrow_string = wrap_it = { window = 1, w = 0x5ca947, f = 0x0, method = 10, stop_charpos = 12, end_charpos = 3, s = 0xbfffcdc8 "{l\024", string_nchars = -1073749848, region_beg_charpos = -1073754840, region_end_charpos = 125388, redisplay_end_trigger_charpos = -1073749848, multibyte_p = 0, header_line_p = 1, string_from_display_prop_p = 0, ellipsis_p = 0, avoid_cursor_p = 0, dp = 0xbfffd508, dpvec = 0x0, dpend = 0x108aaa0, dpvec_char_len = 17473488, dpvec_face_id = 0, saved_face_id = 0, ctl_chars = {1, 0, 10266644, 0, 25355649, 25165833, -1073754888, 1849228, 8, 0, 3155824, 25165833, 155644, -1073749848, -1073754840, 155903}, start = { pos = { charpos = 8, bytepos = 10060532 }, overlay_string_index = -1073754840, string_pos = { charpos = 1636176, bytepos = 25165833 }, dpvec_index = 25355649 }, current = { pos = { charpos = 66048, bytepos = 156069 }, overlay_string_index = -1073749848, string_pos = { charpos = 0, bytepos = -1073751192 }, dpvec_index = 156232 }, n_overlay_strings = -1073749848, overlay_strings = {1, 10060532, 0, 0, 0, 3155824, -1073753536, 10, -1, 8, 0, 0, 60, 1, 12, 3}, string_overlays = {6, -45568, 0, -1073749608, -1073749608, -1073754600, -1, -1073751752, 1, 3155824, 1218111, 1, 33546648, 1338491, 1635745, 3402572}, string = -1073754528, from_overlay = -1073754568, stack = {{ string = -1878323689, string_nchars = -1073754544, end_charpos = -1073754528, stop_charpos = 1338491, cmp_it = { stop_pos = 1218111, id = 3402572, ch = 1635745, lookback = 1338491, nglyphs = 1635745, nchars = 3402572, nbytes = 25165833, from = -1073754584, to = 1635975, width = 25271537 }, face_id = 17998853, u = { image = { object = 16694221, slice = { x = 1217967, y = 0, width = 25271537, height = 18094685 }, image_id = 1218111 }, comp = { object = 16694221 }, stretch = { object = 16694221 } }, position = { charpos = 46290906, bytepos = 962143 }, current = { pos = { charpos = 1338491, bytepos = 1635745 }, overlay_string_index = 3402572, string_pos = { charpos = 25165833, bytepos = -1073754520 }, dpvec_index = 1635975 }, from_overlay = 25271585, area = 17998853, method = GET_FROM_BUFFER, multibyte_p = 1, string_from_display_prop_p = 0, display_ellipsis_p = 0, avoid_cursor_p = 0, line_wrap = TRUNCATE, voffset = -25311, space_width = 18094685, font_height = 25165833 }, { string = 67, string_nchars = 25271537, end_charpos = 8692136, stop_charpos = 962143, cmp_it = { stop_pos = 46395392, id = 0, ch = -1073754488, lookback = 962218, nglyphs = 18094685, nchars = 25271585, nbytes = 0, from = 116705, to = 46395392, width = 116705 }, face_id = -1073754024, u = { image = { object = 117704, slice = { x = 46395394, y = 25271585, width = -1073754424, height = 1648285 }, image_id = 1 }, comp = { object = 117704 }, stretch = { object = 117704 } }, position = { charpos = 25330761, bytepos = 17961757 }, current = { pos = { charpos = 25165833, bytepos = 0 }, overlay_string_index = 40, string_pos = { charpos = -1073754352, bytepos = 1648516 }, dpvec_index = 1696 }, from_overlay = 17619588, area = 3221212904, method = 1636176, multibyte_p = 1, string_from_display_prop_p = 0, display_ellipsis_p = 1, avoid_cursor_p = 1, line_wrap = 25330761, voffset = 1, space_width = 1648516, font_height = 1696 }, { string = 1696, string_nchars = -1073754104, end_charpos = 1648600, stop_charpos = 17961757, cmp_it = { stop_pos = 25330761, id = 17619588, ch = -1073754136, lookback = 0, nglyphs = 0, nchars = 0, nbytes = 1649030, from = 46395394, to = 46290906, width = 9463296 }, face_id = 17485968, u = { image = { object = 16777216, slice = { x = 197210, y = 0, width = 1218111, height = 40 }, image_id = 17809536 }, comp = { object = 16777216 }, stretch = { object = 16777216 } }, position = { charpos = 1338491, bytepos = 1635745 }, current = { pos = { charpos = 3402572, bytepos = 25165833 }, overlay_string_index = 948139, string_pos = { charpos = 1648516, bytepos = 1688 }, dpvec_index = 17619588 }, from_overlay = -1073754168, area = 1648853, method = 17619584, multibyte_p = 1, string_from_display_prop_p = 0, display_ellipsis_p = 0, avoid_cursor_p = 1, line_wrap = 17961757, voffset = 9, space_width = 17619588, font_height = 1 }, { string = -1073754232, string_nchars = 1649291, end_charpos = -1073754196, stop_charpos = -1073754200, cmp_it = { stop_pos = 948139, id = 1648516, ch = 1696, lookback = 17619588, nglyphs = -1073754104, nchars = 1648853, nbytes = 17619584, from = 1696, to = 40, width = -1073754416 }, face_id = 46360800, u = { image = { object = 25330761, slice = { x = -1073754128, y = 1089099, width = -1073754132, height = -1073754136 }, image_id = 212 }, comp = { object = 25330761 }, stretch = { object = 25330761 } }, position = { charpos = 1002196, bytepos = 9463296 }, current = { pos = { charpos = 17619584, bytepos = -4 }, overlay_string_index = -1, string_pos = { charpos = 213, bytepos = 17619588 }, dpvec_index = 40 }, from_overlay = -1073754352, area = 212, method = 3221213544, multibyte_p = 0, string_from_display_prop_p = 1, display_ellipsis_p = 0, avoid_cursor_p = 0, line_wrap = 46290904, voffset = 37, space_width = 212, font_height = 20 }}, sp = 0, selective = 1696, what = 98017, face_id = 5, selective_display_ellipsis_p = 1, ctl_arrow_p = 0, face_box_p = 0, start_of_box_run_p = 0, end_of_box_run_p = 1, overlay_strings_at_end_processed_p = 1, ignore_overlay_strings_at_pos_p = 0, glyph_not_available_p = 0, starts_in_middle_of_char_p = 0, face_before_selective_p = 1, constrain_row_ascent_descent_p = 0, line_wrap = 3221212832, base_face_id = 25165833, c = -1073753992, len = 211, cmp_it = { stop_pos = 210, id = 46290906, ch = 2, lookback = 0, nglyphs = -1073754020, nchars = -1073753592, nbytes = 68, from = 118958, to = -1073753752, width = 0 }, char_to_display = -1073753992, image_id = 118984, slice = { x = 17619584, y = -1073753752, width = -1073753928, height = 106257 }, space_width = 120251, voffset = 14200, tab_width = 28, font_height = -1073753928, object = 120761, position = { charpos = -1073753752, bytepos = -1073753752 }, truncation_pixel_width = -12104, continuation_pixel_width = -16385, first_visible_x = 121883, last_visible_x = 0, last_visible_y = 1849152, extra_line_spacing = -1073753752, max_extra_line_spacing = 1, override_ascent = 4, override_descent = 68, override_boff = 68, glyph_row = 0x28d91, area = 3221213544, nglyphs = 9463296, pixel_width = -1073753832, ascent = 167414, descent = 1, max_ascent = 9463296, max_descent = 68, phys_ascent = 68, phys_descent = 45090816, max_phys_ascent = 0, max_phys_descent = 1, current_x = 1000388, continuation_lines_width = 8, current_y = 8, first_vpos = -1073753592, vpos = 17619584, hpos = 0, left_user_fringe_bitmap = 58872, right_user_fringe_bitmap = 49151, left_user_fringe_face_id = 68, right_user_fringe_face_id = 68 } may_wrap = 0 wrap_x = 1 wrap_row_used = -1 wrap_row_ascent = 25165833 wrap_row_height = 25165833 wrap_row_phys_ascent = 0 wrap_row_phys_height = 40 wrap_row_extra_line_spacing = -1073756224 #3 0x0002a776 in try_window (window=9463300, pos={charpos = 68, bytepos = 68}, check_margins=1) at xdisp.c:14070 w = (struct window *) 0x906600 it = { window = 9463300, w = 0x906600, f = 0x90c460, method = GET_FROM_DISPLAY_VECTOR, stop_charpos = 0, end_charpos = 213, s = 0x0, string_nchars = 0, region_beg_charpos = -1, region_end_charpos = -1, redisplay_end_trigger_charpos = 0, multibyte_p = 1, header_line_p = 0, string_from_display_prop_p = 0, ellipsis_p = 0, avoid_cursor_p = 0, dp = 0x0, dpvec = 0x0, dpend = 0x3027cc, dpvec_char_len = 0, dpvec_face_id = -1, saved_face_id = 0, ctl_chars = {0 }, start = { pos = { charpos = 68, bytepos = 68 }, overlay_string_index = -1, string_pos = { charpos = -1, bytepos = -1 }, dpvec_index = -1 }, current = { pos = { charpos = 212, bytepos = 212 }, overlay_string_index = -1, string_pos = { charpos = -1, bytepos = -1 }, dpvec_index = 0 }, n_overlay_strings = 0, overlay_strings = {0 }, string_overlays = {0 }, string = 25165833, from_overlay = 0, stack = {{ string = 25165833, string_nchars = 0, end_charpos = 213, stop_charpos = 0, cmp_it = { stop_pos = 0, id = -1, ch = 0, lookback = 0, nglyphs = 0, nchars = 0, nbytes = 0, from = 0, to = 0, width = 0 }, face_id = 0, u = { image = { object = 0, slice = { x = 0, y = 0, width = 0, height = 0 }, image_id = 0 }, comp = { object = 0 }, stretch = { object = 0 } }, position = { charpos = 211, bytepos = 211 }, current = { pos = { charpos = 212, bytepos = 212 }, overlay_string_index = -1, string_pos = { charpos = -1, bytepos = -1 }, dpvec_index = 0 }, from_overlay = 0, area = TEXT_AREA, method = GET_FROM_DISPLAY_VECTOR, multibyte_p = 1, string_from_display_prop_p = 0, display_ellipsis_p = 0, avoid_cursor_p = 0, line_wrap = WINDOW_WRAP, voffset = 0, space_width = 25165833, font_height = 25165833 }, { string = 0, string_nchars = 0, end_charpos = 0, stop_charpos = 0, cmp_it = { stop_pos = 0, id = 0, ch = 0, lookback = 0, nglyphs = 0, nchars = 0, nbytes = 0, from = 0, to = 0, width = 0 }, face_id = 0, u = { image = { object = 0, slice = { x = 0, y = 0, width = 0, height = 0 }, image_id = 0 }, comp = { object = 0 }, stretch = { object = 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 = 0, area = LEFT_MARGIN_AREA, method = GET_FROM_BUFFER, multibyte_p = 0, string_from_display_prop_p = 0, display_ellipsis_p = 0, avoid_cursor_p = 0, line_wrap = TRUNCATE, voffset = 0, space_width = 0, font_height = 0 }, { string = 0, string_nchars = 0, end_charpos = 0, stop_charpos = 0, cmp_it = { stop_pos = 0, id = 0, ch = 0, lookback = 0, nglyphs = 0, nchars = 0, nbytes = 0, from = 0, to = 0, width = 0 }, face_id = 0, u = { image = { object = 0, slice = { x = 0, y = 0, width = 0, height = 0 }, image_id = 0 }, comp = { object = 0 }, stretch = { object = 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 = 0, area = LEFT_MARGIN_AREA, method = GET_FROM_BUFFER, multibyte_p = 0, string_from_display_prop_p = 0, display_ellipsis_p = 0, avoid_cursor_p = 0, line_wrap = TRUNCATE, voffset = 0, space_width = 0, font_height = 0 }, { string = 0, string_nchars = 0, end_charpos = 0, stop_charpos = 0, cmp_it = { stop_pos = 0, id = 0, ch = 0, lookback = 0, nglyphs = 0, nchars = 0, nbytes = 0, from = 0, to = 0, width = 0 }, face_id = 0, u = { image = { object = 0, slice = { x = 0, y = 0, width = 0, height = 0 }, image_id = 0 }, comp = { object = 0 }, stretch = { object = 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 = 0, area = LEFT_MARGIN_AREA, method = GET_FROM_BUFFER, multibyte_p = 0, string_from_display_prop_p = 0, display_ellipsis_p = 0, avoid_cursor_p = 0, line_wrap = TRUNCATE, voffset = 0, space_width = 0, font_height = 0 }}, sp = 0, selective = 0, what = IT_CHARACTER, face_id = 0, selective_display_ellipsis_p = 1, ctl_arrow_p = 1, face_box_p = 0, start_of_box_run_p = 0, end_of_box_run_p = 0, overlay_strings_at_end_processed_p = 0, ignore_overlay_strings_at_pos_p = 0, glyph_not_available_p = 0, starts_in_middle_of_char_p = 0, face_before_selective_p = 0, constrain_row_ascent_descent_p = 0, line_wrap = WINDOW_WRAP, base_face_id = 0, c = 32, len = 1, cmp_it = { stop_pos = 0, id = -1, ch = 0, lookback = 0, nglyphs = 0, nchars = 0, nbytes = 0, from = 0, to = 0, width = 0 }, char_to_display = 32, image_id = 0, slice = { x = 25165833, y = 25165833, width = 25165833, height = 25165833 }, space_width = 25165833, voffset = 0, tab_width = 8, font_height = 25165833, object = 45031555, position = { charpos = 211, bytepos = 211 }, truncation_pixel_width = 0, continuation_pixel_width = 0, first_visible_x = 0, last_visible_x = 800, last_visible_y = 553, extra_line_spacing = 0, max_extra_line_spacing = 0, override_ascent = -1, override_descent = 0, override_boff = 0, glyph_row = 0x2b00800, area = TEXT_AREA, nglyphs = 1, pixel_width = 10, ascent = 12, descent = 3, max_ascent = 12, max_descent = 3, phys_ascent = 1, phys_descent = 0, max_phys_ascent = 1, max_phys_descent = 0, current_x = 20, continuation_lines_width = 0, current_y = 0, first_vpos = 0, vpos = 0, hpos = 2, left_user_fringe_bitmap = 0, right_user_fringe_bitmap = 0, left_user_fringe_face_id = 0, right_user_fringe_face_id = 0 } last_text_row = (struct glyph_row *) 0x0 f = (struct frame *) 0x90c460 #4 0x0003294c in redisplay_window (window=9463300, just_this_one_p=0) at xdisp.c:13693 w = (struct window *) 0x906600 f = (struct frame *) 0x90c460 buffer = old = (struct buffer *) 0x10cda80 startp = { charpos = 68, bytepos = 68 } update_mode_line = 1 tem = it = { window = 1070596096, w = 0x5, f = 0xbfffdca8, method = 9491952, stop_charpos = 9487456, end_charpos = 1, s = 0x1
, string_nchars = 25354313, region_beg_charpos = 25165833, region_end_charpos = 9491956, redisplay_end_trigger_charpos = 9491952, multibyte_p = 0, header_line_p = 0, string_from_display_prop_p = 0, ellipsis_p = 0, avoid_cursor_p = 0, dp = 0x0, dpvec = 0x4, dpend = 0x4, dpvec_char_len = 0, dpvec_face_id = 0, saved_face_id = -1, ctl_chars = {-1, 0, 1, 0, 0, 0, 0, 0, -1, 0, 0, 0, 0, 0, 0, 0}, start = { pos = { charpos = 0, bytepos = 0 }, overlay_string_index = 0, string_pos = { charpos = 0, bytepos = 0 }, dpvec_index = 0 }, current = { pos = { charpos = 0, bytepos = 0 }, overlay_string_index = 0, string_pos = { charpos = 4, bytepos = 4 }, dpvec_index = -1 }, n_overlay_strings = -1, overlay_strings = {-1, -1, 4, 4, -1, -1, -1, -1, 0, 0, 0, 0, 0, 0, 0, 0}, string_overlays = {0 }, string = 0, from_overlay = 0, stack = {{ string = 0, string_nchars = 0, end_charpos = 0, stop_charpos = 0, cmp_it = { stop_pos = 0, id = 0, ch = 0, lookback = 25165833, nglyphs = 0, nchars = 0, nbytes = 0, from = 0, to = 0, width = 0 }, face_id = 0, u = { image = { object = 0, slice = { x = 0, y = 0, width = 0, height = 0 }, image_id = 0 }, comp = { object = 0 }, stretch = { object = 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 = 0, area = LEFT_MARGIN_AREA, method = GET_FROM_BUFFER, multibyte_p = 0, string_from_display_prop_p = 0, display_ellipsis_p = 0, avoid_cursor_p = 0, line_wrap = TRUNCATE, voffset = 0, space_width = 0, font_height = 0 }, { string = 0, string_nchars = 0, end_charpos = 0, stop_charpos = 0, cmp_it = { stop_pos = 0, id = 0, ch = 0, lookback = 0, nglyphs = 0, nchars = 0, nbytes = 0, from = 0, to = 0, width = 0 }, face_id = 0, u = { image = { object = 0, slice = { x = 0, y = 0, width = 0, height = 0 }, image_id = 0 }, comp = { object = 0 }, stretch = { object = 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 = 0, area = LEFT_MARGIN_AREA, method = GET_FROM_BUFFER, multibyte_p = 0, string_from_display_prop_p = 0, display_ellipsis_p = 0, avoid_cursor_p = 0, line_wrap = TRUNCATE, voffset = 0, space_width = 0, font_height = 0 }, { string = 0, string_nchars = 0, end_charpos = 0, stop_charpos = 0, cmp_it = { stop_pos = 0, id = 0, ch = 0, lookback = 0, nglyphs = 0, nchars = 0, nbytes = 0, from = 0, to = 0, width = 0 }, face_id = 0, u = { image = { object = 0, slice = { x = 0, y = 0, width = 0, height = 0 }, image_id = 0 }, comp = { object = 0 }, stretch = { object = 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 = 0, area = LEFT_MARGIN_AREA, method = GET_FROM_BUFFER, multibyte_p = 0, string_from_display_prop_p = 0, display_ellipsis_p = 0, avoid_cursor_p = 0, line_wrap = TRUNCATE, voffset = 0, space_width = 0, font_height = 0 }, { string = 0, string_nchars = 0, end_charpos = 0, stop_charpos = 0, cmp_it = { stop_pos = 0, id = 0, ch = 0, lookback = 0, nglyphs = 0, nchars = 0, nbytes = 0, from = 0, to = 0, width = 0 }, face_id = 0, u = { image = { object = 0, slice = { x = 0, y = 0, width = 0, height = 0 }, image_id = 0 }, comp = { object = 0 }, stretch = { object = 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 = 0, area = LEFT_MARGIN_AREA, method = GET_FROM_BUFFER, multibyte_p = 0, string_from_display_prop_p = 0, display_ellipsis_p = 0, avoid_cursor_p = 0, line_wrap = TRUNCATE, voffset = 0, space_width = 0, font_height = 0 }}, sp = 0, selective = 1220865, what = IT_CHARACTER, face_id = 0, selective_display_ellipsis_p = 0, ctl_arrow_p = 0, face_box_p = 0, start_of_box_run_p = 0, end_of_box_run_p = 0, overlay_strings_at_end_processed_p = 0, ignore_overlay_strings_at_pos_p = 0, glyph_not_available_p = 0, starts_in_middle_of_char_p = 0, face_before_selective_p = 0, constrain_row_ascent_descent_p = 0, line_wrap = TRUNCATE, base_face_id = 0, c = 0, len = 0, cmp_it = { stop_pos = 1218111, id = 0, ch = 4, lookback = 1338897, nglyphs = 1221680, nchars = 3402572, nbytes = 42000528, from = -1073749864, to = 1221893, width = 25276753 }, char_to_display = 25277178, image_id = 18003597, slice = { x = 0, y = 0, width = 0, height = 0 }, space_width = 25276753, voffset = 0, tab_width = 0, font_height = 0, object = 1221680, position = { charpos = 1222260, bytepos = 25276753 }, truncation_pixel_width = -32016, continuation_pixel_width = 153, first_visible_x = -1073749832, last_visible_x = 1000241, last_visible_y = 25165833, extra_line_spacing = 524288, max_extra_line_spacing = 25165833, override_ascent = 10060536, override_descent = 1222430, override_boff = 1222430, glyph_row = 0xbfffe0d8, area = 1000388, nglyphs = 27492960, pixel_width = 27492962, ascent = -1073749752, descent = 1000594, max_ascent = 27492960, max_descent = 17995104, phys_ascent = -1073749752, phys_descent = 945984, max_phys_ascent = 25276753, max_phys_descent = 1, current_x = 10, continuation_lines_width = 14696328, current_y = 25277058, first_vpos = 25277056, vpos = 945435, hpos = 137444, left_user_fringe_bitmap = 17136, right_user_fringe_bitmap = 156, left_user_fringe_face_id = 54768, right_user_fringe_face_id = 1040696 } current_matrix_up_to_date_p = 0 used_current_matrix_p = 0 buffer_unchanged_p = 0 temp_scroll_step = rc = 0 centering_position = last_line_misfit = beg_unchanged = 26 end_unchanged = 1 #5 0x0003472d in redisplay_window_0 (window=9463300) at xdisp.c:12288 No locals. #6 0x0013ce73 in internal_condition_case_1 (bfun=0x34700 , arg=9463300, handlers=8746453, hfun=0x25020 ) at eval.c:1560 val = c = { tag = 25165833, val = 25165833, next = 0xbfffec18, gcpro = 0x0, jmp = {3146623, 17619584, 8096, 1297771, 25224488, 136912, 3402572, 9463296, -1073749512, -1073749696, 25165855, 658, 1297927, 1245207, 25165855, 3145759, 17563648, 55}, backlist = 0x0, handlerlist = 0xbfffec8c, lisp_eval_depth = 0, pdlcount = 4, poll_suppress_count = 1, interrupt_input_blocked = 0, byte_stack = 0x0 } h = { handler = 8746453, var = 25165833, chosen_clause = 0, tag = 0xbfffe158, next = 0xbfffec8c } #7 0x00024d41 in redisplay_windows (window=) at xdisp.c:12267 w = (struct window *) 0x906600 #8 0x00036aa8 in redisplay_internal (preserve_echo_area=) at xdisp.c:11839 f = (struct frame *) 0x90c460 tail = frame = w = (struct window *) 0x906600 pause = 0 must_finish = 1 tlbufpos = { charpos = 25276753, bytepos = 25277178 } number_of_visible_frames = 1 polling_stopped_here = 0 old_frame = 9487460 consider_all_windows_p = #9 0x000d4e05 in read_char (commandflag=1, nmaps=5, maps=0xbfffe9a0, prev_event=25165833, used_mouse_menu=0xbfffeaa8, end_time=0x0) at keyboard.c:2707 echo_current = 0 c = 25165833 count = jmpcount = 209 local_getcjmp = {0 , 948139, 1648516, 1688, 17619588, -1073747656, 1648853} save_jump = {17961757, 25193297, 1, 1249860, 1688, 1688, -1073747624, 1250546, 17961757, 25193297, 17619588, 0, 46395394, 46290906, 0, 0, 0, 0} key_already_recorded = 0 tem = save = previous_echo_area_message = 25165833 also_record = 25165833 reread = 0 polling_stopped_here = orig_kboard = (struct kboard *) 0x90a510 #10 0x000d78c4 in read_key_sequence (keybuf=0xbfffeb68, bufsize=30, prompt=25165833, dont_downcase_last=0, can_return_switch_frame=1, fix_current_buffer=1) at keyboard.c:9460 interrupted_kboard = (KBOARD *) 0x90a510 key = 1300359 used_mouse_menu = 0 echo_local_start = 0 last_real_key_start = 0 keys_local_start = 0 local_first_binding = 0 from_string = 25165833 count = 2 t = 0 echo_start = 0 keys_start = 0 nmaps = 5 nmaps_allocated = 5 defs = (Lisp_Object * volatile) 0xbfffe970 submaps = (Lisp_Object * volatile) 0xbfffe9a0 orig_local_map = 14233389 orig_keymap = 25165833 localized_local_map = 0 first_binding = 0 first_unbound = 31 mock_input = 0 fkey = { parent = 9373445, map = 9373445, start = 0, end = 0 } keytran = { parent = 8753021, map = 8753021, start = 0, end = 0 } indec = { parent = 9373469, map = 9373469, start = 0, end = 0 } shift_translated = 0 delayed_switch_frame = 25165833 original_uppercase = 3142048 original_uppercase_position = -1 starting_buffer = (struct buffer *) 0x10cda80 fake_prefixed_keys = 25165833 #11 0x000d9dea in command_loop_1 () at keyboard.c:1642 cmd = lose = nonundocount = 0 keybuf = {192, 40, -1073746900, 42001408, -1073747000, -1878493430, 253, 152, -1073747000, -1880941356, 8691759, 152, 237568, 8691712, 214, 24, 0, -1880939480, 14695055, 1, -1073746936, -1878527705, 0, 0, -1073746980, -1073747168, 0, 3866624, 25165833, 25645513} i = 2 prev_modiff = 9 prev_buffer = (struct buffer *) 0x10cda80 already_adjusted = 0 #12 0x0013d15d in internal_condition_case (bfun=0xd9bb0 , handlers=25206425, hfun=0xcfce0 ) at eval.c:1512 val = c = { tag = 25165833, val = 25165833, next = 0xbfffed1c, gcpro = 0x0, jmp = {-1073806465, -1880939480, 8096, 1298523, 25165833, 25165833, 3402492, 3402572, -1073746760, -1073746944, 31, 662, 1298679, 1507351, 3342367, 3342367, -1073807360, -1073807305}, backlist = 0x0, handlerlist = 0x0, lisp_eval_depth = 0, pdlcount = 2, poll_suppress_count = 1, interrupt_input_blocked = 0, byte_stack = 0x0 } h = { handler = 25206425, var = 25165833, chosen_clause = 0, tag = 0xbfffec18, next = 0x0 } #13 0x000c95c8 in command_loop_2 () at keyboard.c:1359 val = 0 #14 0x0013cd3c in internal_catch (tag=0, func=0xc9580 , arg=25165833) at eval.c:1248 c = { tag = 25201521, val = 25165833, next = 0x0, gcpro = 0x0, jmp = {-1878588545, 0, 8096, 1297561, -1878527539, 19936, 3402640, 3402572, -1073746536, -1073746688, 25296927, 662, 1297711, 25296919, 25296927, 25165855, 14680064, 8650807}, backlist = 0x0, handlerlist = 0x0, lisp_eval_depth = 0, pdlcount = 2, poll_suppress_count = 1, interrupt_input_blocked = 0, byte_stack = 0x0 } #15 0x000c931e in command_loop () at keyboard.c:1338 No locals. #16 0x000c93e2 in recursive_edit_1 () at keyboard.c:953 val = #17 0x000c9561 in Frecursive_edit () at keyboard.c:1015 buffer = 25165833 #18 0x000c82db in main (argc=1, argv=0xbfffef68) at emacs.c:1852 dummy = 0 stack_bottom_variable = 0 '\0' do_initial_setlocale = 1 skip_args = 0 rlim = { rlim_cur = 8388608, rlim_max = 67104768 } no_loadup = 0 junk = 0x0 dname_arg = 0x0 (gdb) ----------------------------------------------------------------------------- ----------------------------------------------------------------------------- ----------------------------------------------------------------------------- ----------------------------------------------------------------------------- ----------------------------------------------------------------------------- ----------------------------------------------------------------------------- Output of backtrace ----------------------------------------------------------------------------- (gdb) backtrace #0 0x0001fe4d in next_element_from_display_vector (it=0xbfffd168) at xdisp.c:6223 #1 0x0001e9cc in get_next_display_element (it=0xbfffd168) at xdisp.c:5676 #2 0x000291ac in display_line (it=0xbfffd168) at xdisp.c:16619 #3 0x0002a776 in try_window (window=9463300, pos={charpos = 68, bytepos = 68}, check_margins=1) at xdisp.c:14070 #4 0x0003294c in redisplay_window (window=9463300, just_this_one_p=0) at xdisp.c:13693 #5 0x0003472d in redisplay_window_0 (window=9463300) at xdisp.c:12288 #6 0x0013ce73 in internal_condition_case_1 (bfun=0x34700 , arg=9463300, handlers=8746453, hfun=0x25020 ) at eval.c:1560 #7 0x00024d41 in redisplay_windows (window=) at xdisp.c:12267 #8 0x00036aa8 in redisplay_internal (preserve_echo_area=) at xdisp.c:11839 #9 0x000d4e05 in read_char (commandflag=1, nmaps=5, maps=0xbfffe9a0, prev_event=25165833, used_mouse_menu=0xbfffeaa8, end_time=0x0) at keyboard.c:2707 #10 0x000d78c4 in read_key_sequence (keybuf=0xbfffeb68, bufsize=30, prompt=25165833, dont_downcase_last=0, can_return_switch_frame=1, fix_current_buffer=1) at keyboard.c:9460 #11 0x000d9dea in command_loop_1 () at keyboard.c:1642 #12 0x0013d15d in internal_condition_case (bfun=0xd9bb0 , handlers=25206425, hfun=0xcfce0 ) at eval.c:1512 #13 0x000c95c8 in command_loop_2 () at keyboard.c:1359 #14 0x0013cd3c in internal_catch (tag=0, func=0xc9580 , arg=25165833) at eval.c:1248 #15 0x000c931e in command_loop () at keyboard.c:1338 #16 0x000c93e2 in recursive_edit_1 () at keyboard.c:953 #17 0x000c9561 in Frecursive_edit () at keyboard.c:1015 #18 0x000c82db in main (argc=1, argv=0xbfffef68) at emacs.c:1852 From dominik@uva.nl Wed Aug 12 03:14:09 2009 Received: (at 4131) by emacsbugs.donarmstrong.com; 12 Aug 2009 10:14:09 +0000 X-Spam-Checker-Version: SpamAssassin 3.2.5-bugs.debian.org_2005_01_02 (2008-06-10) on rzlab.ucr.edu X-Spam-Level: X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available. hammytokens:Tokens not available. X-Spam-Status: No, score=0.0 required=4.0 tests=none autolearn=ham version=3.2.5-bugs.debian.org_2005_01_02 Received: from pony.ic.uva.nl (pony.ic.uva.nl [145.18.40.181]) by rzlab.ucr.edu (8.14.3/8.14.3/Debian-5) with ESMTP id n7CAE7Fa006732 for <4131@emacsbugs.donarmstrong.com>; Wed, 12 Aug 2009 03:14:09 -0700 Received: from omhp-uva-23-23.wireless.uva.nl (omhp-uva-23-23.wireless.uva.nl [145.18.23.23]) (authenticated bits=0) by pony.ic.uva.nl (8.13.1/8.13.1) with ESMTP id n7CADvhB025777 (version=TLSv1/SSLv3 cipher=AES128-SHA bits=128 verify=NO); Wed, 12 Aug 2009 12:13:58 +0200 Message-Id: <2B1F6178-B525-4062-B054-2DC2197E88F0@uva.nl> From: Carsten Dominik To: 4131@debbugs.gnu.org Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit Mime-Version: 1.0 (Apple Message framework v936) Subject: Description how to reproduce the bug Date: Wed, 12 Aug 2009 12:13:57 +0200 Cc: Miles Bader X-Mailer: Apple Mail (2.936) X-CanIt-Geo: ip=145.18.23.23; country=NL; region=07; city=Amsterdam; latitude=52.3500; longitude=4.9167; http://maps.google.com/maps?q=52.3500,4.9167&z=6 X-CanItPRO-Stream: auth (inherits from default) X-Canit-Stats-ID: Bayes signature not available X-Scanned-By: CanIt (www . roaringpenguin . com) on 145.18.40.181 Hi, somehow my description how to reproduce the bug seems to have not made it with the report. Here it is: Emacs can be repeatedly crashed by using a combination of `outline-mode' and line-prefix text properties. The crash happens when a call to `(hide-sublevels 1)' makes everything currently visible in an Emacs window invisible, while the text in the window has line-prefix text properties. Here is a way to reproduce this bug: Put the following text into a file and open the file in Emacs: ----------------------8x------------8x----------------8x -*- mode: outline -*- * my test a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a (add-text-properties (point-min) (point-max) '(line-prefix " ")) (hide-sublevels 1) ----------------------8x------------8x----------------8x The number of lines must be large enough so that scrolling to the end of the buffer will move the outline headline "my test" out of view. Move to the end of the file and evaluate the two lisp forms, first adding the text properties and then hiding everything except top level. - Carsten From cyd@stupidchicken.com Sat Aug 15 10:30:38 2009 Received: (at 4131-done) by emacsbugs.donarmstrong.com; 15 Aug 2009 17:30:38 +0000 X-Spam-Checker-Version: SpamAssassin 3.2.5-bugs.debian.org_2005_01_02 (2008-06-10) on rzlab.ucr.edu X-Spam-Level: X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available. hammytokens:Tokens not available. X-Spam-Status: No, score=-1.7 required=4.0 tests=AWL autolearn=ham version=3.2.5-bugs.debian.org_2005_01_02 Received: from cyd.mit.edu (CYD.MIT.EDU [18.115.2.24]) by rzlab.ucr.edu (8.14.3/8.14.3/Debian-5) with ESMTP id n7FHUaRA009604 for <4131-done@emacsbugs.donarmstrong.com>; Sat, 15 Aug 2009 10:30:37 -0700 Received: by cyd.mit.edu (Postfix, from userid 1000) id 46A8A57E21C; Sat, 15 Aug 2009 13:31:35 -0400 (EDT) From: Chong Yidong To: Carsten Dominik Cc: Miles Bader , 4131-done@debbugs.gnu.org Subject: Re: Emacs crashes with line-prefix text property and outline Date: Sat, 15 Aug 2009 13:31:35 -0400 Message-ID: <877hx5vv9k.fsf@cyd.mit.edu> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Thanks for the concise bug recipe. I've checked a fix into CVS trunk. From unknown Fri Aug 08 22:14:47 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Sun, 13 Sep 2009 14:24:13 +0000 User-Agent: Fakemail v42.6.9 # A New Hope # A long time ago, in a galaxy far, far away # something happened. # # Magically this resulted in the following # action being taken, but this fake control # message doesn't tell you why it happened # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator