Bugzilla – Bug 1159
Sound Activated Recording crashes or Freezes
Last modified: 2018-08-20 11:45:57 UTC
On starting Sound Activated Recording, the recording meter "lights up" but then Audacity immediately crashes or freezes. This occurs for all device / host settings. If the sound activation level is set to -60 dB, Audacity records without crashing, but recording does not pause even if the input level drops to absolute silence. Occasionally the crash can cause the entire Desktop to freeze, requiring a hard power-off of the computer, which could cause data loss in any running applications.
Man, this is a nasty one.
Fix committed in: https://github.com/audacity/audacity/commit/133c0ec61d672b557bed71a310d3ea4d7d76c4ea But, can you verify that recording actually works? I don't have the ability to feed audio into my Linux VMs. What was happening is that the status bar was being updated from the Audio thread and this is a no-no. Actually, calling any function that messes with any of the GUI objects (like buttons, windows, etc) from any thread other than the main one is walking on thin ice, but we have gotten pretty lucky so far. The status bar was the final straw. :-)
Just to note I could reproduce this on Ubuntu 14.04 but not on Mac or Windows. Will update and post results.
(In reply to Leland Lucius from comment #2) Yes, recording works now and no crash.
No crashes now for me, and recording works correctly, on Ubuntu 14.04 32-bit and 64-bit (and on Mac and Windows).