jw203198 wrote: > There is a serious problem with the vim (vim-minimal and proably vim- > enhanced too) distributed in Fedora Core 8 (7.1.135). It core dumps > in new code relating to "free headers to keep the size right". It is > trying to free already freed or invalid memory. > > It seems to be a pity that pointers are not always set to NULL when > memory is freed. That would certainly help to track and control this > sort of problem.
Several later patches are concerned with double memory frees, memory leaks, uninitialized memory reads, ... If I were you I would compile and install the latest version (at the moment, 7.1.242). See my "howto" page, http://users.skynet.be/antoine.mechelynck/vim/compunix.htm about compiling Vim on Unix-like systems. > > Here is the stack trace: > > #0 0x0012d402 in __kernel_vsyscall () > #1 0x0017fac6 in kill () from /lib/libc.so.6 > #2 0x080a0987 in may_core_dump () at os_unix.c:2949 > #3 0x080a0e16 in mch_exit (r=1) at os_unix.c:2914 > #4 0x08080fb8 in preserve_exit () at misc1.c:8349 > #5 <signal handler called> > #6 u_freeheader (buf=0x84d2b20, uhp=0x84db128, uhpp=0xbfba22f8) at > undo.c:1653 > #7 0x080bf18a in u_savecommon (top=1, bot=3, newbot=0) at undo.c:425 > #8 0x080bf5b0 in u_save_cursor () at undo.c:218 > #9 0x0804ea9c in stop_arrow () at edit.c:6232 > #10 0x08051456 in insert_special (c=35, allow_modmask=0, ctrlv=0) > at edit.c:5367 > #11 0x080520fd in edit (cmdchar=105, startln=0, count=1) at edit.c: > 1381 > #12 0x0808f6dd in invoke_edit (cap=0xbfba2408, repl=0, cmd=105, > startln=0) > at normal.c:8737 > #13 0x08093b24 in normal_cmd (oap=0xbfba2460, toplevel=1) at normal.c: > 1141 > #14 0x08071b08 in main_loop (cmdwin=0, noexmode=0) at main.c:1181 > #15 0x08072f0c in main (argc=0, argv=0x23) at main.c:940 > > Pity this version wasn't properly tested before FC8 acquired it. Testing software perfectly is an impossible task. It is a well-known fact of electronic data processing that a bug-free program is necessarily obsolete. Best regards, Tony. -- Just because everything is different doesn't mean anything has changed. -- Irene Peter --~--~---------~--~----~------------~-------~--~----~ You received this message from the "vim_dev" maillist. For more information, visit http://www.vim.org/maillist.php -~----------~----~----~----~------~----~------~--~---
