Hi, A MacVim user ran into a bug using :vimgrep as reported here:
http://tinyurl.com/kqg2fm The bug has been reproduced with 7.2.234 but not in 7.2.148. I can reproduce with the following steps: 1. open Vim, cd to root dir of Vim sources 2. :vimgrep FEAT_EVAL **/* 3. crash (on occasion I had to type in a longer search term than FEAT_EVAL, underscores seem to matter by looking at the original report) I had a quick check with GDB and the problem is on line 8556 in fileio.c. The curwin pointer is set to NULL. It is set to NULL just before on line 8549 due to firstwin being NULL. Haven't figured out why this happens and have run out of time now so I thought I'd report my findings. Backtrace: Program received signal EXC_BAD_ACCESS, Could not access memory. Reason: KERN_PROTECTION_FAILURE at address: 0x00000000 0x000893cd in aucmd_restbuf (aco=0xbfffe458) at fileio.c:8556 8556 curbuf = curwin->w_buffer; (gdb) bt #0 0x000893cd in aucmd_restbuf (aco=0xbfffe458) at fileio.c:8556 #1 0x0011cc10 in load_dummy_buffer (fname=0x502e40 "farsi/fonts/UNIXs/far-a01.pcf.Z") at quickfix.c:3447 #2 0x0011c390 in ex_vimgrep (eap=0xbfffef04) at quickfix.c:3146 #3 0x0005eb9f in do_one_cmd (cmdlinep=0xbffff354, sourcing=0, cstack=0xbffff050, fgetline=0x753b1 <getexline>, cookie=0x0) at ex_docmd.c:2634 #4 0x0005b8fd in do_cmdline (cmdline=0x0, getline=0x753b1 <getexline>, cookie=0x0, flags=0) at ex_docmd.c:1103 #5 0x000ec961 in nv_colon (cap=0xbffff478) at normal.c:5252 #6 0x000e4d30 in normal_cmd (oap=0xbffff534, toplevel=1) at normal.c:1188 #7 0x0009fc4f in main_loop (cmdwin=0, noexmode=0) at main.c:1261 #8 0x0009f742 in main (argc=3, argv=0xbffff700) at main.c:1005 Björn --~--~---------~--~----~------------~-------~--~----~ You received this message from the "vim_dev" maillist. For more information, visit http://www.vim.org/maillist.php -~----------~----~----~----~------~----~------~--~---
