[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#439720: Can be closed



Hi,

I just was hit by this inconv bug on an old system.

for i in 1 2 3 4 5 6 7 8 9; do iconv -f latin1 -t utf8 -o a.txt a.txt ; done; ls -l a.txt
--> file is empty. It was "cleaned" by iconv. This must not happen!

iconv --version
iconv (GNU libc) 2.6.1



It does not happen on newer system:

The file does not get deleted, but nevertheless there are strange bus errors:

ls -l a.txt; for i in 1 2 3 4 5 6 7 8 9; do iconv -f latin1 -t utf8 -o a.txt a.txt ; done; ls -l a.txt
-rw-r----- 1 foo foo 28672 Aug 10 14:44 a.txt
Bus error
Bus error
Bus error
Bus error
-rw-r----- 1 foo foo 57273 Aug 10 14:44 a.txt

The file increase is OK, since the umlauts get converted serveral times.

This happened on a directory from XFS filesystem and on a NFS mount, too.

iconv --version
iconv (GNU libc) 2.9

-- 
Thomas Guettler, http://www.thomas-guettler.de/
E-Mail: guettli (*) thomas-guettler + de



Reply to: