Package: lzma
Version: 9.22-2
Severity: important

Dear Maintainer,

I tried to compress a large file using lzma.  But lzma failed to open the file.
The command line was

  lzma -v9 filtermail.log

lzma failed with an error message 'Cannot open input file filtermail.log'.

The file in question is 23GB:

   : nr@labrador 12746 ; ls -lh filtermail.log
   -rw-r--r-- 1 nr nr 23G Oct 15 13:17 filtermail.log
   : nr@labrador 12747 ; ls -l filtermail.log
   -rw-r--r-- 1 nr nr 23732206014 Oct 15 13:17 filtermail.log
   : nr@labrador 12748 ; 

Here is some information from strace:


  mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 
0xb74b0000
  mprotect(0xb7739000, 16384, PROT_READ)  = 0
  mprotect(0xb7783000, 4096, PROT_READ)   = 0
  munmap(0xb7745000, 125574)              = 0
  brk(0)                                  = 0x8812000
  brk(0x8833000)                          = 0x8833000
  rt_sigaction(SIGTERM, {0x80567f0, [TERM], SA_RESTART}, {SIG_DFL, [], 0}, 8) = 0
  rt_sigaction(SIGHUP, {0x80567f0, [HUP], SA_RESTART}, {SIG_DFL, [], 0}, 8) = 0
  rt_sigaction(SIGINT, {0x80567f0, [INT], SA_RESTART}, {SIG_DFL, [], 0}, 8) = 0
  umask(077)                              = 02
  lstat64("filtermail.log", {st_mode=S_IFREG|0644, st_size=23732206014, ...}) = 0
  open("filtermail.log", O_RDONLY)        = -1 EOVERFLOW (Value too large for 
defined data type)
  write(2, "lzma", 4lzma)                     = 4
  write(2, ": ", 2: )                       = 2
  write(2, "Cannot open input file filtermai"..., 37Cannot open input file 
filtermail.log) = 37
  write(2, "\n", 1
  )                       = 1
  exit_group(1)                 

I expected lzma to compress the file.


N.B. gzip -v9 is compressing the file now.


-- System Information:
Debian Release: 7.6
  APT prefers stable
  APT policy: (500, 'stable'), (500, 'oldstable')
Architecture: i386 (i686)

Kernel: Linux 3.2.0-4-686-pae (SMP w/4 CPU cores)
Locale: LANG=C, LC_CTYPE=C (charmap=UTF-8) (ignored: LC_ALL set to en_US.utf8)
Shell: /bin/sh linked to /bin/bash

Versions of packages lzma depends on:
ii  libc6       2.13-38+deb7u4
ii  libgcc1     1:4.7.2-5
ii  libstdc++6  4.7.2-5

lzma recommends no packages.

lzma suggests no packages.

-- no debconf information


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to