* bug#730: 23.0.60; Crash in next_element_from_display_vector
@ 2008-08-16 13:57 ` Markus Triska
2008-08-18 0:00 ` bug#730: marked as done (23.0.60; Crash in next_element_from_display_vector) Emacs bug Tracking System
0 siblings, 1 reply; 2+ messages in thread
From: Markus Triska @ 2008-08-16 13:57 UTC (permalink / raw)
To: emacs-pretest-bug
In "emacs -Q", when I do:
C-h n M-x linum-mode RET C-c C-q
then Emacs crashes with the following backtrace.
mt-computer:~ mt$ gdb emacs
GNU gdb 6.3.50-20050815 (Apple version gdb-573) (Fri Oct 20 15:50:43 GMT 2006)
Copyright 2004 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB. Type "show warranty" for details.
This GDB was configured as "i386-apple-darwin"...Reading symbols for shared libraries .................................... done
(gdb) r -Q
Starting program: /usr/local/bin/emacs -Q
Reading symbols for shared libraries ....................................................................+++..+.++.+..++.+.+++++++++++++.++++.....+++ done
Program received signal EXC_BAD_ACCESS, Could not access memory.
Reason: KERN_PROTECTION_FAILURE at address: 0x00000000
0x0001da43 in next_element_from_display_vector (it=0xbfffdf78) at xdisp.c:6257
6257 gc = it->dpvec[it->current.dpvec_index];
(gdb) bt full
#0 0x0001da43 in next_element_from_display_vector (it=0xbfffdf78) at xdisp.c:6257
gc = 0
it = (struct it *) 0xbfffdf78
#1 0x0001c8fd in get_next_display_element (it=0xbfffdf78) at xdisp.c:5782
success_p = -1073752632
it = (struct it *) 0xbfffdf78
#2 0x00026145 in display_line (it=0xbfffdf78) at xdisp.c:16621
i = 0
nglyphs = 1
ascent = 15
phys_ascent = 12
n_glyphs_before = 30
hpos_before = 29
x = 0
descent = 5
phys_descent = 3
row = (struct glyph_row *) 0x597a3a8
overlay_arrow_string = 58721289
wrap_it = {
window = 1073873018,
w = 0x0,
f = 0xbfffdaf0,
method = 34871072,
stop_charpos = 3307184,
end_charpos = -1073751104,
s = 0x0,
string_nchars = -1879025753,
region_beg_charpos = 58901089,
region_end_charpos = 58721289,
redisplay_end_trigger_charpos = -1073751312,
multibyte_p = 1,
header_line_p = 1,
string_from_display_prop_p = 0,
ellipsis_p = 0,
avoid_cursor_p = 0,
dp = 0x0,
dpvec = 0x2152420,
dpend = 0x21715a0,
dpvec_char_len = 0,
dpvec_face_id = 0,
saved_face_id = 0,
ctl_chars = {0, 1660767, 8, 35651584, -1073751288, 0, 58721289, 58901089, 1, 1660767, 1, 1, -1073751000, 92274688, 0, 0},
start = {
pos = {
charpos = 0,
bytepos = 0
},
overlay_string_index = 3,
string_pos = {
charpos = 19,
bytepos = -1073748640
},
dpvec_index = 0
},
current = {
pos = {
charpos = 58721289,
bytepos = 1567
},
overlay_string_index = 4,
string_pos = {
charpos = 1365322,
bytepos = 34952964
},
dpvec_index = 1
},
n_overlay_strings = -1073751208,
overlay_strings = {1252493, 784, 66904772, 0, 1649070, 3307184, 58721289, -1073751128, 1649278, 58824921, 40075797, 40168077, 1252377, 0, 58824921, 34320485},
string_overlays = {58721289, 6280, 1660767, -1073751112, 1009639, 785, 1, -1073751096, 1049141, 34320485, 58824921, 0, 1049141, 92309280, 109017, -1073750632},
string = 110190,
from_overlay = 93938042,
stack = {{
string = 1001878,
string_nchars = -1073750984,
end_charpos = 1649070,
stop_charpos = 93938066,
face_id = 77667771,
u = {
image = {
object = 0,
slice = {
x = 1365322,
y = 1,
width = 58896993,
height = 34320741
},
image_id = 1252377
},
comp = {
object = 0,
c = 1365322,
len = 1,
cmp_id = 58896993,
cmp_len = 34320741
},
stretch = {
object = 0
}
},
position = {
charpos = 77667771,
bytepos = 1
},
current = {
pos = {
charpos = -1073751016,
bytepos = 1661483
},
overlay_string_index = 93789772,
string_pos = {
charpos = 1661483,
bytepos = -1073750984
},
dpvec_index = 1649467
},
from_overlay = 34320749,
area = 58896993,
method = GET_FROM_DISPLAY_VECTOR,
multibyte_p = 1,
string_from_display_prop_p = 1,
display_ellipsis_p = 0,
avoid_cursor_p = 1,
space_width = 93789772,
font_height = 58721289,
voffset = -9096
}, {
string = 1661594,
string_nchars = 93789772,
end_charpos = 58896993,
stop_charpos = -1073750912,
face_id = 0,
u = {
image = {
object = 93789772,
slice = {
x = 8,
y = -1073750920,
width = 34320845,
height = 34320741
},
image_id = 58721625
},
comp = {
object = 93789772,
c = 8,
len = -1073750920,
cmp_id = 34320845,
cmp_len = 34320741
},
stretch = {
object = 93789772
}
},
position = {
charpos = 1,
bytepos = 1662395
},
current = {
pos = {
charpos = 0,
bytepos = 77667771
},
overlay_string_index = -1073750856,
string_pos = {
charpos = 1662886,
bytepos = 0
},
dpvec_index = -1073750712
},
from_overlay = 0,
area = LEFT_MARGIN_AREA,
method = GET_FROM_BUFFER,
multibyte_p = 0,
string_from_display_prop_p = 0,
display_ellipsis_p = 1,
avoid_cursor_p = 1,
space_width = 0,
font_height = 1649070,
voffset = -20123
}, {
string = 58721625,
string_nchars = 1,
end_charpos = 101707,
stop_charpos = 0,
face_id = 785,
u = {
image = {
object = -1073750680,
slice = {
x = 102833,
y = 77667771,
width = 58896993,
height = 77667771
},
image_id = 58721289
},
comp = {
object = -1073750680,
c = 102833,
len = 77667771,
cmp_id = 58896993,
cmp_len = 77667771
},
stretch = {
object = -1073750680
}
},
position = {
charpos = 0,
bytepos = 1660767
},
current = {
pos = {
charpos = -1073750792,
bytepos = 1649467
},
overlay_string_index = 34320749,
string_pos = {
charpos = 58896993,
bytepos = 77667771
},
dpvec_index = 34320845
},
from_overlay = -1073750152,
area = LEFT_MARGIN_AREA,
method = 3221216616,
multibyte_p = 0,
string_from_display_prop_p = 1,
display_ellipsis_p = 0,
avoid_cursor_p = 0,
space_width = 34320741,
font_height = 58896993,
voffset = 7611
}, {
string = 98296,
string_nchars = 1812300,
end_charpos = 98296,
stop_charpos = 58826969,
face_id = 77667803,
u = {
image = {
object = 40136981,
slice = {
x = 3,
y = 1,
width = 98296,
height = 0
},
image_id = 0
},
comp = {
object = 40136981,
c = 3,
len = 1,
cmp_id = 98296,
cmp_len = 0
},
stretch = {
object = 40136981
}
},
position = {
charpos = -1073750632,
bytepos = 3
},
current = {
pos = {
charpos = -1073750152,
bytepos = 785
},
overlay_string_index = 1,
string_pos = {
charpos = 1,
bytepos = 34869776
},
dpvec_index = 77667771
},
from_overlay = 0,
area = 104761,
method = 3221217144,
multibyte_p = 1,
string_from_display_prop_p = 0,
display_ellipsis_p = 0,
avoid_cursor_p = 1,
space_width = -1073750584,
font_height = 105000,
voffset = 1033
}},
sp = -1073749980,
selective = 0,
what = 3221216684,
face_id = 58721289,
selective_display_ellipsis_p = 0,
ctl_arrow_p = 0,
line_wrap = 3221216684,
face_box_p = 1,
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 = 1,
face_before_selective_p = 1,
constrain_row_ascent_descent_p = 1,
base_face_id = 77667771,
c = -1073749980,
len = -1073750600,
cmp_id = 58721289,
cmp_len = 3,
char_to_display = 1074030207,
image_id = 58721289,
slice = {
x = 58721289,
y = -1073750152,
width = -1073750152,
height = -1073750584
},
space_width = 112361,
voffset = -22676,
font_height = -1073750152,
object = -1073750520,
position = {
charpos = 112463,
bytepos = -1073750152
},
tab_width = -8328,
truncation_pixel_width = -16385,
continuation_pixel_width = -8696,
first_visible_x = 113716,
last_visible_x = 0,
last_visible_y = 34869776,
extra_line_spacing = 1812288,
max_extra_line_spacing = 1,
override_ascent = 93826192,
override_descent = -1073748340,
override_boff = 785,
glyph_row = 0x277e6,
area = 3221217144,
nglyphs = 785,
pixel_width = -1073750440,
ascent = 120826,
descent = 1,
max_ascent = 34869776,
max_descent = 785,
phys_ascent = 785,
phys_descent = 0,
max_phys_ascent = 0,
max_phys_descent = -1073750424,
current_x = 88122,
continuation_lines_width = 58899610,
current_y = 93835984,
first_vpos = 34869776,
vpos = 1,
hpos = 785,
left_user_fringe_bitmap = 1,
right_user_fringe_bitmap = 0,
left_user_fringe_face_id = 0,
right_user_fringe_face_id = 660
}
may_wrap = 0
wrap_x = 92326912
wrap_row_used = -1
wrap_row_ascent = -1073752420
wrap_row_height = 1
wrap_row_phys_ascent = -1073752492
wrap_row_phys_height = 0
wrap_row_extra_line_spacing = 337
#3 0x00027c72 in try_window_id (w=0x2141210) at xdisp.c:15249
f = (struct frame *) 0x2141720
current_matrix = (struct glyph_matrix *) 0x5908200
desired_matrix = (struct glyph_matrix *) 0x5907e00
last_unchanged_at_beg_row = (struct glyph_row *) 0x0
first_unchanged_at_end_row = (struct glyph_row *) 0x1cc
row = (struct glyph_row *) 0x0
it = {
window = 34869780,
w = 0x2141210,
f = 0x2141720,
method = GET_FROM_DISPLAY_VECTOR,
stop_charpos = 817,
end_charpos = 65260,
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 = 1,
avoid_cursor_p = 0,
dp = 0x0,
dpvec = 0x0,
dpend = 0x2f3f2c,
dpvec_char_len = 0,
dpvec_face_id = -1,
saved_face_id = 0,
ctl_chars = {752, 608, 0 <repeats 14 times>},
start = {
pos = {
charpos = 787,
bytepos = 787
},
overlay_string_index = -1,
string_pos = {
charpos = -1,
bytepos = -1
},
dpvec_index = -1
},
current = {
pos = {
charpos = 818,
bytepos = 818
},
overlay_string_index = -1,
string_pos = {
charpos = -1,
bytepos = -1
},
dpvec_index = 0
},
n_overlay_strings = 0,
overlay_strings = {77667531, 0 <repeats 15 times>},
string_overlays = {92309138, 0 <repeats 15 times>},
string = 58721289,
from_overlay = 0,
stack = {{
string = 58721289,
string_nchars = 0,
end_charpos = 65260,
stop_charpos = 817,
face_id = 0,
u = {
image = {
object = 0,
slice = {
x = 0,
y = 0,
width = 0,
height = 0
},
image_id = 0
},
comp = {
object = 0,
c = 0,
len = 0,
cmp_id = 0,
cmp_len = 0
},
stretch = {
object = 0
}
},
position = {
charpos = 817,
bytepos = 817
},
current = {
pos = {
charpos = 818,
bytepos = 818
},
overlay_string_index = 0,
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,
space_width = 58721289,
font_height = 58721289,
voffset = 0
}, {
string = 77667531,
string_nchars = 0,
end_charpos = 1,
stop_charpos = 1,
face_id = 0,
u = {
image = {
object = 0,
slice = {
x = 0,
y = 0,
width = 0,
height = 0
},
image_id = 0
},
comp = {
object = 0,
c = 0,
len = 0,
cmp_id = 0,
cmp_len = 0
},
stretch = {
object = 0
}
},
position = {
charpos = 1,
bytepos = 1
},
current = {
pos = {
charpos = 818,
bytepos = 818
},
overlay_string_index = 0,
string_pos = {
charpos = 1,
bytepos = 1
},
dpvec_index = 0
},
from_overlay = 58721289,
area = TEXT_AREA,
method = GET_FROM_STRING,
multibyte_p = 0,
string_from_display_prop_p = 0,
display_ellipsis_p = 0,
avoid_cursor_p = 0,
space_width = 58721289,
font_height = 58721289,
voffset = 0
}, {
string = 0,
string_nchars = 0,
end_charpos = 0,
stop_charpos = 0,
face_id = 0,
u = {
image = {
object = 0,
slice = {
x = 0,
y = 0,
width = 0,
height = 0
},
image_id = 0
},
comp = {
object = 0,
c = 0,
len = 0,
cmp_id = 0,
cmp_len = 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,
space_width = 0,
font_height = 0,
voffset = 0
}, {
string = 0,
string_nchars = 0,
end_charpos = 0,
stop_charpos = 0,
face_id = 0,
u = {
image = {
object = 0,
slice = {
x = 0,
y = 0,
width = 0,
height = 0
},
image_id = 0
},
comp = {
object = 0,
c = 0,
len = 0,
cmp_id = 0,
cmp_len = 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,
space_width = 0,
font_height = 0,
voffset = 0
}},
sp = 0,
selective = 0,
what = IT_CHARACTER,
face_id = 0,
selective_display_ellipsis_p = 1,
ctl_arrow_p = 1,
line_wrap = WINDOW_WRAP,
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,
base_face_id = 0,
c = 53,
len = 1,
cmp_id = 0,
cmp_len = 0,
char_to_display = 53,
image_id = 0,
slice = {
x = 58721289,
y = 58721289,
width = 58721289,
height = 58721289
},
space_width = 58721289,
voffset = 0,
font_height = 58721289,
object = 77667531,
position = {
charpos = 817,
bytepos = 817
},
tab_width = 8,
truncation_pixel_width = 0,
continuation_pixel_width = 0,
first_visible_x = 0,
last_visible_x = 760,
last_visible_y = 660,
extra_line_spacing = 0,
max_extra_line_spacing = 0,
override_ascent = -1,
override_descent = 0,
override_boff = 0,
glyph_row = 0x597a3a8,
area = TEXT_AREA,
nglyphs = 1,
pixel_width = 10,
ascent = 15,
descent = 5,
max_ascent = 15,
max_descent = 5,
phys_ascent = 12,
phys_descent = 0,
max_phys_ascent = 12,
max_phys_descent = 3,
current_x = 300,
continuation_lines_width = 0,
current_y = 460,
first_vpos = 0,
vpos = 23,
hpos = 30,
left_user_fringe_bitmap = 0,
right_user_fringe_bitmap = 0,
left_user_fringe_face_id = 0,
right_user_fringe_face_id = 0
}
delta = 0
delta_bytes = 0
stop_pos = 0
dvpos = 0
dy = 11
run = {
desired_y = 34995344,
current_y = 1,
desired_vpos = 1,
current_vpos = 58879048,
height = 34995344,
nrows = 1050030
}
first_unchanged_at_end_vpos = 0
last_text_row = (struct glyph_row *) 0x597a310
last_text_row_at_end = (struct glyph_row *) 0x1cc
start = {
charpos = 0,
bytepos = 1
}
first_changed_charpos = 785
last_changed_charpos = 65259
#4 0x0002f081 in redisplay_window (window=34869780, just_this_one_p=1) at xdisp.c:13640
w = (struct window *) 0x2141210
f = (struct frame *) 0x2141720
buffer = (struct buffer *) 0x327af0
old = (struct buffer *) 0x215fc90
startp = {
charpos = 0,
bytepos = 0
}
update_mode_line = 0
tem = 0
it = {
window = 1,
w = 0x1,
f = 0x0,
method = GET_FROM_BUFFER,
stop_charpos = -1,
end_charpos = -1,
s = 0x0,
string_nchars = 0,
region_beg_charpos = 0,
region_end_charpos = 0,
redisplay_end_trigger_charpos = 0,
multibyte_p = 0,
header_line_p = 0,
string_from_display_prop_p = 0,
ellipsis_p = 0,
avoid_cursor_p = 0,
dp = 0x0,
dpvec = 0xffffffff,
dpend = 0x0,
dpvec_char_len = 0,
dpvec_face_id = 0,
saved_face_id = 0,
ctl_chars = {0 <repeats 12 times>, 1, 1, -1, -1},
start = {
pos = {
charpos = -1,
bytepos = -1
},
overlay_string_index = 1,
string_pos = {
charpos = 1,
bytepos = -1
},
dpvec_index = -1
},
current = {
pos = {
charpos = -1,
bytepos = -1
},
overlay_string_index = 0,
string_pos = {
charpos = 0,
bytepos = 0
},
dpvec_index = 0
},
n_overlay_strings = 0,
overlay_strings = {0 <repeats 16 times>},
string_overlays = {0 <repeats 12 times>, 58721289, 0, 0, 0},
string = 0,
from_overlay = 0,
stack = {{
string = 0,
string_nchars = 0,
end_charpos = 0,
stop_charpos = 0,
face_id = 0,
u = {
image = {
object = 0,
slice = {
x = 0,
y = 0,
width = 0,
height = 0
},
image_id = 0
},
comp = {
object = 0,
c = 0,
len = 0,
cmp_id = 0,
cmp_len = 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,
space_width = 0,
font_height = 0,
voffset = 0
}, {
string = 0,
string_nchars = 0,
end_charpos = 0,
stop_charpos = 0,
face_id = 0,
u = {
image = {
object = 0,
slice = {
x = 0,
y = 0,
width = 0,
height = 0
},
image_id = 0
},
comp = {
object = 0,
c = 0,
len = 0,
cmp_id = 0,
cmp_len = 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,
space_width = 0,
font_height = 0,
voffset = 0
}, {
string = 0,
string_nchars = 0,
end_charpos = 0,
stop_charpos = 0,
face_id = 0,
u = {
image = {
object = 0,
slice = {
x = 0,
y = 0,
width = 0,
height = 0
},
image_id = 0
},
comp = {
object = 0,
c = 0,
len = 0,
cmp_id = 0,
cmp_len = 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,
space_width = 0,
font_height = 0,
voffset = 0
}, {
string = 0,
string_nchars = 0,
end_charpos = 0,
stop_charpos = 0,
face_id = 0,
u = {
image = {
object = 0,
slice = {
x = 0,
y = 0,
width = 1254996,
height = 0
},
image_id = 0
},
comp = {
object = 0,
c = 0,
len = 0,
cmp_id = 1254996,
cmp_len = 0
},
stretch = {
object = 0
}
},
position = {
charpos = 0,
bytepos = 0
},
current = {
pos = {
charpos = 0,
bytepos = 0
},
overlay_string_index = 0,
string_pos = {
charpos = 1252493,
bytepos = 0
},
dpvec_index = 0
},
from_overlay = 1365667,
area = 1255722,
method = 3307184,
multibyte_p = 0,
string_from_display_prop_p = 0,
display_ellipsis_p = 0,
avoid_cursor_p = 0,
space_width = -1073746952,
font_height = 1255934,
voffset = -22263
}},
sp = 58830538,
selective = 34190965,
what = IT_CHARACTER,
face_id = 0,
selective_display_ellipsis_p = 0,
ctl_arrow_p = 0,
line_wrap = TRUNCATE,
face_box_p = 1,
start_of_box_run_p = 0,
end_of_box_run_p = 0,
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 = 0,
constrain_row_ascent_descent_p = 1,
base_face_id = 0,
c = 32,
len = 0,
cmp_id = 1256216,
cmp_len = 58829065,
char_to_display = 35157808,
image_id = -1073746920,
slice = {
x = 1045504,
y = 0,
width = 58721289,
height = 35157812
},
space_width = 35157816,
voffset = 11163,
font_height = 1256347,
object = -1073746888,
position = {
charpos = 1045631,
bytepos = 77422808
},
tab_width = 24794,
truncation_pixel_width = 1181,
continuation_pixel_width = -5016,
first_visible_x = 1045808,
last_visible_x = 77422808,
last_visible_y = 40076584,
extra_line_spacing = -1073746840,
max_extra_line_spacing = 994636,
override_ascent = 58829065,
override_descent = 1,
override_boff = 10,
glyph_row = 0x31042b8,
area = 58830418,
nglyphs = 58830416,
pixel_width = -1073746792,
ascent = 127146,
descent = 35158832,
max_ascent = 34896128,
max_descent = -1073746792,
phys_ascent = 127289,
phys_descent = 77422810,
max_phys_ascent = 51397308,
max_phys_descent = 1,
current_x = 1254996,
continuation_lines_width = 0,
current_y = 0,
first_vpos = 0,
vpos = 1329831,
hpos = 58721289,
left_user_fringe_bitmap = 43176,
right_user_fringe_bitmap = 897,
left_user_fringe_face_id = 1043672,
right_user_fringe_face_id = 281338
}
current_matrix_up_to_date_p = 0
used_current_matrix_p = 1
buffer_unchanged_p = 0
temp_scroll_step = 1
rc = 1
centering_position = 1
last_line_misfit = -1073750152
beg_unchanged = 784
end_unchanged = 1
#5 0x000310b9 in redisplay_window_1 (window=34869780) at xdisp.c:12309
No locals.
#6 0x001442e8 in internal_condition_case_1 (bfun=0x3108a <redisplay_window_1>, arg=34869780, handlers=34133381, hfun=0x2238e <redisplay_window_error>) at eval.c:1559
val = 0
c = {
tag = 58721289,
val = 58721289,
next = 0xbffff6b8,
gcpro = 0x0,
jmp = {-1073806465, 1330133, 8096, 1327601, 34995344, 1, 0, 1, -1073746552, -1073746736, 58720287, 658, 1327750, 196631, 31, 34865183, -1073807360, 196663},
backlist = 0x0,
handlerlist = 0xbffff72c,
lisp_eval_depth = 0,
pdlcount = 4,
poll_suppress_count = 1,
interrupt_input_blocked = 0,
byte_stack = 0x0
}
h = {
handler = 34133381,
var = 58721289,
chosen_clause = 58721289,
tag = 0xbfffece8,
next = 0xbffff72c
}
#7 0x00032af9 in redisplay_internal (preserve_echo_area=0) at xdisp.c:11922
mini_window = 1
mini_frame = (struct frame *) 0x0
w = (struct window *) 0x2141210
f = (struct frame *) 0x0
pause = 58721289
must_finish = 1
tlbufpos = {
charpos = 0,
bytepos = 0
}
number_of_visible_frames = 1
polling_stopped_here = 0
old_frame = 34871076
consider_all_windows_p = 0
#8 0x000e08eb in read_char (commandflag=1, nmaps=3, maps=0xbffff450, prev_event=58721289, used_mouse_menu=0xbffff548, end_time=0x0) at keyboard.c:2652
c = 58721289
count = 0
jmpcount = -1073745256
local_getcjmp = {0, 1341697, 0, 1, 34993792, 1255722, 8, 34995348, -1073744936, 1661065, 34995344, 58751513, -1073745000, 66898161, 58751513, 58721289, 1367306, 1256216}
save_jump = {58748777, 8, 34995348, 1332405, 77422282, 1, 35013184, 1335316, 34993796, 93777793, -1073745000, 1335754, -1073744928, -1073744924, 1, 996672, 8, 40075797}
key_already_recorded = 0
tem = 0
save = 3312624
previous_echo_area_message = 58721289
also_record = 58721289
reread = 0
polling_stopped_here = 3307840
orig_kboard = (struct kboard *) 0x2132e20
#9 0x000e2d7a in read_key_sequence (keybuf=0xbffff608, bufsize=30, prompt=58721289, dont_downcase_last=0, can_return_switch_frame=1, fix_current_buffer=1) at keyboard.c:9349
interrupted_kboard = (KBOARD *) 0x2132e20
used_mouse_menu = 0
echo_local_start = 0
last_real_key_start = 0
keys_local_start = 0
local_first_binding = 0
from_string = 58721289
count = 2
t = 0
echo_start = 0
keys_start = 0
nmaps = 3
nmaps_allocated = 3
defs = (Lisp_Object * volatile) 0xbffff430
submaps = (Lisp_Object * volatile) 0xbffff450
orig_local_map = 40038797
orig_keymap = 58721289
localized_local_map = 0
first_binding = 0
first_unbound = 31
mock_input = 0
fkey = {
parent = 41179309,
map = 41179309,
start = 0,
end = 0
}
keytran = {
parent = 34140029,
map = 34140029,
start = 0,
end = 0
}
indec = {
parent = 41179693,
map = 41179693,
start = 0,
end = 0
}
shift_translated = 0
delayed_switch_frame = 58721289
original_uppercase = -1073744488
original_uppercase_position = -1
starting_buffer = (struct buffer *) 0x215fc90
fake_prefixed_keys = 58721289
#10 0x000e5144 in command_loop_1 () at keyboard.c:1620
cmd = 3307184
lose = 3307184
nonundocount = 0
keybuf = {24, 136, 17831722, -1877479028, 5587048, 1, -1073744269, 92290560, -1073744264, -1879037169, 92274892, 152, 8268, 17831904, 100663439, 1, 31, -1879036413, 51396120, 58721337, 51385976, -1881082098, 5663307, 0, -1073744260, -1073744448, 0, 3342336, 58721289, 66855817}
i = 2
prev_modiff = 49
prev_buffer = (struct buffer *) 0x215fc90
already_adjusted = 0
#11 0x00144574 in internal_condition_case (bfun=0xe4f26 <command_loop_1>, handlers=58760953, hfun=0xddd81 <cmd_error>) at eval.c:1511
val = 0
c = {
tag = 58721289,
val = 58721289,
next = 0xbffff7bc,
gcpro = 0x0,
jmp = {895, 17831904, 8096, 1328259, 58721289, 58721289, 3320496, 3307184, -1073744040, -1073744224, 31, 662, 1328408, 1507351, 3276831, 3276831, -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 = 58760953,
var = 58721289,
chosen_clause = 0,
tag = 0xbffff6b8,
next = 0x0
}
#12 0x000d6f68 in command_loop_2 () at keyboard.c:1338
val = 0
#13 0x001441c6 in internal_catch (tag=58757025, func=0xd6f24 <command_loop_2>, arg=58721289) at eval.c:1247
c = {
tag = 58757025,
val = 58721289,
next = 0x0,
gcpro = 0x0,
jmp = {895, 18, 8096, 1327402, 1, 18199, 3329488, 3307184, -1073743816, -1073743968, 58851359, 662, 1327545, 58851351, 58851359, 58720287, 51380224, 55},
backlist = 0x0,
handlerlist = 0x0,
lisp_eval_depth = 0,
pdlcount = 2,
poll_suppress_count = 1,
interrupt_input_blocked = 0,
byte_stack = 0x0
}
tag = 0
#14 0x000d6d0a in command_loop () at keyboard.c:1317
val = 0
#15 0x000d6dc3 in recursive_edit_1 () at keyboard.c:942
val = 0
#16 0x000d6f0b in Frecursive_edit () at keyboard.c:1004
buffer = 58721289
#17 0x000d5fa2 in main (argc=2, argv=0xbffffa38) at emacs.c:1689
dummy = -1881117246
stack_bottom_variable = 0 '\0'
do_initial_setlocale = 1
skip_args = 0
rlim = {
rlim_cur = 8388608,
rlim_max = 67108864
}
no_loadup = 0
junk = 0x0
In GNU Emacs 23.0.60.1 (i386-apple-darwin8.11.1, GTK+ Version 2.12.9)
of 2008-08-15 on mt-computer.local
Windowing system distributor `The XFree86 Project, Inc', version 11.0.40400000
Important settings:
value of $LC_ALL: nil
value of $LC_COLLATE: nil
value of $LC_CTYPE: nil
value of $LC_MESSAGES: nil
value of $LC_MONETARY: nil
value of $LC_NUMERIC: nil
value of $LC_TIME: nil
value of $LANG: en.UTF-8
value of $XMODIFIERS: nil
locale-coding-system: nil
default-enable-multibyte-characters: t
^ permalink raw reply [flat|nested] 2+ messages in thread
* bug#730: marked as done (23.0.60; Crash in next_element_from_display_vector)
2008-08-16 13:57 ` bug#730: 23.0.60; Crash in next_element_from_display_vector Markus Triska
@ 2008-08-18 0:00 ` Emacs bug Tracking System
0 siblings, 0 replies; 2+ messages in thread
From: Emacs bug Tracking System @ 2008-08-18 0:00 UTC (permalink / raw)
To: Chong Yidong
[-- Attachment #1: Type: text/plain, Size: 855 bytes --]
Your message dated Sun, 17 Aug 2008 19:52:44 -0400
with message-id <87hc9jtd0z.fsf@cyd.mit.edu>
and subject line 23.0.60; Crash in next_element_from_display_vector
has caused the Emacs bug report #730,
regarding 23.0.60; Crash in next_element_from_display_vector
to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact don@donarmstrong.com
immediately.)
--
730: http://emacsbugs.donarmstrong.com/cgi-bin/bugreport.cgi?bug=730
Emacs Bug Tracking System
Contact don@donarmstrong.com with problems
[-- Attachment #2: Type: message/rfc822, Size: 34992 bytes --]
From: Markus Triska <markus.triska@gmx.at>
To: emacs-pretest-bug@gnu.org
Subject: 23.0.60; Crash in next_element_from_display_vector
Date: Sat, 16 Aug 2008 15:57:38 +0200 (CEST)
Message-ID: <20080816135738.10561A32436@mt-computer.local>
In "emacs -Q", when I do:
C-h n M-x linum-mode RET C-c C-q
then Emacs crashes with the following backtrace.
mt-computer:~ mt$ gdb emacs
GNU gdb 6.3.50-20050815 (Apple version gdb-573) (Fri Oct 20 15:50:43 GMT 2006)
Copyright 2004 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB. Type "show warranty" for details.
This GDB was configured as "i386-apple-darwin"...Reading symbols for shared libraries .................................... done
(gdb) r -Q
Starting program: /usr/local/bin/emacs -Q
Reading symbols for shared libraries ....................................................................+++..+.++.+..++.+.+++++++++++++.++++.....+++ done
Program received signal EXC_BAD_ACCESS, Could not access memory.
Reason: KERN_PROTECTION_FAILURE at address: 0x00000000
0x0001da43 in next_element_from_display_vector (it=0xbfffdf78) at xdisp.c:6257
6257 gc = it->dpvec[it->current.dpvec_index];
(gdb) bt full
#0 0x0001da43 in next_element_from_display_vector (it=0xbfffdf78) at xdisp.c:6257
gc = 0
it = (struct it *) 0xbfffdf78
#1 0x0001c8fd in get_next_display_element (it=0xbfffdf78) at xdisp.c:5782
success_p = -1073752632
it = (struct it *) 0xbfffdf78
#2 0x00026145 in display_line (it=0xbfffdf78) at xdisp.c:16621
i = 0
nglyphs = 1
ascent = 15
phys_ascent = 12
n_glyphs_before = 30
hpos_before = 29
x = 0
descent = 5
phys_descent = 3
row = (struct glyph_row *) 0x597a3a8
overlay_arrow_string = 58721289
wrap_it = {
window = 1073873018,
w = 0x0,
f = 0xbfffdaf0,
method = 34871072,
stop_charpos = 3307184,
end_charpos = -1073751104,
s = 0x0,
string_nchars = -1879025753,
region_beg_charpos = 58901089,
region_end_charpos = 58721289,
redisplay_end_trigger_charpos = -1073751312,
multibyte_p = 1,
header_line_p = 1,
string_from_display_prop_p = 0,
ellipsis_p = 0,
avoid_cursor_p = 0,
dp = 0x0,
dpvec = 0x2152420,
dpend = 0x21715a0,
dpvec_char_len = 0,
dpvec_face_id = 0,
saved_face_id = 0,
ctl_chars = {0, 1660767, 8, 35651584, -1073751288, 0, 58721289, 58901089, 1, 1660767, 1, 1, -1073751000, 92274688, 0, 0},
start = {
pos = {
charpos = 0,
bytepos = 0
},
overlay_string_index = 3,
string_pos = {
charpos = 19,
bytepos = -1073748640
},
dpvec_index = 0
},
current = {
pos = {
charpos = 58721289,
bytepos = 1567
},
overlay_string_index = 4,
string_pos = {
charpos = 1365322,
bytepos = 34952964
},
dpvec_index = 1
},
n_overlay_strings = -1073751208,
overlay_strings = {1252493, 784, 66904772, 0, 1649070, 3307184, 58721289, -1073751128, 1649278, 58824921, 40075797, 40168077, 1252377, 0, 58824921, 34320485},
string_overlays = {58721289, 6280, 1660767, -1073751112, 1009639, 785, 1, -1073751096, 1049141, 34320485, 58824921, 0, 1049141, 92309280, 109017, -1073750632},
string = 110190,
from_overlay = 93938042,
stack = {{
string = 1001878,
string_nchars = -1073750984,
end_charpos = 1649070,
stop_charpos = 93938066,
face_id = 77667771,
u = {
image = {
object = 0,
slice = {
x = 1365322,
y = 1,
width = 58896993,
height = 34320741
},
image_id = 1252377
},
comp = {
object = 0,
c = 1365322,
len = 1,
cmp_id = 58896993,
cmp_len = 34320741
},
stretch = {
object = 0
}
},
position = {
charpos = 77667771,
bytepos = 1
},
current = {
pos = {
charpos = -1073751016,
bytepos = 1661483
},
overlay_string_index = 93789772,
string_pos = {
charpos = 1661483,
bytepos = -1073750984
},
dpvec_index = 1649467
},
from_overlay = 34320749,
area = 58896993,
method = GET_FROM_DISPLAY_VECTOR,
multibyte_p = 1,
string_from_display_prop_p = 1,
display_ellipsis_p = 0,
avoid_cursor_p = 1,
space_width = 93789772,
font_height = 58721289,
voffset = -9096
}, {
string = 1661594,
string_nchars = 93789772,
end_charpos = 58896993,
stop_charpos = -1073750912,
face_id = 0,
u = {
image = {
object = 93789772,
slice = {
x = 8,
y = -1073750920,
width = 34320845,
height = 34320741
},
image_id = 58721625
},
comp = {
object = 93789772,
c = 8,
len = -1073750920,
cmp_id = 34320845,
cmp_len = 34320741
},
stretch = {
object = 93789772
}
},
position = {
charpos = 1,
bytepos = 1662395
},
current = {
pos = {
charpos = 0,
bytepos = 77667771
},
overlay_string_index = -1073750856,
string_pos = {
charpos = 1662886,
bytepos = 0
},
dpvec_index = -1073750712
},
from_overlay = 0,
area = LEFT_MARGIN_AREA,
method = GET_FROM_BUFFER,
multibyte_p = 0,
string_from_display_prop_p = 0,
display_ellipsis_p = 1,
avoid_cursor_p = 1,
space_width = 0,
font_height = 1649070,
voffset = -20123
}, {
string = 58721625,
string_nchars = 1,
end_charpos = 101707,
stop_charpos = 0,
face_id = 785,
u = {
image = {
object = -1073750680,
slice = {
x = 102833,
y = 77667771,
width = 58896993,
height = 77667771
},
image_id = 58721289
},
comp = {
object = -1073750680,
c = 102833,
len = 77667771,
cmp_id = 58896993,
cmp_len = 77667771
},
stretch = {
object = -1073750680
}
},
position = {
charpos = 0,
bytepos = 1660767
},
current = {
pos = {
charpos = -1073750792,
bytepos = 1649467
},
overlay_string_index = 34320749,
string_pos = {
charpos = 58896993,
bytepos = 77667771
},
dpvec_index = 34320845
},
from_overlay = -1073750152,
area = LEFT_MARGIN_AREA,
method = 3221216616,
multibyte_p = 0,
string_from_display_prop_p = 1,
display_ellipsis_p = 0,
avoid_cursor_p = 0,
space_width = 34320741,
font_height = 58896993,
voffset = 7611
}, {
string = 98296,
string_nchars = 1812300,
end_charpos = 98296,
stop_charpos = 58826969,
face_id = 77667803,
u = {
image = {
object = 40136981,
slice = {
x = 3,
y = 1,
width = 98296,
height = 0
},
image_id = 0
},
comp = {
object = 40136981,
c = 3,
len = 1,
cmp_id = 98296,
cmp_len = 0
},
stretch = {
object = 40136981
}
},
position = {
charpos = -1073750632,
bytepos = 3
},
current = {
pos = {
charpos = -1073750152,
bytepos = 785
},
overlay_string_index = 1,
string_pos = {
charpos = 1,
bytepos = 34869776
},
dpvec_index = 77667771
},
from_overlay = 0,
area = 104761,
method = 3221217144,
multibyte_p = 1,
string_from_display_prop_p = 0,
display_ellipsis_p = 0,
avoid_cursor_p = 1,
space_width = -1073750584,
font_height = 105000,
voffset = 1033
}},
sp = -1073749980,
selective = 0,
what = 3221216684,
face_id = 58721289,
selective_display_ellipsis_p = 0,
ctl_arrow_p = 0,
line_wrap = 3221216684,
face_box_p = 1,
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 = 1,
face_before_selective_p = 1,
constrain_row_ascent_descent_p = 1,
base_face_id = 77667771,
c = -1073749980,
len = -1073750600,
cmp_id = 58721289,
cmp_len = 3,
char_to_display = 1074030207,
image_id = 58721289,
slice = {
x = 58721289,
y = -1073750152,
width = -1073750152,
height = -1073750584
},
space_width = 112361,
voffset = -22676,
font_height = -1073750152,
object = -1073750520,
position = {
charpos = 112463,
bytepos = -1073750152
},
tab_width = -8328,
truncation_pixel_width = -16385,
continuation_pixel_width = -8696,
first_visible_x = 113716,
last_visible_x = 0,
last_visible_y = 34869776,
extra_line_spacing = 1812288,
max_extra_line_spacing = 1,
override_ascent = 93826192,
override_descent = -1073748340,
override_boff = 785,
glyph_row = 0x277e6,
area = 3221217144,
nglyphs = 785,
pixel_width = -1073750440,
ascent = 120826,
descent = 1,
max_ascent = 34869776,
max_descent = 785,
phys_ascent = 785,
phys_descent = 0,
max_phys_ascent = 0,
max_phys_descent = -1073750424,
current_x = 88122,
continuation_lines_width = 58899610,
current_y = 93835984,
first_vpos = 34869776,
vpos = 1,
hpos = 785,
left_user_fringe_bitmap = 1,
right_user_fringe_bitmap = 0,
left_user_fringe_face_id = 0,
right_user_fringe_face_id = 660
}
may_wrap = 0
wrap_x = 92326912
wrap_row_used = -1
wrap_row_ascent = -1073752420
wrap_row_height = 1
wrap_row_phys_ascent = -1073752492
wrap_row_phys_height = 0
wrap_row_extra_line_spacing = 337
#3 0x00027c72 in try_window_id (w=0x2141210) at xdisp.c:15249
f = (struct frame *) 0x2141720
current_matrix = (struct glyph_matrix *) 0x5908200
desired_matrix = (struct glyph_matrix *) 0x5907e00
last_unchanged_at_beg_row = (struct glyph_row *) 0x0
first_unchanged_at_end_row = (struct glyph_row *) 0x1cc
row = (struct glyph_row *) 0x0
it = {
window = 34869780,
w = 0x2141210,
f = 0x2141720,
method = GET_FROM_DISPLAY_VECTOR,
stop_charpos = 817,
end_charpos = 65260,
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 = 1,
avoid_cursor_p = 0,
dp = 0x0,
dpvec = 0x0,
dpend = 0x2f3f2c,
dpvec_char_len = 0,
dpvec_face_id = -1,
saved_face_id = 0,
ctl_chars = {752, 608, 0 <repeats 14 times>},
start = {
pos = {
charpos = 787,
bytepos = 787
},
overlay_string_index = -1,
string_pos = {
charpos = -1,
bytepos = -1
},
dpvec_index = -1
},
current = {
pos = {
charpos = 818,
bytepos = 818
},
overlay_string_index = -1,
string_pos = {
charpos = -1,
bytepos = -1
},
dpvec_index = 0
},
n_overlay_strings = 0,
overlay_strings = {77667531, 0 <repeats 15 times>},
string_overlays = {92309138, 0 <repeats 15 times>},
string = 58721289,
from_overlay = 0,
stack = {{
string = 58721289,
string_nchars = 0,
end_charpos = 65260,
stop_charpos = 817,
face_id = 0,
u = {
image = {
object = 0,
slice = {
x = 0,
y = 0,
width = 0,
height = 0
},
image_id = 0
},
comp = {
object = 0,
c = 0,
len = 0,
cmp_id = 0,
cmp_len = 0
},
stretch = {
object = 0
}
},
position = {
charpos = 817,
bytepos = 817
},
current = {
pos = {
charpos = 818,
bytepos = 818
},
overlay_string_index = 0,
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,
space_width = 58721289,
font_height = 58721289,
voffset = 0
}, {
string = 77667531,
string_nchars = 0,
end_charpos = 1,
stop_charpos = 1,
face_id = 0,
u = {
image = {
object = 0,
slice = {
x = 0,
y = 0,
width = 0,
height = 0
},
image_id = 0
},
comp = {
object = 0,
c = 0,
len = 0,
cmp_id = 0,
cmp_len = 0
},
stretch = {
object = 0
}
},
position = {
charpos = 1,
bytepos = 1
},
current = {
pos = {
charpos = 818,
bytepos = 818
},
overlay_string_index = 0,
string_pos = {
charpos = 1,
bytepos = 1
},
dpvec_index = 0
},
from_overlay = 58721289,
area = TEXT_AREA,
method = GET_FROM_STRING,
multibyte_p = 0,
string_from_display_prop_p = 0,
display_ellipsis_p = 0,
avoid_cursor_p = 0,
space_width = 58721289,
font_height = 58721289,
voffset = 0
}, {
string = 0,
string_nchars = 0,
end_charpos = 0,
stop_charpos = 0,
face_id = 0,
u = {
image = {
object = 0,
slice = {
x = 0,
y = 0,
width = 0,
height = 0
},
image_id = 0
},
comp = {
object = 0,
c = 0,
len = 0,
cmp_id = 0,
cmp_len = 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,
space_width = 0,
font_height = 0,
voffset = 0
}, {
string = 0,
string_nchars = 0,
end_charpos = 0,
stop_charpos = 0,
face_id = 0,
u = {
image = {
object = 0,
slice = {
x = 0,
y = 0,
width = 0,
height = 0
},
image_id = 0
},
comp = {
object = 0,
c = 0,
len = 0,
cmp_id = 0,
cmp_len = 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,
space_width = 0,
font_height = 0,
voffset = 0
}},
sp = 0,
selective = 0,
what = IT_CHARACTER,
face_id = 0,
selective_display_ellipsis_p = 1,
ctl_arrow_p = 1,
line_wrap = WINDOW_WRAP,
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,
base_face_id = 0,
c = 53,
len = 1,
cmp_id = 0,
cmp_len = 0,
char_to_display = 53,
image_id = 0,
slice = {
x = 58721289,
y = 58721289,
width = 58721289,
height = 58721289
},
space_width = 58721289,
voffset = 0,
font_height = 58721289,
object = 77667531,
position = {
charpos = 817,
bytepos = 817
},
tab_width = 8,
truncation_pixel_width = 0,
continuation_pixel_width = 0,
first_visible_x = 0,
last_visible_x = 760,
last_visible_y = 660,
extra_line_spacing = 0,
max_extra_line_spacing = 0,
override_ascent = -1,
override_descent = 0,
override_boff = 0,
glyph_row = 0x597a3a8,
area = TEXT_AREA,
nglyphs = 1,
pixel_width = 10,
ascent = 15,
descent = 5,
max_ascent = 15,
max_descent = 5,
phys_ascent = 12,
phys_descent = 0,
max_phys_ascent = 12,
max_phys_descent = 3,
current_x = 300,
continuation_lines_width = 0,
current_y = 460,
first_vpos = 0,
vpos = 23,
hpos = 30,
left_user_fringe_bitmap = 0,
right_user_fringe_bitmap = 0,
left_user_fringe_face_id = 0,
right_user_fringe_face_id = 0
}
delta = 0
delta_bytes = 0
stop_pos = 0
dvpos = 0
dy = 11
run = {
desired_y = 34995344,
current_y = 1,
desired_vpos = 1,
current_vpos = 58879048,
height = 34995344,
nrows = 1050030
}
first_unchanged_at_end_vpos = 0
last_text_row = (struct glyph_row *) 0x597a310
last_text_row_at_end = (struct glyph_row *) 0x1cc
start = {
charpos = 0,
bytepos = 1
}
first_changed_charpos = 785
last_changed_charpos = 65259
#4 0x0002f081 in redisplay_window (window=34869780, just_this_one_p=1) at xdisp.c:13640
w = (struct window *) 0x2141210
f = (struct frame *) 0x2141720
buffer = (struct buffer *) 0x327af0
old = (struct buffer *) 0x215fc90
startp = {
charpos = 0,
bytepos = 0
}
update_mode_line = 0
tem = 0
it = {
window = 1,
w = 0x1,
f = 0x0,
method = GET_FROM_BUFFER,
stop_charpos = -1,
end_charpos = -1,
s = 0x0,
string_nchars = 0,
region_beg_charpos = 0,
region_end_charpos = 0,
redisplay_end_trigger_charpos = 0,
multibyte_p = 0,
header_line_p = 0,
string_from_display_prop_p = 0,
ellipsis_p = 0,
avoid_cursor_p = 0,
dp = 0x0,
dpvec = 0xffffffff,
dpend = 0x0,
dpvec_char_len = 0,
dpvec_face_id = 0,
saved_face_id = 0,
ctl_chars = {0 <repeats 12 times>, 1, 1, -1, -1},
start = {
pos = {
charpos = -1,
bytepos = -1
},
overlay_string_index = 1,
string_pos = {
charpos = 1,
bytepos = -1
},
dpvec_index = -1
},
current = {
pos = {
charpos = -1,
bytepos = -1
},
overlay_string_index = 0,
string_pos = {
charpos = 0,
bytepos = 0
},
dpvec_index = 0
},
n_overlay_strings = 0,
overlay_strings = {0 <repeats 16 times>},
string_overlays = {0 <repeats 12 times>, 58721289, 0, 0, 0},
string = 0,
from_overlay = 0,
stack = {{
string = 0,
string_nchars = 0,
end_charpos = 0,
stop_charpos = 0,
face_id = 0,
u = {
image = {
object = 0,
slice = {
x = 0,
y = 0,
width = 0,
height = 0
},
image_id = 0
},
comp = {
object = 0,
c = 0,
len = 0,
cmp_id = 0,
cmp_len = 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,
space_width = 0,
font_height = 0,
voffset = 0
}, {
string = 0,
string_nchars = 0,
end_charpos = 0,
stop_charpos = 0,
face_id = 0,
u = {
image = {
object = 0,
slice = {
x = 0,
y = 0,
width = 0,
height = 0
},
image_id = 0
},
comp = {
object = 0,
c = 0,
len = 0,
cmp_id = 0,
cmp_len = 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,
space_width = 0,
font_height = 0,
voffset = 0
}, {
string = 0,
string_nchars = 0,
end_charpos = 0,
stop_charpos = 0,
face_id = 0,
u = {
image = {
object = 0,
slice = {
x = 0,
y = 0,
width = 0,
height = 0
},
image_id = 0
},
comp = {
object = 0,
c = 0,
len = 0,
cmp_id = 0,
cmp_len = 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,
space_width = 0,
font_height = 0,
voffset = 0
}, {
string = 0,
string_nchars = 0,
end_charpos = 0,
stop_charpos = 0,
face_id = 0,
u = {
image = {
object = 0,
slice = {
x = 0,
y = 0,
width = 1254996,
height = 0
},
image_id = 0
},
comp = {
object = 0,
c = 0,
len = 0,
cmp_id = 1254996,
cmp_len = 0
},
stretch = {
object = 0
}
},
position = {
charpos = 0,
bytepos = 0
},
current = {
pos = {
charpos = 0,
bytepos = 0
},
overlay_string_index = 0,
string_pos = {
charpos = 1252493,
bytepos = 0
},
dpvec_index = 0
},
from_overlay = 1365667,
area = 1255722,
method = 3307184,
multibyte_p = 0,
string_from_display_prop_p = 0,
display_ellipsis_p = 0,
avoid_cursor_p = 0,
space_width = -1073746952,
font_height = 1255934,
voffset = -22263
}},
sp = 58830538,
selective = 34190965,
what = IT_CHARACTER,
face_id = 0,
selective_display_ellipsis_p = 0,
ctl_arrow_p = 0,
line_wrap = TRUNCATE,
face_box_p = 1,
start_of_box_run_p = 0,
end_of_box_run_p = 0,
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 = 0,
constrain_row_ascent_descent_p = 1,
base_face_id = 0,
c = 32,
len = 0,
cmp_id = 1256216,
cmp_len = 58829065,
char_to_display = 35157808,
image_id = -1073746920,
slice = {
x = 1045504,
y = 0,
width = 58721289,
height = 35157812
},
space_width = 35157816,
voffset = 11163,
font_height = 1256347,
object = -1073746888,
position = {
charpos = 1045631,
bytepos = 77422808
},
tab_width = 24794,
truncation_pixel_width = 1181,
continuation_pixel_width = -5016,
first_visible_x = 1045808,
last_visible_x = 77422808,
last_visible_y = 40076584,
extra_line_spacing = -1073746840,
max_extra_line_spacing = 994636,
override_ascent = 58829065,
override_descent = 1,
override_boff = 10,
glyph_row = 0x31042b8,
area = 58830418,
nglyphs = 58830416,
pixel_width = -1073746792,
ascent = 127146,
descent = 35158832,
max_ascent = 34896128,
max_descent = -1073746792,
phys_ascent = 127289,
phys_descent = 77422810,
max_phys_ascent = 51397308,
max_phys_descent = 1,
current_x = 1254996,
continuation_lines_width = 0,
current_y = 0,
first_vpos = 0,
vpos = 1329831,
hpos = 58721289,
left_user_fringe_bitmap = 43176,
right_user_fringe_bitmap = 897,
left_user_fringe_face_id = 1043672,
right_user_fringe_face_id = 281338
}
current_matrix_up_to_date_p = 0
used_current_matrix_p = 1
buffer_unchanged_p = 0
temp_scroll_step = 1
rc = 1
centering_position = 1
last_line_misfit = -1073750152
beg_unchanged = 784
end_unchanged = 1
#5 0x000310b9 in redisplay_window_1 (window=34869780) at xdisp.c:12309
No locals.
#6 0x001442e8 in internal_condition_case_1 (bfun=0x3108a <redisplay_window_1>, arg=34869780, handlers=34133381, hfun=0x2238e <redisplay_window_error>) at eval.c:1559
val = 0
c = {
tag = 58721289,
val = 58721289,
next = 0xbffff6b8,
gcpro = 0x0,
jmp = {-1073806465, 1330133, 8096, 1327601, 34995344, 1, 0, 1, -1073746552, -1073746736, 58720287, 658, 1327750, 196631, 31, 34865183, -1073807360, 196663},
backlist = 0x0,
handlerlist = 0xbffff72c,
lisp_eval_depth = 0,
pdlcount = 4,
poll_suppress_count = 1,
interrupt_input_blocked = 0,
byte_stack = 0x0
}
h = {
handler = 34133381,
var = 58721289,
chosen_clause = 58721289,
tag = 0xbfffece8,
next = 0xbffff72c
}
#7 0x00032af9 in redisplay_internal (preserve_echo_area=0) at xdisp.c:11922
mini_window = 1
mini_frame = (struct frame *) 0x0
w = (struct window *) 0x2141210
f = (struct frame *) 0x0
pause = 58721289
must_finish = 1
tlbufpos = {
charpos = 0,
bytepos = 0
}
number_of_visible_frames = 1
polling_stopped_here = 0
old_frame = 34871076
consider_all_windows_p = 0
#8 0x000e08eb in read_char (commandflag=1, nmaps=3, maps=0xbffff450, prev_event=58721289, used_mouse_menu=0xbffff548, end_time=0x0) at keyboard.c:2652
c = 58721289
count = 0
jmpcount = -1073745256
local_getcjmp = {0, 1341697, 0, 1, 34993792, 1255722, 8, 34995348, -1073744936, 1661065, 34995344, 58751513, -1073745000, 66898161, 58751513, 58721289, 1367306, 1256216}
save_jump = {58748777, 8, 34995348, 1332405, 77422282, 1, 35013184, 1335316, 34993796, 93777793, -1073745000, 1335754, -1073744928, -1073744924, 1, 996672, 8, 40075797}
key_already_recorded = 0
tem = 0
save = 3312624
previous_echo_area_message = 58721289
also_record = 58721289
reread = 0
polling_stopped_here = 3307840
orig_kboard = (struct kboard *) 0x2132e20
#9 0x000e2d7a in read_key_sequence (keybuf=0xbffff608, bufsize=30, prompt=58721289, dont_downcase_last=0, can_return_switch_frame=1, fix_current_buffer=1) at keyboard.c:9349
interrupted_kboard = (KBOARD *) 0x2132e20
used_mouse_menu = 0
echo_local_start = 0
last_real_key_start = 0
keys_local_start = 0
local_first_binding = 0
from_string = 58721289
count = 2
t = 0
echo_start = 0
keys_start = 0
nmaps = 3
nmaps_allocated = 3
defs = (Lisp_Object * volatile) 0xbffff430
submaps = (Lisp_Object * volatile) 0xbffff450
orig_local_map = 40038797
orig_keymap = 58721289
localized_local_map = 0
first_binding = 0
first_unbound = 31
mock_input = 0
fkey = {
parent = 41179309,
map = 41179309,
start = 0,
end = 0
}
keytran = {
parent = 34140029,
map = 34140029,
start = 0,
end = 0
}
indec = {
parent = 41179693,
map = 41179693,
start = 0,
end = 0
}
shift_translated = 0
delayed_switch_frame = 58721289
original_uppercase = -1073744488
original_uppercase_position = -1
starting_buffer = (struct buffer *) 0x215fc90
fake_prefixed_keys = 58721289
#10 0x000e5144 in command_loop_1 () at keyboard.c:1620
cmd = 3307184
lose = 3307184
nonundocount = 0
keybuf = {24, 136, 17831722, -1877479028, 5587048, 1, -1073744269, 92290560, -1073744264, -1879037169, 92274892, 152, 8268, 17831904, 100663439, 1, 31, -1879036413, 51396120, 58721337, 51385976, -1881082098, 5663307, 0, -1073744260, -1073744448, 0, 3342336, 58721289, 66855817}
i = 2
prev_modiff = 49
prev_buffer = (struct buffer *) 0x215fc90
already_adjusted = 0
#11 0x00144574 in internal_condition_case (bfun=0xe4f26 <command_loop_1>, handlers=58760953, hfun=0xddd81 <cmd_error>) at eval.c:1511
val = 0
c = {
tag = 58721289,
val = 58721289,
next = 0xbffff7bc,
gcpro = 0x0,
jmp = {895, 17831904, 8096, 1328259, 58721289, 58721289, 3320496, 3307184, -1073744040, -1073744224, 31, 662, 1328408, 1507351, 3276831, 3276831, -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 = 58760953,
var = 58721289,
chosen_clause = 0,
tag = 0xbffff6b8,
next = 0x0
}
#12 0x000d6f68 in command_loop_2 () at keyboard.c:1338
val = 0
#13 0x001441c6 in internal_catch (tag=58757025, func=0xd6f24 <command_loop_2>, arg=58721289) at eval.c:1247
c = {
tag = 58757025,
val = 58721289,
next = 0x0,
gcpro = 0x0,
jmp = {895, 18, 8096, 1327402, 1, 18199, 3329488, 3307184, -1073743816, -1073743968, 58851359, 662, 1327545, 58851351, 58851359, 58720287, 51380224, 55},
backlist = 0x0,
handlerlist = 0x0,
lisp_eval_depth = 0,
pdlcount = 2,
poll_suppress_count = 1,
interrupt_input_blocked = 0,
byte_stack = 0x0
}
tag = 0
#14 0x000d6d0a in command_loop () at keyboard.c:1317
val = 0
#15 0x000d6dc3 in recursive_edit_1 () at keyboard.c:942
val = 0
#16 0x000d6f0b in Frecursive_edit () at keyboard.c:1004
buffer = 58721289
#17 0x000d5fa2 in main (argc=2, argv=0xbffffa38) at emacs.c:1689
dummy = -1881117246
stack_bottom_variable = 0 '\0'
do_initial_setlocale = 1
skip_args = 0
rlim = {
rlim_cur = 8388608,
rlim_max = 67108864
}
no_loadup = 0
junk = 0x0
In GNU Emacs 23.0.60.1 (i386-apple-darwin8.11.1, GTK+ Version 2.12.9)
of 2008-08-15 on mt-computer.local
Windowing system distributor `The XFree86 Project, Inc', version 11.0.40400000
Important settings:
value of $LC_ALL: nil
value of $LC_COLLATE: nil
value of $LC_CTYPE: nil
value of $LC_MESSAGES: nil
value of $LC_MONETARY: nil
value of $LC_NUMERIC: nil
value of $LC_TIME: nil
value of $LANG: en.UTF-8
value of $XMODIFIERS: nil
locale-coding-system: nil
default-enable-multibyte-characters: t
[-- Attachment #3: Type: message/rfc822, Size: 1454 bytes --]
From: Chong Yidong <cyd@stupidchicken.com>
To: Markus Triska <markus.triska@gmx.at>
Cc: 730-done@emacsbugs.donarmstrong.com
Subject: 23.0.60; Crash in next_element_from_display_vector
Date: Sun, 17 Aug 2008 19:52:44 -0400
Message-ID: <87hc9jtd0z.fsf@cyd.mit.edu>
I've fixed the crash. Thanks for the concise and useful bug recipe.
I noticed that Emacs can be somewhat slow under the given conditions
(linum-mode + outline mode with hidden lines). I think this is because
scanning through multiple invisible lines is an expensive operation when
display elements like those added by linum mode are present. There may
be a way to optimize this, but it's not clear to me right now.
I'll take a look at this later, but for the moment I'm closing this bug.
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2008-08-18 0:00 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
[not found] <87hc9jtd0z.fsf@cyd.mit.edu>
2008-08-16 13:57 ` bug#730: 23.0.60; Crash in next_element_from_display_vector Markus Triska
2008-08-18 0:00 ` bug#730: marked as done (23.0.60; Crash in next_element_from_display_vector) Emacs bug Tracking System
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).