Re: malloc error with silent remove
- The Shrubber wrote:
> I was wondering if people would mind reproducing this error andThis should not depend on the Mac-specific code, but I can't reproduce
> fixing the relevant bugs.
> 1) start vim (GUI)
> 2) :silent g/^\\s*$/d
> You should get an error like:
> *** malloc: Deallocation of a pointer not malloced: 0x1ff5c8;
> This could be a double free(), or free() called with the middle of an
> allocated block; Try setting environment variable MallocHelp to see
> tools to help debug
> Also, vim starts at some point starts putting garbage on the screen (Ctrl-L
> makes it go away) and eventually crashing. But i have not reproduced it
> yet and it may not be related.
> Before anyone asks, i've tested this without any vimrc or gvimrc to
> avoid there being any third-party interference.
What version of Vim? How was it compiled?
BEDEVERE: Stand by for attack!!
[CUT TO enormous army forming up. Trebuchets, rows of PIKEMEN, siege
towers, pennants flying, shouts of "Stand by for attack!" Traditional
army build-up shots. The shouts echo across the ranks of the army.
We see various groups reacting, and stirring themselves in readiness.]
ARTHUR: Who are they?
BEDEVERE: Oh, just some friends!
"Monty Python and the Holy Grail" PYTHON (MONTY) PICTURES LTD
/// Bram Moolenaar -- Bram@... -- http://www.Moolenaar.net \\\
/// Creator of Vim - Vi IMproved -- http://www.Vim.org \\\
\\\ Project leader for A-A-P -- http://www.A-A-P.org ///
\\\ Help AIDS victims, buy here: http://ICCF-Holland.org/click1.html ///
- This for Benji Fisher's distribution of Carbon vim (v 6.2.11 and 6.2.14)
that i got from http://macvim.swdev.org/OSX/files/vimJag.tar.bz2.
You have to run gvim or Vim.app/Contents/MacOS/Vim -v -g
to reproduce this. The error shows in your terminal.
BTW: gvim and Vim.app/Contents/MacOs/Vim are different versions
(6.2.11 and 6.2.14 respectively). Is this intentional, or
is there a Makefile to be fixed?
- Sorry for the clutter, just sending a clearer version of my earlier
> > 1) start vim (GUI)This error occurs for Benji Fisher's Carbon vim 6.2.11 and 6.2.14 which
> > 2) :silent g/^\\s*$/d
i found http://macvim.swdev.org/OSX. To reproduce the error, you must
launch gvim from the command line (gvim or
vim/Vim.app/Contents/MacOS/Vim -v -g); the error will appear on the
Can you reproduce it now?
On Wed, Jul 23, 2003 at 14:37:06 +0200, Bram Moolenaar Bram-at-moolenaar.net |vim-mac@.../1.0-Allow| wrote:
> This should not depend on the Mac-specific code, but I can't reproduce
> this anyway.
> What version of Vim? How was it compiled?