crash with collective


    Oct 20 2006 | 11:19 am
    Hi everybody,
    First mail got stuck(?), so I'll try again:
    I've made a patch, tested it and turned it into a collective.
    Collective file works fine with runtime Max on the G5 it was made on.
    I move the stuff to my PowerBook. Launch the mxf with the same
    version of Max runtime. Crash.
    Also tested it on the studio's G5. Crashes there too, though on a
    different moment while loading the patch, and more spectacular.
    Any advice/insights most welcome. I'm using lots of external artwork
    for fpic's etc, and lots of js. And jitter.
    Best,
    Zip
    Date/Time: 2006-10-19 17:00:30.052 +0200
    OS Version: 10.4.8 (Build 8L127)
    Report Version: 4
    Command: MaxMSP Runtime
    Path: /Volumes/Dingetje/MaxMSP Runtime 461.app/Contents/MacOS/
    MaxMSP Runtime
    Parent: WindowServer [409]
    Version: ??? (4.6.1)
    PID: 1003
    Thread: 0
    Exception: EXC_BAD_ACCESS (0x0001)
    Codes: KERN_PROTECTION_FAILURE (0x0002) at 0x00000000
    Thread 0 Crashed:
    0 MJSRef 0x22136c70 0x220b2000 + 543856
    1 MJSRef 0x220c700c js_AtomizeString + 60
    2 MJSRef 0x220c7264 js_Atomize + 132
    3 MJSRef 0x220bb34c JS_InitClass + 92
    4 jsfolder 0x20cc2430 jsfolder_jsextension + 72
    5 com.cycling74.js 0x21d9fbcc jsextern_tryload + 208
    (bundle1.s:283)
    6 com.cycling74.js 0x21d9fdc0 jsextern_init + 136
    (bundle1.s:283)
    7 com.cycling74.js 0x21da00a0 js_initialize + 656
    (bundle1.s:283)
    8 com.cycling74.MaxMSPRuntime46 0x00019160 external_bundleload
    (char*, char*, char*, short) + 604 (install.c:816)
    9 com.cycling74.MaxMSPRuntime46 0x000ab58c xpcoll_machoload + 748
    (xpcoll.c:1978)
    10 com.cycling74.MaxMSPRuntime46 0x000ab650 xpcoll_extload + 168
    (xpcoll.c:1050)
    11 com.cycling74.MaxMSPRuntime46 0x00019224 external_load + 44
    (install.c:210)
    12 com.cycling74.MaxMSPRuntime46 0x0001a468 extload + 92 (loader.c:
    528)
    13 com.cycling74.MaxMSPRuntime46 0x0001a760 newload_internal + 508
    (loader.c:622)
    14 com.cycling74.MaxMSPRuntime46 0x0001a7f4 newload + 20 (loader.c:
    566)
    15 com.cycling74.MaxMSPRuntime46 0x00021b1c typedmess_fun + 2056
    (message.c:630)
    16 com.cycling74.MaxMSPRuntime46 0x000224a8 aeval + 964 (message.c:
    1062)
    17 com.cycling74.MaxMSPRuntime46 0x000071d4 atombuf_eval + 120
    (atombuf.c:235)
    18 com.cycling74.MaxMSPRuntime46 0x00082ce8 patcher_vnewex + 116
    (vnewobj.c:486)
    19 com.cycling74.MaxMSPRuntime46 0x000217a0 typedmess_fun + 1164
    (message.c:631)
    20 com.cycling74.MaxMSPRuntime46 0x00026024 patcher_hidden + 52
    (patcher.c:3316)
    21 com.cycling74.MaxMSPRuntime46 0x000217a0 typedmess_fun + 1164
    (message.c:631)
    22 com.cycling74.MaxMSPRuntime46 0x000224a8 aeval + 964 (message.c:
    1062)
    23 com.cycling74.MaxMSPRuntime46 0x0000b728 bf_fastload + 572
    (binfile.c:447)
    24 com.cycling74.MaxMSPRuntime46 0x00019688 lowload_type(char*,
    short, long, short, atom*, short) + 460 (loader.c:145)
    25 com.cycling74.MaxMSPRuntime46 0x00019c18 fileload_extended +
    152 (loader.c:399)
    26 com.cycling74.MaxMSPRuntime46 0x00019c7c fileload_type + 68
    (loader.c:380)
    27 com.cycling74.MaxMSPRuntime46 0x000a9730 xpcoll_loadentry + 40
    (xpcoll.c:798)
    28 com.cycling74.MaxMSPRuntime46 0x000a06d8 linklist_funall + 84
    (linklist.c:994)
    29 com.cycling74.MaxMSPRuntime46 0x000a969c xpcoll_loadpatchers +
    76 (xpcoll.c:755)
    30 com.cycling74.MaxMSPRuntime46 0x000a96f0 xpcoll_load + 56
    (xpcoll.c:571)
    31 com.cycling74.MaxMSPRuntime46 0x000abfa8 xpcoll_open + 228
    (xpcoll.c:557)
    32 com.cycling74.MaxMSPRuntime46 0x00019e00 dropload + 188
    (loader.c:250)
    33 com.cycling74.MaxMSPRuntime46 0x000067c4 ae_openfile(FSSpec*) +
    24 (appleevent.c:38)
    34 com.cycling74.MaxMSPRuntime46 0x0009321c sysiac_iterate + 164
    (sysiac.c:157)
    35 com.cycling74.MaxMSPRuntime46 0x000068e4 ae_docopen(AEDesc
    const*, AEDesc*, long) + 24 (appleevent.c:72)
    36 com.apple.AE 0x914fa960 aeDispatchAppleEvent
    (AEDesc const*, AEDesc*, unsigned long, unsigned char*) + 208
    37 com.apple.AE 0x914fa7fc
    dispatchEventAndSendReply(AEDesc const*, AEDesc*) + 44
    38 com.apple.AE 0x914fa654 aeProcessAppleEvent + 284
    39 com.apple.HIToolbox 0x93205eb0 AEProcessAppleEvent + 60
    40 com.apple.HIToolbox 0x93249b24 ProcessHighLevelEvent
    + 140
    41 com.apple.HIToolbox 0x93249a7c
    StandardApplicationEventHandler(OpaqueEventHandlerCallRef*,
    OpaqueEventRef*, void*) + 328
    42 com.apple.HIToolbox 0x93202554 DispatchEventToHandlers
    (EventTargetRec*, OpaqueEventRef*, HandlerCallRec*) + 692
    43 com.apple.HIToolbox 0x93201cac
    SendEventToEventTargetInternal(OpaqueEventRef*,
    OpaqueEventTargetRef*, HandlerCallRec*) + 372
    44 com.apple.HIToolbox 0x93201b28
    SendEventToEventTargetWithOptions + 40
    45 com.apple.HIToolbox 0x93208e9c
    ToolboxEventDispatcherHandler(OpaqueEventHandlerCallRef*,
    OpaqueEventRef*, void*) + 704
    46 com.apple.HIToolbox 0x932027a4 DispatchEventToHandlers
    (EventTargetRec*, OpaqueEventRef*, HandlerCallRec*) + 1284
    47 com.apple.HIToolbox 0x93201cac
    SendEventToEventTargetInternal(OpaqueEventRef*,
    OpaqueEventTargetRef*, HandlerCallRec*) + 372
    48 com.apple.HIToolbox 0x93208a60 SendEventToEventTarget
    + 40
    49 com.apple.HIToolbox 0x932497a0 ToolboxEventDispatcher
    + 92
    50 com.apple.HIToolbox 0x9324972c HLTBEventDispatcher + 16
    51 com.apple.HIToolbox 0x93247ce4
    RunApplicationEventLoop + 148
    52 com.cycling74.MaxMSPRuntime46 0x0001b774 app_run + 72 (main.c:
    1458)
    53 com.cycling74.MaxMSPRuntime46 0x0001ba6c main + 744 (main.c:415)
    54 com.cycling74.MaxMSPRuntime46 0x00001ef0 _start + 340 (crt.c:272)
    55 com.cycling74.MaxMSPRuntime46 0x00001d98 start + 60
    Thread 1:
    0 libSystem.B.dylib 0x9000ab48 mach_msg_trap + 8
    1 libSystem.B.dylib 0x9000aa9c mach_msg + 60
    2 com.apple.audio.midi.CoreMIDI 0x96b02ac8
    XServerMachPort::ReceiveMessage(int&, void*, int&) + 84
    3 com.apple.audio.midi.CoreMIDI 0x96af5c80 MIDIInPortThread::Run
    () + 64
    4 com.apple.audio.midi.CoreMIDI 0x96af9f44 XThread::RunHelper
    (void*) + 28
    5 com.apple.audio.midi.CoreMIDI 0x96b0387c CAPThread::Entry
    (CAPThread*) + 96
    6 libSystem.B.dylib 0x9002b508 _pthread_body + 96
    etc.