Attached test.vim

On Mon, Jun 12, 2006 at 09:09:05PM -0400, James Vega wrote:
> Bram,
> 
> The following sequence of commands causes Vim to crash (backtrace
> below):
> 
>   vim -u NONE test.vim
>   VjA789<Esc>.
> 
> The crash only occurs in certain circumstances.  For example, if the
> final blank line is deleted, no crash will occur.  However, the
> following sequence of commands exhibits both the crash and another
> oddity:
> 
>   vim -u NONE test.vim
>   :3
>   i789<Esc>kkVjA789..
> 
> After performing the first '.' command, the cursor moves as if the
> operation was successful, but no new text is inserted.  The second '.'
> command again triggers the crash.
> 
> James
> 
> (gdb) bt
> #0  0xb780f1fb in memmove () from /lib/tls/libc.so.6
> #1  0x080fd166 in ins_str (s=0xbfe132c5 "789") at misc1.c:2086
> #2  0x0806a521 in insertchar (c=27, flags=0, second_indent=-1) at edit.c:5414
> #3  0x0806a025 in insert_special (c=55, allow_modmask=0, ctrlv=0) at 
> edit.c:5200
> #4  0x08063b38 in edit (cmdchar=0, startln=0, count=1) at edit.c:1369
> #5  0x0812783f in op_insert (oap=0xbfe1364c, count1=1) at ops.c:2424
> #6  0x08117f49 in do_pending_operator (cap=0xbfe135b4, old_col=2, gui_yank=0) 
> at normal.c:1985
> #7  0x0811684f in normal_cmd (oap=0xbfe1364c, toplevel=1) at normal.c:1163
> #8  0x080dc1a8 in main_loop (cmdwin=0, noexmode=0) at main.c:1140
> #9  0x080dbd81 in main (argc=4, argv=0xbfe13834) at main.c:930
> -- 
> GPG Key: 1024D/61326D40 2003-09-02 James Vega <[EMAIL PROTECTED]>
123
456

Attachment: signature.asc
Description: Digital signature

Reply via email to