Comment 1 for bug 73571

Revision history for this message
Fredrik Arnerup (fredrik-arnerup) wrote :

Correction:
It only segfaults for me if I combine LC_ALL="??_??.UTF-8" with LANGUAGE=sv.

$ LC_ALL=en_US.UTF-8 LANGUAGE=sv dd if=/dev/zero of=/dev/null bs=1 count=2
2+0 records in
2+0 records out
Segmentation fault

$ LC_ALL=C LANGUAGE=sv dd if=/dev/zero of=/dev/null bs=1 count=2 2+0 records in
2+0 records out
2 bytes (2 B) copied, 2.3e-05 seconds, 87.0 kB/s

$ LC_ALL=en_US.UTF-8 LANGUAGE=en dd if=/dev/zero of=/dev/null bs=1 count=2
2+0 records in
2+0 records out
2 bytes (2 B) copied, 2.6e-05 seconds, 76.9 kB/s

Copying a single byte also works:

$ LC_ALL=en_US.UTF-8 LANGUAGE=sv dd if=/dev/zero of=/dev/null bs=1 count=1
1+0 records in
1+0 records out
1 byte (1 B) kopierad, 2.6e-05 sekunder, 38.5 kB/s