Flac files cause Audacity to crash

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.
bleakley
Posts: 9
Joined: Tue Apr 17, 2012 9:59 pm
Operating System: Please select

Flac files cause Audacity to crash

Post by bleakley » Tue Apr 17, 2012 10:02 pm

Version 2.0.0
OSX 10.6.8

Audacity keeps crashing when I try to apply an "export WAV" chain to Flac files.

Has anyone else run into this problem?

Bleakley
Last edited by bleakley on Fri Apr 24, 2015 3:57 pm, edited 2 times in total.
Reason: topic renamed to match problem

bleakley
Posts: 9
Joined: Tue Apr 17, 2012 9:59 pm
Operating System: Please select

Re: Applying chains to Flac keeps crashing Audacity

Post by bleakley » Wed Apr 18, 2012 12:01 am

I installed from DMG.

Bleakley

steve
Site Admin
Posts: 80695
Joined: Sat Dec 01, 2007 11:43 am
Operating System: Linux *buntu

Re: Applying chains to Flac keeps crashing Audacity

Post by steve » Wed Apr 18, 2012 12:13 am

Do the FLAC files open OK in Audacity if you import them one at a time rather than using a Chain?
9/10 questions are answered in the FREQUENTLY ASKED QUESTIONS (FAQ)

bleakley
Posts: 9
Joined: Tue Apr 17, 2012 9:59 pm
Operating System: Please select

Re: Applying chains to Flac keeps crashing Audacity

Post by bleakley » Wed Apr 18, 2012 12:19 am

No, it crashes when I open the individually, too.

Here is the crash report from the chains -

Process: Audacity [82289]
Path: /Applications/Audacity (2.0.0)/Audacity.app/Contents/MacOS/Audacity
Identifier: net.sourceforge.audacity
Version: 2.0.0.0 (2.0.0.0)
Code Type: X86 (Native)
Parent Process: sh [82286]

Date/Time: 2012-04-17 20:22:52.304 -0400
OS Version: Mac OS X 10.6.8 (10K549)
Report Version: 6

Interval Since Last Report: 5622095 sec
Crashes Since Last Report: 8
Per-App Interval Since Last Report: 296 sec
Per-App Crashes Since Last Report: 3
Anonymous UUID: B07EEF9D-678F-4515-87C5-7857579C2443

Exception Type: EXC_BAD_ACCESS (SIGBUS)
Exception Codes: KERN_PROTECTION_FAILURE at 0x00000000010e0ffe
Crashed Thread: 0 Dispatch queue: com.apple.main-thread

Thread 0 Crashed: Dispatch queue: com.apple.main-thread
0 libSystem.B.dylib 0xffff0f0e __memcpy + 1902
1 com.apple.HIToolbox 0x9aae7404 CArray::ReplaceElements(long, long, long, void const*) + 132
2 com.apple.HIToolbox 0x9ab0c052 CUnicodeTextension::UnicodeReplaceRange(long, long, TReplaceParams const&, unsigned char, unsigned char) + 1904
3 com.apple.HIToolbox 0x9ab0c509 CUnicodeTextension::ReplaceRange(long, long, TReplaceParams const&, unsigned char, unsigned char) + 101
4 com.apple.HIToolbox 0x9aafd5cd CReplaceTextCommand::DoMainAction() + 67
5 com.apple.HIToolbox 0x9aafd035 CTextensionEditCommand::DoIt(short*) + 29
6 com.apple.HIToolbox 0x9aafc920 CTextensionCommand::Execute(short*) + 54
7 com.apple.HIToolbox 0x9ab029c9 OpaqueTXNObject::ExecuteCurrCommand() + 113
8 com.apple.HIToolbox 0x9ab02f11 OpaqueTXNObject::NewCommand(short, AttrObjModifier const*, TKeyDownParams*, TReplaceParams*) + 1061
9 com.apple.HIToolbox 0x9aaf0030 DoSetDataCommand(OpaqueTXNObject*, unsigned long, unsigned long, TReplaceParams*) + 299
10 com.apple.HIToolbox 0x9aaf7fd3 TXNSetData + 683
11 Audacity 0x00418fa5 wxMacMLTEControl::SetTXNData(wxString const&, unsigned long, unsigned long) + 165
12 Audacity 0x004190b3 wxMacMLTEControl::WriteText(wxString const&) + 195
13 Audacity 0x00418c98 wxTextCtrl::WriteText(wxString const&) + 168
14 Audacity 0x004c5a99 wxLogWindow::DoLogString(wchar_t const*, long) + 137
15 Audacity 0x00531dc6 wxLog::DoLog(unsigned long, wchar_t const*, long) + 342
16 Audacity 0x004c8083 wxLogWindow::DoLog(unsigned long, wchar_t const*, long) + 99
17 Audacity 0x00037bbb wxLog::OnLog(unsigned long, wchar_t const*, long) + 235
18 Audacity 0x005315c1 wxVLogMessage(wchar_t const*, char*) + 113
19 Audacity 0x0053163b wxLogMessage(wchar_t const*, ...) + 27
20 Audacity 0x001277a6 Importer::Import(wxString, TrackFactory*, Track***, Tags*, wxString&) + 1734

bleakley
Posts: 9
Joined: Tue Apr 17, 2012 9:59 pm
Operating System: Please select

Re: Applying chains to Flac keeps crashing Audacity

Post by bleakley » Wed Apr 18, 2012 12:20 am

And here is the crash report from opening them individually -

Process: Audacity [82386]
Path: /Applications/Audacity (2.0.0)/Audacity.app/Contents/MacOS/Audacity
Identifier: net.sourceforge.audacity
Version: 2.0.0.0 (2.0.0.0)
Code Type: X86 (Native)
Parent Process: sh [82383]

Date/Time: 2012-04-17 20:25:33.823 -0400
OS Version: Mac OS X 10.6.8 (10K549)
Report Version: 6

Interval Since Last Report: 5622248 sec
Crashes Since Last Report: 11
Per-App Interval Since Last Report: 339 sec
Per-App Crashes Since Last Report: 6
Anonymous UUID: B07EEF9D-678F-4515-87C5-7857579C2443

Exception Type: EXC_BAD_ACCESS (SIGBUS)
Exception Codes: KERN_PROTECTION_FAILURE at 0x00000000017ffff0
Crashed Thread: 0 Dispatch queue: com.apple.main-thread

Thread 0 Crashed: Dispatch queue: com.apple.main-thread
0 libSystem.B.dylib 0xffff0f32 __memcpy + 1938
1 com.apple.HIToolbox 0x9aae7404 CArray::ReplaceElements(long, long, long, void const*) + 132
2 com.apple.HIToolbox 0x9ab0c052 CUnicodeTextension::UnicodeReplaceRange(long, long, TReplaceParams const&, unsigned char, unsigned char) + 1904
3 com.apple.HIToolbox 0x9ab0c509 CUnicodeTextension::ReplaceRange(long, long, TReplaceParams const&, unsigned char, unsigned char) + 101
4 com.apple.HIToolbox 0x9aafd5cd CReplaceTextCommand::DoMainAction() + 67
5 com.apple.HIToolbox 0x9aafd035 CTextensionEditCommand::DoIt(short*) + 29
6 com.apple.HIToolbox 0x9aafc920 CTextensionCommand::Execute(short*) + 54
7 com.apple.HIToolbox 0x9ab029c9 OpaqueTXNObject::ExecuteCurrCommand() + 113
8 com.apple.HIToolbox 0x9ab02f11 OpaqueTXNObject::NewCommand(short, AttrObjModifier const*, TKeyDownParams*, TReplaceParams*) + 1061
9 com.apple.HIToolbox 0x9aaf0030 DoSetDataCommand(OpaqueTXNObject*, unsigned long, unsigned long, TReplaceParams*) + 299
10 com.apple.HIToolbox 0x9aaf7fd3 TXNSetData + 683
11 Audacity 0x00418fa5 wxMacMLTEControl::SetTXNData(wxString const&, unsigned long, unsigned long) + 165
12 Audacity 0x004190b3 wxMacMLTEControl::WriteText(wxString const&) + 195
13 Audacity 0x00418c98 wxTextCtrl::WriteText(wxString const&) + 168
14 Audacity 0x004c5a99 wxLogWindow::DoLogString(wchar_t const*, long) + 137
15 Audacity 0x00531dc6 wxLog::DoLog(unsigned long, wchar_t const*, long) + 342
16 Audacity 0x004c8083 wxLogWindow::DoLog(unsigned long, wchar_t const*, long) + 99
17 Audacity 0x00037bbb wxLog::OnLog(unsigned long, wchar_t const*, long) + 235
18 Audacity 0x005315c1 wxVLogMessage(wchar_t const*, char*) + 113
19 Audacity 0x0053163b wxLogMessage(wchar_t const*, ...) + 27
20 Audacity 0x001273ea Importer::Import(wxString, TrackFactory*, Track***, Tags*, wxString&) + 778

billw58
Forum Staff
Posts: 5565
Joined: Wed Aug 12, 2009 2:10 am
Operating System: macOS 10.15 Catalina or later

Re: Applying chains to Flac keeps crashing Audacity

Post by billw58 » Wed Apr 18, 2012 1:07 am

Well, it's not chains that's the problem, it has something to do with importing a FLAC since the crash reports are identical. It seems the crash happens while Audacity is attempting to write a message to the Log window.

FLAC import does not rely on an external library (such as LAME or FFmpeg), so the problem is not in that area.

All I can think of is resetting your preferences.

Quit Audacity if it is running.

In <yourhome>/Library/Application Support/audacity

find the file audacity.cfg

Open it in TextEdit and replace the entire contents with this singe line:

NewPrefsInitialized=1

Save the file without changing the extension.

Start Audacity and see if you can import a FLAC file.

-- Bill

bleakley
Posts: 9
Joined: Tue Apr 17, 2012 9:59 pm
Operating System: Please select

Re: Applying chains to Flac keeps crashing Audacity

Post by bleakley » Wed Apr 18, 2012 2:20 am

Doesn't work. Keeps crashing over and over. I tried chains, importing and opening, all to the same result. I guess I'll try re-installing. This is one of the main things I use Audacity for, so I hope I can fix it!

bleakley
Posts: 9
Joined: Tue Apr 17, 2012 9:59 pm
Operating System: Please select

Re: Applying chains to Flac keeps crashing Audacity

Post by bleakley » Wed Apr 18, 2012 2:41 am

Tried re-installing and restarting. Doesn't work. Audacity just won't accept FLAC from me anymore :p

Any other ideas out there?

Bleakley

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

Re: Applying chains to Flac keeps crashing Audacity

Post by Gale Andrews » Wed Apr 18, 2012 5:09 am

Do the names of these files have other than A - Z characters and numbers? If not, can you try renaming them like that?

If that does not help, are the files small enough that you can upload an example somewhere from where we could download it? Here are some sites you could upload to:
http://www.yousendit.com
http://www.sendspace.com
http://minus.com/
https://castle.so/



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

edgar-rft
Posts: 347
Joined: Sun Jan 20, 2008 12:03 am
Operating System: Please select

Re: Applying chains to Flac keeps crashing Audacity

Post by edgar-rft » Wed Apr 18, 2012 12:50 pm

I don't know how much this applies to current OS X versions, but on my old Mac (until OS X 10.3.9), there was a Mac system configuration file under:
  • [user]/Library/Preferences/net.sourceforge.audacity.plist
Whenever I had "mysterious" problems with Audacity, I deleted this file, and my problems disappeared. This file was not deleted by a new installation of Audacity, but it was automatically re-created (without the misfunctional behaviour) at the next start of Audacity. In case of doubt search for "audacity.plist" in the Mac Finder, but I dont' know if and where this file still exists under current OS X versions.

- edgar

Post Reply