5.0.4 crash on load


    Aug 01 2008 | 1:26 pm
    I updated my version of Max to 5.0.4 (Mac OSX 10.5.4).
    Now a major patch (top level) crashes on opening. Other, larger patches load fine.
    I tried command-shift loading the patch to stop loadbang, but no go.
    Any hints on how to downgrade to 5.0.3?
    Here's the first bit of the crash report:
    Process: MaxMSP [11137] Path: /Applications/Max5/MaxMSP.app/Contents/MacOS/MaxMSP Identifier: com.cycling74.MaxMSP Version: 5.0.4 (35808) (5.0.4) Code Type: X86 (Native) Parent Process: launchd [86]
    Date/Time: 2008-08-01 14:11:05.337 +0100 OS Version: Mac OS X 10.5.4 (9E17) Report Version: 6
    Exception Type: EXC_BAD_ACCESS (SIGBUS) Exception Codes: KERN_PROTECTION_FAILURE at 0x0000000000000000 Crashed Thread: 0
    Application Specific Information:
    Java information: Version: Java HotSpot(TM) Client VM (1.5.0_13-119 mixed mode) Virtual Machine version: Java HotSpot(TM) Client VM (1.5.0_13-119) for macosx-x86, built on Sep 28 2007 23:59:21 by root with gcc 4.0.1 (Apple Inc. build 5465) Exception type: Bus Error (0xa) at pc=0x000eb183
    Current thread (0x1af01490): JavaThread "AWT-AppKit" [_thread_in_native, id=-1604321376] Stack: [0xbf800000,0xc0000000) Java Threads: ( => current thread ) 0x1af0eb60 JavaThread "AWT-Shutdown" [_thread_blocked, id=21384704] 0x1af0b900 JavaThread "Low Memory Detector" daemon [_thread_blocked, id=21059584] 0x1af0ae30 JavaThread "CompilerThread0" daemon [_thread_blocked, id=21056000] 0x1af0a8e0 JavaThread "Signal Dispatcher" daemon [_thread_blocked, id=21052416] 0x1af0a620 JavaThread "Surrogate Locker Thread (CMS)" daemon [_thread_blocked, id=21045760] 0x1af09d30 JavaThread "Finalizer" daemon [_thread_blocked, id=21042176] 0x1af09930 JavaThread "Reference Handler" daemon [_thread_blocked, id=21036032] =>0x1af01490 JavaThread "AWT-AppKit" [_thread_in_native, id=-1604321376] Other Threads: 0x1af09080 VMThread [id=20965888] 0x1af0c500 WatcherThread [id=21063168]
    VM state:not at safepoint (normal execution) VM Mutex/Monitor currently owned by a thread: None
    Heap par new generation total 4096K, used 163K [0x1f380000, 0x1f790000, 0x1fb80000) eden space 4032K, 4% used [0x1f380000, 0x1f3a8ee8, 0x1f770000) from space 64K, 0% used [0x1f770000, 0x1f770000, 0x1f780000) to space 64K, 0% used [0x1f780000, 0x1f780000, 0x1f790000) concurrent mark-sweep generation total 61440K, used 236K [0x1fb80000, 0x23780000, 0x2f380000) concurrent-mark-sweep perm gen total 8192K, used 2793K [0x2f380000, 0x2fb80000, 0x33380000)
    Virtual Machine arguments: JVM args: -Xincgc -Xms64m -Xmx256m Java command: launcher type: generic
    Thread 0 Crashed: 0 com.cycling74.MaxMSP 0x000eb183 dictionary_replaceargs + 351 1 com.cycling74.MaxMSP 0x0011796f jbox_new + 1525 2 com.cycling74.MaxAPI 0x02da3a2f jbox_new + 50 3 com.cycling74.umenu 0x37746eef jumenu_new + 272 4 com.cycling74.MaxMSP 0x00018983 typedmess_fun + 1973 5 com.cycling74.MaxMSP 0x000ac71d object_new_typed_flags + 383 6 com.cycling74.MaxMSP 0x000ac796 object_new_typed + 46 7 com.cycling74.MaxMSP 0x0015c45e jpatcher_newobject + 358 8 com.cycling74.MaxMSP 0x0015c8f4 jpatcher_pastefromdictionary + 286 9 com.cycling74.MaxMSP 0x00167a5b jpatcher_fromdictionary + 1471 10 com.cycling74.MaxMSP 0x00167cbf jpatcher_new + 593 11 com.cycling74.MaxMSP 0x00018983 typedmess_fun + 1973 12 com.cycling74.MaxMSP 0x000ac758 object_new_typed_flags + 442 13 com.cycling74.MaxMSP 0x000ac796 object_new_typed + 46 14 com.cycling74.MaxMSP 0x0000da29 jpatcher_load_fromdictionary(char*, short, object*, short, atom*) + 437 15 com.cycling74.MaxMSP 0x0000dba8 jpatcher_load_frombuffer(char*, short, char const*, long, short, atom*) + 310 16 com.cycling74.MaxMSP 0x0000dde7 jpatcher_load(char*, short, short, atom*) + 373 17 com.cycling74.MaxMSP 0x0000e06d lowload_type + 589 18 com.cycling74.MaxMSP 0x0000e953 fileload_extended + 169 19 com.cycling74.MaxMSP 0x0000ee97 fileload_unique + 99 20 com.cycling74.MaxMSP 0x0000eeca fileload_type + 40 21 com.cycling74.MaxMSP 0x0000f143 menuload + 199 22 com.cycling74.MaxMSP 0x000d1c05 max_jopen + 11 23 com.cycling74.MaxMSP 0x000a97f8 object_method_typedfun + 134 24 com.cycling74.MaxMSP 0x000a98b1 object_method_typed + 127 25 com.cycling74.MaxMSP 0x0014ba3a jmenu_process + 562 26 com.cycling74.MaxMSP 0x000d171c interface_process + 24 27 com.cycling74.MaxMSP 0x0000f847 app_eventhandler(OpaqueEventHandlerCallRef*, OpaqueEventRef*, void*) + 169 28 com.apple.HIToolbox 0x96f91763 DispatchEventToHandlers(EventTargetRec*, OpaqueEventRef*, HandlerCallRec*) + 1181 29 com.apple.HIToolbox 0x96f90b9d SendEventToEventTargetInternal(OpaqueEventRef*, OpaqueEventTargetRef*, HandlerCallRec*) + 405 30 com.apple.HIToolbox 0x96fad4ee SendEventToEventTarget + 52 31 com.apple.HIToolbox 0x96fe1bc1 SendHICommandEvent(unsigned long, HICommand const*, unsigned long, unsigned long, unsigned char, OpaqueEventTargetRef*, OpaqueEventTargetRef*, OpaqueEventRef**) + 411 32 com.apple.HIToolbox 0x970083d3 SendMenuCommandWithContextAndModifiers + 59 33 com.apple.HIToolbox 0x97008390 SendMenuItemSelectedEvent + 134 34 com.apple.HIToolbox 0x970082a2 FinishMenuSelection(MenuData*, MenuData*, MenuResult*, MenuResult*, unsigned long, unsigned long, unsigned long, unsigned char) + 162 35 com.apple.HIToolbox 0x96fe4e50 MenuSelectCore(MenuData*, Point, double, unsigned long, OpaqueMenuRef**, unsigned short*) + 640 36 com.apple.HIToolbox 0x9707388c MenuSelect + 104 37 com.cycling74.MaxMSP 0x0029674d juce::MouseClickHandlerProc(OpaqueEventHandlerCallRef*, OpaqueEventRef*, void*) + 189 38 com.apple.HIToolbox 0x96f91763 DispatchEventToHandlers(EventTargetRec*, OpaqueEventRef*, HandlerCallRec*) + 1181 39 com.apple.HIToolbox 0x96f90b9d SendEventToEventTargetInternal(OpaqueEventRef*, OpaqueEventTargetRef*, HandlerCallRec*) + 405 40 com.apple.HIToolbox 0x96fad4ee SendEventToEventTarget + 52 41 com.apple.HIToolbox 0x96fc00eb ToolboxEventDispatcherHandler(OpaqueEventHandlerCallRef*, OpaqueEventRef*, void*) + 2579 42 com.apple.HIToolbox 0x96f91b1c DispatchEventToHandlers(EventTargetRec*, OpaqueEventRef*, HandlerCallRec*) + 2134 43 com.apple.HIToolbox 0x96f90b9d SendEventToEventTargetInternal(OpaqueEventRef*, OpaqueEventTargetRef*, HandlerCallRec*) + 405 44 com.apple.HIToolbox 0x96fad4ee SendEventToEventTarget + 52 45 com.cycling74.MaxMSP 0x0029bd8a juce::juce_dispatchNextMessageOnSystemQueue(bool) + 234 46 com.cycling74.MaxMSP 0x002aaaf3 juce::MessageManager::runDispatchLoop() + 131 47 com.cycling74.MaxMSP 0x002a63ff juce::JUCEApplication::main(juce::String&, juce::JUCEApplication*) + 415 48 com.cycling74.MaxMSP 0x002a662a juce::JUCEApplication::main(int, char**, juce::JUCEApplication*) + 90 49 com.cycling74.MaxMSP 0x001c5a22 main + 76 50 com.cycling74.MaxMSP 0x00002742 _start + 216 51 com.cycling74.MaxMSP 0x00002669 start + 41
    Thread 1: 0 libSystem.B.dylib 0x93494506 semaphore_timedwait_signal_trap + 10 1 libSystem.B.dylib 0x934c684f _pthread_cond_wait + 1244 2 libSystem.B.dylib 0x934c80d3 pthread_cond_timedwait_relative_np + 47 3 ...ple.CoreServices.CarbonCore 0x9481c2fe TSWaitOnConditionTimedRelative + 246 4 ...ple.CoreServices.CarbonCore 0x9481c0de TSWaitOnSemaphoreCommon + 422 5 ...ple.CoreServices.CarbonCore 0x9484ce28 TimerThread + 74 6 libSystem.B.dylib 0x934c56f5 _pthread_start + 321 7 libSystem.B.dylib 0x934c55b2 thread_start + 34

    • Aug 01 2008 | 2:04 pm
      This bug has been reported and fixed. If this is critical for you then you can revert to 5.0.3. Otherwise, 5.0.5 (whenever it is released) should fix it.
      Thanks, Rob
    • Aug 01 2008 | 2:10 pm
      Sorry to be dense, but where can I download 5.0.3?
      I was a little too overzealous before updating, and didn't back anything up...
    • Aug 01 2008 | 5:44 pm
      Perhaps we should keep those links around on the website. I believe this is 5.0.3:
      Thanks, Rob