delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2011/06/30/03:21:03

X-Recipient: archive-cygwin AT delorie DOT com
X-Spam-Check-By: sourceware.org
Date: Thu, 30 Jun 2011 09:20:12 +0200
From: Corinna Vinschen <corinna-cygwin AT cygwin DOT com>
To: cygwin AT cygwin DOT com
Subject: Re: Vim segv'ing
Message-ID: <20110630072012.GB9552@calimero.vinschen.de>
Reply-To: cygwin AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
References: <iuam0j$h77$1 AT dough DOT gmane DOT org> <BANLkTi=gDzoEhu1dT_z=kf+=Yyg28SBGmg AT mail DOT gmail DOT com>
MIME-Version: 1.0
In-Reply-To: <BANLkTi=gDzoEhu1dT_z=kf+=Yyg28SBGmg@mail.gmail.com>
User-Agent: Mutt/1.5.21 (2010-09-15)
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com

On Jun 29 18:27, Jeremy Hetzler wrote:
> I have noticed this problem as well.
> 
> - "vi /etc/hosts": segfaults
> - "vi /c/Windows/system32/drivers/etc/hosts": works
> - "cd $HOME; ln -s /c/Windows/system32/drivers/etc/hosts foo; vi foo": works
> 
> I get similar behavior with the other symlinks in /etc.
> 
> CYGWIN_NT-6.1-WOW64 box 1.7.9(0.237/5/3) 2011-03-29 10:10 i686 Cygwin
> Windows 7 x64
> 
> --
> Jeremy Hetzler
> --
> 
> On Mon, Jun 27, 2011 at 3:34 PM, Andrew DeFaria
> <Andrew DOT DeFaria AT tellabs DOT com> wrote:
> >
> > Just started happening recently:
> >
> > $ vi /etc/hosts
> > :wq
> > $ vi /etc/hosts
> > :w
> > Vim: Caught deadly signal SEGV
> >
> > Vim: Finished.
> > Segmentation fault

Works fine for me.  If I'm admin, writing works, if I'm not admin,
writing fails with permission denied.  Could you please send your
cygcheck output per http://cygwin.com/problems.html as well as an
strace which shows what happens, like this:

  $ strace -o vim.trace vim-nox /etc/hosts
  :wq!


Thanks,
Corinna

-- 
Corinna Vinschen                  Please, send mails regarding Cygwin to
Cygwin Project Co-Leader          cygwin AT cygwin DOT com
Red Hat

--
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

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019