Core Audio Crashes Max Instantly


    Aug 21 2013 | 3:42 pm
    Hi.
    Max was working perfectly. A few days ago I installed Adobe Premiere, and probably it affected somehow my sound setting, although I have checked everything. Still, Max crashes all the time! Here is the log error
    Process: Max [583]
    Path: /Applications/Max6/Max.app/Contents/MacOS/Max
    Identifier: com.cycling74.Max
    Version: 6.0.8 (a0c1b20) (6.0.8)
    Code Type: X86 (Native)
    Parent Process: launchd [210]
    Date/Time: 2013-08-21 18:41:18.733 +0300
    OS Version: Mac OS X 10.6.8 (10K549)
    Report Version: 6
    Interval Since Last Report: 21713325 sec
    Crashes Since Last Report: 430
    Per-App Interval Since Last Report: 172448 sec
    Per-App Crashes Since Last Report: 9
    Anonymous UUID: 69B748D2-11F8-4146-8933-2DC664780E49
    Exception Type: EXC_ARITHMETIC (SIGFPE)
    Exception Codes: EXC_I386_DIV (divide by zero)
    Crashed Thread: 0 Dispatch queue: com.apple.main-thread
    Thread 0 Crashed: Dispatch queue: com.apple.main-thread
    0 com.cycling74.MaxAudioAPI 0x1b775d02 mixerengine_prepare + 396
    1 com.cycling74.MaxAudioAPI 0x1b749d74 ad_start + 355
    2 com.cycling74.Max 0x0003bea3 defer + 54
    3 com.cycling74.MaxAPI 0x02904a82 defer + 98
    4 com.cycling74.MaxAudioAPI 0x1b749fe3 ad_mess_start + 69
    5 com.cycling74.MaxAudioAPI 0x1b762713 dacimpl_start + 182
    6 com.cycling74.Max 0x000b8aa5 object_method + 963
    7 com.cycling74.MaxAPI 0x0291933b object_method + 139
    8 com.cycling74.ezdac~ 0x1c7e7f42 ezdac_doit + 57
    9 com.cycling74.ezdac~ 0x1c7e816e ezdac_mouseup + 40
    10 com.cycling74.Max 0x000b8aa5 object_method + 963
    11 com.cycling74.Max 0x000fd194 BoxComponent::sendMouseMessage(juce::MouseEvent const&, symbol*, double, double) + 264
    12 com.cycling74.Max 0x000fd537 BoxComponent::mouseUp(juce::MouseEvent const&) + 533
    13 com.cycling74.Max 0x0032d7cc juce::Component::internalMouseUp(juce::MouseInputSource&, juce::Point const&, juce::Time const&, juce::ModifierKeys const&) + 284
    14 com.cycling74.Max 0x0038e24f juce::MouseInputSourceInternal::sendMouseUp(juce::Component*, juce::Point const&, long long, juce::ModifierKeys const&) + 103
    15 com.cycling74.Max 0x0038e9b6 juce::MouseInputSourceInternal::setButtons(juce::Point const&, long long, juce::ModifierKeys const&) + 250
    16 com.cycling74.Max 0x0038eb74 juce::MouseInputSourceInternal::handleEvent(juce::ComponentPeer*, juce::Point const&, long long, juce::ModifierKeys const&) + 172
    17 com.cycling74.Max 0x0038dc45 juce::MouseInputSource::handleEvent(juce::ComponentPeer*, juce::Point const&, long long, juce::ModifierKeys const&) + 75
    18 com.cycling74.Max 0x00396289 juce::ComponentPeer::handleMouseEvent(int, juce::Point const&, juce::ModifierKeys const&, long long) + 103
    19 com.cycling74.Max 0x004362df juce::NSViewComponentPeer::sendMouseEvent(NSEvent*) + 113
    20 com.cycling74.Max 0x0043650a juce::NSViewComponentPeer::redirectMouseUp(NSEvent*) + 132
    21 com.cycling74.Max 0x0042ba1a -[JuceNSView_1_52_105_3 asyncMouseUp:] + 34
    22 com.apple.Foundation 0x986f1671 __NSThreadPerformPerform + 506
    23 com.apple.CoreFoundation 0x9850442b __CFRunLoopDoSources0 + 1563
    24 com.apple.CoreFoundation 0x98501eef __CFRunLoopRun + 1071
    25 com.apple.CoreFoundation 0x985013c4 CFRunLoopRunSpecific + 452
    26 com.apple.CoreFoundation 0x985011f1 CFRunLoopRunInMode + 97
    27 com.apple.HIToolbox 0x9789ce04 RunCurrentEventLoopInMode + 392
    28 com.apple.HIToolbox 0x9789caf5 ReceiveNextEventCommon + 158
    29 com.apple.HIToolbox 0x9789ca3e BlockUntilNextEventMatchingListInMode + 81
    30 com.apple.AppKit 0x92f77595 _DPSNextEvent + 847
    31 com.apple.AppKit 0x92f76dd6 -[NSApplication nextEventMatchingMask:untilDate:inMode:dequeue:] + 156
    32 com.apple.AppKit 0x92f391f3 -[NSApplication run] + 821
    33 com.cycling74.Max 0x0043270f juce::MessageManager::runDispatchLoop() + 731
    34 com.cycling74.Max 0x002c1f02 juce::JUCEApplication::main(juce::StringArray const&) + 68
    35 com.cycling74.Max 0x002c2025 juce::JUCEApplication::main(int, char const**) + 73
    36 com.cycling74.Max 0x0000db8b _start + 209
    37 com.cycling74.Max 0x0000dab9 start + 41
    Thread 1: Dispatch queue: com.apple.libdispatch-manager
    0 libSystem.B.dylib 0x9046a382 kevent + 10
    1 libSystem.B.dylib 0x9046aa9c _dispatch_mgr_invoke + 215
    2 libSystem.B.dylib 0x90469f59 _dispatch_queue_invoke + 163
    3 libSystem.B.dylib 0x90469cfe _dispatch_worker_thread2 + 240
    4 libSystem.B.dylib 0x90469781 _pthread_wqthread + 390
    5 libSystem.B.dylib 0x904695c6 start_wqthread + 30
    Thread 2:
    0 libSystem.B.dylib 0x90443b5a semaphore_timedwait_signal_trap + 10
    1 libSystem.B.dylib 0x904716e1 _pthread_cond_wait + 1066
    2 libSystem.B.dylib 0x904a05a8 pthread_cond_timedwait_relative_np + 47
    3 ...ple.CoreServices.CarbonCore 0x980c0b90 TSWaitOnConditionTimedRelative + 242
    4 ...ple.CoreServices.CarbonCore 0x980c08ce TSWaitOnSemaphoreCommon + 511
    5 ...ple.CoreServices.CarbonCore 0x980e4b8b TimerThread + 97
    6 libSystem.B.dylib 0x90471259 _pthread_start + 345
    7 libSystem.B.dylib 0x904710de thread_start + 34
    Thread 3:
    0 libSystem.B.dylib 0x90443b5a semaphore_timedwait_signal_trap + 10
    1 libSystem.B.dylib 0x904716e1 _pthread_cond_wait + 1066
    2 libSystem.B.dylib 0x904a05a8 pthread_cond_timedwait_relative_np + 47
    3 ...ple.CoreServices.CarbonCore 0x980c0b90 TSWaitOnConditionTimedRelative + 242
    4 ...ple.CoreServices.CarbonCore 0x980c08ce TSWaitOnSemaphoreCommon + 511
    5 ...ple.CoreServices.CarbonCore 0x98154092 DeferredTaskThread + 84
    6 libSystem.B.dylib 0x90471259 _pthread_start + 345
    7 libSystem.B.dylib 0x904710de thread_start + 34
    Thread 4:
    0 libSystem.B.dylib 0x90471aa2 __semwait_signal + 10
    1 libSystem.B.dylib 0x9047175e _pthread_cond_wait + 1191
    2 libSystem.B.dylib 0x904712b1 pthread_cond_timedwait$UNIX2003 + 72
    3 com.cycling74.Max 0x00448be8 juce::WaitableEventImpl::wait(int) + 168
    4 ??? 0x0133d010 0 + 20172816
    5 com.cycling74.Max 0x0043b608 juce::WaitableEvent::wait(int) const + 26
    6 com.cycling74.Max 0x00455cd1 juce::Thread::wait(int) const + 27
    7 com.cycling74.Max 0x0032af59 juce::InternalTimerThread::run() + 163
    8 com.cycling74.Max 0x00455bb2 juce::Thread::threadEntryPoint() + 130
    9 com.cycling74.Max 0x0043953e juce::threadEntryProc(void*) + 70
    10 libSystem.B.dylib 0x90471259 _pthread_start + 345
    11 libSystem.B.dylib 0x904710de thread_start + 34
    Thread 5:
    0 libSystem.B.dylib 0x90443afa mach_msg_trap + 10
    1 libSystem.B.dylib 0x90444267 mach_msg + 68
    2 com.apple.audio.midi.CoreMIDI 0x00f010c1 XServerMachPort::ReceiveMessage(int&, void*, int&) + 155
    3 com.apple.audio.midi.CoreMIDI 0x00f1f97a MIDIProcess::RunMIDIInThread() + 150
    4 com.apple.audio.midi.CoreMIDI 0x00f022d9 XThread::RunHelper(void*) + 17
    5 com.apple.audio.midi.CoreMIDI 0x00f01ca6 CAPThread::Entry(CAPThread*) + 96
    6 libSystem.B.dylib 0x90471259 _pthread_start + 345
    7 libSystem.B.dylib 0x904710de thread_start + 34
    Thread 6:
    0 libSystem.B.dylib 0x90443c0e mach_wait_until + 10
    1 libSystem.B.dylib 0x904cb429 nanosleep + 345
    2 libSystem.B.dylib 0x904cb2ca usleep + 61
    3 com.cycling74.Max 0x000703f5 systhread_sleep + 31
    4 com.cycling74.Max 0x0023ed51 pathcache_update_do + 362
    5 com.cycling74.Max 0x000704d2 systhread_threadproc + 67
    6 libSystem.B.dylib 0x90471259 _pthread_start + 345
    7 libSystem.B.dylib 0x904710de thread_start + 34
    Thread 7:
    0 libSystem.B.dylib 0x904bc31e accept$UNIX2003 + 10
    1 com.cycling74.Max 0x0041ef4f juce::StreamingSocket::waitForNextConnection() const + 219
    2 com.cycling74.Max 0x0022c571 tcpconnection_listenthread + 36
    3 com.cycling74.Max 0x000704d2 systhread_threadproc + 67
    4 libSystem.B.dylib 0x90471259 _pthread_start + 345
    5 libSystem.B.dylib 0x904710de thread_start + 34
    Thread 0 crashed with X86 Thread State (32-bit):
    eax: 0x00000200 ebx: 0x02ef8ec8 ecx: 0x00000000 edx: 0x00000000
    edi: 0x00000002 esi: 0x1b775b84 ebp: 0xbfffe018 esp: 0xbfffdfa0
    ss: 0x0000001f efl: 0x00210246 eip: 0x1b775d02 cs: 0x00000017
    ds: 0x0000001f es: 0x0000001f fs: 0x00000000 gs: 0x00000037
    cr2: 0x4c367090

    • Aug 21 2013 | 4:34 pm
      Try resetting your preferences.
      In MacOS 10.6 and earlier, Max 6 Preferences are stored here:
      ~/Library/Application Support/Cycling '74
      Quit Max, throw away the entire Cycling '74 folder and try a restart.
      If it's still not working, please let us know in support.
      BTW - you may upgrade to Max 6.1 on your Max 6 auth if you wish.
      Cheers
      Andrew
    • Aug 21 2013 | 8:07 pm
      That did the trick!!
      Thanks a lot Andrew!
    • Apr 08 2014 | 2:28 am
      Was having a similar issue, clearing the max6 preferences from application support as Andrew Pask said works great.
    • Apr 16 2014 | 2:50 pm
      I have a similar problem on a new Mac Pro running Mavericks. Whenever I plug a Logitech usb webcam and open Core Audio it crashes instantly. I tried to find the folder you mentioned to clear the preferences, but somehow I can't find any Cycling 74 folder in Application support (library). Any help suggestions would be welcome,
      thanks!
    • Jun 03 2014 | 3:06 pm
      I got the same issue with Mavericks.
      And the suggested folder indeed doesn't exist.
      How do I solve this, I AM STUCK !!!!
    • Jun 03 2014 | 3:12 pm
      Under Mavericks, the suggested folder is in /Users/HEPI/Library/Application Support/Cycling '74 where HEPI is your user name.
      You may need to press the option/alt key and use the Finder's Go menu to jump into your Library folder.
    • Dec 11 2014 | 8:11 pm
      I have the same problem on a windows pc but can't seem to find the preferences folder.
    • Dec 11 2014 | 10:39 pm
      Premiere creates its own "Aggregate Device" in Audio Midi Setup in Applications/Utilities.
      Try deleting it.