Page 1 of 2

Audacity2.0.4 can not read aiff file

Posted: Sun Sep 08, 2013 12:07 am
by Nitta
I have installed Audacity 2.0.4 on my MacPro with MaxOSX10.6.8.

Though it can record, export an aiff file, but it can not read an aiff file.
If I double click an aiff file, audacity starts without any sound file.
If I start up Audacity first and then try to open an aiff file from the file-open menu, Audacity crashes.

Before staring up Audacity 2.0.4 at the first time, I had erased all lines in the audacity.cfg file except for the first line of "NewPrefsInitialized=1".

Back to Audacity 2.0.3 results proper function of the aiff import.

Re: Audacity2.0.4 can not read aiff file

Posted: Sun Sep 08, 2013 2:34 am
by kozikowski
Thanks for the note. We are accumulating upgrade errors. It's impossible to test every configuration before a new version, so errors do creep in.

Where did you get the AIFF file from? Those don't tend to walk around in the wild very much.

Koz

Re: Audacity2.0.4 can not read aiff file

Posted: Sun Sep 08, 2013 2:35 am
by kozikowski
See if you can download and play this very short AIF file.

http://www.kozco.com/tech/piano2.aif

Koz

Re: Audacity2.0.4 can not read aiff file

Posted: Sun Sep 08, 2013 3:07 am
by Nitta
I have tried to open the file of the link:
http://www.kozco.com/tech/piano2.aif

With Audacity 2.0.3, I can open it without any problem.
With Audacity 2.0.4, I can not open it at all. (Audacity crashes)
With Audacity 2.0.4(with rosetta), I can not open it at all. (Audacity crashes)

I have never been able to open any aiff file, with Audacity 2.0.4.
I have never encountered any problem opening any aiff file, with Audacity 2.0.3.

Re: Audacity2.0.4 can not read aiff file

Posted: Sun Sep 08, 2013 3:36 am
by kozikowski
Thank you for the work and the clear writing. We are rounding up the more serious errors and see how many of them we can solve and how soon.

Stick with 2.0.3 until we get there.

Koz

Re: Audacity2.0.4 can not read aiff file

Posted: Sun Sep 08, 2013 3:53 am
by billw58
When Audacity crashes you should get a crash dialog. Click the "Report" button. Copy and paste the first 30 or so lines of "thread 0" and post them here.

Hint: if you see a line that looks like "com.apple.HIToolbox 0x985fb591 CUnicodeTextension::ReplaceRange"
then you have encountered the dreaded unicode character bug. Filenames (or the folder they are in) don't have to have unicode characters in them to trigger this bug. Apparently renaming any file in the Finder to have a unicode character can trigger it.

-- Bill

Re: Audacity2.0.4 can not read aiff file

Posted: Sun Sep 08, 2013 4:30 am
by Nitta
Thank you for your comments.
I'll upload the first 34 lines in the crash report.

==================
Process: Audacity [5314]
Path: /Applications/Audacity/Audacity.app/Contents/MacOS/Audacity
Identifier: net.sourceforge.audacity
Version: 2.0.4.0 (2.0.4.0)
Code Type: X86 (Native)
Parent Process: launchd [114]

Date/Time: 2013-09-08 08:03:24.338 +0900
OS Version: Mac OS X 10.6.8 (10K549)
Report Version: 6

Interval Since Last Report: 296972 sec
Crashes Since Last Report: 2
Per-App Interval Since Last Report: 608 sec
Per-App Crashes Since Last Report: 2
Anonymous UUID: 8FC8A005-3C22-4601-9792-EE4CEE889DCC

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

Thread 0 Crashed: Dispatch queue: com.apple.main-thread
0 libSystem.B.dylib 0xffff094e __memcpy + 430
1 com.apple.HIToolbox 0x93e5b404 CArray::ReplaceElements(long, long, long, void const*) + 132
2 com.apple.HIToolbox 0x93e80052 CUnicodeTextension::UnicodeReplaceRange(long, long, TReplaceParams const&, unsigned char, unsigned char) + 1904
3 com.apple.HIToolbox 0x93e80509 CUnicodeTextension::ReplaceRange(long, long, TReplaceParams const&, unsigned char, unsigned char) + 101
4 com.apple.HIToolbox 0x93e715cd CReplaceTextCommand::DoMainAction() + 67
5 com.apple.HIToolbox 0x93e71035 CTextensionEditCommand::DoIt(short*) + 29
6 com.apple.HIToolbox 0x93e70920 CTextensionCommand::Execute(short*) + 54
7 com.apple.HIToolbox 0x93e769c9 OpaqueTXNObject::ExecuteCurrCommand() + 113
8 com.apple.HIToolbox 0x93e76f11 OpaqueTXNObject::NewCommand(short, AttrObjModifier const*, TKeyDownParams*, TReplaceParams*) + 1061
9 com.apple.HIToolbox 0x93e64030 DoSetDataCommand(OpaqueTXNObject*, unsigned long, unsigned long, TReplaceParams*) + 299
10 com.apple.HIToolbox 0x93e6bfd3 TXNSetData + 683
11 net.sourceforge.audacity 0x0043cdc5 wxMacMLTEControl::SetTXNData(wxString const&, unsigned long, unsigned long) + 165

Re: Audacity2.0.4 can not read aiff file

Posted: Sun Sep 08, 2013 1:39 pm
by billw58
See line 3 of the crash report. That's the "unicode" bug.

Restarting your Mac several times is reported to sometimes fix this bug.

-- Bill

Re: Audacity2.0.4 can not read aiff file

Posted: Sun Sep 08, 2013 2:25 pm
by Nitta
Thank you for the suggestion. I'll try it.
But the crash occurred on Audacity 2.0.4 certainly, and it never occurred on Audacity 2.0.3 for some reason ...

Re: Audacity2.0.4 can not read aiff file

Posted: Sun Sep 08, 2013 3:21 pm
by billw58
Nitta wrote:But the crash occurred on Audacity 2.0.4 certainly, and it never occurred on Audacity 2.0.3 for some reason ...
That's the nature of this bug.
-- Bill