I'm guessing that my patch doesn't depend on the crash. Because I didn't change 
condition for allocation, memory operation, etc.

Did you try without my patch?

On Friday, December 5, 2014 1:29:21 AM UTC+9, Roland Eggner wrote:
> On 2014-12-03 Wednesday at 23:41 -0800 mattn wrote:
> > If overlapping ctermbg and CursorLine, background of CursorLine disappears.
> > 
> > http://go-gyazo.appspot.com/a2f174089dbe322f.png
> > 
> > This should be below:
> > 
> > http://go-gyazo.appspot.com/01f192892afb5e9a.png
> > 
> > Below is a patch. Please check.
> > 
> > https://gist.github.com/mattn/6fb1a3b82f267a8f3633
> 
> Thanks for the patch.
> 
> Unfortunately vim with your patch applied crashes when I open or close folds 
> (foldmethod=expr) in a particular, several mb sized text file and option 
> relativenumber is set:
> 
> *** glibc detected *** vim: malloc(): memory corruption: 0x00000bbb0b0bf3d0 
> ***
> ======= Backtrace: =========
> /lib/libc.so.6(+0x72d15)[0x66f2c3a07d15]
> /lib/libc.so.6(+0x75dcc)[0x66f2c3a0adcc]
> /lib/libc.so.6(__libc_malloc+0x70)[0x66f2c3a0cc70]
> vim(lalloc+0x30)[0xbbb08055570]
> vim(vim_strsave+0x37)[0xbbb08056457]
> vim(eval_to_string+0x55)[0xbbb07fd0f65]
> vim(eval_to_string_safe+0x98)[0xbbb07fd1438]
> vim(get_foldtext+0x318)[0xbbb08022118]
> vim(+0x17d749)[0xbbb080c7749]
> vim(update_screen+0x43d)[0xbbb080c9c2d]
> vim(main_loop+0x5f7)[0xbbb0810e4e7]
> vim(main+0x158b)[0xbbb0810fb0b]
> /lib/libc.so.6(__libc_start_main+0xfd)[0x66f2c39b3d6d]
> vim(+0x489f9)[0xbbb07f929f9]
> 
> vim-7.4.529, linux x86_64, CONFIG_DEFAULT_MMAP_MIN_ADDR=65536
> 
> 
> -- 
> Roland Eggner

-- 
-- 
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 vim_dev+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Raspunde prin e-mail lui