Christian Brabandt wrote:

> Hi everybody
> 
> On Fr, 23 Nov 2012, Ike Devolder wrote:
> > but the following i can reproduce every time:
> > 
> > same configuration as before, same file (index.php)
> > - open index.php (it still has the syntax error
> > - :w (syntastic kicks in)
> > - fix the error by adding ; after phpinfo()
> > - :w (no more error in the file)
> > - remove the ; again
> > - :w (syntastic kicks in)
> > - :w ->E776: No location list
> > 
> > "index.php" 2L, 16C written
> > Error detected while processing function 
> > <SNR>31_UpdateErrors..<SNR>31_AutoToggleLocList..<SNR>31_ShowLocList:
> > line    3:
> > E776: No location list
> > Press ENTER or type command to continue
> > 
> > no crash in this case, if i continue after this issue i get a second 
> > quickfix 
> > buffer.
> > 
> > thx for the intermediate fix it is definatly an improvement.
> 
> The following patch seems to fix all the issues mentioned so far. It 
> basically does this by reverting Patch 7.3.715 and making sure, no data 
> is freed more than once. Unfortunately, I have not been able to come up 
> with a simple test case for the syntastic problem, that could be 
> included.
> 
> If anybody can come up with such a test (using no plugin, but just using 
> vim -u NONE -U NONE -N) a tip is appreciated.

Thanks for the patch.  Have you tried running with valgrind, checking
that no memory is leaked or accessing already freed memory?  It's only
manual testing, better than nothing.


-- 
hundred-and-one symptoms of being an internet addict:
73. You give your dog used motherboards instead of bones

 /// Bram Moolenaar -- b...@moolenaar.net -- http://www.Moolenaar.net   \\\
///        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
\\\  an exciting new programming language -- http://www.Zimbu.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

Raspunde prin e-mail lui