Package: moreutils
Version: 0.40
Severity: grave
File: /usr/bin/sponge

Strangely, this only happens on squeeze systems, not on sid,
although sponge is the same version on both. Hence, it's quite
likely a dependency problem, probably libc6. Or the kernel (2.6.32
vs. 2.6.35):

sponge seems to lose data, without a warning or an exit code
telling me about it. It should.

  % dd if=/dev/zero bs=1M count=100 | sponge | wc -c
  100+0 records in
  100+0 records out
  104857600 bytes (105 MB) copied, 0.591491 s, 177 MB/s
  67108864

  % dd if=/dev/zero bs=1M count=100 | sponge >/dev/null && echo successful exit
  100+0 records in
  100+0 records out
  104857600 bytes (105 MB) copied, 0.583197 s, 180 MB/s
  successful exit

  % ulimit -a
  -t: cpu time (seconds)         unlimited
  -f: file size (blocks)         unlimited
  -d: data seg size (kbytes)     unlimited
  -s: stack size (kbytes)        8192
  -c: core file size (blocks)    0
  -m: resident set size (kbytes) unlimited
  -u: processes                  12281
  -n: file descriptors           1024
  -l: locked-in-memory size (kb) 32
  -v: address space (kb)         unlimited
  -x: file locks                 unlimited
  -i: pending signals            12281
  -q: bytes in POSIX msg queues  819200
  -e: max nice                   0
  -r: max rt priority            0

  % df -T $TMPDIR
  Filesystem    Type   1K-blocks      Used Available Use% Mounted on
  /dev/mapper/bell-srv
                ext3   464752376 229846764 211297500  53% /srv



I am marking this grave because I just had to restore all my IRC
logs from the past decade and stitch them back together. Fortunately
I had a backup. This might not always be the case.

strace attached, if it helps.

-- System Information:
Debian Release: squeeze/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.35-trunk-amd64 (SMP w/1 CPU core)
Locale: LANG=en_GB, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages moreutils depends on:
ii  libc6                         2.11.2-2   Embedded GNU C Library: Shared lib
ii  perl                          5.10.1-14  Larry Wall's Practical Extraction 

moreutils recommends no packages.

Versions of packages moreutils suggests:
pn  libtime-duration-perl         <none>     (no description available)
ii  libtimedate-perl              1.2000-1   collection of modules to manipulat

-- no debconf information


-- 
 .''`.   martin f. krafft <madd...@d.o>      Related projects:
: :'  :  proud Debian developer               http://debiansystem.info
`. `'`   http://people.debian.org/~madduck    http://vcs-pkg.org
  `-  Debian - when you have better things to do than fixing systems

Attachment: sponge.strace.gz
Description: Binary data

Attachment: digital_signature_gpg.asc
Description: Digital signature (see http://martin-krafft.net/gpg/)

Reply via email to