delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2010/06/22/18:06:36

X-Recipient: archive-cygwin AT delorie DOT com
X-SWARE-Spam-Status: No, hits=4.6 required=5.0 tests=AWL,BAYES_50,BOTNET,RCVD_IN_DNSWL_NONE,TW_LR,TW_MK,TW_RW,TW_WX,TW_XR
X-Spam-Check-By: sourceware.org
Message-id: <4C2133E2.6010704@cygwin.com>
Date: Tue, 22 Jun 2010 18:06:26 -0400
From: "Larry Hall (Cygwin)" <reply-to-list-only-lh AT cygwin DOT com>
Reply-to: cygwin AT cygwin DOT com
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8.1.21) Gecko/20090320 Remi/2.0.0.21-1.fc8.remi Lightning/0.9 Thunderbird/2.0.0.21 Mnenhy/0.7.5.0
MIME-version: 1.0
To: cygwin AT cygwin DOT com
Subject: Re: 1.7.5: vim SEGV on write of /etc/hosts
References: <4C212153 DOT 8010804 AT acm DOT org> <27D7F4C907BCB14FAF95CC4E25AB1FE6AF5575 AT ex2 DOT AdBriteInc DOT local>
In-reply-to: <27D7F4C907BCB14FAF95CC4E25AB1FE6AF5575@ex2.AdBriteInc.local>
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.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 6/22/2010 5:17 PM, 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.
>
> -bash-3.2$ ls -l /etc/hosts
> lrwxrwxrwx 1 bross mkgroup-l-d 46 2009-05-19 10:05 /etc/hosts ->
> /cygdrive/c/WINDOWS/system32/drivers/etc/hosts*
> -bash-3.2$ ls -l /cygdrive/c/WINDOWS/system32/drivers/etc/hosts
> -rwxrwx---+ 1 Administrators SYSTEM 4415 2010-06-22 12:55
> /cygdrive/c/WINDOWS/system32/drivers/etc/hosts*

Please don't commandeer another thread for your own purposes.  If you have
something new to report that isn't related to any existing thread, then
just send a new email message to the list with the topic of interest.
Replying to someone else's message and changing the subject does not make a
new thread.

On my systems where 'vim' responds as you describe, 'hosts' is read only
and owned by SYSTEM.  You should check this on yours.  I'll concede that
a SEGV is not what I expect in this situation though. ;-)

-- 
Larry Hall                              http://www.rfk.com
RFK Partners, Inc.                      (508) 893-9779 - RFK Office
216 Dalton Rd.                          (508) 893-9889 - FAX
Holliston, MA 01746

_____________________________________________________________________

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

- Raw text -


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