Forums > MaxMSP

crash with collective

October 19, 2006 | 3:07 pm

Hi everybody,

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 (0×0001)
Codes: KERN_PROTECTION_FAILURE (0×0002) at 0×00000000

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 0×00019160 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 0×00019224 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 0×00026024 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 0×00019688 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 0×93202554 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

Thread 2:
0 libSystem.B.dylib 0x90054ae8
semaphore_timedwait_signal_trap + 8
1 libSystem.B.dylib 0×90071168
pthread_cond_timedwait_relative_np + 556
2 …ple.CoreServices.CarbonCore 0x90bf5500
TSWaitOnSemaphoreCommon + 176
3 …ple.CoreServices.CarbonCore 0x90bfd49c TimerThread + 60
4 libSystem.B.dylib 0x9002b508 _pthread_body + 96

Thread 3:
0 libSystem.B.dylib 0x9000ab48 mach_msg_trap + 8
1 libSystem.B.dylib 0x9000aa9c mach_msg + 60
2 com.apple.CoreFoundation 0x907dcb78 __CFRunLoopRun + 832
3 com.apple.CoreFoundation 0x907dc47c CFRunLoopRunSpecific +
268
4 com.apple.audio.CoreAudio 0x9145363c HALRunLoop::OwnThread
(void*) + 264
5 com.apple.audio.CoreAudio 0x914533dc CAPThread::Entry
(CAPThread*) + 96
6 libSystem.B.dylib 0x9002b508 _pthread_body + 96

Thread 4:
0 libSystem.B.dylib 0x90054ae8
semaphore_timedwait_signal_trap + 8
1 libSystem.B.dylib 0×90071168
pthread_cond_timedwait_relative_np + 556
2 …ple.CoreServices.CarbonCore 0x90bf5500
TSWaitOnSemaphoreCommon + 176
3 …ickTimeComponents.component 0x98b7f7c4
ReadSchedulerThreadEntryPoint + 5300
4 libSystem.B.dylib 0x9002b508 _pthread_body + 96

Thread 5:
0 libSystem.B.dylib 0x90054ae8
semaphore_timedwait_signal_trap + 8
1 libSystem.B.dylib 0×90071168
pthread_cond_timedwait_relative_np + 556
2 …ple.CoreServices.CarbonCore 0x90bf5500
TSWaitOnSemaphoreCommon + 176
3 …ple.CoreServices.CarbonCore 0x90bfffa8 AIOFileThread(void*) +
520
4 libSystem.B.dylib 0x9002b508 _pthread_body + 96

Thread 6:
0 libSystem.B.dylib 0x9000ab48 mach_msg_trap + 8
1 libSystem.B.dylib 0x9000aa9c mach_msg + 60
2 libjvm.dylib 0x9ba909f8 JNI_CreateJavaVM_Impl
+ 44348
3 libjvm.dylib 0x9ba90998 JNI_CreateJavaVM_Impl
+ 44252
4 libjvm.dylib 0x9ba9088c JNI_CreateJavaVM_Impl
+ 43984
5 libSystem.B.dylib 0x9002b508 _pthread_body + 96

Thread 7:
0 libSystem.B.dylib 0x9000ab48 mach_msg_trap + 8
1 libSystem.B.dylib 0x9000aa9c mach_msg + 60
2 libjvm.dylib 0x9baf3120 jio_snprintf + 377452
3 libjvm.dylib 0x9baf2db4 jio_snprintf + 376576
4 libjvm.dylib 0x9bc23ca4 JVM_OnExit + 269584
5 libjvm.dylib 0x9bc23d48 JVM_OnExit + 269748
6 libjvm.dylib 0x9bc23714 JVM_OnExit + 268160
7 libjvm.dylib 0x9ba9088c JNI_CreateJavaVM_Impl
+ 43984
8 libSystem.B.dylib 0x9002b508 _pthread_body + 96

Thread 8:
0 libSystem.B.dylib 0x9000ab48 mach_msg_trap + 8
1 libSystem.B.dylib 0x9000aa9c mach_msg + 60
2 libjvm.dylib 0x9baf3120 jio_snprintf + 377452
3 libjvm.dylib 0x9baf2db4 jio_snprintf + 376576
4 libjvm.dylib 0x9baf3374 jio_snprintf + 378048
5 libjvm.dylib 0x9baf2bf4 jio_snprintf + 376128
6 libjvm.dylib 0x9ba9088c JNI_CreateJavaVM_Impl
+ 43984
7 libSystem.B.dylib 0x9002b508 _pthread_body + 96

Thread 9:
0 libSystem.B.dylib 0x9000ab48 mach_msg_trap + 8
1 libSystem.B.dylib 0x9000aa9c mach_msg + 60
2 libjvm.dylib 0x9baf3008 jio_snprintf + 377172
3 libjvm.dylib 0x9bb022e8 JVM_MonitorWait + 2936
4 libjvm.dylib 0x9bb01cac JVM_MonitorWait + 1340
5 libjvm.dylib 0x9bb01a20 JVM_MonitorWait + 688
6 < <00000000>> 0x0a441264 0 + 172233316
7 < <00000000>> 0x0a43aab0 0 + 172206768
8 < <00000000>> 0x0a43aab0 0 + 172206768
9 < <00000000>> 0x0a438164 0 + 172196196
10 libjvm.dylib 0x9baf43c8 jio_snprintf + 382228
11 libjvm.dylib 0x9baf4214 jio_snprintf + 381792
12 libjvm.dylib 0x9bb015c8 JVM_StartThread + 2572
13 libjvm.dylib 0x9bb014bc JVM_StartThread + 2304
14 libjvm.dylib 0x9bb0144c JVM_StartThread + 2192
15 libjvm.dylib 0x9bb01314 JVM_StartThread + 1880
16 libjvm.dylib 0x9ba9088c JNI_CreateJavaVM_Impl
+ 43984
17 libSystem.B.dylib 0x9002b508 _pthread_body + 96

Thread 10:
0 libSystem.B.dylib 0x9000ab48 mach_msg_trap + 8
1 libSystem.B.dylib 0x9000aa9c mach_msg + 60
2 libjvm.dylib 0x9baf3008 jio_snprintf + 377172
3 libjvm.dylib 0x9bb022e8 JVM_MonitorWait + 2936
4 libjvm.dylib 0x9bb01cac JVM_MonitorWait + 1340
5 libjvm.dylib 0x9bb01a20 JVM_MonitorWait + 688
6 < <00000000>> 0x0a441264 0 + 172233316
7 < <00000000>> 0x0a43aab0 0 + 172206768
8 < <00000000>> 0x0a43a9c0 0 + 172206528
9 < <00000000>> 0x0a43a9c0 0 + 172206528
10 < <00000000>> 0x0a438164 0 + 172196196
11 libjvm.dylib 0x9baf43c8 jio_snprintf + 382228
12 libjvm.dylib 0x9baf4214 jio_snprintf + 381792
13 libjvm.dylib 0x9bb015c8 JVM_StartThread + 2572
14 libjvm.dylib 0x9bb014bc JVM_StartThread + 2304
15 libjvm.dylib 0x9bb0144c JVM_StartThread + 2192
16 libjvm.dylib 0x9bb01314 JVM_StartThread + 1880
17 libjvm.dylib 0x9ba9088c JNI_CreateJavaVM_Impl
+ 43984
18 libSystem.B.dylib 0x9002b508 _pthread_body + 96

Thread 11:
0 libSystem.B.dylib 0x9000ab48 mach_msg_trap + 8
1 libSystem.B.dylib 0x9000aa9c mach_msg + 60
2 libjvm.dylib 0x9baf3008 jio_snprintf + 377172
3 libjvm.dylib 0x9baf2e50 jio_snprintf + 376732
4 libjvm.dylib 0x9bc243f8 JVM_OnExit + 271460
5 libjvm.dylib 0x9bb01314 JVM_StartThread + 1880
6 libjvm.dylib 0x9ba9088c JNI_CreateJavaVM_Impl
+ 43984
7 libSystem.B.dylib 0x9002b508 _pthread_body + 96

Thread 12:
0 libSystem.B.dylib 0x9002bcb8 semaphore_wait_trap + 8
1 libjvm.dylib 0x9bb16ea0 JVM_RegisterSignal +
10160
2 libjvm.dylib 0x9bb16bb4 JVM_RegisterSignal + 9412
3 libjvm.dylib 0x9bb01314 JVM_StartThread + 1880
4 libjvm.dylib 0x9ba9088c JNI_CreateJavaVM_Impl
+ 43984
5 libSystem.B.dylib 0x9002b508 _pthread_body + 96

Thread 13:
0 libSystem.B.dylib 0x9000ab48 mach_msg_trap + 8
1 libSystem.B.dylib 0x9000aa9c mach_msg + 60
2 libjvm.dylib 0x9baf3008 jio_snprintf + 377172
3 libjvm.dylib 0x9baf2e50 jio_snprintf + 376732
4 libjvm.dylib 0x9bb181e4 JVM_RegisterSignal +
15092
5 libjvm.dylib 0x9bb17f24 JVM_RegisterSignal +
14388
6 libjvm.dylib 0x9bb01314 JVM_StartThread + 1880
7 libjvm.dylib 0x9ba9088c JNI_CreateJavaVM_Impl
+ 43984
8 libSystem.B.dylib 0x9002b508 _pthread_body + 96

Thread 14:
0 libSystem.B.dylib 0x9000ab48 mach_msg_trap + 8
1 libSystem.B.dylib 0x9000aa9c mach_msg + 60
2 libjvm.dylib 0x9baf3008 jio_snprintf + 377172
3 libjvm.dylib 0x9baf2db4 jio_snprintf + 376576
4 libjvm.dylib 0x9bb187fc JVM_RegisterSignal +
16652
5 libjvm.dylib 0x9bb01314 JVM_StartThread + 1880
6 libjvm.dylib 0x9ba9088c JNI_CreateJavaVM_Impl
+ 43984
7 libSystem.B.dylib 0x9002b508 _pthread_body + 96

Thread 15:
0 libSystem.B.dylib 0x9000ab48 mach_msg_trap + 8
1 libSystem.B.dylib 0x9000aa9c mach_msg + 60
2 libjvm.dylib 0x9baf3120 jio_snprintf + 377452
3 libjvm.dylib 0x9bb2a630 JVM_RegisterSignal +
89920
4 libjvm.dylib 0x9bb2a2a0 JVM_RegisterSignal +
89008
5 libjvm.dylib 0x9ba9088c JNI_CreateJavaVM_Impl
+ 43984
6 libSystem.B.dylib 0x9002b508 _pthread_body + 96

Thread 16:
0 libSystem.B.dylib 0x9000ab48 mach_msg_trap + 8
1 libSystem.B.dylib 0x9000aa9c mach_msg + 60
2 libjvm.dylib 0x9baf3008 jio_snprintf + 377172
3 libjvm.dylib 0x9bb022e8 JVM_MonitorWait + 2936
4 libjvm.dylib 0x9bb01cac JVM_MonitorWait + 1340
5 libjvm.dylib 0x9bb01a20 JVM_MonitorWait + 688
6 < <00000000>> 0x0a441264 0 + 172233316
7 < <00000000>> 0x0a43aab0 0 + 172206768
8 < <00000000>> 0x0a43aab0 0 + 172206768
9 < <00000000>> 0x0a43ae10 0 + 172207632
10 < <00000000>> 0x0a438164 0 + 172196196
11 libjvm.dylib 0x9baf43c8 jio_snprintf + 382228
12 libjvm.dylib 0x9baf4214 jio_snprintf + 381792
13 libjvm.dylib 0x9bb015c8 JVM_StartThread + 2572
14 libjvm.dylib 0x9bb014bc JVM_StartThread + 2304
15 libjvm.dylib 0x9bb0144c JVM_StartThread + 2192
16 libjvm.dylib 0x9bb01314 JVM_StartThread + 1880
17 libjvm.dylib 0x9ba9088c JNI_CreateJavaVM_Impl
+ 43984
18 libSystem.B.dylib 0x9002b508 _pthread_body + 96

Thread 0 crashed with PPC Thread State 64:
srr0: 0x0000000022136c70 srr1:
0x000000000200f030 vrsave: 0×0000000000000000
cr: 0×24028444 xer: 0×0000000020000004 lr:
0×0000000022127280 ctr: 0x00000000220bb2f0
r0: 0x00000000220c700c r1: 0x00000000bfffaa40 r2:
0x0000000021e26000 r3: 0×0000000000000000
r4: 0x0000000021e2d67c r5: 0×0000000000000072 r6:
0×0000000000000000 r7: 0×0000000000000006
r8: 0×0000000000000000 r9: 0×0000000001905390 r10:
0×0000000001905448 r11: 0x0000000021da6b6c
r12: 0×0000000000000000 r13: 0×0000000000000002 r14:
0×0000000000000000 r15: 0x00000000a32022b8
r16: 0x000000000111f130 r17: 0x00000000bffff730 r18:
0×0000000065707063 r19: 0×0000000000000000
r20: 0×0000000001907348 r21: 0x00000000019052f0 r22:
0×0000000001905390 r23: 0x00000000bfffab4c
r24: 0×0000000000000000 r25: 0×0000000000000000 r26:
0×0000000005109318 r27: 0x0000000005e68860
r28: 0x00000000bfffab48 r29: 0×0000000000000080 r30:
0x000000000409a222 r31: 0×0000000000000000


Viewing 1 post (of 1 total)