crash on export - 2.2.2 on High Sierra 10.13.4 - SOLVED

Hello,

my first post on the forum and already about a problem with Audacity :wink: or maybe MacOS?

As in the post topic. As soon as I try to export a file Audacity crashes and displays error raport. Same with retrieving projects that crashed. I click “restore” and Audacity crashes after a bit and it hangs on me. I have to force quit it.

Anyone else is experiencing this? Maybe there is a fix.

I’m leaning towards wiping out the entire hardrive and installing everything clean as I had some problems with High Sierra before. Safari and app store didn’t work. I did install fresh OS with recovery tool (didn’t format the drive). App Store and Safari work well but Audacity stoped working after that. Both my old version 2.1.something and the new 2.2.2. So it all started with recovery of the OS.

Any suggestions welcome.

regards,
Mac

Let’s start with wiping Audacity’s preferences.

Go to ~/Library/Application Support/audacity.

Trash these files:
audacity.cfg
pluginregistry.cfg
pluginsettings.cfg

If problems continue, please tell us the exact wording of the error message.

– Bill

hello,

Trash these files:
audacity.cfg
pluginregistry.cfg
pluginsettings.cfg

That didn’t help unfortunately.

please tell us the exact wording of the error message.

Actually there is no error message. Audacity just crashes on me. On Export. Also on applying effects. And all I get is a popup window that a bug report has been generated.

Here is what the log says.

12:50:22: Audacity 2.2.2
12:50:22: Trying to load FFmpeg libraries...
12:50:22: Trying to load FFmpeg libraries from default path, '/Library/Application Support/audacity/libs/libavformat.55.dylib'.
12:50:22: Checking for monolithic avformat from '/Library/Application Support/audacity/libs/libavformat.55.dylib'.
12:50:22: Błąd:dlopen(/Library/Application Support/audacity/libs/libavformat.55.dylib, 1): image not found
12:50:22: Loading avutil from ''.
12:50:22: Błąd:dlopen(.bundle, 1): image not found
12:50:22: Loading avcodec from ''.
12:50:22: Błąd:dlopen(.bundle, 1): image not found
12:50:22: Loading avformat from '/Library/Application Support/audacity/libs/libavformat.55.dylib'.
12:50:22: Błąd:dlopen(/Library/Application Support/audacity/libs/libavformat.55.dylib, 1): image not found
12:50:22: Błąd:Failed to load FFmpeg libraries.
12:50:22: Trying to load FFmpeg libraries from legacy path, '/usr/local/lib/audacity/libavformat.55.dylib'.
12:50:22: Checking for monolithic avformat from '/usr/local/lib/audacity/libavformat.55.dylib'.
12:50:22: Błąd:dlopen(/usr/local/lib/audacity/libavformat.55.dylib, 1): image not found
12:50:22: Loading avutil from ''.
12:50:22: Błąd:dlopen(.bundle, 1): image not found
12:50:22: Loading avcodec from ''.
12:50:22: Błąd:dlopen(.bundle, 1): image not found
12:50:22: Loading avformat from '/usr/local/lib/audacity/libavformat.55.dylib'.
12:50:22: Błąd:dlopen(/usr/local/lib/audacity/libavformat.55.dylib, 1): image not found
12:50:22: Błąd:Failed to load FFmpeg libraries.
12:50:22: Trying to load FFmpeg libraries from system paths. File name is 'libavformat.55.dylib'.
12:50:22: Checking for monolithic avformat from 'libavformat.55.dylib'.
12:50:22: Błąd:dlopen(libavformat.55.dylib, 1): image not found
12:50:22: Loading avutil from ''.
12:50:22: Błąd:dlopen(.bundle, 1): image not found
12:50:22: Loading avcodec from ''.
12:50:22: Błąd:dlopen(.bundle, 1): image not found
12:50:22: Loading avformat from 'libavformat.55.dylib'.
12:50:22: Błąd:dlopen(libavformat.55.dylib, 1): image not found
12:50:22: Błąd:Failed to load FFmpeg libraries.
12:50:22: Błąd:Nie udało się znaleźć zgodnych bibliotek FFmpeg.
12:51:00: File name is /Users/..........
/Desktop/recording process/160908_00.WAV
12:51:00: Mime type is *
12:51:00: Opening with libsndfile
12:51:01: Open(/Users/........./Desktop/recording process/160908_00.WAV) succeeded

The next time Audacity crashes and that crash report window appears, choose to look at the report (it may say Send to Apple, I can’t remember). In the Mac crash report it is usually “thread 0” that crashes. Copy the top of the crash report - to the end of thread 0 - and paste it into a message here.
The Audacity log merely says that FFmpeg failed to load, and the WAV file was opened successfully.
– Bill

I have the “Thread 0” listed many times in the report. There my be even over a hundred. The document is really, really long. I got Thread 0x2159df, then Thread 0x … and it goes and goes. It’s like sets of Thread 0 + Binary Images + Process and below another Thread 0 + binary images + proces and so forth… But it looks like there are 759 Threads 0 listed in the report. You wrote “to the end of thread 0”. But which one? Sorry, this might be a silly question but do you want me to paste them all? Or just the first one? Terribly sorry if I don’t get what you mean.

How long is the show?

I had some problems with High Sierra before.

From the description, I think you have an unstable machine. There are supposed to be no conditions where the operating system starts crashing or failing

There are tools to check memory and the internal drive. I think you should be doing that before you wipe the machine and reinstall.

I need to look those tools up.

If the machine crashes during a re-install, you could trash the machine forever.

It’s sometimes an alarm bell when a poster is too familiar with the machine. Did you install a memory upgrade manually? Did you put a larger drive in? There are operating system restrictions. Some newer OS’s will not install over older hardware.

Koz

Back up your computer before you do any of these jobs. Do Time Machine and copy /Users to an external drive.

https://www.cnet.com/how-to/how-to-test-the-ram-on-your-mac/

If it asks you if you want to make multiple passes, say yes. Your machine may be off-line for a while.

Bank 5, Row 3 has a bad cell.


Go (top of the screen) > Utilities > Disk Utilities > First Aid.

They used to let you test without fixing anything. I think they make you go all in now.

Koz

Here’s what I’m talking about. This is from the Console, and the program that crashed was Adobe Photoshop. Note the “Thread 0 Crashed” partway down.

Process:               Adobe Photoshop CS5.1 [3588]
Path:                  /Applications/Adobe Photoshop CS5.1/Adobe Photoshop CS5.1.app/Contents/MacOS/Adobe Photoshop CS5.1
Identifier:            Adobe Photoshop CS5.1
Version:               12.1 (12.1x20110328.r.145] [12.1)
Code Type:             X86-64 (Native)
Parent Process:        ??? [1]
Responsible:           Adobe Photoshop CS5.1 [3588]
User ID:               503

Date/Time:             2018-04-27 16:02:20.693 -0400
OS Version:            Mac OS X 10.13.3 (17D47)
Report Version:        12
Anonymous UUID:        2AA4547C-7BEB-E89E-3631-74AB0F8979FE


Time Awake Since Boot: 140000 seconds

System Integrity Protection: enabled

Crashed Thread:        0  Dispatch queue: com.apple.main-thread

Exception Type:        EXC_BAD_ACCESS (SIGSEGV)
Exception Codes:       KERN_INVALID_ADDRESS at 0x000040dedeadbec8
Exception Note:        EXC_CORPSE_NOTIFY

Termination Signal:    Segmentation fault: 11
Termination Reason:    Namespace SIGNAL, Code 0xb
Terminating Process:   exc handler [0]

VM Regions Near 0x40dedeadbec8:
    MALLOC_SMALL           000000013a000000-000000013a800000 [ 8192K] rw-/rwx SM=PRV  
--> 
    MALLOC_NANO            0000600000000000-0000600002e00000 [ 46.0M] rw-/rwx SM=PRV  

Thread 0 Crashed:: Dispatch queue: com.apple.main-thread
0   libobjc.A.dylib               	0x00007fff55257174 objc_release + 36
1   libobjc.A.dylib               	0x00007fff55258042 (anonymous namespace)::AutoreleasePoolPage::pop(void*) + 812
2   com.apple.CoreFoundation      	0x00007fff2e462676 _CFAutoreleasePoolPop + 22
3   com.apple.Foundation          	0x00007fff3058d846 -[NSAutoreleasePool release] + 144
4   com.adobe.adobeswfl           	0x000000011c88d51b SWFLPlayer_Initialize + 16683
5   com.adobe.ape                 	0x00000001174ce54f APEInitialize + 4895
6   com.adobe.ape                 	0x00000001174d585c APEStreamWrite + 10092
7   com.adobe.ape                 	0x00000001174d6cce APEStreamWrite + 15326
8   com.adobe.ape                 	0x00000001174da7d4 APEStreamWrite + 30436
9   libobjc.A.dylib               	0x00007fff5525cc6a objc_object::sidetable_release(bool) + 266
10  libobjc.A.dylib               	0x00007fff55258042 (anonymous namespace)::AutoreleasePoolPage::pop(void*) + 812
11  com.apple.CoreFoundation      	0x00007fff2e462676 _CFAutoreleasePoolPop + 22
12  com.apple.Foundation          	0x00007fff305824f5 -[NSAutoreleasePool drain] + 144
13  com.adobe.PSAutomate          	0x0000000118141650 ScriptUI::APE_Player::apDetachStage(ScriptUI::StageInfo&, bool) + 48
14  com.adobe.PSAutomate          	0x0000000118141f27 ScriptUI::APE_Player::~APE_Player() + 167
15  com.adobe.PSAutomate          	0x000000011812a4e5 ScriptUI::Flex_ScriptUI::exit(ScCore::Error*) + 709
16  com.adobe.PSAutomate          	0x000000011800203f JavaScriptUI::~JavaScriptUI() + 31
17  com.adobe.PSAutomate          	0x0000000118004bf2 CScriptPs::DoUnload(SPAccessMessage*) + 120
18  com.adobe.PSAutomate          	0x0000000118004d42 CScriptPs::HandleMessage(char*, char*, void*) + 178
19  com.adobe.PSAutomate          	0x0000000118004e30 PluginMain + 110
20  com.adobe.Photoshop           	0x00000001006fdfb6 AWS_CUI_GetVersionComments(OpaqueWindowPtr*, adobe::q::QDocument&, adobe::q::QString&, adobe::q::QAttributeList&, adobe::q::QDocument*, adobe::q::QProject*, long) + 4332402
21  com.adobe.Photoshop           	0x00000001006fe3e5 AWS_CUI_GetVersionComments(OpaqueWindowPtr*, adobe::q::QDocument&, adobe::q::QString&, adobe::q::QAttributeList&, adobe::q::QDocument*, adobe::q::QProject*, long) + 4333473
22  com.adobe.Photoshop           	0x00000001006fefd5 AWS_CUI_GetVersionComments(OpaqueWindowPtr*, adobe::q::QDocument&, adobe::q::QString&, adobe::q::QAttributeList&, adobe::q::QDocument*, adobe::q::QProject*, long) + 4336529
23  com.adobe.Photoshop           	0x00000001006fb1e6 AWS_CUI_GetVersionComments(OpaqueWindowPtr*, adobe::q::QDocument&, adobe::q::QString&, adobe::q::QAttributeList&, adobe::q::QDocument*, adobe::q::QProject*, long) + 4320674
24  com.adobe.Photoshop           	0x0000000100277527 0x100000000 + 2585895
25  com.adobe.Photoshop           	0x00000001002775b2 0x100000000 + 2586034
26  com.adobe.Photoshop           	0x0000000100628654 AWS_CUI_GetVersionComments(OpaqueWindowPtr*, adobe::q::QDocument&, adobe::q::QString&, adobe::q::QAttributeList&, adobe::q::QDocument*, adobe::q::QProject*, long) + 3457552
27  com.adobe.Photoshop           	0x0000000100628717 AWS_CUI_GetVersionComments(OpaqueWindowPtr*, adobe::q::QDocument&, adobe::q::QString&, adobe::q::QAttributeList&, adobe::q::QDocument*, adobe::q::QProject*, long) + 3457747
28  com.adobe.Photoshop           	0x00000001006b4bea AWS_CUI_GetVersionComments(OpaqueWindowPtr*, adobe::q::QDocument&, adobe::q::QString&, adobe::q::QAttributeList&, adobe::q::QDocument*, adobe::q::QProject*, long) + 4032422
29  com.adobe.Photoshop           	0x00000001006b88f3 AWS_CUI_GetVersionComments(OpaqueWindowPtr*, adobe::q::QDocument&, adobe::q::QString&, adobe::q::QAttributeList&, adobe::q::QDocument*, adobe::q::QProject*, long) + 4048047
30  com.adobe.Photoshop           	0x000000010007adee 0x100000000 + 503278
31  com.adobe.Photoshop           	0x00000001006b6579 AWS_CUI_GetVersionComments(OpaqueWindowPtr*, adobe::q::QDocument&, adobe::q::QString&, adobe::q::QAttributeList&, adobe::q::QDocument*, adobe::q::QProject*, long) + 4038965
32  com.adobe.Photoshop           	0x00000001000682ee 0x100000000 + 426734
33  com.adobe.Photoshop           	0x0000000100237199 0x100000000 + 2322841
34  com.adobe.Photoshop           	0x0000000100237229 0x100000000 + 2322985
35  com.adobe.Photoshop           	0x0000000100002294 0x100000000 + 8852

Do you ever actually close programs? Did you remember Photoshop was running?

One of the people at work used to get in trouble regularly by opening programs and then never closing them. The machine would slowly choke. But it didn’t crash.

Getting Photoshop to crash is good enough for me. Your machine is in trouble.

Koz

It’s Photoshop 5.1 on 10.13.3. It crashes on quit every time. It also requires Java to run. I don’t think my machine is in too much trouble. It’s just a very old version of Photoshop.
– Bill

Maybe, but in combination with everything else? I posted a number of ignored computer hygiene questions. That’s been ringing bells for a while now.

I still think the machine tests are totally warranted.

Koz

The document suggests Photoshop CS5, so it’s not a legacy version. I have CS3 and I’ve never had troubles.

Koz

Koz, do you realize that’s me posting the Photoshop crash, not the OP? I posted it as an example of the kind of crash report I’d like to see.
– Bill

hello,

I was able to fix it by formating the drive and fresh installing MacOS. A few apps were not working properly and and complete wipeout was necessary anyway.

thanks everybody for help.

topic can be closed.