-
Notifications
You must be signed in to change notification settings - Fork 53
Invalid free on Vim exit #154
Comments
Possibly a dupe of #142, I guess color_coded might not support Vim8? |
color_coded certainly supports vim8, just not its asynchronous features, which is what #142 is discussing. Interestingly, that stack trace doesn't contain any color_coded frames, but it does point a finger at someone using an Either way, thanks for reporting. Do you get this 100% of the time? When I try, on Arch Linux, I don't see it.
I have
And |
Yeah, this happens every time for me. I can try to dig a little deeper soon. |
The biggest difference between Arch and Ubuntu 17.04 is probably the age of the packages. With that said, it would imply that it existed, at some point, on Arch and for everyone else. That's possible, but perhaps it's more limited to Ubuntu, or even Ubuntu 17.04, due to a certain combination of packages.
Either way, I don't think you're doing anything wrong or your setup is wrong; color_coded shouldn't have this issue on Ubuntu 17.04. Let me know what you find, and thanks for looking more into it. I'll be at a conference most of this week, but I can spin up an Ubuntu machine afterward and see if there's a clear repro.
|
I have similar problem on Ubuntu 17.04
vim --version:
valgrind vim:
|
Cannot reproduce on my system (gentoo). Might spin up a VM to take a closer look. My thoughts so far: @swgillespie Not sure what exactly the problem is. The memory seems to be allocated by the std::string in one of the static boost::path objects in path.cpp. @korst1k The SIGABRT in your valgrind output might be a different problem altogether. |
I am unable to reproduce either issue on a ubuntu 17.04 VM using the same vim version and the following minimal vimrc: set nocompatible
filetype off
set rtp+=~/.vim/bundle/Vundle.vim
call vundle#begin()
Plugin 'jeaye/color_coded'
call vundle#end()
filetype plugin indent on |
Thanks for the work, @UnrealQuester. It's curious that this doesn't show up on Arch, Gentoo, or even our own copy of Ubuntu 17.04. I wonder if both @swgillespie and @korst1k were running an older Ubuntu version, then did a dist upgrade; the remant of the older distro might be causing the issue. Can you each verify if that has been the case? Clearly a fresh install of 17.04 doesn't show it. |
I do have this problem on my fresh install of 17.04 with the vimrc @UnrealQuester proposes except that I also added Vundle as plugin. Vimrc:
Vi version:
Valgrind output:
|
Here's the valgrind error I get off of a fresh install of vim (ubuntu 17.04) and
color_coded
(repro by starting and immediately exiting vim)With
vim --version
:Doesn't repro when I uninstall color_coded.
The text was updated successfully, but these errors were encountered: