Kenyon Ralph wrote:
I searched the mailing list archives and couldn't find anything about this.

It only came up yesterday on the fink-devel list. Without explanation or solution so far. It seems that gcc-4.0.1 seriously miscompiles vim.

I'm having an error trying to upgrade vim to 6.3-5.  I'm doing a fink
update-all immediately after selfupdate.  During the "generating help
tags" step, the crash reporter comes up with this:

I think this is related to your kill command. It doesn't crash by itself. Just sits there and eats up CPU time. It also leaks memory all over the place as you can see with the "leaks" command.
[]
generating help tags
/sw/src/fink.build/root-vim-6.3-5/sw/bin/vim -u NONE -esX -c "helptags
." -c quit
[]
I have to kill -9 a vim process which chews up CPU forever.  Control-C
doesn't give me back the prompt, as you can see above.

Actually, I see it hanging on a dual-processor machine, but got it to compile on a single-processor machine, where the corresponding part of the output is:

generating help tags
/sw/src/fink.build/root-vim-6.3-6/sw/bin/vim -u NONE -esX -c "helptags ." -c quit vim(5020) malloc: *** Deallocation of a pointer not malloced: 0x10019c; 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
[this message repeated many times, ending with:]
vim(5020) malloc: *** Deallocation of a pointer not malloced: 0x4029d0; 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
"(null)", line 0, col 0: Out of memory
make[1]: *** [vimtags] Error 1
make: [installruntime] Error 2 (ignored)

Then it goes on and finishes the building and installation of the package.

Another observation:

When I run the newly-built vim, it hangs if "syntax on" is either set in ~/.vimrc or if I run it from inside vim. If "syntax on" is not there, it runs OK. When it hangs, "leaks" reports many memory leaks; when it doesn't, there are no leaks.

We'll have to have a closer look at the sources and see how the syntax coloring part is coded and compiled.

--
Martin



-------------------------------------------------------
This SF.Net email is sponsored by the JBoss Inc.  Get Certified Today
Register for a JBoss Training Course.  Free Certification Exam
for All Training Attendees Through End of 2005. For more info visit:
http://ads.osdn.com/?ad_id=7628&alloc_id=16845&op=click
_______________________________________________
Fink-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/fink-users

Reply via email to