Public bug reported: 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-69d3-415f-93b6-2242187e3557 uuid 960c92bd-69d3-415f-93b6-2242187e3557 uuid 960c92bd-69d3-415f-93b6-2242187e3557 uuid 960c92bd-69d3-415f-93b6-2242187e3557 uuid 960c92bd-69d3-415f-93b6-2242187e3557 uuid 960c92bd-69d3-415f-93b6-2242187e3557 uuid 960c92bd-69d3-415f-93b6-2242187e3557 uuid 960c92bd-69d3-415f-93b6-2242187e3557 uuid 960c92bd-69d3-415f-93b6-2242187e3557 uuid 960c92bd-69d3-415f-93b6-2242187e3557 kernel /SL-60-i386/Install-DVD/vmlinuz quiet panic=30 method=hd:sda7: ksdevice= initrd /SL-60-i386/Install-DVD/initrd.img initrd /SL-60-i386/Install-DVD/initrd.img initrd /SL-60-i386/Install-DVD/initrd.img initrd /SL-60-i386/Install-DVD/initrd.img initrd /SL-60-i386/Install-DVD/initrd.img initrd /SL-60-i386/Install-DVD/initrd.img initrd /SL-60-i386/Install-DVD/initrd.img initrd /SL-60-i386/Install-DVD/initrd.img initrd /SL-60-i386/Install-DVD/initrd.img initrd /SL-60-i386/Install-DVD/initrd.img </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://ie.archive.ubuntu.com/ubuntu/ quantal/main i386 Packages 100 /var/lib/dpkg/status ** Affects: vim (Ubuntu) Importance: Undecided Status: New -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1074454 Title: resize during insert problem To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/vim/+bug/1074454/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs