Vim crash when writing a file in BufRead event while vimgrep search. I tested with vim7.2.234 on Ubuntu9.04 and Windows Vista. This problem appeared at 7.2.203.
Steps To Reproduce: $ echo x > foo.txt $ vim -u NONE :au BufRead *.txt w bar (this is what gzip plugin do for .gz) :vimgrep x foo.txt Vim: Caught deadly signal SEGV Vim: Finished. Segmentation fault Backtrace: Program received signal SIGSEGV, Segmentation fault. [Switching to Thread 0xb72ddac0 (LWP 9214)] 0x080bda7e in aucmd_restbuf (aco=0xbfdc6a04) at fileio.c:8518 8518 curbuf = curwin->w_buffer; (gdb) bt #0 0x080bda7e in aucmd_restbuf (aco=0xbfdc6a04) at fileio.c:8518 #1 0x08149273 in ex_vimgrep (eap=0xbfdc8b18) at quickfix.c:3447 #2 0x080abe3f in do_one_cmd (cmdlinep=0xbfdc8c90, sourcing=0, cstack=0xbfdc8c94, fgetline=0x80bb980 <getexline>, cookie=0x0) at ex_docmd.c:2627 #3 0x080aa133 in do_cmdline (cmdline=0x0, getline=0x80bb980 <getexline>, cookie=0x0, flags=0) at ex_docmd.c:1096 #4 0x08122960 in nv_colon (cap=0xbfdc9018) at normal.c:5224 #5 0x08124a00 in normal_cmd (oap=0xbfdc907c, toplevel=1) at normal.c:1188 #6 0x080e3d77 in main_loop (cmdwin=0, noexmode=0) at main.c:1186 #7 0x080e712b in main (argc=2, argv=0x0) at main.c:942 -- Yukihiro Nakadaira - yukihiro.nakada...@gmail.com --~--~---------~--~----~------------~-------~--~----~ You received this message from the "vim_dev" maillist. For more information, visit http://www.vim.org/maillist.php -~----------~----~----~----~------~----~------~--~---