2.1.1 Hangs and/or Crashes on Sound Activated Recording

Help for Audacity on macOS.
Forum rules
ImageThis forum is for Audacity on macOS 10.4 and later.
Please state which version of macOS you are using,
and the exact three-section version number of Audacity from "Audacity menu > About Audacity".


Audacity 1.2.x and 1.3.x are obsolete and no longer supported. If you still have those versions, please upgrade at https://www.audacityteam.org/download/.
The old forums for those versions are now closed, but you can still read the archives of the 1.2.x and 1.3.x forums.
cmac185
Posts: 286
Joined: Mon Jan 12, 2015 3:28 am
Operating System: macOS 10.15 Catalina or later

2.1.1 Hangs and/or Crashes on Sound Activated Recording

Post by cmac185 » Mon Aug 31, 2015 4:18 am

Tried for the first time this evening to use Sound Activated Recording on 2.1.1. Upon opening the recording track window by clicking on the red record button the window opens and seems ok for a few seconds then most of the time Audacity locks up and CPU is over 50% until I force kill it. Some times it will come with an error window saying it had created a debug file, but nothing is showing in the window for files collected and there is no debug file where it says it should be. It also just plain crashed a couple of times. I do have 3 different dumps - spin, hand and resource if you would like to see them.

I've tried on Yosemite and El Capitan with identical results. 2.1.0 works just fine with the same config file etc. and on both OS versions. Guess I'm back to using 2.1.0 though 2.1.1 seems to work fine for everything else.

Found the following messages in the Console at the time of or just a little later than one of the hangs/crashes. Some of the messages seem important, though maybe not directly related to this issue.

Code: Select all

----------------------------------
8/30/15 9:38:04.943 PM Audacity[2770]: 21:38:04.942 WARNING:  140: This application, or a library it uses, is using the deprecated Carbon Component Manager for hosting Audio Units. Support for this will be removed in a future release. Also, this makes the host incompatible with version 3 audio units. Please transition to the API's in AudioComponent.h.

8/30/15 9:38:21.211 PM WindowServer[217]: disable_update_timeout: UI updates were forcibly disabled by application "Audacity" for over 1.00 seconds. Server has re-enabled them.

8/30/15 9:38:32.580 PM spindump[405]: Saved spin report for Audacity version 2.1.1.0 (2.1.1.0) to /Library/Logs/DiagnosticReports/Audacity_2015-08-30-213832_Cliffs-MacBook-Pro.spin

8/30/15 9:38:35.211 PM WindowServer[217]: disable_update_likely_unbalanced: UI updates still disabled by application "Audacity" after 15.00 seconds (server forcibly re-enabled them after 1.00 seconds). Likely an unbalanced disableUpdate call.

8/30/15 9:41:03.000 PM kernel[0]: process Audacity[2770] thread 78862 caught burning CPU! It used more than 50% CPU (Actual recent usage: 50%) over 180 seconds. thread lifetime cpu usage 90.007307 seconds, (7.910670 user, 82.096637 system) ledger info: balance: 90004257756 credit: 90004257756 debit: 0 limit: 90000000000 (50%) period: 180000000000 time since last refill (ns): 178289583166 

8/30/15 10:09:16.697 PM Audacity[419]: objc[419]: Class TSSandboxPrefs is implemented in both /Library/Frameworks/TSLicense.framework/Versions/A/TSLicense and /Library/QuickTime/Flip4Mac WMV Import.component/Contents/MacOS/Flip4Mac WMV Import. One of the two will be used. Which one is undefined
-----------------------------
Let me know if you need more info.

Cliff
Last edited by Gale Andrews on Mon Aug 31, 2015 1:15 pm, edited 1 time in total.
Reason: wrapped Console messages in code tags

Gale Andrews
Quality Assurance
Posts: 41761
Joined: Fri Jul 27, 2007 12:02 am
Operating System: Windows 10

Re: 2.1.1 Hangs and/or Crashes on Sound Activated Recording

Post by Gale Andrews » Mon Aug 31, 2015 2:00 pm

Thanks, Cliff. 2.1.2-alpha had a crash as you describe on Linux, though I could never reproduce that on Mac (or in 2.1.1).

What device are you recording from in Device Toolbar? Does it make any difference if you record from the built-in mic or your external devices?

If you don't mind, it would be most useful if you could test Sound Activated Recording in 2.1.2-alpha (30Aug2015) where we think we have fixed the crash: http://www.audacity.homerow.net/index.p ... ce07211%2F. Try at different Sound Activation Levels including a low level like -60 dB.

I don't get any crashes on Yosemite or Mavericks in latest 2.1.2-alpha using Sound Activated Recording with line-in or Soundflower recording.


Gale
________________________________________FOR INSTANT HELP: (Click on Link below)
* * * * * Tips * * * * * Tutorials * * * * * Quick Start Guide * * * * * Audacity Manual

Gale Andrews
Quality Assurance
Posts: 41761
Joined: Fri Jul 27, 2007 12:02 am
Operating System: Windows 10

Re: 2.1.1 Hangs and/or Crashes on Sound Activated Recording

Post by Gale Andrews » Mon Aug 31, 2015 2:10 pm

cmac185 wrote:Found the following messages in the Console at the time of or just a little later than one of the hangs/crashes. Some of the messages seem important, though maybe not directly related to this issue.
I don't see those messages in 2.1.2-alpha 30Aug15 (I do not have Flip4Mac so I would not see the message relating to that).

Please try running that 2.1.2-alpha version and looking at the console messages for that version.


Gale
________________________________________FOR INSTANT HELP: (Click on Link below)
* * * * * Tips * * * * * Tutorials * * * * * Quick Start Guide * * * * * Audacity Manual

cmac185
Posts: 286
Joined: Mon Jan 12, 2015 3:28 am
Operating System: macOS 10.15 Catalina or later

Re: 2.1.1 Hangs and/or Crashes on Sound Activated Recording

Post by cmac185 » Mon Aug 31, 2015 2:38 pm

What device are you recording from in Device Toolbar? Does it make any difference if you record from the built-in mic or your external devices?
Makes no difference which input is used.

I'll give 2.1.2 Alpha a try and get back to you.

Cliff

cmac185
Posts: 286
Joined: Mon Jan 12, 2015 3:28 am
Operating System: macOS 10.15 Catalina or later

Re: 2.1.1 Hangs and/or Crashes on Sound Activated Recording

Post by cmac185 » Mon Aug 31, 2015 3:04 pm

Downloaded the 2.1.2 Alpha Zip file and it will not run. Tried on both Yosemite and El Capitan. It says an image is missing. I've attached the report.

Cliff
Attachments
Aud212A.txt
Error report on opening 212Alpha.
(2.08 KiB) Downloaded 15 times

Gale Andrews
Quality Assurance
Posts: 41761
Joined: Fri Jul 27, 2007 12:02 am
Operating System: Windows 10

Re: 2.1.1 Hangs and/or Crashes on Sound Activated Recording

Post by Gale Andrews » Mon Aug 31, 2015 3:22 pm

cmac185 wrote:Downloaded the 2.1.2 Alpha Zip file and it will not run. Tried on both Yosemite and El Capitan. It says an image is missing. I've attached the report.
Might you have got a bad download? Clear your download cache and try again, or try the DMG.

I build my own, but that download runs for me on Yosemite.


Gale
________________________________________FOR INSTANT HELP: (Click on Link below)
* * * * * Tips * * * * * Tutorials * * * * * Quick Start Guide * * * * * Audacity Manual

cmac185
Posts: 286
Joined: Mon Jan 12, 2015 3:28 am
Operating System: macOS 10.15 Catalina or later

Re: 2.1.1 Hangs and/or Crashes on Sound Activated Recording

Post by cmac185 » Mon Aug 31, 2015 4:18 pm

Bad download isn't likely since the Zip opened without problems. How did you install it? I just had Finder unzip it and then dropped the Audacity folder on to Applications. I downloaded the Zip to save bandwidth since my Internet has a cap, but I suppose I could download the .dmg. I've used the Zip of other versions of Audacity without problems.

It starts up with the usual warning about being from an unknown developer then the error pops up.

Cliff

Gale Andrews
Quality Assurance
Posts: 41761
Joined: Fri Jul 27, 2007 12:02 am
Operating System: Windows 10

Re: 2.1.1 Hangs and/or Crashes on Sound Activated Recording

Post by Gale Andrews » Mon Aug 31, 2015 6:24 pm

cmac185 wrote:Bad download isn't likely since the Zip opened without problems. How did you install it? I just had Finder unzip it and then dropped the Audacity folder on to Applications.
After extracting the ZIP into the Downloads folder I just double-clicked Audacity.app from the extracted folder.


Gale
________________________________________FOR INSTANT HELP: (Click on Link below)
* * * * * Tips * * * * * Tutorials * * * * * Quick Start Guide * * * * * Audacity Manual

cmac185
Posts: 286
Joined: Mon Jan 12, 2015 3:28 am
Operating System: macOS 10.15 Catalina or later

Re: 2.1.1 Hangs and/or Crashes on Sound Activated Recording

Post by cmac185 » Mon Aug 31, 2015 6:40 pm

Hi Gale,

Here's ,more info.
Dyld Error Message:
Library not loaded: /usr/local/lib/libwx_osx_cocoau_release_adv-3.0.dylib
Referenced from: /Applications/Audacity 2.1.2 Alpha/Audacity.app/Contents/MacOS/Audacity
Reason: image not found
The above message was in the error report. Checking that location on my system I find no file by that name. I'm assuming that your system has that file in that location for some reason, but it isn't there in either of my installations. El Capitan has no .dylib files in that directory where as Yosemite has some, but no libwx... files in that directory. Is the file included in the .dmg and not in the ZIP version? I noticed that the 2.1.2 Alpha had another directory named Frameworks that isn't in the older versions that had a bunch of .dylib files in it, but not the one in question. Searching both OSs shows that that file does not exist on either of my systems.

I haven't downloaded the .dmg yet as I wanted to verify exactly what the problem was. Now I suspect the .dmg wouldn't work on my system as well do to the missing file.

Cliff

Gale Andrews
Quality Assurance
Posts: 41761
Joined: Fri Jul 27, 2007 12:02 am
Operating System: Windows 10

Re: 2.1.1 Hangs and/or Crashes on Sound Activated Recording

Post by Gale Andrews » Mon Aug 31, 2015 7:39 pm

cmac185 wrote:Here's ,more info.
Dyld Error Message:
Library not loaded: /usr/local/lib/libwx_osx_cocoau_release_adv-3.0.dylib
Referenced from: /Applications/Audacity 2.1.2 Alpha/Audacity.app/Contents/MacOS/Audacity
Reason: image not found
The above message was in the error report. Checking that location on my system I find no file by that name. I'm assuming that your system has that file in that location for some reason, but it isn't there in either of my installations.
Yes I saw that error, but those libwx* files are I assume installed when wxWidgets is built and installed, which is prerequisite for building Audacity itself. You would not have those files as someone who does not build Audacity.

I get the same error as you if I trash that libwx_osx_cocoau_release_adv-3.0.dylib file then try to run my 2.1.2-alpha build. So perhaps something is not being built into Audacity that should be. On Windows the required wxWidgets DLL's are included with Audacity.

I don't know what is supposed to happen on Mac, so I asked Leland to look into it.

Thanks, Cliff.


Gale
________________________________________FOR INSTANT HELP: (Click on Link below)
* * * * * Tips * * * * * Tutorials * * * * * Quick Start Guide * * * * * Audacity Manual

Post Reply