1.7.5: vim SEGV on write of /etc/hosts

Corinna Vinschen corinna-cygwin@cygwin.com
Thu Jun 24 08:07:00 GMT 2010


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



More information about the Cygwin mailing list