sox - package is broken

Wed Mar 19 01:25:00 GMT 2014

David Stacey wrote
> I was testing with
>      cat ding.wav > /dev/dsp
> This gives a segmentation fault with the latest (2014-03-18) snapshot; 
> no sound is heard However, if I repeat your test:
>      cp ding.wav /dev/dsp
> Then that works and the ding dings. Which confuses me greatly - I've 
> been using *nix for nearly 20 years, and I honestly would have said that 
> the two lines above were synonymous - they're obviously not!

Two things I can think of:

1) With "cat" the output file is created/handled by the shell, whereas "cp"
is doing its own file creation. You should see what's going on by:
   strace cat ding.wav > /dev/dsp
   strace cp ding.wav /dev/dsp

2) Cat is trying to expand sparse files and perhaps it thinks of your
ding.wav as containing sparse data?

Also, I would guess, that the dsp driver should handle bit streamed input
differently than a block copy/dump? 

View this message in context:
Sent from the Cygwin list mailing list archive at

Problem reports:
Unsubscribe info:

More information about the Cygwin mailing list