X-Recipient: archive-cygwin@delorie.com
X-Spam-Check-By: sourceware.org
Date: Thu, 24 Jun 2010 10:07:11 +0200
From: Corinna Vinschen <corinna-cygwin@cygwin.com>
To: cygwin@cygwin.com
Subject: Re: 1.7.5: vim SEGV on write of /etc/hosts
Message-ID: <20100624080711.GU8163@calimero.vinschen.de>
Reply-To: cygwin@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
References: <4C212153.8010804@acm.org> <27D7F4C907BCB14FAF95CC4E25AB1FE6AF5575@ex2.AdBriteInc.local> <20100623071940.GJ8163@calimero.vinschen.de> <27D7F4C907BCB14FAF95CC4E25AB1FE6AF5577@ex2.AdBriteInc.local>
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Disposition: inline
In-Reply-To: <27D7F4C907BCB14FAF95CC4E25AB1FE6AF5577@ex2.AdBriteInc.local>
User-Agent: Mutt/1.5.20 (2009-06-14)
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
Precedence: bulk
List-Id: <cygwin.cygwin.com>
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie.com@cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com

On Jun 23 14:42, Bill Ross wrote:
> >> Whenever I vi /etc/hosts and write a change I get
> >> 
> >> -bash-3.2$ vi /etc/hosts
> >> Vim: Caught deadly signal SEGV
> >> 
> >> Tho the change gets written ok. It seems to have started with 1.7.5.
> No
> >> problem seen with other files.
> 
> >Corinna:
> > No such problem here.  Can you create an strace, please?
> 
> Started 'vi /etc/hosts', got pid:
>       PID    PPID    PGID     WINPID  TTY  UID    STIME COMMAND
>      4876    6016    4876       5232    0 13225 14:37:18
> /usr/bin/vim-nox
> -bash-3.2$ strace -o vi_trace -p 4876
> [Did the :w to write a change]
> Windows process 5232 attached
> Windows process 5232 detached
> 
> Trace attached.

Thanks.  The execption occurs in vim, not in the Cygwin DLL so it looks
like some vim bug.  I'm not going to debug this further for now.  Vim
is going 7.3 upstream in the next couple of weeks anyway.

> > Btw., your /etc/group file needs regenerating.
> 
> Thanks, replaced it w/ result of 'mkgroup -l'. Hope that's right :-)

Only if you're not a domain user...


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

