dd segfaults everytime

Bug #43157 reported by Ilya Petrov
4
Affects Status Importance Assigned to Milestone
coreutils (Ubuntu)
Invalid
Medium
Unassigned

Bug Description

Binary package hint: coreutils

% dd if=/dev/zero of=- bs=1024 count=1
1+0 records in
1+0 records out
[1] 16758 segmentation fault dd if=/dev/zero of=- bs=1024 count=1

it segfaults every time, but does all work propertly and returns nonzero return code ( $? = 139 ), so some scripts that use

dd blah-blah && some else

will not work
coreutils - 5.93-5ubuntu3
Ubuntu Dapper current

Revision history for this message
Dennis Kaarsemaker (dennis) wrote : Re: [Bug 43157] dd segfaults everytime

Which locale do you use? Does LOCALE=C dd work?

Andy Price (andy-price)
Changed in coreutils:
status: Unconfirmed → Needs Info
Revision history for this message
Dennis Kaarsemaker (dennis) wrote : Re: [Bug 43157] Re: [Bug 43157] dd segfaults everytime

That should read:

LC_AL=C dd

Revision history for this message
Ilya Petrov (ilya-muromec) wrote :

LANG=C dd if=/dev/zero of=- bs=1024 count=1 works

locale is ru_UA.UTF-8. it also segfaults on ru_RU.UTF but _not_ on uk_UA.UTF-8

Revision history for this message
Ilya Petrov (ilya-muromec) wrote :

hm.. /bin/dd from Gentoo works in my Dapper on all locales

Revision history for this message
kko (kko) wrote :

See also bug 42264, "locale dependant segfault for dd".

Changed in coreutils:
status: Needs Info → Rejected
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.