Page 5 of 5

Re: Audacity 2.0.4 still crashes

Posted: Sat Sep 14, 2013 1:20 am
by Gale Andrews
Michael_Graubart wrote:Looks like success, doesn't it?
Thanks for testing. It's better than 2.0.4 for many people, so it seems, but not a complete fix.

Anyone else feeling like testing is encouraged to try:

Believed free of the bug:
http://audacity.googlecode.com/files/au ... 1.3.10.zip

Crashes for most on import, but not everyone:
http://audacity.googlecode.com/files/au ... 1.3.11.zip

Unknown, but probably same behaviour as 1.3.11:
http://audacity.googlecode.com/files/au ... 1.3.12.zip


Gale

Re: Audacity 2.0.4 still crashes

Posted: Sun Sep 15, 2013 4:04 pm
by Gale Andrews
Here is another build that has my fix but also sets the locale internally in our code:
http://gaclrecords.org.uk/test-builds/a ... -2.0.5.zip .

It may or may not be a complete fix, so please try to break it, for example by adding ƒ to the name of the Audacity folder then import files with accented characters or symbols in their file name (any character that is legal in Finder).


Gale

Re: Audacity 2.0.4 still crashes

Posted: Sun Sep 15, 2013 8:50 pm
by billw58
Looks good. Of course, your previous fix (revert r12334) worked fine for me as well.
-- Bill

Code: Select all

16:28:04: Audacity 2.0.5-alpha-Sep 15 2013
...
16:33:19: File name is /Users/Bill/Documents/Audio/Audacity tests/An import test ƒ/01 Foxglove.aif
16:33:19: Mime type is *
16:33:19: Opening with libsndfile
16:33:19: Open(/Users/Bill/Documents/Audio/Audacity tests/An import test ƒ/01 Foxglove.aif) succeeded
16:33:19: File name is /Users/Bill/Documents/Audio/Audacity tests/An import test ƒ/1 Foxglove meta test.mp3
16:33:19: Mime type is *
16:33:19: Opening with libsndfile
16:33:19: Opening with libmad
16:33:19: Open(/Users/Bill/Documents/Audio/Audacity tests/An import test ƒ/1 Foxglove meta test.mp3) succeeded
16:34:10: File name is /Users/Bill/Documents/Audio/Audacity tests/An import test ƒ/1 Føxglove.aiff
16:34:10: Mime type is *
16:34:10: Opening with libsndfile
16:34:10: Open(/Users/Bill/Documents/Audio/Audacity tests/An import test ƒ/1 Føxglove.aiff) succeeded
16:34:10: File name is /Users/Bill/Documents/Audio/Audacity tests/An import test ƒ/52 Girls.aiff
16:34:10: Mime type is *
16:34:10: Opening with libsndfile
16:34:10: Open(/Users/Bill/Documents/Audio/Audacity tests/An import test ƒ/52 Girls.aiff) succeeded
16:34:11: File name is /Users/Bill/Documents/Audio/Audacity tests/An import test ƒ/52 Girls.ogg
16:34:11: Mime type is *
16:34:11: Opening with liboggvorbis
16:34:11: Open(/Users/Bill/Documents/Audio/Audacity tests/An import test ƒ/52 Girls.ogg) succeeded
16:34:13: File name is /Users/Bill/Documents/Audio/Audacity tests/An import test ƒ/Come and Go Blues.flac
16:34:13: Mime type is *
16:34:13: Opening with libflac
16:34:13: Open(/Users/Bill/Documents/Audio/Audacity tests/An import test ƒ/Come and Go Blues.flac) succeeded
16:34:15: File name is /Users/Bill/Documents/Audio/Audacity tests/An import test ƒ/gd°77-10-28d1t02_vbr.mp3
16:34:15: Mime type is *
16:34:15: Opening with libsndfile
16:34:15: Opening with libmad
16:34:15: Open(/Users/Bill/Documents/Audio/Audacity tests/An import test ƒ/gd°77-10-28d1t02_vbr.mp3) succeeded
16:34:21: File name is /Users/Bill/Documents/Audio/Audacity tests/An import test ƒ/gd†77-10-28d1t03_vbr.mp3
16:34:21: Mime type is *
16:34:21: Opening with libsndfile
16:34:21: Opening with libmad
16:34:21: Open(/Users/Bill/Documents/Audio/Audacity tests/An import test ƒ/gd†77-10-28d1t03_vbr.mp3) succeeded
16:34:25: File name is /Users/Bill/Documents/Audio/Audacity tests/An import test ƒ/gd•77-10-28d1t01_vbr.mp3
16:34:25: Mime type is *
16:34:25: Opening with libsndfile
16:34:25: Opening with libmad
16:34:25: Open(/Users/Bill/Documents/Audio/Audacity tests/An import test ƒ/gd•77-10-28d1t01_vbr.mp3) succeeded
16:34:29: File name is /Users/Bill/Documents/Audio/Audacity tests/An import test ƒ/Jelly Jelly.flac
16:34:29: Mime type is *
16:34:29: Opening with libflac
16:34:29: Open(/Users/Bill/Documents/Audio/Audacity tests/An import test ƒ/Jelly Jelly.flac) succeeded

Re: Audacity 2.0.4 still crashes

Posted: Mon Sep 16, 2013 11:01 am
by Michael_Graubart
The new version works just like the previous one for me (on a Mac mini with OS 10.8.4): drag and drop starts Audacity but does not import anything, but both File/Import and File/Open import audio without crashing.

What is the advantage to a non-technically-expert user of one of these two versions as against the other?

Re: Audacity 2.0.4 still crashes

Posted: Mon Sep 16, 2013 2:15 pm
by Gale Andrews
Michael_Graubart wrote:The new version works just like the previous one for me (on a Mac mini with OS 10.8.4): drag and drop starts Audacity but does not import anything, but both File/Import and File/Open import audio without crashing.
Thanks for testing.

I assume you are referring to drag and drop a file to the Audacity icon?

That does not work in 2.0.4 on Mac and neither does right-click > Open with. I've already reported it to a developer. The problem is not caused by the fixes but by something else in 2.0.4 (and apparently it's not caused by the modules dialogue that occurs if you have a modules folder because I already tried disabling it).
Michael_Graubart wrote:What is the advantage to a non-technically-expert user of one of these two versions as against the other?
The second version of the fix that includes setting the locale internally should be more robust where the user is running Mac in a language that has accented or Unicode characters, like German or French. That second fix has now been added to our source code.

What system language do you run on your Mac?


Gale

Re: Audacity 2.0.4 still crashes

Posted: Mon Sep 16, 2013 2:33 pm
by Michael_Graubart
Thanks for the explanation. That's very useful.

I use English — British/UK, insofar as it is different from English US — but occasional audio files might have German or French names. I haven't tried such files with your latest version of Audacity yet. I'll report when I do.

Re: Audacity 2.0.4 still crashes

Posted: Mon Sep 16, 2013 2:40 pm
by Michael_Graubart
I have now tried the latest version with an audio file which I renamed to include both a couple of German Umlauts and a French acute accent (United Nations!). Both File/Import and File/Open worked perfectly.

Re: Audacity 2.0.4 still crashes

Posted: Tue Sep 17, 2013 2:19 pm
by billw58
With Audacity 2.0.5-alpha nightly Sept 17 (which should include r12561) with initialized CFG...

My test suite imported fine using File > Import > Audio and using drag and drop into an empty project window ... except in two instances (which I cannot now reproduce). These two cases were for an OGG file and I had set my quality preferences to 16-bit.

Code: Select all

Process:         Audacity [11210]
Path:            /Applications/Audacity 2.0.5 alpha/Audacity.app/Contents/MacOS/Audacity
Identifier:      net.sourceforge.audacity
Version:         2.0.5.0 (2.0.5.0)
Code Type:       X86 (Native)
Parent Process:  launchd [145]
User ID:         503

Date/Time:       2013-09-17 09:44:01.864 -0400
OS Version:      Mac OS X 10.8.4 (12E55)
Report Version:  10

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

Exception Type:  EXC_BAD_ACCESS (SIGSEGV)
Exception Codes: KERN_INVALID_ADDRESS at 0x000000000c89d000

VM Regions Near 0xc89d000:
    MALLOC_LARGE           000000000c680000-000000000c89d000 [ 2164K] rw-/rwx SM=PRV  
--> 
    MALLOC_LARGE           000000000c8ba000-000000000c9d7000 [ 1140K] rw-/rwx SM=PRV  

Thread 0 Crashed:: Dispatch queue: com.apple.main-thread
0   libsystem_c.dylib             	0x9a5229f4 memmove$VARIANT$sse42 + 55
1   net.sourceforge.audacity      	0x0007e2f6 Dither::Apply(Dither::DitherType, char*, sampleFormat, char*, sampleFormat, unsigned int, unsigned int) + 262
2   net.sourceforge.audacity      	0x001a3e05 CopySamples(char*, sampleFormat, char*, sampleFormat, unsigned int, bool, unsigned int) + 85
3   net.sourceforge.audacity      	0x001ff1f9 WaveClip::Append(char*, sampleFormat, long long, unsigned int, XMLWriter*) + 233
4   net.sourceforge.audacity      	0x002097b9 WaveTrack::Append(char*, sampleFormat, long long, unsigned int, XMLWriter*) + 73
5   net.sourceforge.audacity      	0x0012ea67 OggImportFileHandle::Import(TrackFactory*, Track***, int*, Tags*) + 1399
6   net.sourceforge.audacity      	0x00125e25 Importer::Import(wxString, TrackFactory*, Track***, Tags*, wxString&) + 1957
7   net.sourceforge.audacity      	0x00199925 AudacityProject::Import(wxString, WaveTrackArray*) + 149
8   net.sourceforge.audacity      	0x001a33b5 DropTarget::OnDropFiles(int, int, wxArrayString const&) + 197
9   net.sourceforge.audacity      	0x00483d30 wxFileDropTarget::OnData(int, int, wxDragResult) + 80
10  net.sourceforge.audacity      	0x003fb86a wxMacWindowDragReceiveHandler(OpaqueWindowPtr*, void*, OpaqueDragRef*) + 186
11  com.apple.HIToolbox           	0x95e9b772 CarbonReceiveMapper + 116
12  com.apple.HIServices          	0x90019e2d DoLegacyDropMessage + 263
13  com.apple.HIServices          	0x90019c1e DoDropMessage + 43
14  com.apple.HIServices          	0x9001a91a CoreDragMessageHandler + 1763
15  com.apple.CoreFoundation      	0x91b2158f __CFMessagePortPerform + 783
16  com.apple.CoreFoundation      	0x91a27325 __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE1_PERFORM_FUNCTION__ + 53
17  com.apple.CoreFoundation      	0x91a26f52 __CFRunLoopDoSource1 + 146
18  com.apple.CoreFoundation      	0x91a5ccea __CFRunLoopRun + 2154
19  com.apple.CoreFoundation      	0x91a5c01a CFRunLoopRunSpecific + 378
20  com.apple.CoreFoundation      	0x91a5be8b CFRunLoopRunInMode + 123
21  com.apple.HIToolbox           	0x95d49f5a RunCurrentEventLoopInMode + 242
22  com.apple.HIToolbox           	0x95d49cc9 ReceiveNextEventCommon + 374
23  com.apple.HIToolbox           	0x95eaf15c ReceiveNextEvent + 79
24  net.sourceforge.audacity      	0x003e3eab wxApp::MacDoOneEvent() + 91
25  net.sourceforge.audacity      	0x003fc7f3 wxEventLoop::Dispatch() + 35
26  net.sourceforge.audacity      	0x0048f42f wxEventLoopManual::Run() + 111
27  net.sourceforge.audacity      	0x00469673 wxAppBase::MainLoop() + 83
28  net.sourceforge.audacity      	0x0054a0ea wxEntry(int&, wchar_t**) + 154
29  net.sourceforge.audacity      	0x0003eceb main + 91
30  net.sourceforge.audacity      	0x0003ea4e _start + 216
31  net.sourceforge.audacity      	0x0003e975 start + 41

Thread 1:: Dispatch queue: com.apple.libdispatch-manager
0   libsystem_kernel.dylib        	0x901399ae kevent + 10
1   libdispatch.dylib             	0x9144ac71 _dispatch_mgr_invoke + 993
2   libdispatch.dylib             	0x9144a7a9 _dispatch_mgr_thread + 53

Thread 2:
0   libsystem_kernel.dylib        	0x901390ee __workq_kernreturn + 10
1   libsystem_c.dylib             	0x9a53a0ac _pthread_workq_return + 45
2   libsystem_c.dylib             	0x9a539e79 _pthread_wqthread + 448
3   libsystem_c.dylib             	0x9a521d2a start_wqthread + 30

Thread 3:
0   libsystem_kernel.dylib        	0x901390ee __workq_kernreturn + 10
1   libsystem_c.dylib             	0x9a53a0ac _pthread_workq_return + 45
2   libsystem_c.dylib             	0x9a539e79 _pthread_wqthread + 448
3   libsystem_c.dylib             	0x9a521d2a start_wqthread + 30

Thread 4:
0   libsystem_kernel.dylib        	0x901390ee __workq_kernreturn + 10
1   libsystem_c.dylib             	0x9a53a0ac _pthread_workq_return + 45
2   libsystem_c.dylib             	0x9a539e79 _pthread_wqthread + 448
3   libsystem_c.dylib             	0x9a521d2a start_wqthread + 30

Thread 5:
0   libsystem_kernel.dylib        	0x901368e6 mach_wait_until + 10
1   libsystem_c.dylib             	0x9a5c8c10 nanosleep + 375
2   net.sourceforge.audacity      	0x0004fc94 AudioThread::Entry() + 100
3   libsystem_c.dylib             	0x9a5375b7 _pthread_start + 344
4   libsystem_c.dylib             	0x9a521d4e thread_start + 34

Re: Audacity 2.0.4 still crashes

Posted: Tue Sep 17, 2013 5:40 pm
by Gale Andrews
billw58 wrote:With Audacity 2.0.5-alpha nightly Sept 17 (which should include r12561) with initialized CFG...

My test suite imported fine using File > Import > Audio and using drag and drop into an empty project window ... except in two instances (which I cannot now reproduce). These two cases were for an OGG file and I had set my quality preferences to 16-bit.
Thanks for testing, Bill.

I am not sure why dither is called for OGG - dither does not happen on Windows when importing OGG at 16-bit resolution. Do you have an OGG with absolute silence to test if Audacity is dithering on import?

Can you get that crash in "audacity-r12559-plus-import-fix-macosx-ub-2.0.5.zip" (which does not have the dither changes in r12560)?


Gale