X-Recipient: archive-cygwin AT delorie DOT com X-Spam-Check-By: sourceware.org Date: Thu, 24 Jun 2010 10:07:11 +0200 From: Corinna Vinschen To: cygwin AT cygwin DOT com Subject: Re: 1.7.5: vim SEGV on write of /etc/hosts Message-ID: <20100624080711.GU8163@calimero.vinschen.de> Reply-To: cygwin AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com References: <4C212153 DOT 8010804 AT acm DOT org> <27D7F4C907BCB14FAF95CC4E25AB1FE6AF5575 AT ex2 DOT AdBriteInc DOT local> <20100623071940 DOT GJ8163 AT calimero DOT vinschen DOT de> <27D7F4C907BCB14FAF95CC4E25AB1FE6AF5577 AT ex2 DOT AdBriteInc DOT 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 AT cygwin DOT com; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: List-Subscribe: List-Archive: List-Post: List-Help: , 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 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