Package: perl
Version: 5.8.8-7
Severity: important

(marked as important due to data corrumption when reading a file)

I have a process that reads a file, line by line with <FILE>, while
another process is creating it. The normal behavior is to get a
truncated file. A problem occurred when a line

[F7133666,00000042]     [4145231462,66]

was read. Instead of getting this line (possibly truncated), I got

[EMAIL PROTECTED]@[EMAIL PROTECTED]@[EMAIL PROTECTED]@  [4145231462,66]

with 2463 null characters. The tab character is at position 0x85000
in the file. The file is acceded via NFS (on two different machines).
However, without any concurrent writes, one shouldn't get such null
characters.

I don't know if the bug is in Perl (perhaps a buffering bug), glibc
or in the kernel...

-- System Information:
Debian Release: 4.0
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: amd64 (x86_64)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.18custom-amd64
Locale: LANG=POSIX, LC_CTYPE=en_US.UTF-8 (charmap=ANSI_X3.4-1968) (ignored: 
LC_ALL set to POSIX)

Versions of packages perl depends on:
ii  libc6                        2.3.6.ds1-8 GNU C Library: Shared libraries
ii  libdb4.4                     4.4.20-8    Berkeley v4.4 Database Libraries [
ii  libgdbm3                     1.8.3-3     GNU dbm database routines (runtime
ii  perl-base                    5.8.8-7     The Pathologically Eclectic Rubbis
ii  perl-modules                 5.8.8-7     Core Perl modules

Versions of packages perl recommends:
pn  perl-doc                      <none>     (no description available)

-- no debconf information


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to