Lech Lorens wrote: > On 16-Aug-2010 Peter Odding <[email protected]> wrote: > > Hi list, > > > > In the last few weeks I've had Vim crash on me several times with > > messages like "Vim: Caught deadly signal SEGV" and the following: > > > > *** glibc detected *** /usr/local/bin/gvim: double free or corruption > > (out): 0x0000000002aaf9c0 *** > > > > I think I finally found the problem: It's a BufWritePost autocmd that > > checks for syntax errors in Python source code. With the attached > > files "crash.vim" and "example.py" in my working directory Vim > > crashes once every three or four times when I execute the following > > command repeatedly: > > > > gvim -u NONE -U NONE -N --noplugin -S crash.vim example.py > > The problem is a double free. > The attached patch fixes the problem.
Thanks! -- Where do you want to crash today? /// Bram Moolenaar -- [email protected] -- http://www.Moolenaar.net \\\ /// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\ \\\ download, build and distribute -- http://www.A-A-P.org /// \\\ help me help AIDS victims -- http://ICCF-Holland.org /// -- You received this message from the "vim_dev" maillist. Do not top-post! Type your reply below the text you are replying to. For more information, visit http://www.vim.org/maillist.php
