From: Roland Winkler <roland.winkler@physik.uni-erlangen.de>
To: 6177@debbugs.gnu.org
Subject: bug#6177: 23.2; emacs crashes when reverting a file
Date: Tue, 11 May 2010 18:28:10 -0500 [thread overview]
Message-ID: <87632uvx11.fsf@regnitz.physics.niu.edu> (raw)
I've encountered a situation, where reverting a file reproducibly
crashes emacs. I do not know much about debugging emacs on this level.
I've reproduced the crash under gdb.
xbacktrace doesn't give any information.
`bt full' gives the info attached below.
I'll be happy to provide more information if someone can give me further hints.
Roland
In GNU Emacs 23.2.1 (i686-pc-linux-gnu, GTK+ Version 2.14.4)
of 2010-05-11 on regnitz.physics.niu.edu
Windowing system distributor `The X.Org Foundation', version 11.0.10502000
configured using `configure '--prefix=/home/winkler/emacs/CVS/emacs''
Important settings:
value of $LC_ALL: nil
value of $LC_COLLATE: C
value of $LC_CTYPE: nil
value of $LC_MESSAGES: nil
value of $LC_MONETARY: nil
value of $LC_NUMERIC: nil
value of $LC_TIME: en_GB.utf8
value of $LANG: en_US.ISO-8859-15
value of $XMODIFIERS: nil
locale-coding-system: iso-latin-9-unix
default enable-multibyte-characters: t
Major mode: Outline
Minor modes in effect:
display-battery-mode: t
show-paren-mode: t
display-time-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
auto-encryption-mode: t
auto-compression-mode: t
line-number-mode: t
transient-mark-mode: t
abbrev-mode: t
Load-path shadows:
/home/winkler/emacs/site-lisp/tex-site hides /home/winkler/emacs/site-lisp/auctex/tex-site
/home/winkler/emacs/site-lisp/site-start hides /home/winkler/emacs/CVS/emacs/site-lisp/site-start
Features:
(shadow sort mail-extr message ecomplete rfc822 mml mml-sec
password-cache mm-decode mm-bodies mm-encode mailcap mail-parse rfc2231
rfc2047 rfc2045 qp ietf-drums mailabbrev nnheader gnus-util netrc
time-date mm-util mail-prsvr gmm-utils wid-edit mailheader canlock sha1
hex-util hashcash mail-utils warnings emacsbug multi-isearch noutline
outline easy-mmode help-mode view info battery bbdb-autoloads bbdb
timezone tex-site mozmail smtpmail sendmail bibtex ispell derived
disp-table ediff-init ediff-mult maplev align comint ring
browse-kill-ring himark table easymenu uniquify paren time regexp-opt
edmacro kmacro umlaute advice help-fns advice-preload vm-autoloads
tooltip ediff-hook vc-hooks lisp-float-type mwheel x-win x-dnd
font-setting tool-bar dnd fontset image fringe lisp-mode register page
menu-bar rfn-eshadow timer select scroll-bar mldrag mouse jit-lock
font-lock syntax facemenu font-core frame cham georgian utf-8-lang
misc-lang vietnamese tibetan thai tai-viet lao korean japanese hebrew
greek romanian slovak czech european ethiopic indian cyrillic chinese
case-table epa-hook jka-cmpr-hook help simple abbrev loaddefs button
minibuffer faces cus-face files text-properties overlay md5 base64
format env code-pages mule custom widget hashtable-print-readable
backquote make-network-process dbusbind font-render-setting gtk
x-toolkit x multi-tty emacs)
(gdb) xbacktrace
(gdb)
(gdb) bt full
#0 abort () at emacs.c:431
No locals.
#1 0x081deb85 in temp_set_point_both (buffer=0x98411c8, charpos=92, bytepos=92) at intervals.c:1950
No locals.
#2 0x08091754 in redisplay_window (window=159032549, just_this_one_p=0) at xdisp.c:13940
w = (struct window *) 0x97aa4e0
f = (struct frame *) 0x93908d8
buffer = (struct buffer *) 0x93908d8
old = (struct buffer *) 0x98411c8
startp = {
charpos = 154732760,
bytepos = 1
}
update_mode_line = 1
tem = <value optimized out>
it = {
window = 0,
w = 0xbf8ada24,
f = 0xbf8ad9f8,
method = 134789203,
stop_charpos = 1,
end_charpos = 154733456,
s = 0x1 <Address 0x1 out of bounds>,
string_nchars = 1,
region_beg_charpos = 155119152,
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 = 0x9390b90,
dpvec = 0x1,
dpend = 0x1,
dpvec_char_len = -1081419228,
dpvec_face_id = 154733456,
---Type <return> to continue, or q <return> to quit---
saved_face_id = 0,
ctl_chars = {-1081418056, 134789871, -1081419228, 154733456, 1, 1, 1, 154732765, 58657919, -1210470454, -1209102348, 154733461, 154733456,
154732760, 0, 1},
start = {
pos = {
charpos = 1,
bytepos = 0
},
overlay_string_index = 0,
string_pos = {
charpos = -1,
bytepos = -1
},
dpvec_index = 0
},
current = {
pos = {
charpos = 0,
bytepos = 158106568
},
overlay_string_index = 0,
string_pos = {
charpos = 0,
bytepos = 0
},
dpvec_index = 0
},
n_overlay_strings = -1,
overlay_strings = {0 <repeats 16 times>},
string_overlays = {1, 1, -1, -1, -1, -1, 1, 1, -1, -1, -1, -1, 0, 0, 0, 0},
string = 0,
from_overlay = 0,
stack = {{
string = 0,
string_nchars = 0,
end_charpos = 0,
stop_charpos = 0,
---Type <return> to continue, or q <return> to quit---
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 = {
---Type <return> to continue, or q <return> to quit---
charpos = 0,
bytepos = 0
},
overlay_string_index = 0,
string_pos = {
charpos = 0,
bytepos = 138349850
},
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
---Type <return> to continue, or q <return> to quit---
},
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,
---Type <return> to continue, or q <return> to quit---
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
},
---Type <return> to continue, or q <return> to quit---
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
}, {
---Type <return> to continue, or q <return> to quit---
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,
---Type <return> to continue, or q <return> 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 = 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 = 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,
---Type <return> to continue, or q <return> to quit---
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 = 0,
id = 0,
ch = 0,
lookback = 0,
nglyphs = 0,
nchars = 0,
nbytes = 0,
from = 0,
to = 0,
width = 0
},
char_to_display = 0,
image_id = 0,
slice = {
x = 0,
y = 0,
width = 0,
height = 0
},
space_width = 0,
voffset = 0,
tab_width = 0,
font_height = 0,
object = 0,
position = {
charpos = 0,
bytepos = 0
},
---Type <return> to continue, or q <return> to quit---
truncation_pixel_width = 4,
continuation_pixel_width = 0,
first_visible_x = 0,
last_visible_x = 35,
last_visible_y = 2,
extra_line_spacing = 0,
max_extra_line_spacing = 0,
override_ascent = 0,
override_descent = 1,
override_boff = -1,
glyph_row = 0xfffffffe,
area = LEFT_MARGIN_AREA,
nglyphs = 160019150,
pixel_width = 158482792,
ascent = 138380954,
descent = -1081418200,
max_ascent = 135801416,
max_descent = 138380954,
phys_ascent = 138387003,
phys_descent = 160019182,
max_phys_ascent = 0,
max_phys_descent = 138349850,
current_x = 138349850,
continuation_lines_width = 138349850,
current_y = 138380954,
first_vpos = 157708968,
vpos = 157710061,
hpos = -1081418168,
left_user_fringe_bitmap = 11211,
right_user_fringe_bitmap = 2072,
left_user_fringe_face_id = 1,
right_user_fringe_face_id = 0
}
current_matrix_up_to_date_p = 0
used_current_matrix_p = 0
buffer_unchanged_p = 1
temp_scroll_step = 138519602
---Type <return> to continue, or q <return> to quit---
rc = -1081419228
centering_position = 154732760
last_line_misfit = <value optimized out>
beg_unchanged = 12311
end_unchanged = 0
#3 0x08093ff3 in redisplay_window_0 (window=159032549) at xdisp.c:12238
No locals.
#4 0x08191756 in internal_condition_case_1 (bfun=0x8093fd0 <redisplay_window_0>, arg=159032549, handlers=138338078,
hfun=0x806a7b0 <redisplay_window_error>) at eval.c:1538
val = <value optimized out>
c = {
tag = 138349850,
val = 138349850,
next = 0xbf8aedbc,
gcpro = 0x0,
jmp = {{
__jmpbuf = {159032544, 138782056, 154732760, -1081417912, -610484051, -66182206},
__mask_was_saved = 0,
__saved_mask = {
__val = {1, 1, 138349874, 138467880, 138792550, 138349850, 157710061, 138468856, 3213549288, 138394472, 138389171, 159650248,
3213549304, 135803355, 138394474, 138389171, 1600000, 159650248, 138349874, 138389168, 3213549352, 138394474, 1600000, 138394472,
3213549352, 135859596, 138394474, 1600000, 0, 1, 5, 140075512}
}
}},
backlist = 0x0,
handlerlist = 0xbf8aee84,
lisp_eval_depth = 0,
pdlcount = 4,
poll_suppress_count = 1,
interrupt_input_blocked = 0,
byte_stack = 0x0
}
h = {
handler = 138338078,
var = 138349850,
chosen_clause = 0,
tag = 0xbf8ade6c,
---Type <return> to continue, or q <return> to quit---
next = 0xbf8aee84
}
#5 0x0807bdb3 in redisplay_windows (window=159650248) at xdisp.c:12217
w = (struct window *) 0x97aa4e0
#6 0x0808c6a8 in redisplay_internal (preserve_echo_area=<value optimized out>) at xdisp.c:11789
f = (struct frame *) 0x93908d8
tail = 159650248
frame = 92
w = (struct window *) 0x97aa4e0
pause = 0
must_finish = 1
number_of_visible_frames = 1
polling_stopped_here = 0
old_frame = 154732765
consider_all_windows_p = 1
#7 0x0812d7fe in read_char (commandflag=1, nmaps=2, maps=0xbf8aebc0, prev_event=138349850, used_mouse_menu=0xbf8aec80, end_time=0x0)
at keyboard.c:2727
c = <value optimized out>
local_getcjmp = {{
__jmpbuf = {160010582, -1, -1081414996, 159650248, -1081415016, 136182064},
__mask_was_saved = 160010582,
__saved_mask = {
__val = {138378154, 1, 4294967295, 3213552300, 4294967295, 3213552520, 135839284, 160010582, 138378154, 159650253, 134863687,
159032549, 160437710, 136468072, 138380954, 138458362, 138349850, 138349898, 159032549, 138387738, 92, 3213552424, 134876963,
160437726, 160437718, 154732765, 160415008, 159650248, 1, 12311, 6661, 24814821}
}
}}
save_jump = {{
__jmpbuf = {6661, 138349850, 1033, -1081414504, 159650253, 0},
__mask_was_saved = 159151648,
__saved_mask = {
__val = {3213552120, 136178327, 0, 138498386, 12311, 6661, 159650253, 1033, 17, 159650253, 0, 159151648, 3213552168, 136178327,
138498386, 138378154, 3213552200, 136179695, 159650253, 1, 16, 138378154, 160011752, 138349850, 3213552248, 136181883, 138378154,
138349850, 3213552256, 0, 4294967295, 1}
}
}}
key_already_recorded = 0
---Type <return> to continue, or q <return> to quit---
tem = -1081414528
save = <value optimized out>
previous_echo_area_message = 138349850
also_record = 138349850
reread = 0
polling_stopped_here = <value optimized out>
orig_kboard = (struct kboard *) 0x85e5398
#8 0x0812fc02 in read_key_sequence (keybuf=0xbf8aed24, bufsize=30, prompt=138349850, dont_downcase_last=0, can_return_switch_frame=1,
fix_current_buffer=1) at keyboard.c:9512
interrupted_kboard = (KBOARD *) 0x85e5398
key = 136182226
used_mouse_menu = 0
echo_local_start = 0
last_real_key_start = 0
keys_local_start = 0
local_first_binding = 0
from_string = 138349850
count = 2
t = 0
echo_start = 0
keys_start = 0
nmaps = 2
nmaps_allocated = 2
defs = (Lisp_Object * volatile) 0xbf8aeba0
submaps = (Lisp_Object * volatile) 0xbf8aebc0
orig_local_map = 158462166
orig_keymap = 138349850
localized_local_map = 0
first_binding = 0
first_unbound = 31
mock_input = 0
fkey = {
parent = 140884014,
map = 140884014,
start = 0,
end = 0
}
---Type <return> to continue, or q <return> to quit---
keytran = {
parent = 138343142,
map = 138343142,
start = 0,
end = 0
}
indec = {
parent = 140884022,
map = 140884022,
start = 0,
end = 0
}
shift_translated = 0
delayed_switch_frame = 138349850
original_uppercase = 0
original_uppercase_position = -1
starting_buffer = (struct buffer *) 0x98411c8
fake_prefixed_keys = 138349850
#9 0x081319dc in command_loop_1 () at keyboard.c:1643
cmd = <value optimized out>
lose = <value optimized out>
keybuf = {138381618, 196, 57, -1221169928, -1221175016, 0, 0, 0, 0, 1, 1011, -1224045256, -1219003112, 134545402, -1221133400,
134523852, 1, -1208881164, 0, -1081414268, -1081414432, 0, -1081475072, 138349850, 139145754, -379121664, 0, 138621440, 138621424,
-1081414232}
i = <value optimized out>
prev_modiff = 1767
prev_buffer = (struct buffer *) 0x98411c8
already_adjusted = 0
#10 0x08191850 in internal_condition_case (bfun=0x8131800 <command_loop_1>, handlers=138387834, hfun=0x812b0d0 <cmd_error>) at eval.c:1490
val = <value optimized out>
c = {
tag = 138349850,
val = 138349850,
next = 0xbf8aeed0,
gcpro = 0x0,
jmp = {{
__jmpbuf = {0, 138621440, 138621424, -1081413992, -604282707, -66051134},
---Type <return> to continue, or q <return> to quit---
__mask_was_saved = 0,
__saved_mask = {
__val = {3086086132, 3070921888, 32, 3213552916, 3086008477, 3075203392, 139781008, 3213552840, 3074245814, 3075203392, 3086068668,
3213552864, 3075198964, 276967387, 3075964184, 8655230, 57, 3213553520, 3213553228, 3213553520, 3213553368, 135516052, 2,
3073813544, 3075964184, 0, 4294967295, 3086086132, 134523852, 3086087784, 3213553312, 3086026075}
}
}},
backlist = 0x0,
handlerlist = 0x0,
lisp_eval_depth = 0,
pdlcount = 2,
poll_suppress_count = 1,
interrupt_input_blocked = 0,
byte_stack = 0x0
}
h = {
handler = 138387834,
var = 138349850,
chosen_clause = 1,
tag = 0xbf8aedbc,
next = 0x0
}
#11 0x0812a5f5 in command_loop_2 () at keyboard.c:1360
val = 1
#12 0x0819192a in internal_catch (tag=138384906, func=0x812a5d0 <command_loop_2>, arg=138349850) at eval.c:1226
c = {
tag = 138384906,
val = 138349850,
next = 0x0,
gcpro = 0x0,
jmp = {{
__jmpbuf = {0, 138621440, 138621424, -1081413736, -604143443, -65913918},
__mask_was_saved = 0,
__saved_mask = {
__val = {0, 0, 0, 0, 0, 3075203520, 3075089079, 3075095872, 3075083313, 3075083103, 0, 0, 0, 3075203448, 177, 22, 0, 1, 139774040,
0, 138517264, 138515147, 138375704, 3213553544, 135803355, 138517266, 138515147, 138349850, 138375704, 138349874, 138515144,
140779680}
---Type <return> to continue, or q <return> to quit---
}
}},
backlist = 0x0,
handlerlist = 0x0,
lisp_eval_depth = 0,
pdlcount = 2,
poll_suppress_count = 1,
interrupt_input_blocked = 0,
byte_stack = 0x0
}
#13 0x0812af1f in command_loop () at keyboard.c:1339
No locals.
#14 0x0812b2db in recursive_edit_1 () at keyboard.c:954
val = <value optimized out>
#15 0x0812b424 in Frecursive_edit () at keyboard.c:1016
buffer = 138349850
#16 0x08120eb7 in main (argc=1, argv=0xbf8af3a4) at emacs.c:1833
dummy = 139723384
stack_bottom_variable = 8 '\b'
do_initial_setlocale = 1
skip_args = 0
rlim = {
rlim_cur = 8388608,
rlim_max = 18446744073709551615
}
no_loadup = 0
junk = 0x0
dname_arg = 0x0
(gdb)
(gdb)
(gdb)
next reply other threads:[~2010-05-11 23:28 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-05-11 23:28 Roland Winkler [this message]
2010-05-12 3:05 ` bug#6177: 23.2; emacs crashes when reverting a file Eli Zaretskii
2010-05-12 13:13 ` Roland Winkler
2010-05-12 18:13 ` Eli Zaretskii
2010-05-12 21:13 ` Roland Winkler
2010-05-26 9:18 ` Geoff Gole
2010-05-26 15:01 ` Roland Winkler
2010-05-27 15:46 ` Chong Yidong
2010-06-04 6:29 ` Gilles Pion
2010-06-07 7:04 ` Glenn Morris
2010-06-04 7:44 ` Gilles Pion
2010-06-15 12:44 ` Gilles Pion
2010-06-15 13:32 ` Stefan Monnier
2010-06-15 19:45 ` Glenn Morris
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87632uvx11.fsf@regnitz.physics.niu.edu \
--to=roland.winkler@physik.uni-erlangen.de \
--cc=6177@debbugs.gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.