Bugzilla – Bug 148397
vim segfaults on "svn commit"
Last modified: 2006-02-06 15:20:02 UTC
vim segfaults often for me on "svn commit". Today i was able to capture it on gdb: Program received signal SIGSEGV, Segmentation fault. 0xb7ea6053 in memmove () from /lib/libc.so.6 (gdb) bt #0 0xb7ea6053 in memmove () from /lib/libc.so.6 #1 0x080d353e in ins_char_bytes (buf=0xbfd2ad97 " ", charlen=1) at string3.h:62 #2 0x080d384b in ins_char (c=32) at misc1.c:1787 #3 0x0805dc00 in insertchar (c=32, flags=0, second_indent=-1) at edit.c:4357 #4 0x08060a45 in insert_special (c=32, allow_modmask=<value optimized out>, ctrlv=0) at edit.c:3829 #5 0x08062517 in edit (cmdchar=105, startln=0, count=1) at edit.c:1310 #6 0x080e920a in invoke_edit (cap=0xbfd2afe8, repl=135744600, cmd=105, startln=0) at normal.c:8176 #7 0x080ef9a3 in normal_cmd (oap=0xbfd2b050, toplevel=1) at normal.c:1116 #8 0x080b8df8 in main_loop (cmdwin=0) at main.c:2183 #9 0x080ba5d6 in main (argc=<value optimized out>, argv=<value optimized out>) at main.c:2001 #10 0xb7e5081c in __libc_start_main () from /lib/libc.so.6 #11 0x0804a761 in _start () All i did was "svn commit rcpowersaved.in", "i", [SPACE] This is how vim was invoked: seife@strolchi:~> ps xau|grep vim seife 7946 0.0 0.2 4980 2704 pts/5 T+ 15:55 0:00 vim -c set tw=72 et svn-commit.tmp
if i hit "A" [enter] instead if "i" [space], i usually get a line of garbage in the file like this: --------------------------------------------------- <f5><b7>PL^W^H^P --This line, and those below, will be ignored-- M rcpowersaved.in --------------------------------------------------- This does not happen always, it seems random.
*** This bug has been marked as a duplicate of 112930 ***