Dominique Pellé wrote: > > Hi > > > > Vim-7.4.1046 (and older) segfaults on Linux x86_64 when doing: > > > > $ vim -u NONE -c 'unlet! c count' > > Vim: Caught deadly signal SEGV > > Vim: Finished. > > Segmentation fault (core dumped) > > > > Interestingly, vim-7.4.52 (that comes with Ubuntu-14.04) > > does not crash. I did not have the time to do a bisection to > > see which patch introduced the bug. > > > The command to crash can be simplified to: > > $ vim -u NONE -c 'unlet! count' > Vim: Caught deadly signal SEGV
And even without the "!" it crashes. Thanks for the fix. Small correction: The "return NULL" should be "return FAIL". I'll add a test. > I finally did a bisection: > > vim-7.4.698 ... segfault > vim-7.4.697 ... OK > > So it's this checkin that introduced the regression: > > commit 9bc174b69d2775b0f27ed74bf372608d18c9f3d4 > Author: Bram Moolenaar <[email protected]> > Date: Mon Apr 13 16:16:38 2015 +0200 > > patch 7.4.698 > Problem: Various problems with locked and fixed lists and dictionaries. > Solution: Disallow changing locked items, fix a crash, add tests. (Olaf > Dabrunz) Fix one bug, create another one... Shows we still need more tests! -- BRIDGEKEEPER: What is your favorite colour? LAUNCELOT: Blue. BRIDGEKEEPER: Right. Off you go. "Monty Python and the Holy Grail" PYTHON (MONTY) PICTURES LTD /// Bram Moolenaar -- [email protected] -- 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 --- You received this message because you are subscribed to the Google Groups "vim_dev" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
