Any idea why this can hang on a long-running Mac?

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

 



On my Mac Mini (details below), the following simple command starts hanging more and more often the longer I
run the machine without a reboot:

sox --buffer 512 -n -d synth 1 sin 440

The buffer size reduction makes this happen sooner, but the issue can eventually happen without this I believe.

When the hang occurs:
* It is immediate with no output sound, though the SoX progress display does appear.
* The progress counter does not advance.
* Kill will not kill the process; kill -9 is required.
* ps shows the status as S+, meaning foreground and in a less-than-20-second sleep.
* nwchan is 0 and wchan is -

My Mac is running Monterey because it is too old to run a newer OS, but this is a rather old problem. I am
running SoX from Homebrew. In case it matters, my default output device is a Turtle Beach USB sound card,
though I don't think the device changes this issue. I do run Loopback but am not using it for default output.

-- 
Doug Lee                 dgl@xxxxxxxx                http://www.dlee.org
Freedom is not the ability to have what we want.  Freedom is merely the
ability to seek it.  To be free defines what we can do, not what we can get.
(03/28/05)


_______________________________________________
Sox-users mailing list
Sox-users@xxxxxxxxxxxxxxxxxxxxx
https://lists.sourceforge.net/lists/listinfo/sox-users



[Index of Archives]     [Linux Sound]     [ALSA Users]     [ALSA Devel]     [Linux Audio Users]     [Linux Media]     [Kernel]     [Photo Sharing]     [Gimp]     [Yosemite News]     [Linux Media]

  Powered by Linux