* vc-annotate bugs
@ 2007-08-21 10:38 Johan Bockgård
2007-08-21 16:24 ` Stefan Monnier
2008-01-05 5:26 ` Stefan Monnier
0 siblings, 2 replies; 3+ messages in thread
From: Johan Bockgård @ 2007-08-21 10:38 UTC (permalink / raw
To: emacs-pretest-bug
In GNU Emacs 22.1.50.13 (x86_64-unknown-linux-gnu, GTK+ Version 2.10.11)
of 2007-08-21 on muon
$ emacs -Q
M-x find-library RET simple RET
(Assuming Emacs is run from the build directory, so that it finds
simple.el under CVS.)
1.
Type `C-x v g'.
Wait for "Annotating... done".
Press `A'.
Emacs beeps and complains "Beginning of buffer".
The backtrace is
Debugger entered--Lisp error: (beginning-of-buffer)
signal(beginning-of-buffer nil)
line-move-1(-1 nil nil)
line-move(-1 nil nil nil)
previous-line()
vc-annotate-warp-version("1.4")
vc-annotate-revision-previous-to-line()
call-interactively(vc-annotate-revision-previous-to-line)
2.
If you type `C-x v g', quickly followed by `A' (after some text has been
inserted, but before "Annotating... done") then Emacs hangs after a few
seconds.
Program received signal SIGTSTP, Stopped (user).
0x00002b6c5dffc6b0 in strlen () from /lib/libc.so.6
(gdb) bt
#0 0x00002b6c5dffc6b0 in strlen () from /lib/libc.so.6
#1 0x00002b6c5e00de40 in ?? () from /lib/libc.so.6
#2 0x00002b6c5e00f7e8 in ?? () from /lib/libc.so.6
#3 0x00002b6c5e00dfbf in ?? () from /lib/libc.so.6
#4 0x00002b6c5e00e88e in ?? () from /lib/libc.so.6
#5 0x000000000051d1fa in Fdecode_time (specified_time=<value optimized out>)
at editfns.c:1759
#6 0x00000000005253ae in Ffuncall (nargs=<value optimized out>,
args=<value optimized out>) at eval.c:3020
#7 0x000000000055147b in Fbyte_code (bytestr=<value optimized out>,
vector=14916932, maxdepth=72) at bytecode.c:679
#8 0x0000000000524e68 in funcall_lambda (fun=14700884, nargs=0,
arg_vector=0x7fff518c1050) at eval.c:3207
#9 0x0000000000525246 in Ffuncall (nargs=<value optimized out>,
args=<value optimized out>) at eval.c:3077
#10 0x0000000000526c03 in Fapply (nargs=2, args=0x7fff518c1048) at eval.c:2449
#11 0x0000000000525536 in Ffuncall (nargs=<value optimized out>,
args=<value optimized out>) at eval.c:3001
#12 0x000000000055147b in Fbyte_code (bytestr=<value optimized out>,
vector=10899201, maxdepth=61) at bytecode.c:679
#13 0x0000000000524e68 in funcall_lambda (fun=9361908, nargs=2,
arg_vector=0x7fff518c11f8) at eval.c:3207
#14 0x0000000000525246 in Ffuncall (nargs=<value optimized out>,
args=<value optimized out>) at eval.c:3077
#15 0x000000000055147b in Fbyte_code (bytestr=<value optimized out>,
vector=17103697, maxdepth=17) at bytecode.c:679
#16 0x0000000000524e68 in funcall_lambda (fun=15926788, nargs=1,
arg_vector=0x7fff518c1388) at eval.c:3207
#17 0x0000000000525246 in Ffuncall (nargs=<value optimized out>,
args=<value optimized out>) at eval.c:3077
#18 0x000000000055147b in Fbyte_code (bytestr=<value optimized out>,
vector=16550497, maxdepth=114) at bytecode.c:679
#19 0x0000000000524e68 in funcall_lambda (fun=10981332, nargs=1,
arg_vector=0x7fff518c1528) at eval.c:3207
#20 0x0000000000525246 in Ffuncall (nargs=<value optimized out>,
args=<value optimized out>) at eval.c:3077
#21 0x000000000055147b in Fbyte_code (bytestr=<value optimized out>,
vector=10899057, maxdepth=96) at bytecode.c:679
#22 0x0000000000524e68 in funcall_lambda (fun=9007564, nargs=3,
arg_vector=0x7fff518c16e8) at eval.c:3207
#23 0x0000000000525246 in Ffuncall (nargs=<value optimized out>,
args=<value optimized out>) at eval.c:3077
#24 0x000000000055147b in Fbyte_code (bytestr=<value optimized out>,
vector=14571137, maxdepth=137) at bytecode.c:679
#25 0x0000000000524e68 in funcall_lambda (fun=9001204, nargs=3,
arg_vector=0x7fff518c1888) at eval.c:3207
#26 0x0000000000525246 in Ffuncall (nargs=<value optimized out>,
args=<value optimized out>) at eval.c:3077
#27 0x000000000055147b in Fbyte_code (bytestr=<value optimized out>,
vector=14571137, maxdepth=32) at bytecode.c:679
#28 0x0000000000524e68 in funcall_lambda (fun=8998908, nargs=2,
arg_vector=0x7fff518c1ae0) at eval.c:3207
#29 0x0000000000525246 in Ffuncall (nargs=<value optimized out>,
args=<value optimized out>) at eval.c:3077
#30 0x0000000000526965 in run_hook_with_args (nargs=3, args=0x7fff518c1ad8,
cond=to_completion) at eval.c:2679
#31 0x0000000000525536 in Ffuncall (nargs=<value optimized out>,
args=<value optimized out>) at eval.c:3001
#32 0x000000000055147b in Fbyte_code (bytestr=<value optimized out>,
vector=10905025, maxdepth=32) at bytecode.c:679
#33 0x0000000000524896 in Feval (form=<value optimized out>) at eval.c:2357
#34 0x000000000052707a in internal_lisp_condition_case (var=11027041,
bodyform=9028989, handlers=<value optimized out>) at eval.c:1427
#35 0x000000000055063c in Fbyte_code (bytestr=<value optimized out>,
vector=10905025, maxdepth=135) at bytecode.c:869
#36 0x0000000000524e68 in funcall_lambda (fun=9028268, nargs=2,
arg_vector=0x7fff518c1f88) at eval.c:3207
#37 0x0000000000525246 in Ffuncall (nargs=<value optimized out>,
args=<value optimized out>) at eval.c:3077
#38 0x000000000055147b in Fbyte_code (bytestr=<value optimized out>,
vector=14484401, maxdepth=20) at bytecode.c:679
#39 0x0000000000524e68 in funcall_lambda (fun=9027684, nargs=1,
arg_vector=0x7fff518c22e8) at eval.c:3207
#40 0x0000000000525246 in Ffuncall (nargs=<value optimized out>,
args=<value optimized out>) at eval.c:3077
#41 0x0000000000523859 in internal_condition_case_2 (
bfun=0x525050 <Ffuncall>, nargs=2, args=0x7fff518c22e0,
handlers=10422769, hfun=0x4349f0 <safe_eval_handler>) at eval.c:1581
#42 0x000000000043ea42 in safe_call (nargs=2, args=0x7fff518c22e0)
at xdisp.c:2341
#43 0x000000000043ea7a in safe_call1 (fn=<value optimized out>,
arg=<value optimized out>) at xdisp.c:2361
#44 0x000000000044987c in handle_fontified_prop (it=<value optimized out>)
at xdisp.c:3309
#45 0x000000000043275d in handle_stop (it=0x7fff518c2e70) at xdisp.c:3062
#46 0x0000000000438785 in next_element_from_buffer (it=0x109ab28)
at xdisp.c:6260
#47 0x0000000000434b68 in get_next_display_element (it=0x7fff518c2e70)
at xdisp.c:5518
#48 0x000000000043c359 in display_line (it=0x7fff518c2e70) at xdisp.c:16120
#49 0x00000000004437bb in try_window (window=<value optimized out>,
pos=<value optimized out>, check_margins=1) at xdisp.c:13693
#50 0x0000000000444fc9 in redisplay_window (window=15120116,
just_this_one_p=0) at xdisp.c:13269
#51 0x0000000000446aa1 in redisplay_window_0 (window=17410856)
at xdisp.c:11874
#52 0x00000000005239cc in internal_condition_case_1 (
bfun=0x446a80 <redisplay_window_0>, arg=15120116, handlers=10720885,
hfun=0x4231f0 <redisplay_window_error>) at eval.c:1530
#53 0x0000000000432b35 in redisplay_windows (window=11135765) at xdisp.c:11853
#54 0x0000000000432ae7 in redisplay_windows (window=11135765) at xdisp.c:11847
#55 0x0000000000447336 in redisplay_internal (
preserve_echo_area=<value optimized out>) at xdisp.c:11413
#56 0x0000000000447df2 in redisplay_preserve_echo_area (
from_where=<value optimized out>) at xdisp.c:11664
#57 0x0000000000558b52 in wait_reading_process_output (time_limit=90,
microsecs=0, read_kbd=-1, do_display=1, wait_for_cell=10422673,
wait_proc=0x0, just_wait_proc=0) at process.c:4803
#58 0x0000000000413279 in sit_for (timeout=720, reading=1, do_display=1)
at dispnew.c:6580
#59 0x00000000004c4e55 in read_char (commandflag=1, nmaps=3,
maps=0x7fff518c5810, prev_event=10422673, used_mouse_menu=0x7fff518c5928,
end_time=0x0) at keyboard.c:2904
#60 0x00000000004c7195 in read_key_sequence (keybuf=0x7fff518c59b0,
bufsize=30, prompt=10422673, dont_downcase_last=0,
can_return_switch_frame=1, fix_current_buffer=1) at keyboard.c:9218
#61 0x00000000004c8eba in command_loop_1 () at keyboard.c:1618
#62 0x0000000000523c64 in internal_condition_case (
bfun=0x4c8d10 <command_loop_1>, handlers=10518449,
hfun=0x4c2c80 <cmd_error>) at eval.c:1482
#63 0x00000000004c202a in command_loop_2 () at keyboard.c:1329
#64 0x0000000000523d67 in internal_catch (tag=<value optimized out>,
func=0x4c2010 <command_loop_2>, arg=10422673) at eval.c:1223
#65 0x00000000004c2ab8 in command_loop () at keyboard.c:1308
#66 0x00000000004c2eaa in recursive_edit_1 () at keyboard.c:1006
#67 0x00000000004c2fa9 in Frecursive_edit () at keyboard.c:1067
#68 0x00000000004b76db in main (argc=2, argv=0x7fff518c6258) at emacs.c:1774
Lisp Backtrace:
"decode-time" (0x10858e5)
"vc-cvs-annotate-current-time" (0x9f0991)
"apply" (0xf437b1)
"vc-call-backend" (0xe0cdf1)
"vc-annotate-difference" (0x9f0991)
"vc-annotate-lines" (0x47a0)
"font-lock-fontify-keywords-region" (0x3e90)
"font-lock-default-fontify-region" (0x3e90)
"font-lock-fontify-region" (0x3e90)
"run-hook-with-args" (0xdf9201)
"byte-code" (0x89c59b)
"jit-lock-fontify-now" (0x3fa8)
"jit-lock-function" (0x3fa8)
(gdb) c
Continuing.
C-c C-z
Program received signal SIGTSTP, Stopped (user).
0x00002b6c5dfc7dec in ?? () from /lib/libc.so.6
(gdb) bt
#0 0x00002b6c5dfc7dec in ?? () from /lib/libc.so.6
#1 0x00002b6c5dfcaf78 in vfprintf () from /lib/libc.so.6
#2 0x00002b6c5dfe7de9 in vsprintf () from /lib/libc.so.6
#3 0x00002b6c5dfd2698 in sprintf () from /lib/libc.so.6
#4 0x000000000051cb04 in Fencode_time (nargs=<value optimized out>,
args=<value optimized out>) at editfns.c:1852
#5 0x0000000000525536 in Ffuncall (nargs=<value optimized out>,
args=<value optimized out>) at eval.c:3001
#6 0x0000000000526bd5 in Fapply (nargs=5, args=0x7fff518c0db0) at eval.c:2508
#7 0x0000000000525536 in Ffuncall (nargs=<value optimized out>,
args=<value optimized out>) at eval.c:3001
#8 0x000000000055147b in Fbyte_code (bytestr=<value optimized out>,
vector=14916932, maxdepth=72) at bytecode.c:679
#9 0x0000000000524e68 in funcall_lambda (fun=14700884, nargs=0,
arg_vector=0x7fff518c1050) at eval.c:3207
#10 0x0000000000525246 in Ffuncall (nargs=<value optimized out>,
args=<value optimized out>) at eval.c:3077
#11 0x0000000000526c03 in Fapply (nargs=2, args=0x7fff518c1048) at eval.c:2449
#12 0x0000000000525536 in Ffuncall (nargs=<value optimized out>,
args=<value optimized out>) at eval.c:3001
#13 0x000000000055147b in Fbyte_code (bytestr=<value optimized out>,
vector=10899201, maxdepth=61) at bytecode.c:679
#14 0x0000000000524e68 in funcall_lambda (fun=9361908, nargs=2,
arg_vector=0x7fff518c11f8) at eval.c:3207
#15 0x0000000000525246 in Ffuncall (nargs=<value optimized out>,
args=<value optimized out>) at eval.c:3077
#16 0x000000000055147b in Fbyte_code (bytestr=<value optimized out>,
vector=17103697, maxdepth=17) at bytecode.c:679
#17 0x0000000000524e68 in funcall_lambda (fun=15926788, nargs=1,
arg_vector=0x7fff518c1388) at eval.c:3207
#18 0x0000000000525246 in Ffuncall (nargs=<value optimized out>,
args=<value optimized out>) at eval.c:3077
#19 0x000000000055147b in Fbyte_code (bytestr=<value optimized out>,
vector=16550497, maxdepth=114) at bytecode.c:679
#20 0x0000000000524e68 in funcall_lambda (fun=10981332, nargs=1,
arg_vector=0x7fff518c1528) at eval.c:3207
#21 0x0000000000525246 in Ffuncall (nargs=<value optimized out>,
args=<value optimized out>) at eval.c:3077
#22 0x000000000055147b in Fbyte_code (bytestr=<value optimized out>,
vector=10899057, maxdepth=96) at bytecode.c:679
#23 0x0000000000524e68 in funcall_lambda (fun=9007564, nargs=3,
arg_vector=0x7fff518c16e8) at eval.c:3207
#24 0x0000000000525246 in Ffuncall (nargs=<value optimized out>,
args=<value optimized out>) at eval.c:3077
#25 0x000000000055147b in Fbyte_code (bytestr=<value optimized out>,
vector=14571137, maxdepth=137) at bytecode.c:679
#26 0x0000000000524e68 in funcall_lambda (fun=9001204, nargs=3,
arg_vector=0x7fff518c1888) at eval.c:3207
#27 0x0000000000525246 in Ffuncall (nargs=<value optimized out>,
args=<value optimized out>) at eval.c:3077
#28 0x000000000055147b in Fbyte_code (bytestr=<value optimized out>,
vector=14571137, maxdepth=32) at bytecode.c:679
#29 0x0000000000524e68 in funcall_lambda (fun=8998908, nargs=2,
arg_vector=0x7fff518c1ae0) at eval.c:3207
#30 0x0000000000525246 in Ffuncall (nargs=<value optimized out>,
args=<value optimized out>) at eval.c:3077
#31 0x0000000000526965 in run_hook_with_args (nargs=3, args=0x7fff518c1ad8,
cond=to_completion) at eval.c:2679
#32 0x0000000000525536 in Ffuncall (nargs=<value optimized out>,
args=<value optimized out>) at eval.c:3001
#33 0x000000000055147b in Fbyte_code (bytestr=<value optimized out>,
vector=10905025, maxdepth=32) at bytecode.c:679
#34 0x0000000000524896 in Feval (form=<value optimized out>) at eval.c:2357
#35 0x000000000052707a in internal_lisp_condition_case (var=11027041,
bodyform=9028989, handlers=<value optimized out>) at eval.c:1427
#36 0x000000000055063c in Fbyte_code (bytestr=<value optimized out>,
vector=10905025, maxdepth=135) at bytecode.c:869
#37 0x0000000000524e68 in funcall_lambda (fun=9028268, nargs=2,
arg_vector=0x7fff518c1f88) at eval.c:3207
#38 0x0000000000525246 in Ffuncall (nargs=<value optimized out>,
args=<value optimized out>) at eval.c:3077
#39 0x000000000055147b in Fbyte_code (bytestr=<value optimized out>,
vector=14484401, maxdepth=20) at bytecode.c:679
#40 0x0000000000524e68 in funcall_lambda (fun=9027684, nargs=1,
arg_vector=0x7fff518c22e8) at eval.c:3207
#41 0x0000000000525246 in Ffuncall (nargs=<value optimized out>,
args=<value optimized out>) at eval.c:3077
#42 0x0000000000523859 in internal_condition_case_2 (
bfun=0x525050 <Ffuncall>, nargs=2, args=0x7fff518c22e0,
handlers=10422769, hfun=0x4349f0 <safe_eval_handler>) at eval.c:1581
#43 0x000000000043ea42 in safe_call (nargs=2, args=0x7fff518c22e0)
at xdisp.c:2341
#44 0x000000000043ea7a in safe_call1 (fn=<value optimized out>,
arg=<value optimized out>) at xdisp.c:2361
#45 0x000000000044987c in handle_fontified_prop (it=<value optimized out>)
at xdisp.c:3309
#46 0x000000000043275d in handle_stop (it=0x7fff518c2e70) at xdisp.c:3062
#47 0x0000000000438785 in next_element_from_buffer (it=0x0) at xdisp.c:6260
#48 0x0000000000434b68 in get_next_display_element (it=0x7fff518c2e70)
at xdisp.c:5518
#49 0x000000000043c359 in display_line (it=0x7fff518c2e70) at xdisp.c:16120
#50 0x00000000004437bb in try_window (window=<value optimized out>,
pos=<value optimized out>, check_margins=1) at xdisp.c:13693
#51 0x0000000000444fc9 in redisplay_window (window=15120116,
just_this_one_p=0) at xdisp.c:13269
#52 0x0000000000446aa1 in redisplay_window_0 (window=0) at xdisp.c:11874
#53 0x00000000005239cc in internal_condition_case_1 (
bfun=0x446a80 <redisplay_window_0>, arg=15120116, handlers=10720885,
hfun=0x4231f0 <redisplay_window_error>) at eval.c:1530
#54 0x0000000000432b35 in redisplay_windows (window=140734561519559)
at xdisp.c:11853
#55 0x0000000000432ae7 in redisplay_windows (window=140734561519559)
at xdisp.c:11847
#56 0x0000000000447336 in redisplay_internal (
preserve_echo_area=<value optimized out>) at xdisp.c:11413
#57 0x0000000000447df2 in redisplay_preserve_echo_area (
from_where=<value optimized out>) at xdisp.c:11664
#58 0x0000000000558b52 in wait_reading_process_output (time_limit=90,
microsecs=0, read_kbd=-1, do_display=1, wait_for_cell=10422673,
wait_proc=0x0, just_wait_proc=0) at process.c:4803
#59 0x0000000000413279 in sit_for (timeout=720, reading=1, do_display=1)
at dispnew.c:6580
#60 0x00000000004c4e55 in read_char (commandflag=1, nmaps=3,
maps=0x7fff518c5810, prev_event=10422673, used_mouse_menu=0x7fff518c5928,
end_time=0x0) at keyboard.c:2904
#61 0x00000000004c7195 in read_key_sequence (keybuf=0x7fff518c59b0,
bufsize=30, prompt=10422673, dont_downcase_last=0,
can_return_switch_frame=1, fix_current_buffer=1) at keyboard.c:9218
#62 0x00000000004c8eba in command_loop_1 () at keyboard.c:1618
#63 0x0000000000523c64 in internal_condition_case (
bfun=0x4c8d10 <command_loop_1>, handlers=10518449,
hfun=0x4c2c80 <cmd_error>) at eval.c:1482
#64 0x00000000004c202a in command_loop_2 () at keyboard.c:1329
#65 0x0000000000523d67 in internal_catch (tag=<value optimized out>,
func=0x4c2010 <command_loop_2>, arg=10422673) at eval.c:1223
#66 0x00000000004c2ab8 in command_loop () at keyboard.c:1308
#67 0x00000000004c2eaa in recursive_edit_1 () at keyboard.c:1006
#68 0x00000000004c2fa9 in Frecursive_edit () at keyboard.c:1067
#69 0x00000000004b76db in main (argc=2, argv=0x7fff518c6258) at emacs.c:1774
Lisp Backtrace:
"encode-time" (0x0)
"apply" (0xa23981)
"vc-cvs-annotate-current-time" (0x9f0991)
"apply" (0xf437b1)
"vc-call-backend" (0xe0cdf1)
"vc-annotate-difference" (0x9f0991)
"vc-annotate-lines" (0x47a0)
"font-lock-fontify-keywords-region" (0x3e90)
"font-lock-default-fontify-region" (0x3e90)
"font-lock-fontify-region" (0x3e90)
"run-hook-with-args" (0xdf9201)
"byte-code" (0x89c59b)
"jit-lock-fontify-now" (0x3fa8)
"jit-lock-function" (0x3fa8)
(gdb) c
Continuing.
C-c C-z
Program received signal SIGTSTP, Stopped (user).
0x00002b6c5e00f2f4 in ?? () from /lib/libc.so.6
(gdb) bt
#0 0x00002b6c5e00f2f4 in ?? () from /lib/libc.so.6
#1 0x00002b6c5e00dfbf in ?? () from /lib/libc.so.6
#2 0x00002b6c5e00e88e in ?? () from /lib/libc.so.6
#3 0x000000000051d1fa in Fdecode_time (specified_time=<value optimized out>)
at editfns.c:1759
#4 0x00000000005253ae in Ffuncall (nargs=<value optimized out>,
args=<value optimized out>) at eval.c:3020
#5 0x000000000055147b in Fbyte_code (bytestr=<value optimized out>,
vector=14916932, maxdepth=72) at bytecode.c:679
#6 0x0000000000524e68 in funcall_lambda (fun=14700884, nargs=0,
arg_vector=0x7fff518c1050) at eval.c:3207
#7 0x0000000000525246 in Ffuncall (nargs=<value optimized out>,
args=<value optimized out>) at eval.c:3077
#8 0x0000000000526c03 in Fapply (nargs=2, args=0x7fff518c1048) at eval.c:2449
#9 0x0000000000525536 in Ffuncall (nargs=<value optimized out>,
args=<value optimized out>) at eval.c:3001
#10 0x000000000055147b in Fbyte_code (bytestr=<value optimized out>,
vector=10899201, maxdepth=61) at bytecode.c:679
#11 0x0000000000524e68 in funcall_lambda (fun=9361908, nargs=2,
arg_vector=0x7fff518c11f8) at eval.c:3207
#12 0x0000000000525246 in Ffuncall (nargs=<value optimized out>,
args=<value optimized out>) at eval.c:3077
#13 0x000000000055147b in Fbyte_code (bytestr=<value optimized out>,
vector=17103697, maxdepth=17) at bytecode.c:679
#14 0x0000000000524e68 in funcall_lambda (fun=15926788, nargs=1,
arg_vector=0x7fff518c1388) at eval.c:3207
#15 0x0000000000525246 in Ffuncall (nargs=<value optimized out>,
args=<value optimized out>) at eval.c:3077
#16 0x000000000055147b in Fbyte_code (bytestr=<value optimized out>,
vector=16550497, maxdepth=114) at bytecode.c:679
#17 0x0000000000524e68 in funcall_lambda (fun=10981332, nargs=1,
arg_vector=0x7fff518c1528) at eval.c:3207
#18 0x0000000000525246 in Ffuncall (nargs=<value optimized out>,
args=<value optimized out>) at eval.c:3077
#19 0x000000000055147b in Fbyte_code (bytestr=<value optimized out>,
vector=10899057, maxdepth=96) at bytecode.c:679
#20 0x0000000000524e68 in funcall_lambda (fun=9007564, nargs=3,
arg_vector=0x7fff518c16e8) at eval.c:3207
#21 0x0000000000525246 in Ffuncall (nargs=<value optimized out>,
args=<value optimized out>) at eval.c:3077
#22 0x000000000055147b in Fbyte_code (bytestr=<value optimized out>,
vector=14571137, maxdepth=137) at bytecode.c:679
#23 0x0000000000524e68 in funcall_lambda (fun=9001204, nargs=3,
arg_vector=0x7fff518c1888) at eval.c:3207
#24 0x0000000000525246 in Ffuncall (nargs=<value optimized out>,
args=<value optimized out>) at eval.c:3077
#25 0x000000000055147b in Fbyte_code (bytestr=<value optimized out>,
vector=14571137, maxdepth=32) at bytecode.c:679
#26 0x0000000000524e68 in funcall_lambda (fun=8998908, nargs=2,
arg_vector=0x7fff518c1ae0) at eval.c:3207
#27 0x0000000000525246 in Ffuncall (nargs=<value optimized out>,
args=<value optimized out>) at eval.c:3077
#28 0x0000000000526965 in run_hook_with_args (nargs=3, args=0x7fff518c1ad8,
cond=to_completion) at eval.c:2679
#29 0x0000000000525536 in Ffuncall (nargs=<value optimized out>,
args=<value optimized out>) at eval.c:3001
#30 0x000000000055147b in Fbyte_code (bytestr=<value optimized out>,
vector=10905025, maxdepth=32) at bytecode.c:679
#31 0x0000000000524896 in Feval (form=<value optimized out>) at eval.c:2357
#32 0x000000000052707a in internal_lisp_condition_case (var=11027041,
bodyform=9028989, handlers=<value optimized out>) at eval.c:1427
#33 0x000000000055063c in Fbyte_code (bytestr=<value optimized out>,
vector=10905025, maxdepth=135) at bytecode.c:869
#34 0x0000000000524e68 in funcall_lambda (fun=9028268, nargs=2,
arg_vector=0x7fff518c1f88) at eval.c:3207
#35 0x0000000000525246 in Ffuncall (nargs=<value optimized out>,
args=<value optimized out>) at eval.c:3077
#36 0x000000000055147b in Fbyte_code (bytestr=<value optimized out>,
vector=14484401, maxdepth=20) at bytecode.c:679
#37 0x0000000000524e68 in funcall_lambda (fun=9027684, nargs=1,
arg_vector=0x7fff518c22e8) at eval.c:3207
#38 0x0000000000525246 in Ffuncall (nargs=<value optimized out>,
args=<value optimized out>) at eval.c:3077
#39 0x0000000000523859 in internal_condition_case_2 (
bfun=0x525050 <Ffuncall>, nargs=2, args=0x7fff518c22e0,
handlers=10422769, hfun=0x4349f0 <safe_eval_handler>) at eval.c:1581
#40 0x000000000043ea42 in safe_call (nargs=2, args=0x7fff518c22e0)
at xdisp.c:2341
#41 0x000000000043ea7a in safe_call1 (fn=<value optimized out>,
arg=<value optimized out>) at xdisp.c:2361
#42 0x000000000044987c in handle_fontified_prop (it=<value optimized out>)
at xdisp.c:3309
#43 0x000000000043275d in handle_stop (it=0x7fff518c2e70) at xdisp.c:3062
#44 0x0000000000438785 in next_element_from_buffer (it=0xfe3e10)
at xdisp.c:6260
#45 0x0000000000434b68 in get_next_display_element (it=0x7fff518c2e70)
at xdisp.c:5518
#46 0x000000000043c359 in display_line (it=0x7fff518c2e70) at xdisp.c:16120
#47 0x00000000004437bb in try_window (window=<value optimized out>,
pos=<value optimized out>, check_margins=1) at xdisp.c:13693
#48 0x0000000000444fc9 in redisplay_window (window=15120116,
just_this_one_p=0) at xdisp.c:13269
#49 0x0000000000446aa1 in redisplay_window_0 (window=16662032)
at xdisp.c:11874
#50 0x00000000005239cc in internal_condition_case_1 (
bfun=0x446a80 <redisplay_window_0>, arg=15120116, handlers=10720885,
hfun=0x4231f0 <redisplay_window_error>) at eval.c:1530
#51 0x0000000000432b35 in redisplay_windows (window=118) at xdisp.c:11853
#52 0x0000000000432ae7 in redisplay_windows (window=118) at xdisp.c:11847
#53 0x0000000000447336 in redisplay_internal (
preserve_echo_area=<value optimized out>) at xdisp.c:11413
#54 0x0000000000447df2 in redisplay_preserve_echo_area (
from_where=<value optimized out>) at xdisp.c:11664
#55 0x0000000000558b52 in wait_reading_process_output (time_limit=90,
microsecs=0, read_kbd=-1, do_display=1, wait_for_cell=10422673,
wait_proc=0x0, just_wait_proc=0) at process.c:4803
#56 0x0000000000413279 in sit_for (timeout=720, reading=1, do_display=1)
at dispnew.c:6580
#57 0x00000000004c4e55 in read_char (commandflag=1, nmaps=3,
maps=0x7fff518c5810, prev_event=10422673, used_mouse_menu=0x7fff518c5928,
end_time=0x0) at keyboard.c:2904
#58 0x00000000004c7195 in read_key_sequence (keybuf=0x7fff518c59b0,
bufsize=30, prompt=10422673, dont_downcase_last=0,
can_return_switch_frame=1, fix_current_buffer=1) at keyboard.c:9218
#59 0x00000000004c8eba in command_loop_1 () at keyboard.c:1618
#60 0x0000000000523c64 in internal_condition_case (
bfun=0x4c8d10 <command_loop_1>, handlers=10518449,
hfun=0x4c2c80 <cmd_error>) at eval.c:1482
#61 0x00000000004c202a in command_loop_2 () at keyboard.c:1329
#62 0x0000000000523d67 in internal_catch (tag=<value optimized out>,
func=0x4c2010 <command_loop_2>, arg=10422673) at eval.c:1223
#63 0x00000000004c2ab8 in command_loop () at keyboard.c:1308
#64 0x00000000004c2eaa in recursive_edit_1 () at keyboard.c:1006
#65 0x00000000004c2fa9 in Frecursive_edit () at keyboard.c:1067
#66 0x00000000004b76db in main (argc=2, argv=0x7fff518c6258) at emacs.c:1774
Lisp Backtrace:
"decode-time" (0x10d2535)
"vc-cvs-annotate-current-time" (0x9f0991)
"apply" (0xf437b1)
"vc-call-backend" (0xe0cdf1)
"vc-annotate-difference" (0x9f0991)
"vc-annotate-lines" (0x47a0)
"font-lock-fontify-keywords-region" (0x3e90)
"font-lock-default-fontify-region" (0x3e90)
"font-lock-fontify-region" (0x3e90)
"run-hook-with-args" (0xdf9201)
"byte-code" (0x89c59b)
"jit-lock-fontify-now" (0x3fa8)
"jit-lock-function" (0x3fa8)
[...]
--
Johan Bockgård
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: vc-annotate bugs
2007-08-21 10:38 vc-annotate bugs Johan Bockgård
@ 2007-08-21 16:24 ` Stefan Monnier
2008-01-05 5:26 ` Stefan Monnier
1 sibling, 0 replies; 3+ messages in thread
From: Stefan Monnier @ 2007-08-21 16:24 UTC (permalink / raw
To: Johan Bockgård; +Cc: emacs-pretest-bug
> The backtrace is
> Debugger entered--Lisp error: (beginning-of-buffer)
> signal(beginning-of-buffer nil)
> line-move-1(-1 nil nil)
> line-move(-1 nil nil nil)
> previous-line()
> vc-annotate-warp-version("1.4")
> vc-annotate-revision-previous-to-line()
> call-interactively(vc-annotate-revision-previous-to-line)
Thanks.
I've installed the patch below in the 22 branch which should fix it.
I have not investigated the second bug yet, it's clearly related to VC
starting a second asynchronous process in the buffer before the first
process is finished.
Stefan
--- vc.el 09 aoû 2007 10:33:12 -0400 1.424.2.5
+++ vc.el 21 aoû 2007 11:47:27 -0400
@@ -3333,7 +3333,7 @@
vc-annotate-parent-display-mode
buf)
(goto-line (min oldline (progn (goto-char (point-max))
- (previous-line)
+ (forward-line -1)
(line-number-at-pos))) buf)))))
(defun vc-annotate-compcar (threshold a-list)
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: vc-annotate bugs
2007-08-21 10:38 vc-annotate bugs Johan Bockgård
2007-08-21 16:24 ` Stefan Monnier
@ 2008-01-05 5:26 ` Stefan Monnier
1 sibling, 0 replies; 3+ messages in thread
From: Stefan Monnier @ 2008-01-05 5:26 UTC (permalink / raw
To: Johan Bockgård; +Cc: emacs-pretest-bug
> 2.
> If you type `C-x v g', quickly followed by `A' (after some text has been
> inserted, but before "Annotating... done") then Emacs hangs after a few
> seconds.
I believe I've found the culprit and fixed it in the 22 branch.
I've also fixed some related problems on the trunk.
Stefan
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2008-01-05 5:26 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-08-21 10:38 vc-annotate bugs Johan Bockgård
2007-08-21 16:24 ` Stefan Monnier
2008-01-05 5:26 ` Stefan Monnier
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).