resize during insert problem
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
vim (Ubuntu) |
New
|
Undecided
|
Unassigned |
Bug Description
resize during insert seems to cause a problem. to reproduce:
create a textfile using the 21 lines of text given below.
resize an xterm to 12 lines long and 80 characters wide.
in the xterm, edit (vim) the textfile.
position the cursor on the / preceeding "vmlinuz", and type
cB/
(with no escape)(still in insert mode)
resize the xterm to 10 lines by 80 characters.
vim is now in an inconsistent state.
the first visible cue is the disappearance of text following the cursor.
further inserted characters appear to insert on the wrong line.
as things progress it may recover itself, or it may ABRT or SEGV.
for example if at this point i
hit <Esc> (end the insert)
type :ls (with no CR)
enlarge the window
i get
Vim: Caught deadly signal SEGV
Vim: preserving files...
and it hangs thus.
<textfile>
uuid 960c92bd-
uuid 960c92bd-
uuid 960c92bd-
uuid 960c92bd-
uuid 960c92bd-
uuid 960c92bd-
uuid 960c92bd-
uuid 960c92bd-
uuid 960c92bd-
uuid 960c92bd-
kernel /SL-60-
initrd /SL-60-
initrd /SL-60-
initrd /SL-60-
initrd /SL-60-
initrd /SL-60-
initrd /SL-60-
initrd /SL-60-
initrd /SL-60-
initrd /SL-60-
initrd /SL-60-
</textfile>
$ lsb_release -rd
Description: Ubuntu 12.10
Release: 12.10
$ apt-cache policy vim
vim:
Installed: 2:7.3.547-4ubuntu1
Candidate: 2:7.3.547-4ubuntu1
Version table:
*** 2:7.3.547-4ubuntu1 0
500 http://
100 /var/lib/