Forums > Java

Crashing after a while…


mji
August 6, 2007 | 9:51 pm

I’ve written a Java plugin that usually works great, but appears to crash Max after running for some number of hours. The error report, which I’ve pasted into the bottom of this message, doesn’t contain anything that means much to me, but does mention mxj as being called from the crashed thread. Has anyone come across a similar problem or does anyone have any advice regarding how I might go about debugging this plugin?
Thanks in advance,
Michael

—————————————————————-
ERROR REPORT:

Date/Time: 2007-08-04 11:21:04.237 -0700
OS Version: 10.4.10 (Build 8R218)
Report Version: 4

Command: MaxMSP
Path: /Applications/MaxMSP 4.6/MaxMSP.app/Contents/MacOS/MaxMSP
Parent: WindowServer [97]

Version: ??? (4.6.3)

PID: 624
Thread: 0

Exception: EXC_BAD_ACCESS (0×0001)
Codes: KERN_PROTECTION_FAILURE (0×0002) at 0×00000000

Thread 0 Crashed:
0 com.cycling74.mxj 0x162ca4fc checkException + 20
1 com.cycling74.mxj 0x162d0d94 max_clock_tick + 100
2 com.cycling74.MaxMSP46 0x0001a628 clock_execute + 156 (clock.c:173)
3 com.cycling74.MaxMSP46 0×00080688 sched_takepoll + 820 (sched.c:596)
4 com.cycling74.MaxMSP46 0x000807a4 sched_poll + 84 (sched.c:515)
5 com.cycling74.MaxMSP46 0×00038174 max_doeventtimerproc + 176 (main.c:683)
6 com.cycling74.MaxMSP46 0×00038268 max_eventtimerproc + 52 (main.c:724)
7 com.apple.CoreFoundation 0x907f1578 __CFRunLoopDoTimer + 184
8 com.apple.CoreFoundation 0x907ddef8 __CFRunLoopRun + 1680
9 com.apple.CoreFoundation 0x907dd4ac CFRunLoopRunSpecific + 268
10 com.apple.HIToolbox 0x93298b20 RunCurrentEventLoopInMode + 264
11 com.apple.HIToolbox 0x932981b4 ReceiveNextEventCommon + 380
12 com.apple.HIToolbox 0x932dd348 AcquireNextEventInMode + 72
13 com.apple.HIToolbox 0x932dd138 RunApplicationEventLoop + 132
14 com.cycling74.MaxMSP46 0x000393d0 app_run + 96 (main.c:1519)
15 com.cycling74.MaxMSP46 0x000396a4 main + 704 (main.c:416)
16 com.cycling74.MaxMSP46 0x00002f44 _start + 760
17 com.cycling74.MaxMSP46 0x00002c48 start + 48

Thread 1:
0 libSystem.B.dylib 0×90054388 semaphore_timedwait_signal_trap + 8
1 libSystem.B.dylib 0x90070be8 pthread_cond_timedwait_relative_np + 556
2 …ple.CoreServices.CarbonCore 0x90bf8410 TSWaitOnSemaphoreCommon + 176
3 …ple.CoreServices.CarbonCore 0x90c003ac TimerThread + 60
4 libSystem.B.dylib 0x9002bd08 _pthread_body + 96

Thread 2:
0 libSystem.B.dylib 0x9000b348 mach_msg_trap + 8
1 libSystem.B.dylib 0x9000b29c mach_msg + 60
2 com.apple.audio.midi.CoreMIDI 0x96d7fac8 XServerMachPort::ReceiveMessage(int&, void*, int&) + 84
3 com.apple.audio.midi.CoreMIDI 0x96d72c80 MIDIInPortThread::Run() + 64
4 com.apple.audio.midi.CoreMIDI 0x96d76f44 XThread::RunHelper(void*) + 28
5 com.apple.audio.midi.CoreMIDI 0x96d8087c CAPThread::Entry(CAPThread*) + 96
6 libSystem.B.dylib 0x9002bd08 _pthread_body + 96

Thread 3:
0 libSystem.B.dylib 0x9000b348 mach_msg_trap + 8
1 libSystem.B.dylib 0x9000b29c mach_msg + 60
2 com.apple.CoreFoundation 0x907ddba8 __CFRunLoopRun + 832
3 com.apple.CoreFoundation 0x907dd4ac CFRunLoopRunSpecific + 268
4 com.apple.audio.CoreAudio 0x9145863c HALRunLoop::OwnThread(void*) + 264
5 com.apple.audio.CoreAudio 0x914583dc CAPThread::Entry(CAPThread*) + 96
6 libSystem.B.dylib 0x9002bd08 _pthread_body + 96

Thread 4:
0 libSystem.B.dylib 0x9000b348 mach_msg_trap + 8
1 libSystem.B.dylib 0x9000b29c mach_msg + 60
2 libjvm.dylib 0x9c3ff11c JNI_CreateJavaVM_Impl + 49212
3 libjvm.dylib 0x9c3ff0b4 JNI_CreateJavaVM_Impl + 49108
4 libjvm.dylib 0x9c3fefac JNI_CreateJavaVM_Impl + 48844
5 libSystem.B.dylib 0x9002bd08 _pthread_body + 96

Thread 5:
0 libSystem.B.dylib 0x9000b348 mach_msg_trap + 8
1 libSystem.B.dylib 0x9000b29c mach_msg + 60
2 libjvm.dylib 0x9c4656f0 jio_snprintf + 392592
3 libjvm.dylib 0x9c465434 jio_snprintf + 391892
4 libjvm.dylib 0x9c714db8 JVM_RaiseSignal + 785752
5 libjvm.dylib 0x9c3fefac JNI_CreateJavaVM_Impl + 48844
6 libSystem.B.dylib 0x9002bd08 _pthread_body + 96

Thread 6:
0 libSystem.B.dylib 0x9000b348 mach_msg_trap + 8
1 libSystem.B.dylib 0x9000b29c mach_msg + 60
2 libjvm.dylib 0x9c4656f0 jio_snprintf + 392592
3 libjvm.dylib 0x9c465434 jio_snprintf + 391892
4 libjvm.dylib 0x9c714db8 JVM_RaiseSignal + 785752
5 libjvm.dylib 0x9c3fefac JNI_CreateJavaVM_Impl + 48844
6 libSystem.B.dylib 0x9002bd08 _pthread_body + 96

Thread 7:
0 libSystem.B.dylib 0x9000b348 mach_msg_trap + 8
1 libSystem.B.dylib 0x9000b29c mach_msg + 60
2 libjvm.dylib 0x9c465830 jio_snprintf + 392912
3 libjvm.dylib 0x9c465434 jio_snprintf + 391892
4 libjvm.dylib 0x9c5d09a0 JVM_OnExit + 375200
5 libjvm.dylib 0x9c3fefac JNI_CreateJavaVM_Impl + 48844
6 libSystem.B.dylib 0x9002bd08 _pthread_body + 96

Thread 8:
0 libSystem.B.dylib 0x9000b348 mach_msg_trap + 8
1 libSystem.B.dylib 0x9000b29c mach_msg + 60
2 libjvm.dylib 0x9c465830 jio_snprintf + 392912
3 libjvm.dylib 0x9c465434 jio_snprintf + 391892
4 libjvm.dylib 0x9c465bfc jio_snprintf + 393884
5 libjvm.dylib 0x9c465278 jio_snprintf + 391448
6 libjvm.dylib 0x9c3fefac JNI_CreateJavaVM_Impl + 48844
7 libSystem.B.dylib 0x9002bd08 _pthread_body + 96

Thread 9:
0 libSystem.B.dylib 0x9000b348 mach_msg_trap + 8
1 libSystem.B.dylib 0x9000b29c mach_msg + 60
2 libjvm.dylib 0x9c4656f0 jio_snprintf + 392592
3 libjvm.dylib 0x9c475304 JVM_MonitorWait + 3028
4 libjvm.dylib 0x9c4749cc JVM_MonitorWait + 668
5 < <00000000>> 0x195862c4 0 + 425222852
6 < <00000000>> 0x1957fab0 0 + 425196208
7 < <00000000>> 0x1957fab0 0 + 425196208
8 < <00000000>> 0x1957d164 0 + 425185636
9 libjvm.dylib 0x9c466fc8 jio_snprintf + 398952
10 libjvm.dylib 0x9c474564 JVM_StartThread + 2612
11 libjvm.dylib 0x9c474450 JVM_StartThread + 2336
12 libjvm.dylib 0x9c4743e0 JVM_StartThread + 2224
13 libjvm.dylib 0x9c47429c JVM_StartThread + 1900
14 libjvm.dylib 0x9c3fefac JNI_CreateJavaVM_Impl + 48844
15 libSystem.B.dylib 0x9002bd08 _pthread_body + 96

Thread 10:
0 libSystem.B.dylib 0x9000b348 mach_msg_trap + 8
1 libSystem.B.dylib 0x9000b29c mach_msg + 60
2 libjvm.dylib 0x9c4656f0 jio_snprintf + 392592
3 libjvm.dylib 0x9c475304 JVM_MonitorWait + 3028
4 libjvm.dylib 0x9c4749cc JVM_MonitorWait + 668
5 < <00000000>> 0x195862c4 0 + 425222852
6 < <00000000>> 0x1957fab0 0 + 425196208
7 < <00000000>> 0x1957f9c0 0 + 425195968
8 < <00000000>> 0x1957f9c0 0 + 425195968
9 < <00000000>> 0x1957d164 0 + 425185636
10 libjvm.dylib 0x9c466fc8 jio_snprintf + 398952
11 libjvm.dylib 0x9c474564 JVM_StartThread + 2612
12 libjvm.dylib 0x9c474450 JVM_StartThread + 2336
13 libjvm.dylib 0x9c4743e0 JVM_StartThread + 2224
14 libjvm.dylib 0x9c47429c JVM_StartThread + 1900
15 libjvm.dylib 0x9c3fefac JNI_CreateJavaVM_Impl + 48844
16 libSystem.B.dylib 0x9002bd08 _pthread_body + 96

Thread 11:
0 libSystem.B.dylib 0x9000b348 mach_msg_trap + 8
1 libSystem.B.dylib 0x9000b29c mach_msg + 60
2 libjvm.dylib 0x9c4656f0 jio_snprintf + 392592
3 libjvm.dylib 0x9c465514 jio_snprintf + 392116
4 libjvm.dylib 0x9c5cf7f8 JVM_OnExit + 370680
5 libjvm.dylib 0x9c47429c JVM_StartThread + 1900
6 libjvm.dylib 0x9c3fefac JNI_CreateJavaVM_Impl + 48844
7 libSystem.B.dylib 0x9002bd08 _pthread_body + 96

Thread 12:
0 libSystem.B.dylib 0x9002c4b8 semaphore_wait_trap + 8
1 libjvm.dylib 0x9c489d58 JVM_RegisterSignal + 10024
2 libjvm.dylib 0x9c489a84 JVM_RegisterSignal + 9300
3 libjvm.dylib 0x9c47429c JVM_StartThread + 1900
4 libjvm.dylib 0x9c3fefac JNI_CreateJavaVM_Impl + 48844
5 libSystem.B.dylib 0x9002bd08 _pthread_body + 96

Thread 13:
0 libSystem.B.dylib 0x9000b348 mach_msg_trap + 8
1 libSystem.B.dylib 0x9000b29c mach_msg + 60
2 libjvm.dylib 0x9c4656f0 jio_snprintf + 392592
3 libjvm.dylib 0x9c465514 jio_snprintf + 392116
4 libjvm.dylib 0x9c48af50 JVM_RegisterSignal + 14624
5 libjvm.dylib 0x9c48ac08 JVM_RegisterSignal + 13784
6 libjvm.dylib 0x9c47429c JVM_StartThread + 1900
7 libjvm.dylib 0x9c3fefac JNI_CreateJavaVM_Impl + 48844
8 libSystem.B.dylib 0x9002bd08 _pthread_body + 96

Thread 14:
0 libSystem.B.dylib 0x9000b348 mach_msg_trap + 8
1 libSystem.B.dylib 0x9000b29c mach_msg + 60
2 libjvm.dylib 0x9c4656f0 jio_snprintf + 392592
3 libjvm.dylib 0x9c465434 jio_snprintf + 391892
4 libjvm.dylib 0x9c48b5d4 JVM_RegisterSignal + 16292
5 libjvm.dylib 0x9c47429c JVM_StartThread + 1900
6 libjvm.dylib 0x9c3fefac JNI_CreateJavaVM_Impl + 48844
7 libSystem.B.dylib 0x9002bd08 _pthread_body + 96

Thread 15:
0 libSystem.B.dylib 0x9000b348 mach_msg_trap + 8
1 libSystem.B.dylib 0x9000b29c mach_msg + 60
2 libjvm.dylib 0x9c465830 jio_snprintf + 392912
3 libjvm.dylib 0x9c4a0a14 JVM_RegisterSignal + 103396
4 libjvm.dylib 0x9c4a0638 JVM_RegisterSignal + 102408
5 libjvm.dylib 0x9c3fefac JNI_CreateJavaVM_Impl + 48844
6 libSystem.B.dylib 0x9002bd08 _pthread_body + 96

Thread 16:
0 libSystem.B.dylib 0x9000b348 mach_msg_trap + 8
1 libSystem.B.dylib 0x9000b29c mach_msg + 60
2 libjvm.dylib 0x9c4656f0 jio_snprintf + 392592
3 libjvm.dylib 0x9c475304 JVM_MonitorWait + 3028
4 libjvm.dylib 0x9c4749cc JVM_MonitorWait + 668
5 < <00000000>> 0x1963a160 0 + 425959776
6 < <00000000>> 0x1963ab70 0 + 425962352
7 < <00000000>> 0x1963b900 0 + 425965824
8 < <00000000>> 0x1957fe10 0 + 425197072
9 < <00000000>> 0x1957d164 0 + 425185636
10 libjvm.dylib 0x9c466fc8 jio_snprintf + 398952
11 libjvm.dylib 0x9c474564 JVM_StartThread + 2612
12 libjvm.dylib 0x9c474450 JVM_StartThread + 2336
13 libjvm.dylib 0x9c4743e0 JVM_StartThread + 2224
14 libjvm.dylib 0x9c47429c JVM_StartThread + 1900
15 libjvm.dylib 0x9c3fefac JNI_CreateJavaVM_Impl + 48844
16 libSystem.B.dylib 0x9002bd08 _pthread_body + 96

Thread 17:
0 libSystem.B.dylib 0x9002f08c kevent + 12
1 com.apple.DesktopServices 0x92af4eb0 TFSNotificationTask::FSNotificationTaskProc(void*) + 56
2 …ple.CoreServices.CarbonCore 0x90bc57b0 PrivateMPEntryPoint + 76
3 libSystem.B.dylib 0x9002bd08 _pthread_body + 96

Thread 18:
0 libSystem.B.dylib 0x9002c3c8 semaphore_wait_signal_trap + 8
1 libSystem.B.dylib 0x90030eac pthread_cond_wait + 480
2 …ple.CoreServices.CarbonCore 0x90bc59a0 MPWaitOnQueue + 224
3 com.apple.DesktopServices 0x92af552c TNodeSyncTask::SyncTaskProc(void*) + 116
4 …ple.CoreServices.CarbonCore 0x90bc57b0 PrivateMPEntryPoint + 76
5 libSystem.B.dylib 0x9002bd08 _pthread_body + 96

Thread 19:
0 libSystem.B.dylib 0×90054388 semaphore_timedwait_signal_trap + 8
1 libSystem.B.dylib 0x90070be8 pthread_cond_timedwait_relative_np + 556
2 …ple.CoreServices.CarbonCore 0x90bf8410 TSWaitOnSemaphoreCommon + 176
3 …ickTimeComponents.component 0x98e0d174 ReadSchedulerThreadEntryPoint + 5316
4 libSystem.B.dylib 0x9002bd08 _pthread_body + 96

Thread 20:
0 libSystem.B.dylib 0x900411f8 mach_wait_until + 8
1 libSystem.B.dylib 0x90040fc4 nanosleep + 388
2 libSystem.B.dylib 0×90044798 usleep + 88
3 com.cycling74.MaxMSP46 0x0014d7b4 systhread_sleep + 96 (systhread.c:357)
4 com.cycling74.MaxMSP46 0×00159144 asyncfile_threadproc() + 60 (asyncfile.c:99)
5 com.cycling74.MaxMSP46 0x0014d838 systhread_threadproc(void*) + 76 (systhread.c:212)
6 libSystem.B.dylib 0x9002bd08 _pthread_body + 96

Thread 21:
0 libSystem.B.dylib 0x90023c60 recvfrom + 12
1 libnet.jnilib 0x9c8ce81c Java_java_net_PlainDatagramSocketImpl_receive0 + 656
2 < <00000000>> 0x196471b8 0 + 426013112
3 < <00000000>> 0x19646d94 0 + 426012052
4 < <00000000>> 0x19644c80 0 + 426003584
5 < <00000000>> 0x196482e8 0 + 426017512
6 < <00000000>> 0x1957d164 0 + 425185636
7 libjvm.dylib 0x9c466fc8 jio_snprintf + 398952
8 libjvm.dylib 0x9c474564 JVM_StartThread + 2612
9 libjvm.dylib 0x9c474450 JVM_StartThread + 2336
10 libjvm.dylib 0x9c4743e0 JVM_StartThread + 2224
11 libjvm.dylib 0x9c47429c JVM_StartThread + 1900
12 libjvm.dylib 0x9c3fefac JNI_CreateJavaVM_Impl + 48844
13 libSystem.B.dylib 0x9002bd08 _pthread_body + 96

Thread 0 crashed with PPC Thread State 64:
srr0: 0x00000000162ca4fc srr1: 0x100000000000f030 vrsave: 0×0000000000000000
cr: 0×44028442 xer: 0×0000000000000000 lr: 0x000000000001a628 ctr: 0x000000001958cf68
r0: 0x000000000001a628 r1: 0x00000000bffff240 r2: 0x00000000ac3f67f8 r3: 0×0000000000000000
r4: 0x0000000016b01590 r5: 0x00000000000003e8 r6: 0xffffffffffffffff r7: 0×0000000000000006
r8: 0×0000000000000000 r9: 0x00000000ac3f6620 r10: 0x00000000bfffeff0 r11: 0×0000000044028442
r12: 0x00000000bffff1e0 r13: 0×0000000000000000 r14: 0×0000000000000001 r15: 0×0000000000000000
r16: 0×0000000000000000 r17: 0×0000000000000000 r18: 0×0000000000000000 r19: 0×0000000000000000
r20: 0x000000007fffffff r21: 0x00000000ffffffff r22: 0x0000000000c03b28 r23: 0x0000000000c03b20
r24: 0x0000000000c03a10 r25: 0x0000000000c03b28 r26: 0×0000000000000001 r27: 0×0000000000000791
r28: 0x000000000a8b8910 r29: 0x0000000000c8c5b8 r30: 0×0000000000000000 r31: 0x00000000907f14c8

Binary Images Description:
0×1000 – 0x2c9fff com.cycling74.MaxMSP46 ??? (4.6.3) /Applications/MaxMSP 4.6/MaxMSP.app/Contents/MacOS/MaxMSP
0xc9e8a0 – 0xc9e952 CFMPriv_CoreFoundation PEF binary: CFMPriv_CoreFoundation
0xc9ef20 – 0xc9ef97 CFMPriv_System PEF binary: CFMPriv_System
0xc9f240 – 0xc9f310 CFMPriv_CarbonSound PEF binary: CFMPriv_CarbonSound
0xc9f390 – 0xc9f463 CFMPriv_CommonPanels PEF binary: CFMPriv_CommonPanels
0xc9f540 – 0xc9f5fb CFMPriv_Help PEF binary: CFMPriv_Help
0xc9f600 – 0xc9f6ca CFMPriv_HIToolbox PEF binary: CFMPriv_HIToolbox
0xc9f750 – 0xc9f826 CFMPriv_HTMLRendering PEF binary: CFMPriv_HTMLRendering
0xc9f8a0 – 0xc9f973 CFMPriv_ImageCapture PEF binary: CFMPriv_ImageCapture
0xc9fa00 – 0xc9fae5 CFMPriv_NavigationServices PEF binary: CFMPriv_NavigationServices
0xc9fb60 – 0xc9fc36 CFMPriv_OpenScriptingMacBLib PEF binary: CFMPriv_OpenScriptingMacBLib
0xc9fd10 – 0xc9fdce CFMPriv_Print PEF binary: CFMPriv_Print
0xc9fdf0 – 0xc9febd CFMPriv_SecurityHI PEF binary: CFMPriv_SecurityHI
0xc9ff40 – 0xca0022 CFMPriv_SpeechRecognition PEF binary: CFMPriv_SpeechRecognition
0xca00a0 – 0xca0173 CFMPriv_CarbonCore PEF binary: CFMPriv_CarbonCore
0xca01f0 – 0xca02c3 CFMPriv_OSServices PEF binary: CFMPriv_OSServices
0xca03a0 – 0xca0462 CFMPriv_AE PEF binary: CFMPriv_AE
0xca0470 – 0xca0535 CFMPriv_ATS PEF binary: CFMPriv_ATS
0xca05b0 – 0xca0687 CFMPriv_ColorSync PEF binary: CFMPriv_ColorSync
0xca0710 – 0xca07f3 CFMPriv_FindByContent PEF binary: CFMPriv_FindByContent
0xca0870 – 0xca094a CFMPriv_HIServices PEF binary: CFMPriv_HIServices
0xca09c0 – 0xca0aa0 CFMPriv_LangAnalysis PEF binary: CFMPriv_LangAnalysis
0xca0b30 – 0xca0c16 CFMPriv_LaunchServices PEF binary: CFMPriv_LaunchServices
0xca0cf0 – 0xca0dc7 CFMPriv_PrintCore PEF binary: CFMPriv_PrintCore
0xca0dd0 – 0xca0e92 CFMPriv_QD PEF binary: CFMPriv_QD
0xca0f90 – 0xca1079 CFMPriv_SpeechSynthesis PEF binary: CFMPriv_SpeechSynthesis
0xfd5000 – 0xfe4fff com.apple.iokit.IOUSBLib 2.8.1 /System/Library/Extensions/IOUSBFamily.kext/Contents/PlugIns/IOUSBLib.bundle/Contents/MacOS/IOUSBLib
0×1808000 – 0x1828fff com.cycling74.MaxAPI 1.0 /Applications/MaxMSP 4.6/MaxMSP.app/Contents/Frameworks/MaxAPI.framework/MaxAPI
0x199f000 – 0x19a0fff com.cycling74.augraph ??? (1.0) /Applications/MaxMSP 4.6/Cycling ’74/mididrivers/augraph.mxo/Contents/MacOS/augraph
0x1ccc000 – 0x1ccefff com.cycling74.coremidi ??? (1.0) /Applications/MaxMSP 4.6/Cycling ’74/mididrivers/coremidi.mxo/Contents/MacOS/coremidi
0x1cda000 – 0x1cdbfff com.cycling74.midi_adrewire ??? (1.0) /Applications/MaxMSP 4.6/Cycling ’74/mididrivers/midi_adrewire.mxo/Contents/MacOS/midi_adrewire
0x1cde000 – 0x1ce9fff com.cycling74.MaxAudioAPI ??? (1.0) /Applications/MaxMSP 4.6/MaxMSP.app/Contents/Frameworks/MaxAudioAPI.framework/Versions/A/MaxAudioAPI
0x1d24000 – 0x1d27fff com.cycling74.dial ??? (1.0) /Applications/MaxMSP 4.6/Cycling ’74/max-startup/dial.mxo/Contents/MacOS/dial
0x1d2b000 – 0x1d2cfff com.cycling74.emovie ??? (1.0) /Applications/MaxMSP 4.6/Cycling ’74/max-startup/emovie.mxo/Contents/MacOS/emovie
0x1ff2000 – 0x1ff4fff com.cycling74.dropfile ??? (1.0) /Applications/MaxMSP 4.6/Cycling ’74/max-startup/dropfile.mxo/Contents/MacOS/dropfile
0x1ff8000 – 0x1ffafff com.cycling74.edetonate ??? (1.0) /Applications/MaxMSP 4.6/Cycling ’74/max-startup/edetonate.mxo/Contents/MacOS/edetonate
0x1ffd000 – 0x1ffdfff com.cycling74.times~ ??? (1.0) /Applications/MaxMSP 4.6/Cycling ’74/externals/times~.mxo/Contents/MacOS/times~
0x208c000 – 0x208e007 ezadc~ PEF binary: ezadc~
0x209f600 – 0x20a1580 ezdac~ PEF binary: ezdac~
0×2189000 – 0x218aa09 biquad~ PEF binary: biquad~
0x218ac00 – 0x218c895 cycle~ PEF binary: cycle~
0x218f200 – 0x2190f4b adc~ PEF binary: adc~
0×2191000 – 0×2192226 delay~ PEF binary: delay~
0x2193e00 – 0×2195987 dac~ PEF binary: dac~
0x15f69000 – 0x15f6cfff com.cycling74.efunc ??? (1.0) /Applications/MaxMSP 4.6/Cycling ’74/max-startup/efunc.mxo/Contents/MacOS/efunc
0x15f79000 – 0x15f7efff com.cycling74.envi ??? (1.0) /Applications/MaxMSP 4.6/Cycling ’74/max-startup/envi.mxo/Contents/MacOS/envi
0x15f82000 – 0x15f84fff com.cycling74.etable ??? (1.0) /Applications/MaxMSP 4.6/Cycling ’74/max-startup/etable.mxo/Contents/MacOS/etable
0x15f8f000 – 0x15ff0f19 MaxPPC3.1 PEF binary: MaxPPC3.1
0x15ff1000 – 0x15ffb839 MaxAudioLib PEF binary: MaxAudioLib
0x15ffc000 – 0x1604b3c7 CarbonLibpwpc PEF binary: CarbonLibpwpc
0×16077000 – 0x1607efff com.cycling74.ad_coreaudio ??? (1.0) /Applications/MaxMSP 4.6/Cycling ’74/ad/ad_coreaudio.mxo/Contents/MacOS/ad_coreaudio
0x1612b000 – 0x1612cfff com.apple.aoa.halplugin 2.5.6 (2.5.6b5) /System/Library/Extensions/IOAudioFamily.kext/Contents/PlugIns/AOAHALPlugin.bundle/Contents/MacOS/AOAHALPlugin
0x1612f000 – 0x16131fff com.cycling74.ad_nonreal ??? (1.0) /Applications/MaxMSP 4.6/Cycling ’74/ad/ad_nonreal.mxo/Contents/MacOS/ad_nonreal
0×16134000 – 0x1613efff com.cycling74.ad_rewire ??? (1.0) /Applications/MaxMSP 4.6/Cycling ’74/ad/ad_rewire.mxo/Contents/MacOS/ad_rewire
0x1615b000 – 0x16166fff com.cycling74.filtergraph~ ??? (1.0) /Applications/MaxMSP 4.6/Cycling ’74/max-startup/filtergraph~.mxo/Contents/MacOS/filtergraph~
0x1616b000 – 0x1616ffff com.cycling74.fpic ??? (1.0) /Applications/MaxMSP 4.6/Cycling ’74/max-startup/fpic.mxo/Contents/MacOS/fpic
0×16173000 – 0x16178fff com.cycling74.function ??? (1.0) /Applications/MaxMSP 4.6/Cycling ’74/max-startup/function.mxo/Contents/MacOS/function
0x1617c000 – 0x1617dfff com.cycling74.gswitch ??? (1.0) /Applications/MaxMSP 4.6/Cycling ’74/max-startup/gswitch.mxo/Contents/MacOS/gswitch
0×16181000 – 0x161850ed gain~ PEF binary: gain~
0×16186000 – 0x16187fff com.cycling74.gswitch2 ??? (1.0) /Applications/MaxMSP 4.6/Cycling ’74/max-startup/gswitch2.mxo/Contents/MacOS/gswitch2
0x1618a000 – 0x1618cfff com.cycling74.hint ??? (1.0) /Applications/MaxMSP 4.6/Cycling ’74/max-startup/hint.mxo/Contents/MacOS/hint
0×16190000 – 0x16193fff com.cycling74.hslider ??? (1.0) /Applications/MaxMSP 4.6/Cycling ’74/max-startup/hslider.mxo/Contents/MacOS/hslider
0×16197000 – 0x1619bfff com.cycling74.imovie ??? (1.0) /Applications/MaxMSP 4.6/Cycling ’74/max-startup/imovie.mxo/Contents/MacOS/imovie
0x1619f000 – 0x161a0fff com.cycling74.incdec ??? (1.0) /Applications/MaxMSP 4.6/Cycling ’74/max-startup/incdec.mxo/Contents/MacOS/incdec
0x161a3000 – 0x161b7fff com.cycling74.jit.cellblock ??? (1.0) /Applications/MaxMSP 4.6/Cycling ’74/max-startup/jit.cellblock.mxo/Contents/MacOS/jit.cellblock
0×16241000 – 0x162aafff com.apple.AppleIntermediateCodec 1.0.1 (124) /Library/QuickTime/AppleIntermediateCodec.component/Contents/MacOS/AppleIntermediateCodec
0x162bf000 – 0x162d6fff com.cycling74.mxj ??? (1.0) /Applications/MaxMSP 4.6/Cycling ’74/externals/mxj.mxo/Contents/MacOS/mxj
0×16405000 – 0x1655bfff com.cycling74.JitterAPI 1.6.3 /Applications/MaxMSP 4.6/MaxMSP.app/Contents/Frameworks/JitterAPI.framework/JitterAPI
0×16633000 – 0x16934fff com.nvidia.cg 1.4.0b3 (???) /Applications/MaxMSP 4.6/Cycling ’74/jitter-externals/Cg.framework/Cg
0x1698e000 – 0x16a07fff com.apple.applepixletvideo 1.2.5 (1.2d5) /System/Library/QuickTime/ApplePixletVideo.component/Contents/MacOS/ApplePixletVideo
0x177fc000 – 0x177fdfff com.cycling74.jsfolder ??? (1.0) /Applications/MaxMSP 4.6/Cycling ’74/jsextensions/jsfolder.mxo/Contents/MacOS/jsfolder
0x305cb000 – 0x305cbfff com.cycling74.prepend ??? (1.0) /Applications/MaxMSP 4.6/Cycling ’74/externals/prepend.mxo/Contents/MacOS/prepend
0x315ec000 – 0x315effff com.cycling74.jit.fpsgui ??? (1.0) /Applications/MaxMSP 4.6/Cycling ’74/max-startup/jit.fpsgui.mxo/Contents/MacOS/jit.fpsgui
0x315f3000 – 0x315f8fff com.cycling74.jit.pwindow ??? (1.0) /Applications/MaxMSP 4.6/Cycling ’74/max-startup/jit.pwindow.mxo/Contents/MacOS/jit.pwindow
0x315fc000 – 0x3160dfff com.cycling74.jsui ??? (1.0) /Applications/MaxMSP 4.6/Cycling ’74/max-startup/jsui.mxo/Contents/MacOS/jsui
0×31616000 – 0x3161bfff com.cycling74.jsjitter ??? (1.0) /Applications/MaxMSP 4.6/Cycling ’74/jsextensions/jsjitter.mxo/Contents/MacOS/jsjitter
0×31629000 – 0x3162afff com.cycling74.jstrigger ??? (1.0) /Applications/MaxMSP 4.6/Cycling ’74/jsextensions/jstrigger.mxo/Contents/MacOS/jstrigger
0×31635000 – 0x31698fff com.cycling74.MaxJSRef ??? (1.0) /Applications/MaxMSP 4.6/MaxMSP.app/Contents/Frameworks/MaxJSRef.framework/Versions/A/MaxJSRef
0x316ad000 – 0x316b0fff com.cycling74.kslider ??? (1.0) /Applications/MaxMSP 4.6/Cycling ’74/max-startup/kslider.mxo/Contents/MacOS/kslider
0x316b4000 – 0x316befff com.cycling74.lcd ??? (1.0) /Applications/MaxMSP 4.6/Cycling ’74/max-startup/lcd.mxo/Contents/MacOS/lcd
0x316c4000 – 0x316c7fff com.cycling74.levelmeter~ ??? (1.0) /Applications/MaxMSP 4.6/Cycling ’74/max-startup/levelmeter~.mxo/Contents/MacOS/levelmeter~
0x316ca000 – 0x316cbfff com.cycling74.led ??? (1.0) /Applications/MaxMSP 4.6/Cycling ’74/max-startup/led.mxo/Contents/MacOS/led
0x316ce000 – 0x316d4fff com.cycling74.matrixctrl ??? (1.0) /Applications/MaxMSP 4.6/Cycling ’74/max-startup/matrixctrl.mxo/Contents/MacOS/matrixctrl
0x316d8000 – 0x316dafff com.cycling74.meter~ ??? (1.0) /Applications/MaxMSP 4.6/Cycling ’74/max-startup/meter~.mxo/Contents/MacOS/meter~
0x316dd000 – 0x316e3fff com.cycling74.multislider ??? (1.0) /Applications/MaxMSP 4.6/Cycling ’74/max-startup/multislider.mxo/Contents/MacOS/multislider
0x316e7000 – 0x316e9fff com.cycling74.nslider ??? (1.0) /Applications/MaxMSP 4.6/Cycling ’74/max-startup/nslider.mxo/Contents/MacOS/nslider
0×31854000 – 0x31858fff com.cycling74.number~ ??? (1.0) /Applications/MaxMSP 4.6/Cycling ’74/max-startup/number~.mxo/Contents/MacOS/number~
0x3185c000 – 0x3185dfff com.cycling74.panel ??? (1.0) /Applications/MaxMSP 4.6/Cycling ’74/max-startup/panel.mxo/Contents/MacOS/panel
0×31860000 – 0x31865fff com.cycling74.pictctrl ??? (1.0) /Applications/MaxMSP 4.6/Cycling ’74/max-startup/pictctrl.mxo/Contents/MacOS/pictctrl
0×31869000 – 0x3186dfff com.cycling74.pictslider ??? (1.0) /Applications/MaxMSP 4.6/Cycling ’74/max-startup/pictslider.mxo/Contents/MacOS/pictslider
0×31871000 – 0x31872fff com.cycling74.playbar ??? (1.0) /Applications/MaxMSP 4.6/Cycling ’74/max-startup/playbar.mxo/Contents/MacOS/playbar
0×31875000 – 0x31877fff com.cycling74.radiogroup ??? (1.0) /Applications/MaxMSP 4.6/Cycling ’74/max-startup/radiogroup.mxo/Contents/MacOS/radiogroup
0x3187a000 – 0x3187cfff com.cycling74.rslider ??? (1.0) /Applications/MaxMSP 4.6/Cycling ’74/max-startup/rslider.mxo/Contents/MacOS/rslider
0x3187f000 – 0x31881fff com.cycling74.scope~ ??? (1.0) /Applications/MaxMSP 4.6/Cycling ’74/max-startup/scope~.mxo/Contents/MacOS/scope~
0×31884000 – 0x3188afff com.cycling74.spectroscope~ ??? (1.0) /Applications/MaxMSP 4.6/Cycling ’74/max-startup/spectroscope~.mxo/Contents/MacOS/spectroscope~
0x3188e000 – 0x3188ffff com.cycling74.suckah ??? (1.0) /Applications/MaxMSP 4.6/Cycling ’74/max-startup/suckah.mxo/Contents/MacOS/suckah
0×31892000 – 0x31895fff com.cycling74.swatch ??? (1.0) /Applications/MaxMSP 4.6/Cycling ’74/max-startup/swatch.mxo/Contents/MacOS/swatch
0×31899000 – 0x3189afff com.cycling74.ubutton ??? (1.0) /Applications/MaxMSP 4.6/Cycling ’74/max-startup/ubutton.mxo/Contents/MacOS/ubutton
0x318a7000 – 0x318abfff com.cycling74.textedit ??? (1.0) /Applications/MaxMSP 4.6/Cycling ’74/max-startup/textedit.mxo/Contents/MacOS/textedit
0x318b3000 – 0x318b9fff com.cycling74.ubumenu ??? (1.0) /Applications/MaxMSP 4.6/Cycling ’74/max-startup/ubumenu.mxo/Contents/MacOS/ubumenu
0x318fe000 – 0x31903fff com.cycling74.umenu ??? (1.0) /Applications/MaxMSP 4.6/Cycling ’74/max-startup/umenu.mxo/Contents/MacOS/umenu
0×31907000 – 0x3190afff com.cycling74.uslider ??? (1.0) /Applications/MaxMSP 4.6/Cycling ’74/max-startup/uslider.mxo/Contents/MacOS/uslider
0x3190e000 – 0x31918fff com.cycling74.waveform~ ??? (1.0) /Applications/MaxMSP 4.6/Cycling ’74/max-startup/waveform~.mxo/Contents/MacOS/waveform~
0x3191c000 – 0x31920fff com.cycling74.zplane~ ??? (1.0) /Applications/MaxMSP 4.6/Cycling ’74/max-startup/zplane~.mxo/Contents/MacOS/zplane~
0x3192f000 – 0x31930fff com.cycling74.gate~ ??? (1.0) /Applications/MaxMSP 4.6/Cycling ’74/externals/gate~.mxo/Contents/MacOS/gate~
0×31933000 – 0x31934fff com.cycling74.pak ??? (1.0) /Applications/MaxMSP 4.6/Cycling ’74/externals/pak.mxo/Contents/MacOS/pak
0×31937000 – 0x31939fff com.apple.carbonbundletemplate 1.0 /Applications/MaxMSP 4.6/Cycling ’74/externals/JazzClient.mxo/Contents/MacOS/JazzClient
0x3193c000 – 0x3193cfff com.cycling74.loadmess ??? (1.0) /Applications/MaxMSP 4.6/Cycling ’74/externals/loadmess.mxo/Contents/MacOS/loadmess
0x3193f000 – 0x31940fff com.cycling74.scale ??? (1.0) /Applications/MaxMSP 4.6/Cycling ’74/externals/scale.mxo/Contents/MacOS/scale
0×31943000 – 0x31944fff com.cycling74.counter ??? (1.0) /Applications/MaxMSP 4.6/Cycling ’74/externals/counter.mxo/Contents/MacOS/counter
0×31947000 – 0x31947fff com.cycling74.clocker ??? (1.0) /Applications/MaxMSP 4.6/Cycling ’74/externals/clocker.mxo/Contents/MacOS/clocker
0x3196e000 – 0x31973fff com.cycling74.coll ??? (1.0) /Applications/MaxMSP 4.6/Cycling ’74/externals/coll.mxo/Contents/MacOS/coll
0×31977000 – 0x31979fff com.apple.carbonbundletemplate 1.0 /Applications/MaxMSP 4.6/Cycling ’74/externals/JazzServer.mxo/Contents/MacOS/JazzServer
0x3197d000 – 0x3197efff com.cycling74.drunk ??? (1.0) /Applications/MaxMSP 4.6/Cycling ’74/externals/drunk.mxo/Contents/MacOS/drunk
0×31981000 – 0x31981fff com.cycling74.selector~ ??? (1.0) /Applications/MaxMSP 4.6/Cycling ’74/externals/selector~.mxo/Contents/MacOS/selector~
0×31984000 – 0x31994fff com.cycling74.sfplay~ ??? (1.0) /Applications/MaxMSP 4.6/Cycling ’74/externals/sfplay~.mxo/Contents/MacOS/sfplay~
0x31aa4000 – 0x31aa4fff com.cycling74.trough ??? (1.0) /Applications/MaxMSP 4.6/Cycling ’74/externals/trough.mxo/Contents/MacOS/trough
0x31aa7000 – 0x31aa7fff com.cycling74.peak ??? (1.0) /Applications/MaxMSP 4.6/Cycling ’74/externals/peak.mxo/Contents/MacOS/peak
0×41410000 – 0x414affff com.apple.QuickTimeImporters.component 7.2 /System/Library/QuickTime/QuickTimeImporters.component/Contents/MacOS/QuickTimeImporters
0×41840000 – 0x41866fff com.apple.CoreMediaPrivate 1.0 /System/Library/PrivateFrameworks/CoreMediaPrivate.framework/Versions/A/CoreMediaPrivate
0x419b0000 – 0x419effff com.apple.QuickTimeFireWireDV.component 7.2 /System/Library/QuickTime/QuickTimeFireWireDV.component/Contents/MacOS/QuickTimeFireWireDV
0x41a30000 – 0x41a35fff com.apple.CoreMediaAuthoringPrivate 1.0 /System/Library/PrivateFrameworks/CoreMediaAuthoringPrivate.framework/Versions/A/CoreMediaAuthoringPrivate
0×70000000 – 0x700fcfff com.apple.audio.units.Components 1.4.5 /System/Library/Components/CoreAudio.component/Contents/MacOS/CoreAudio
0x8fe00000 – 0x8fe52fff dyld 46.12 /usr/lib/dyld
0×90000000 – 0x901bcfff libSystem.B.dylib /usr/lib/libSystem.B.dylib
0×90214000 – 0x90219fff libmathCommon.A.dylib /usr/lib/system/libmathCommon.A.dylib
0x9021b000 – 0x90268fff com.apple.CoreText 1.0.3 (???) /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/CoreText.framework/Versions/A/CoreText
0×90293000 – 0x90344fff ATS /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ATS.framework/Versions/A/ATS
0×90373000 – 0x9072efff com.apple.CoreGraphics 1.258.75 (???) /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/CoreGraphics.framework/Versions/A/CoreGraphics
0x907bb000 – 0x90894fff com.apple.CoreFoundation 6.4.7 (368.28) /System/Library/Frameworks/CoreFoundation.framework/Versions/A/CoreFoundation
0x908dd000 – 0x908ddfff com.apple.CoreServices 10.4 (???) /System/Library/Frameworks/CoreServices.framework/Versions/A/CoreServices
0x908df000 – 0x909e1fff libicucore.A.dylib /usr/lib/libicucore.A.dylib
0x90a3b000 – 0x90abffff libobjc.A.dylib /usr/lib/libobjc.A.dylib
0x90ae9000 – 0x90b5bfff com.apple.framework.IOKit 1.4 (???) /System/Library/Frameworks/IOKit.framework/Versions/A/IOKit
0x90b71000 – 0x90b83fff libauto.dylib /usr/lib/libauto.dylib
0x90b8a000 – 0x90e61fff com.apple.CoreServices.CarbonCore 681.15 /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/CarbonCore.framework/Versions/A/CarbonCore
0x90ec7000 – 0x90f47fff com.apple.CoreServices.OSServices 4.1 /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/OSServices.framework/Versions/A/OSServices
0x90f91000 – 0x90fd3fff com.apple.CFNetwork 129.21 /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/CFNetwork.framework/Versions/A/CFNetwork
0x90fe8000 – 0x91000fff com.apple.WebServices 1.1.2 (1.1.0) /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/WebServicesCore.framework/Versions/A/WebServicesCore
0×91010000 – 0x91091fff com.apple.SearchKit 1.0.5 /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/SearchKit.framework/Versions/A/SearchKit
0x910d7000 – 0x91100fff com.apple.Metadata 10.4.4 (121.36) /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/Metadata.framework/Versions/A/Metadata
0×91111000 – 0x9111ffff libz.1.dylib /usr/lib/libz.1.dylib
0×91122000 – 0x912ddfff com.apple.security 4.6 (29770) /System/Library/Frameworks/Security.framework/Versions/A/Security
0x913dc000 – 0x913e5fff com.apple.DiskArbitration 2.1 /System/Library/Frameworks/DiskArbitration.framework/Versions/A/DiskArbitration
0x913ec000 – 0x913f4fff libbsm.dylib /usr/lib/libbsm.dylib
0x913f8000 – 0x91420fff com.apple.SystemConfiguration 1.8.3 /System/Library/Frameworks/SystemConfiguration.framework/Versions/A/SystemConfiguration
0×91433000 – 0x9143efff libgcc_s.1.dylib /usr/lib/libgcc_s.1.dylib
0×91443000 – 0x914befff com.apple.audio.CoreAudio 3.0.4 /System/Library/Frameworks/CoreAudio.framework/Versions/A/CoreAudio
0x914fb000 – 0x914fbfff com.apple.ApplicationServices 10.4 (???) /System/Library/Frameworks/ApplicationServices.framework/Versions/A/ApplicationServices
0x914fd000 – 0x91535fff com.apple.AE 1.5 (297) /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/AE.framework/Versions/A/AE
0×91550000 – 0x91622fff com.apple.ColorSync 4.4.9 /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ColorSync.framework/Versions/A/ColorSync
0×91675000 – 0x91706fff com.apple.print.framework.PrintCore 4.6 (177.13) /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/PrintCore.framework/Versions/A/PrintCore
0x9174d000 – 0x91804fff com.apple.QD 3.10.24 (???) /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/QD.framework/Versions/A/QD
0×91841000 – 0x9189ffff com.apple.HIServices 1.5.3 (???) /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/HIServices.framework/Versions/A/HIServices
0x918ce000 – 0x918effff com.apple.LangAnalysis 1.6.1 /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/LangAnalysis.framework/Versions/A/LangAnalysis
0×91903000 – 0x91928fff com.apple.FindByContent 1.5 /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/FindByContent.framework/Versions/A/FindByContent
0x9193b000 – 0x9197dfff com.apple.LaunchServices 182 /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/LaunchServices.framework/Versions/A/LaunchServices
0×91999000 – 0x919adfff com.apple.speech.synthesis.framework 3.3 /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/SpeechSynthesis.framework/Versions/A/SpeechSynthesis
0x919bb000 – 0x91a01fff com.apple.ImageIO.framework 1.5.5 /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ImageIO.framework/Versions/A/ImageIO
0x91a18000 – 0x91adffff libcrypto.0.9.7.dylib /usr/lib/libcrypto.0.9.7.dylib
0x91b2d000 – 0x91b42fff libcups.2.dylib /usr/lib/libcups.2.dylib
0x91b47000 – 0x91b65fff libJPEG.dylib /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ImageIO.framework/Versions/A/Resources/libJPEG.dylib
0x91b6b000 – 0x91c22fff libJP2.dylib /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ImageIO.framework/Versions/A/Resources/libJP2.dylib
0x91c71000 – 0x91c75fff libGIF.dylib /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ImageIO.framework/Versions/A/Resources/libGIF.dylib
0x91c77000 – 0x91cdffff libRaw.dylib /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ImageIO.framework/Versions/A/Resources/libRaw.dylib
0x91ce4000 – 0x91d21fff libTIFF.dylib /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ImageIO.framework/Versions/A/Resources/libTIFF.dylib
0x91d28000 – 0x91d41fff libPng.dylib /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ImageIO.framework/Versions/A/Resources/libPng.dylib
0x91d46000 – 0x91d49fff libRadiance.dylib /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ImageIO.framework/Versions/A/Resources/libRadiance.dylib
0x91d4b000 – 0x91e29fff libxml2.2.dylib /usr/lib/libxml2.2.dylib
0x91e49000 – 0x91e49fff com.apple.Accelerate 1.2.2 (Accelerate 1.2.2) /System/Library/Frameworks/Accelerate.framework/Versions/A/Accelerate
0x91e4b000 – 0x91f30fff com.apple.vImage 2.4 /System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vImage.framework/Versions/A/vImage
0x91f38000 – 0x91f57fff com.apple.Accelerate.vecLib 3.2.2 (vecLib 3.2.2) /System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vecLib.framework/Versions/A/vecLib
0x91fc3000 – 0x92031fff libvMisc.dylib /System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vecLib.framework/Versions/A/libvMisc.dylib
0x9203c000 – 0x920d1fff libvDSP.dylib /System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vecLib.framework/Versions/A/libvDSP.dylib
0x920eb000 – 0x92673fff libBLAS.dylib /System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vecLib.framework/Versions/A/libBLAS.dylib
0x926a6000 – 0x929d1fff libLAPACK.dylib /System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vecLib.framework/Versions/A/libLAPACK.dylib
0x92a01000 – 0x92aeffff libiconv.2.dylib /usr/lib/libiconv.2.dylib
0x92af2000 – 0x92b7afff com.apple.DesktopServices 1.3.6 /System/Library/PrivateFrameworks/DesktopServicesPriv.framework/Versions/A/DesktopServicesPriv
0x92bbb000 – 0x92de6fff com.apple.Foundation 6.4.8 (567.29) /System/Library/Frameworks/Foundation.framework/Versions/C/Foundation
0x92f13000 – 0x92f31fff libGL.dylib /System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGL.dylib
0x92f3c000 – 0x92f96fff libGLU.dylib /System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGLU.dylib
0x92fb4000 – 0x92fb4fff com.apple.Carbon 10.4 (???) /System/Library/Frameworks/Carbon.framework/Versions/A/Carbon
0x92fb6000 – 0x92fcafff com.apple.ImageCapture 3.0 /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/ImageCapture.framework/Versions/A/ImageCapture
0x92fe2000 – 0x92ff2fff com.apple.speech.recognition.framework 3.4 /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/SpeechRecognition.framework/Versions/A/SpeechRecognition
0x92ffe000 – 0x93013fff com.apple.securityhi 2.0 (203) /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/SecurityHI.framework/Versions/A/SecurityHI
0×93025000 – 0x930acfff com.apple.ink.framework 101.2 (69) /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/Ink.framework/Versions/A/Ink
0x930c0000 – 0x930cbfff com.apple.help 1.0.3 (32) /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/Help.framework/Versions/A/Help
0x930d5000 – 0x93102fff com.apple.openscripting 1.2.5 (???) /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/OpenScripting.framework/Versions/A/OpenScripting
0x9311c000 – 0x9312bfff com.apple.print.framework.Print 5.2 (192.4) /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/Print.framework/Versions/A/Print
0×93137000 – 0x9319dfff com.apple.htmlrendering 1.1.2 /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/HTMLRendering.framework/Versions/A/HTMLRendering
0x931ce000 – 0x9321dfff com.apple.NavigationServices 3.4.4 (3.4.3) /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/NavigationServices.framework/Versions/A/NavigationServices
0x9324b000 – 0x93268fff com.apple.audio.SoundManager 3.9 /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/CarbonSound.framework/Versions/A/CarbonSound
0x9327a000 – 0x93287fff com.apple.CommonPanels 1.2.2 (73) /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/CommonPanels.framework/Versions/A/CommonPanels
0×93290000 – 0x9359efff com.apple.HIToolbox 1.4.9 (???) /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/HIToolbox.framework/Versions/A/HIToolbox
0x936ee000 – 0x936fafff com.apple.opengl 1.4.7 /System/Library/Frameworks/OpenGL.framework/Versions/A/OpenGL
0x9372c000 – 0x93731fff com.apple.JavaVM 11.5.0 /System/Library/Frameworks/JavaVM.framework/Versions/A/JavaVM
0×93773000 – 0x93773fff com.apple.Cocoa 6.4 (???) /System/Library/Frameworks/Cocoa.framework/Versions/A/Cocoa
0×93775000 – 0x93da8fff com.apple.AppKit 6.4.7 (824.41) /System/Library/Frameworks/AppKit.framework/AppKit
0×94135000 – 0x941a7fff com.apple.CoreData 91 (92.1) /System/Library/Frameworks/CoreData.framework/Versions/A/CoreData
0x941e0000 – 0x942a4fff com.apple.audio.toolbox.AudioToolbox 1.4.5 /System/Library/Frameworks/AudioToolbox.framework/Versions/A/AudioToolbox
0x942f6000 – 0x942f6fff com.apple.audio.units.AudioUnit 1.4 /System/Library/Frameworks/AudioUnit.framework/Versions/A/AudioUnit
0x942f8000 – 0x944b8fff com.apple.QuartzCore 1.4.12 /System/Library/Frameworks/QuartzCore.framework/Versions/A/QuartzCore
0×94502000 – 0x9453ffff libsqlite3.0.dylib /usr/lib/libsqlite3.0.dylib
0×94547000 – 0x94597fff libGLImage.dylib /System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGLImage.dylib
0x945a0000 – 0x945bafff com.apple.CoreVideo 1.4.1 /System/Library/Frameworks/CoreVideo.framework/Versions/A/CoreVideo
0x945ca000 – 0x945eafff libmx.A.dylib /usr/lib/libmx.A.dylib
0x9478b000 – 0x9479afff libCGATS.A.dylib /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/CoreGraphics.framework/Versions/A/Resources/libCGATS.A.dylib
0x947a2000 – 0x947affff libCSync.A.dylib /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/CoreGraphics.framework/Versions/A/Resources/libCSync.A.dylib
0x947f5000 – 0x9480efff libRIP.A.dylib /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/CoreGraphics.framework/Versions/A/Resources/libRIP.A.dylib
0×94815000 – 0x94b34fff com.apple.QuickTime 7.2.0 /System/Library/Frameworks/QuickTime.framework/Versions/A/QuickTime
0x94c18000 – 0x94c89fff libstdc++.6.dylib /usr/lib/libstdc++.6.dylib
0x9505e000 – 0x9507bfff libresolv.9.dylib /usr/lib/libresolv.9.dylib
0x96d72000 – 0x96db1fff com.apple.audio.midi.CoreMIDI 1.5 (41) /System/Library/Frameworks/CoreMIDI.framework/Versions/A/CoreMIDI
0×97199000 – 0x971b8fff com.apple.vecLib 3.2.2 (vecLib 3.2.2) /System/Library/Frameworks/vecLib.framework/Versions/A/vecLib
0x979be000 – 0x979cbfff com.apple.agl 2.5.6 (AGL-2.5.6) /System/Library/Frameworks/AGL.framework/Versions/A/AGL
0x98df5000 – 0x999bbfff com.apple.QuickTimeComponents.component 7.2 /System/Library/QuickTime/QuickTimeComponents.component/Contents/MacOS/QuickTimeComponents
0x99c14000 – 0x99c18fff com.apple.QuickTimeH264.component 7.2 /System/Library/QuickTime/QuickTimeH264.component/Contents/MacOS/QuickTimeH264
0x99c1a000 – 0x99d29fff QuickTimeH264.altivec /System/Library/QuickTime/QuickTimeH264.component/Contents/Resources/QuickTimeH264.altivec
0x99ea0000 – 0x99f6dfff com.apple.QuickTimeMPEG4.component 7.2 /System/Library/QuickTime/QuickTimeMPEG4.component/Contents/MacOS/QuickTimeMPEG4
0x9a89c000 – 0x9a8bafff com.apple.OpenTransport 2.0 /System/Library/PrivateFrameworks/OpenTransport.framework/OpenTransport
0x9a943000 – 0x9a987fff com.apple.viceroy.codec 31.0 (31) /System/Library/Components/VCH263Codec.component/VCH263Codec
0x9c3f2000 – 0x9c761fff libjvm.dylib /System/Library/Frameworks/JavaVM.framework/Versions/CurrentJDK/Libraries/libjvm.dylib
0x9c7cc000 – 0x9c7eafff libjava.jnilib /System/Library/Frameworks/JavaVM.framework/Versions/1.5.0/Libraries/libjava.jnilib
0x9c7f5000 – 0x9c7fdfff libverify.dylib /System/Library/Frameworks/JavaVM.framework/Versions/1.5.0/Libraries/libverify.dylib
0x9c8c6000 – 0x9c8d2fff libnet.jnilib /System/Library/Frameworks/JavaVM.framework/Versions/1.5.0/Libraries/libnet.jnilib
0x9c932000 – 0x9c93ffff libzip.jnilib /System/Library/Frameworks/JavaVM.framework/Versions/1.5.0/Libraries/libzip.jnilib
0x9fe4d000 – 0x9ffa7fff libawt.jnilib /System/Library/Frameworks/JavaVM.framework/Versions/1.5.0/Libraries/libawt.jnilib

Model: PowerMac7,3, BootROM 5.2.4f1, 2 processors, PowerPC G5 (3.0), 2.3 GHz, 4.5 GB
Graphics: NVIDIA GeForce 6800 Ultra DDL, GeForce 6800 Ultra, AGP, 256 MB
Memory Module: DIMM0/J11, 256 MB, DDR SDRAM, PC3200U-30330
Memory Module: DIMM1/J12, 256 MB, DDR SDRAM, PC3200U-30330
Memory Module: DIMM2/J13, 1 GB, DDR SDRAM, PC3200U-30330
Memory Module: DIMM3/J14, 1 GB, DDR SDRAM, PC3200U-30330
Memory Module: DIMM4/J41, 1 GB, DDR SDRAM, PC3200U-30330
Memory Module: DIMM5/J42, 1 GB, DDR SDRAM, PC3200U-30330
Network Service: Built-in Ethernet, Ethernet, en0
Serial ATA Device: WDC WD2500JD-41HBC0, 232.89 GB
Parallel ATA Device: PIONEER DVD-RW DVR-109
USB Device: Hub in Apple Pro Keyboard, Mitsumi Electric, Up to 12 Mb/sec, 500 mA
USB Device: Apple Optical USB Mouse, Logitech, Up to 1.5 Mb/sec, 100 mA
USB Device: Apple Pro Keyboard, Mitsumi Electric, Up to 12 Mb/sec, 250 mA


August 7, 2007 | 2:52 am

Can you post the code?


Owen

mji wrote:
> I’ve written a Java plugin that usually works great, but appears to
> crash Max after running for some number of hours. The error report,
> which I’ve pasted into the bottom of this message, doesn’t contain
> anything that means much to me, but does mention mxj as being called
> from the crashed thread. Has anyone come across a similar problem or
> does anyone have any advice regarding how I might go about debugging
> this plugin? Thanks in advance, Michael
>



mji
August 7, 2007 | 6:03 pm

Sure. The code is below:

import com.cycling74.max.*;
import java.net.*;

public class Test extends MaxObject {

public String address = "127.0.0.1";
public int port = 2209; //default port
private DatagramSocket dsocket;
private DatagramPacket packetToSend,packetHeartBeat;
// byte[] packet;
boolean heartbeat=false;

boolean registered =false;
InetAddress ip = null;

MaxClock clockHeartBeatTransmitter;
MaxClock clockHeartBeatReceiver;
ListenerThread lThread;
boolean transmitted=false; //set to true when we output data

private static final String[] INLET_ASSIST = new String[]
{
"Test"
};

private static final String[] OUTLET_ASSIST = new String[]
{
"Indicates whether we’ve received a heartbeat recently"
};

//constants:
private static final long MAGIC_WORD = 0x454c5349;
private static final byte CMD_CAN_TELEGRAM = 1;
private static final byte CMD_HEARTBEAT = 2;
private static final byte CMD_CTRL = 3;
private static final byte CMD_REGISTER =4;

byte[] packetHeaderCanTelegram = new byte[52];
byte[] packetHeaderHeartBeat = new byte[52];
byte[] packetHeaderRegister = new byte[52];
byte[] packetHeaderCtrl = new byte[52];

byte[] packetBaud = new byte[52];;
byte[] packetEnableRange = new byte[60];
byte[] telegram = new byte[24];
byte[] premadeTelegramPacket = new byte[1076]; //the header plus slots for 100 cal telegrams

public Test (Atom[] args)
{

declareInlets(new int[]{DataTypes.ALL});
declareOutlets(NO_OUTLETS);

setInletAssist(INLET_ASSIST);
setOutletAssist(OUTLET_ASSIST);
declareAttribute("address");
declareAttribute("port");

//create the telegram packet header
//fill with the magic word
packetHeaderCanTelegram[0] = (byte)((MAGIC_WORD & 0xFF000000L) >> 24);
packetHeaderCanTelegram[1] = (byte)((MAGIC_WORD & 0x00FF0000L) >> 16);
packetHeaderCanTelegram[2] = (byte)((MAGIC_WORD & 0x0000FF00L) >> 8);
packetHeaderCanTelegram[3] = (byte)((MAGIC_WORD & 0x000000FFL));

//duplicate to form the heart beat and registration headers
System.arraycopy(packetHeaderCanTelegram,0,packetHeaderHeartBeat,0,4);
System.arraycopy(packetHeaderCanTelegram,0,packetHeaderRegister,0,4);
System.arraycopy(packetHeaderCanTelegram,0,packetHeaderCtrl,0,4);
//differentiate the packets by inserting the commands
packetHeaderCanTelegram[11] = CMD_CAN_TELEGRAM;
packetHeaderHeartBeat[11] = CMD_HEARTBEAT;
packetHeaderRegister[11] = CMD_REGISTER;
packetHeaderCtrl[11] = CMD_CTRL;
System.arraycopy(packetHeaderCtrl, 0,packetBaud, 0, 52);
byte[] bRate = new byte[4];

bRate[3] = 2; //500 kbs
packetBaud = concatenate(packetBaud,bRate);
packetBaud[15] = 4; //payload is 4 bytes
packetBaud[19] = 3; //subcommand: set baud rate

System.arraycopy(packetHeaderCanTelegram, 0,premadeTelegramPacket, 0, 52);

}

public void register()
{
post("Test: Registering…");

if (clockHeartBeatTransmitter!=null){
clockHeartBeatTransmitter.release();
}

if (clockHeartBeatReceiver !=null){
clockHeartBeatReceiver.release();
}

//establish socket connection
try {
ip = InetAddress.getByName(address);
} catch (UnknownHostException uhe) {
post("Test: Unable to resolve " +address );
return;
}

try{
if (dsocket!=null)dsocket.close();
dsocket = new DatagramSocket();
}catch(Exception e){
post("Test: "+ e);

return;
}

lThread = new ListenerThread();
lThread.start(); //start the listener

try {
//register the client
packetToSend = new DatagramPacket( packetHeaderRegister, packetHeaderRegister.length, ip, port );
dsocket.send(packetToSend);

packetToSend = new DatagramPacket( packetBaud, packetBaud.length, ip, port );
dsocket.send(packetToSend);

// packetToSend = new DatagramPacket( packetEnableRange, packetEnableRange.length, ip, port );
// dsocket.send(packetToSend);

}catch(Exception e){
post("Test: "+e);
}

post("Test: Connected to "+address + " on port " +port);

packetHeartBeat = new DatagramPacket( packetHeaderHeartBeat, packetHeaderHeartBeat.length, ip, port );

clockHeartBeatReceiver = new MaxClock(new Callback(this,"heartBeatReceiverChecker"));

clockHeartBeatTransmitter = new MaxClock(new Callback(this, "heartBeatTransmitter"));
clockHeartBeatTransmitter.delay(0.0); //set the clock to execute immediately
clockHeartBeatReceiver.delay(7500.0);
}

public void stop(){
if (clockHeartBeatReceiver!=null){
clockHeartBeatReceiver.release();
}
if (clockHeartBeatTransmitter !=null){
clockHeartBeatTransmitter.release();
}
clockHeartBeatReceiver = null;
clockHeartBeatTransmitter = null;

outlet(0,0);
dsocket.close();
lThread.stopListening();

}

@SuppressWarnings("unused")
private void heartBeatTransmitter()
{

clockHeartBeatTransmitter.delay(500.0);//set the clock to execute again in 500 ms
if (!transmitted){
//post("sending heart");

try {
dsocket.send(packetHeartBeat);
}catch(Exception e){
post("Test: "+e);
}
}

transmitted=false;
}

@SuppressWarnings("unused")
private void heartBeatReceiverChecker(){
heartbeat=false;
outlet(0,0);
post("Test: Failed to receive heartbeat. Attempting to re-register…");
stop();
register();
}

public void baud(){
try {

packetToSend = new DatagramPacket( packetBaud, packetBaud.length, ip, port );
dsocket.send(packetToSend);
}catch(Exception e){
post("Test: "+e);
}

}

public void range(){
try {

packetToSend = new DatagramPacket( packetEnableRange, packetEnableRange.length, ip, port );
dsocket.send(packetToSend);
}catch(Exception e){
post("Test: "+e);
}
}

public synchronized void list(Atom[] args)
{

if (!heartbeat){
return;
}
int len=args.length;
if ( args.length %2 !=0)len–;
int nTeles = args.length/2;
int payload = nTeles * 24;
int offset = 52;
for(int i = 0; i
{
prepareCAN( args[i].getInt(), args[i+1].getInt(),premadeTelegramPacket,offset);
offset+=24;

}

//set the length of the payload
premadeTelegramPacket[12] = (byte)((payload & 0xFF000000L) >> 24);
premadeTelegramPacket[13] = (byte)((payload & 0x00FF0000L) >> 16);
premadeTelegramPacket[14] = (byte)((payload & 0x0000FF00L) >> 8);
premadeTelegramPacket[15] = (byte)((payload & 0x000000FFL));

//post("it’s "+tele.length);
try {

packetToSend = new DatagramPacket( premadeTelegramPacket, 52+payload, ip, port );
//post("bytes: "+(52+payload));
dsocket.send(packetToSend);

}catch(Exception e){
post("Test: "+e);
}

}

public byte[] concatenate(byte[] a, byte[] b){
byte[] ab = new byte[( a.length + b.length)];
System.arraycopy(a, 0, ab, 0,a.length);
System.arraycopy(b, 0, ab, a.length,b.length);
return ab;
}

//extracts a 32-bit, unsigned integer from a byte buffer
public long extract32BitIntUnsignedInt(byte[] buf, int offset){

long anUnsignedInt = 0;
int firstByte = 0;
int secondByte = 0;
int thirdByte = 0;
int fourthByte = 0;
firstByte = (0x000000FF & ((int)buf[offset]));
secondByte = (0x000000FF & ((int)buf[offset+1]));
thirdByte = (0x000000FF & ((int)buf[offset+2]));
fourthByte = (0x000000FF & ((int)buf[offset+3]));

anUnsignedInt = ((long) (firstByte < < 24
| secondByte < < 16
| thirdByte < < 8
| fourthByte))
& 0xFFFFFFFFL;
return anUnsignedInt;
}

public void prepareCAN(int id, int data,byte[] tele,int offset){

int ulId =0×600 + id;

//node ID
tele[0+offset] = (byte)((ulId & 0xFF000000L) >> 24);
tele[1+offset] = (byte)((ulId & 0x00FF0000L) >> 16);
tele[2+offset] = (byte)((ulId & 0x0000FF00L) >> 8);
tele[3+offset] = (byte)((ulId & 0x000000FFL));

//data length
tele[4+offset] = (byte)8;

//position (fixed part)
tele[8+offset] = 0×23;
tele[9+offset] = 0×00;
tele[10+offset] = 0x2F;
tele[11+offset] = 0×01;

// position
tele[15+offset] = (byte)((data & 0xFF000000L) >> 24);
tele[14+offset] = (byte)((data & 0x00FF0000L) >> 16);
tele[13+offset] = (byte)((data & 0x0000FF00L) >> 8);
tele[12+offset] = (byte)((data & 0x000000FFL));

}

// class containing the thread that listens for messages from the Test server
class ListenerThread extends Thread {
private boolean listen;
// DatagramSocket lSocket;
// This method is called when the thread runs
public void run() {
try {

listen=true;
// Create a socket to listen on the port.

// Create a buffer to read datagrams into. If a
// packet is larger than this buffer, the
// excess will simply be discarded!
byte[] buffer = new byte[100];

// Create a packet to receive data into the buffer
DatagramPacket packet = new DatagramPacket(buffer, buffer.length);

// Now loop forever, waiting to receive packets and printing them.
while (listen) {

// Wait to receive a datagram
dsocket.receive(packet);
long m = extract32BitIntUnsignedInt(buffer,0);
if (m == MAGIC_WORD){ //this is an Test packet
if (buffer[11] == CMD_HEARTBEAT){
if (heartbeat==false){
outlet(0,1);
}
heartbeat=true;
clockHeartBeatReceiver.unset();
clockHeartBeatReceiver.delay(7500.0);
}

}
}
} catch (Exception e) {
// System.err.println(e);
}

}

public void stopListening(){
heartbeat=false;
//lSocket.close();
listen=false;
}
}

//called when the max object is destroyed
protected void notifyDeleted()
{
stop(); //shut everything down
}
}


August 10, 2007 | 10:56 am

Michael,

Not had a chance to look in detail yet, but a couple of comments:

- Your exception handling isn’t really handling anything:
* Be more specific than just catch(Exception… (so catch IOException
when you need to), and work out what you need to happen – just
swallowing them will lead to grief. In any case, if a socket throws any
kind of exception, you need to assume it’s junked, and close it properly.

*Closing any kind of native resource (file, socket etc.) properly means
using a finally block;

try{ blah} catch{handle} finally {close}

Not doing this means you can end up with resource leaks, and consequent
gnarliness.

Because you’re sharing a socket between two threads, you’ll need some
mechanism for communicating when the socket has been junked, or some such.

- Those primitive variables that you’re sharing between threads
(heartbeat etc.) should, ideally, be declared ‘volatile’ to guarantee
that their value is well defined at all times (similar in effect to
synchronising).

hth,
Owen

mji wrote:
> Sure. The code is below:
>



mji
August 24, 2007 | 9:04 pm

Thanks for your input. I’ll be trying all these out.


Viewing 5 posts - 1 through 5 (of 5 total)