bug-coreutils
[Top][All Lists]
Advanced

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

Re: dd Segmentation Fault


From: Eric Blake
Subject: Re: dd Segmentation Fault
Date: Thu, 14 Sep 2006 06:24:19 -0600
User-agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.0.5) Gecko/20060719 Thunderbird/1.5.0.5 Mnenhy/0.7.4.666

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Please keep the list in the cc's, so that others may see the resolution of
this issue.

According to Richard Hirner on 9/14/2006 6:07 AM:
> Hello,
> 
>> What version of gettext do you have installed?  What locale are you using?
>>  My guess is that the PRIuMAX is being mishandled by your older version,
>> and passing an invalid string to ngettext; see
>> http://lists.gnu.org/archive/html/bug-coreutils/2006-07/msg00087.html for
>> a similar report.  You should also try coreutils beta 6.1, which requires
>> a newer gettext in an attempt to avoid these types of coredumps.
> 
> You're very right, this seems to be a gettext error:
> -----------------
> address@hidden:~/tmp$ dd if=/dev/cdrom of=x.iso count=1
> 1+0 records in
> 1+0 records out
> Segmentation fault
> address@hidden:~/tmp$ LANG= dd if=/dev/cdrom of=x.iso count=1
> 1+0 records in
> 1+0 records out
> 512 bytes (512 B) copied, 0.000204 seconds, 2.5 MB/s
> -----------------
> 
> Is this a bug in libgettext? Has it already been reported/fixed?
> 

Again, what version of gettext do you have installed?  Gettext 0.14 and
beyond are required to support PRIuMAX, but coreutils prior to 6.1 had the
bug that it was not requiring a new enough version of gettext:
http://lists.gnu.org/archive/html/bug-coreutils/2006-08/msg00069.html

- --
Life is short - so eat dessert first!

Eric Blake             address@hidden
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2.1 (Cygwin)
Comment: Public key at home.comcast.net/~ericblake/eblake.gpg
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFFCUnz84KuGfSFAYARAux5AJ4rNysdwr7iKlRJgr+HsWderEmNDwCdF+wH
AYeIBRgQgjBqx6kfLNnCO7E=
=x9CJ
-----END PGP SIGNATURE-----




reply via email to

[Prev in Thread] Current Thread [Next in Thread]