This is the mail archive of the
cygwin
mailing list for the Cygwin project.
Re: Cygwin 1.7.28 (64bit) and Vim 7.4 build from source create SEGV when writing to a file.
- From: "Larry Hall (Cygwin)" <reply-to-list-only-lh at cygwin dot com>
- To: cygwin at cygwin dot com
- Date: Tue, 25 Feb 2014 09:36:12 -0500
- Subject: Re: Cygwin 1.7.28 (64bit) and Vim 7.4 build from source create SEGV when writing to a file.
- Authentication-results: sourceware.org; auth=none
- References: <6f9492621546f3eeca905b6281314451 at mykolab dot ch>
- Reply-to: cygwin at cygwin dot com
On 2/25/2014 3:10 AM, Thomalla, Martin wrote:
Hello,
in order to get additional features into vim (lua and python) I need to
build it from source.
So I have downloaded the source and gcc through the cygwin setup-x86_64.exe
and build vim from source.
$ cd /usr/src/vim74
$ ./configure --enable-luainterp --enable-pythoninterp --enable-multibyte
--enable-gui=no --without-x --prefix=/usr
$ make && make install
When I open a file in which the lua interpreter is used by a plugin
(neocomplete:[https://github.com/Shougo/neocomplete.vim]), make a change in
the file and save the file with :x I get this error:
Vim: Caught deadly signal SEGV
Vim: Finished.
The file is saved succesfully. It does not matter if I open the file from
the command line or within vim
$ vim ~/file.hs
$ vim
:edit ~/fils.hs
Both lead to the error
When I open the file within vim with :edit or from the command line and save
the file with :w, vim crashes again
Vim: Caught deadly signal SEGV
Vim: Finished.
but this time the cygwin bash shell does not respond anymore. It only
accepts <ctrl><c> and <ctrl><d> as input and to exit cygwin I have to input
<ctrl><c> followed by <ctrl><d> or close the window.
I have attached the output of
vim --version
gcc --version
cygcheck -svr
A quick review of the files you've provided and your description of what
you've done doesn't raise any red flags. I'll suggest trying to remove the
Cygwin-provided VIM packages to be sure there is no collision/interaction.
If that doesn't work, I'd recommend debugging the problem directly with gdb.
--
Larry
_____________________________________________________________________
A: Yes.
> Q: Are you sure?
>> A: Because it reverses the logical flow of conversation.
>>> Q: Why is top posting annoying in email?
--
Problem reports: http://cygwin.com/problems.html
FAQ: http://cygwin.com/faq/
Documentation: http://cygwin.com/docs.html
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple