Bug#544682: vim: segfault on reading gzipped file

Eugene V. Lyubimkin jackyf.devel at gmail.com
Wed Sep 2 16:00:37 UTC 2009


James Vega wrote:
> This worked fine for me when using
> /usr/share/doc/vim-common/changelog.Debian.gz as the test file.
Yes, this worked for me for many months, for many other compressed files. This
is the first time I saw segfault.

> “:help E326” explains that.  That might be related.
Hm. "Too many swap files"?. Strange.

I tried re-run it in other directory and it worked, however,

-8<-
$ ls -lah
total 4.0K
drwxrwxrwx 2 root root    0 1970-01-01 03:00 .
drwxr-xr-x 9 root root 4.0K 2009-08-30 18:29 ..
->8-

This directory is not user-writeable, maybe that's the reason.

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

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

This is what I got:

-8<-
> bt full
#0  0x000000000046b7b2 in vim_tempname (extra_char=<value optimized out>) at
fileio.c:7189
        itmp =
"00v910801v910802v910803v910804v910805v910806v910807v910808v910809v910810v910811v910812v910813v910814v910815v910816v910817v910818v910819v910820v910821v910822v910823v910824v910825v910826v910827v910828v910829v910830v910831v910832v910833v910834v910835v910836v9"
        nr = <value optimized out>
        off = <value optimized out>
        tempdirs = {0x5562eb "$TMPDIR", 0x564ec8 "/tmp", 0x548cfa ".",
0x54e921 "$HOME"}
#1  0x3139763534383031 in ?? ()
No symbol table info available.
#2  0x3031397636343830 in ?? ()
No symbol table info available.
[ and so on ]
->8-

-- 
Eugene V. Lyubimkin aka JackYF, JID: jackyf.devel(maildog)gmail.com
C++/Perl developer, Debian Maintainer

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 197 bytes
Desc: OpenPGP digital signature
URL: <http://lists.alioth.debian.org/pipermail/pkg-vim-maintainers/attachments/20090902/98e99298/attachment.pgp>


More information about the pkg-vim-maintainers mailing list