Bug#544682: vim: segfault on reading gzipped file

James Vega jamessan at debian.org
Wed Sep 2 12:02:07 UTC 2009


On Wed, Sep 02, 2009 at 01:30:07PM +0300, Eugene V. Lyubimkin wrote:
> Vim segfaulted when pointed to gzipped file:
> 
> -8<-
> $ vim /usr/share/doc/arora/changelog.gz 
> Vim: Caught deadly signal SEGV
> 
> Vim: Finished.
> Segmentation fault
> ->8-

This worked fine for me when using
/usr/share/doc/vim-common/changelog.Debian.gz as the test file.

> This file belongs to arora 0.9.0-1 from Debian unstable.
> 
> When ungzipped manually, Vim works:
> 
> -8<-
> $ zcat /usr/share/doc/arora/changelog.gz | vim -
> E326: Too many swap files foundVim: Reading from stdin...
> 
> ->8-
> I don't have any ideas about swap files error though.

“:help E326” explains that.  That might be related.

> -8<-
> vim -u NONE -U NONE /usr/share/doc/arora/changelog.gz
> ->8-
> 
> Worked, but it didn't seem to attempt to uncompress the file, so many
> control characters were shown only.

You would need “vim -u NORC /usr/share/doc/arora/changelog.gz” so the
plugins are still used.  Could you try that?

Also, could you install the vim-dbg package and post the backtrace for
the crash?

-- 
James
GPG Key: 1024D/61326D40 2003-09-02 James Vega <jamessan at debian.org>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: Digital signature
URL: <http://lists.alioth.debian.org/pipermail/pkg-vim-maintainers/attachments/20090902/98bbf5ec/attachment.pgp>


More information about the pkg-vim-maintainers mailing list