Universal app created with maxmsp 4.6b11 crashes in mxj:main on Macbook 10.4.6

Jun 25, 2006 at 12:59pm

Universal app created with maxmsp 4.6b11 crashes in mxj:main on Macbook 10.4.6

Hello,

I built all my custom objects and JNILIB as universal. I checked the
result with file command:

libJKa-1.0b1.jnilib: Mach-O fat file with 2 architectures
libJKa-1.0b1.jnilib (for architecture ppc): Mach-O dynamically
linked shared library ppc
libJKa-1.0b1.jnilib (for architecture i386): Mach-O dynamically
linked shared library i386

same thing for externals.

10.4.6 (MaxMsp 4.6 installedThe application created with Maxmsp is
working perfectly on Powerbook G4 here). Great performances.

Now, I copy the app on my Macbook 10.4.6
The app crashes in MXJ while trying to do some CFM stuff.

I didn’t installed the CFM glue as I don’t have and don’t want any “old”
object.

So I don’t understand what is the problem…

Thanks for your advices

Chris

**********

Host Name: Miniwook
Date/Time: 2006-06-25 16:42:15.881 +0200
OS Version: 10.4.6 (Build 8I2025)
Report Version: 4

Command: MyAppGenerator-u-beta
Path:
/Applications/MyAppGenerator/MyAppGenerator-u-beta.app/Contents/MacOS/MyAppGenerator-u-beta
Parent: WindowServer [67]

Version: ??? (4.6b11)

PID: 225
Thread: 0

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

Thread 0 Crashed:
0 < <00000000>> 0×00000000 0 + 0
1 com.cycling74.MaxAPI 0x13edc2d0
CFMFunctionPointerForMachOFunctionPointer + 43
2 com.cycling74.MaxAPI 0x13edc747 setup + 140
3 com.cycling74.mxj 0x13ec4d96 main + 79 (bundle1.s:110)
4 …nerator-u-beta.appRuntime46 0×00017752
external_bundleload(char*, char*, char*, short) + 446 (install.c:816)
5 …nerator-u-beta.appRuntime46 0x000a504d xpcoll_machoload + 679
(xpcoll.c:1977)
6 …nerator-u-beta.appRuntime46 0x000a52e8 xpcoll_extload + 330
(xpcoll.c:1050)
7 …nerator-u-beta.appRuntime46 0×00017937 external_load + 35
(install.c:210)
8 …nerator-u-beta.appRuntime46 0x00018bb5 extload + 99 (loader.c:528)
9 …nerator-u-beta.appRuntime46 0x00018e1b newload_internal + 347
(loader.c:622)
10 …nerator-u-beta.appRuntime46 0x00018f98 newload + 40 (loader.c:566)
11 …nerator-u-beta.appRuntime46 0x0001fb01 typedmess_fun + 1499
(message.c:630)
12 …nerator-u-beta.appRuntime46 0x0001fe6e typedmess + 66
(message.c:401)
13 …nerator-u-beta.appRuntime46 0x0002038a aeval + 398 (message.c:1061)
14 …nerator-u-beta.appRuntime46 0x00006f1f atombuf_eval + 159
(atombuf.c:235)
15 …nerator-u-beta.appRuntime46 0x0007debd patcher_vnewex + 137
(vnewobj.c:486)
16 …nerator-u-beta.appRuntime46 0x0001f725 typedmess_fun + 511
(message.c:492)
17 …nerator-u-beta.appRuntime46 0x0001fe6e typedmess + 66
(message.c:401)
18 …nerator-u-beta.appRuntime46 0x00023a21 patcher_hidden + 55
(patcher.c:3316)
19 …nerator-u-beta.appRuntime46 0x0001f725 typedmess_fun + 511
(message.c:492)
20 …nerator-u-beta.appRuntime46 0x0001fe6e typedmess + 66
(message.c:401)
21 …nerator-u-beta.appRuntime46 0x0002038a aeval + 398 (message.c:1061)
22 …nerator-u-beta.appRuntime46 0x0000aec1 bf_fastload + 521
(binfile.c:447)
23 …nerator-u-beta.appRuntime46 0x00017d72 lowload_type(char*,
short, long, short, atom*, short) + 444 (loader.c:145)
24 …nerator-u-beta.appRuntime46 0x000188fb intload_type(char*,
short, long, symbol*, short, atom*, short) + 121 (loader.c:516)
25 …nerator-u-beta.appRuntime46 0x00018f39 newload_internal + 633
(loader.c:624)
26 …nerator-u-beta.appRuntime46 0x00018f98 newload + 40 (loader.c:566)
27 …nerator-u-beta.appRuntime46 0x0001fb01 typedmess_fun + 1499
(message.c:630)
28 …nerator-u-beta.appRuntime46 0x0001fe6e typedmess + 66
(message.c:401)
29 …nerator-u-beta.appRuntime46 0x0002038a aeval + 398 (message.c:1061)
30 …nerator-u-beta.appRuntime46 0x00006f1f atombuf_eval + 159
(atombuf.c:235)
31 …nerator-u-beta.appRuntime46 0x0007debd patcher_vnewex + 137
(vnewobj.c:486)
32 …nerator-u-beta.appRuntime46 0x0001f725 typedmess_fun + 511
(message.c:492)
33 …nerator-u-beta.appRuntime46 0x0001fe6e typedmess + 66
(message.c:401)
34 …nerator-u-beta.appRuntime46 0x00023a21 patcher_hidden + 55
(patcher.c:3316)
35 …nerator-u-beta.appRuntime46 0x0001f725 typedmess_fun + 511
(message.c:492)
36 …nerator-u-beta.appRuntime46 0x0001fe6e typedmess + 66
(message.c:401)
37 …nerator-u-beta.appRuntime46 0x0002038a aeval + 398 (message.c:1061)
38 …nerator-u-beta.appRuntime46 0x0000aec1 bf_fastload + 521
(binfile.c:447)
39 …nerator-u-beta.appRuntime46 0x00017d72 lowload_type(char*,
short, long, short, atom*, short) + 444 (loader.c:145)
40 …nerator-u-beta.appRuntime46 0×00018307 fileload_extended + 161
(loader.c:399)
41 …nerator-u-beta.appRuntime46 0×00018364 fileload_type + 64
(loader.c:380)
42 …nerator-u-beta.appRuntime46 0x000a3232 xpcoll_loadentry + 42
(xpcoll.c:798)
43 …nerator-u-beta.appRuntime46 0x0009b5dd linklist_funall + 69
(linklist.c:994)
44 …nerator-u-beta.appRuntime46 0x000a31b9 xpcoll_loadpatchers + 75
(xpcoll.c:755)
45 …nerator-u-beta.appRuntime46 0x000a31f9 xpcoll_load + 51
(xpcoll.c:570)
46 …nerator-u-beta.appRuntime46 0x000383a7 single_checkappforfiles +
65 (single.c:183)
47 …nerator-u-beta.appRuntime46 0x00019dde main + 594 (main.c:354)
48 …nerator-u-beta.appRuntime46 0x000025ba _start + 228 (crt.c:272)
49 …nerator-u-beta.appRuntime46 0x000024d5 start + 41

Thread 1:
0 libSystem.B.dylib 0×90049207
semaphore_timedwait_signal_trap + 7
1 …ple.CoreServices.CarbonCore 0x90cd2c08 TSWaitOnSemaphoreCommon + 163
2 …ple.CoreServices.CarbonCore 0x90cd9ba9 TimerThread + 87
3 libSystem.B.dylib 0x90024a27 _pthread_body + 84

Thread 0 crashed with i386 Thread State:
eax: 0x000002f5 ebx: 0x13eeb6a4 ecx:0×00000008 edx: 0×00000000
edi: 0xffffffb5 esi: 0x011127c0 ebp:0xbfff8b98 esp: 0xbfff8b7c
ss: 0x0000002f efl: 0×00010282 eip:0×00000000 cs: 0×00000027
ds: 0x0000002f es: 0x0000002f fs:0×00000000 gs: 0×00000037

Binary Images Description:
0×1000 – 0x10bfff
com.cycling74.com.Max.TampuraGenerator-u-beta.appRuntime46 ??? (4.6b11)
/Applications/MyAppGenerator/MyAppGenerator-u-beta.app/Contents/MacOS/MyAppGenerator-u-beta
0x7a1000 – 0x7b1fff com.cycling74.MaxAPI 1.0
/Applications/MyAppGenerator/MyAppGenerator-u-beta.app/Contents/Frameworks/MaxAPI.framework/MaxAPI
0x13ebd000 – 0x13ed1fff com.cycling74.mxj ??? (1.0)
/var/tmp/folders.501/TemporaryItems/appRuntime46-mxt/mxj.mxo/Contents/MacOS/mxj
0x13edb000 – 0x13eebfff com.cycling74.MaxAPI 1.0
/Applications/MyAppGenerator/MyAppGenerator-u-beta.app/Contents/Frameworks/MaxAPI.framework/Versions/A/MaxAPI
0x8fe00000 – 0x8fe4bfff dyld 44.17 /usr/lib/dyld
0×90000000 – 0x9016efff libSystem.B.dylib /usr/lib/libSystem.B.dylib
0x901be000 – 0x901c0fff libmathCommon.A.dylib
/usr/lib/system/libmathCommon.A.dylib
0x901c2000 – 0x901fefff com.apple.CoreText 1.1.0 (???)
/System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/CoreText.framework/Versions/A/CoreText
0×90225000 – 0x902fafff ATS
/System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ATS.framework/Versions/A/ATS
0x9031a000 – 0x9076afff com.apple.CoreGraphics 1.258.30 (???)
/System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/CoreGraphics.framework/Versions/A/CoreGraphics
0×90801000 – 0x908c9fff com.apple.CoreFoundation 6.4.6 (368.27)
/System/Library/Frameworks/CoreFoundation.framework/Versions/A/CoreFoundation
0×90907000 – 0x90907fff com.apple.CoreServices 10.4 (???)
/System/Library/Frameworks/CoreServices.framework/Versions/A/CoreServices
0×90909000 – 0x909fcfff libicucore.A.dylib /usr/lib/libicucore.A.dylib
0x90a4c000 – 0x90acbfff libobjc.A.dylib /usr/lib/libobjc.A.dylib
0x90af4000 – 0x90b57fff libstdc++.6.dylib /usr/lib/libstdc++.6.dylib
0x90bc6000 – 0x90bcdfff libgcc_s.1.dylib /usr/lib/libgcc_s.1.dylib
0x90bd2000 – 0x90c42fff com.apple.framework.IOKit 1.4.2 (???)
/System/Library/Frameworks/IOKit.framework/Versions/A/IOKit
0x90c57000 – 0x90c69fff libauto.dylib /usr/lib/libauto.dylib
0x90c6f000 – 0x90f14fff com.apple.CoreServices.CarbonCore 682.10 (679)
/System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/CarbonCore.framework/Versions/A/CarbonCore
0x90f57000 – 0x90fbffff com.apple.CoreServices.OSServices 4.1
/System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/OSServices.framework/Versions/A/OSServices
0x90ff7000 – 0x91035fff com.apple.CFNetwork 129.16
/System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/CFNetwork.framework/Versions/A/CFNetwork
0×91047000 – 0x91057fff com.apple.WebServices 1.1.3 (1.1.0)
/System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/WebServicesCore.framework/Versions/A/WebServicesCore
0×91062000 – 0x910e0fff com.apple.SearchKit 1.0.5
/System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/SearchKit.framework/Versions/A/SearchKit
0×91115000 – 0x91133fff com.apple.Metadata 10.4.4 (121.36)
/System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/Metadata.framework/Versions/A/Metadata
0x9113f000 – 0x9114dfff libz.1.dylib /usr/lib/libz.1.dylib
0×91150000 – 0x91303fff com.apple.security 4.2.1 (24989)
/System/Library/Frameworks/Security.framework/Versions/A/Security
0x913f1000 – 0x913f9fff com.apple.DiskArbitration 2.1
/System/Library/Frameworks/DiskArbitration.framework/Versions/A/DiskArbitration
0×91400000 – 0x91426fff com.apple.SystemConfiguration 1.8.5
/System/Library/Frameworks/SystemConfiguration.framework/Versions/A/SystemConfiguration
0×91438000 – 0x9143ffff libbsm.dylib /usr/lib/libbsm.dylib
0×91443000 – 0x914bcfff com.apple.audio.CoreAudio 3.0.3
/System/Library/Frameworks/CoreAudio.framework/Versions/A/CoreAudio
0x9150a000 – 0x9150afff com.apple.ApplicationServices 10.4 (???)
/System/Library/Frameworks/ApplicationServices.framework/Versions/A/ApplicationServices
0x9150c000 – 0x91537fff com.apple.AE 314 (313)
/System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/AE.framework/Versions/A/AE
0x9154a000 – 0x9161efff com.apple.ColorSync 4.4.6
/System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ColorSync.framework/Versions/A/ColorSync
0×91657000 – 0x916d4fff com.apple.print.framework.PrintCore 4.5
(177.10)
/System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/PrintCore.framework/Versions/A/PrintCore
0×91701000 – 0x917abfff com.apple.QD 3.10.9 (???)
/System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/QD.framework/Versions/A/QD
0x917d1000 – 0x9181cfff com.apple.HIServices 1.5.2 (???)
/System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/HIServices.framework/Versions/A/HIServices
0x9183b000 – 0x91851fff com.apple.LangAnalysis 1.6.3
/System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/LangAnalysis.framework/Versions/A/LangAnalysis
0x9185d000 – 0x91877fff com.apple.FindByContent 1.5
/System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/FindByContent.framework/Versions/A/FindByContent
0×91881000 – 0x918befff com.apple.LaunchServices 178
/System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/LaunchServices.framework/Versions/A/LaunchServices
0x918d2000 – 0x918ddfff com.apple.speech.synthesis.framework 3.4
/System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/SpeechSynthesis.framework/Versions/A/SpeechSynthesis
0x918e4000 – 0x9191bfff com.apple.ImageIO.framework 1.4.6
/System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ImageIO.framework/Versions/A/ImageIO
0x9192d000 – 0x919dffff libcrypto.0.9.7.dylib
/usr/lib/libcrypto.0.9.7.dylib
0x91a25000 – 0x91a3bfff libcups.2.dylib /usr/lib/libcups.2.dylib
0x91a40000 – 0x91a5cfff libJPEG.dylib
/System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ImageIO.framework/Versions/A/Resources/libJPEG.dylib
0x91a61000 – 0x91abffff libJP2.dylib
/System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ImageIO.framework/Versions/A/Resources/libJP2.dylib
0x91acf000 – 0x91ad3fff libGIF.dylib
/System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ImageIO.framework/Versions/A/Resources/libGIF.dylib
0x91ad5000 – 0x91b30fff libRaw.dylib
/System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ImageIO.framework/Versions/A/Resources/libRaw.dylib
0x91b34000 – 0x91b71fff libTIFF.dylib
/System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ImageIO.framework/Versions/A/Resources/libTIFF.dylib
0x91b77000 – 0x91b91fff libPng.dylib
/System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ImageIO.framework/Versions/A/Resources/libPng.dylib
0x91b96000 – 0x91b98fff libRadiance.dylib
/System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ImageIO.framework/Versions/A/Resources/libRadiance.dylib
0x91b9a000 – 0x91b9afff com.apple.Accelerate 1.2.1 (Accelerate 1.2.1)
/System/Library/Frameworks/Accelerate.framework/Versions/A/Accelerate
0x91b9c000 – 0x91c22fff com.apple.vImage 2.3
/System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vImage.framework/Versions/A/vImage
0x91c29000 – 0x91c29fff com.apple.Accelerate.vecLib 3.2.1 (vecLib
3.2.1)
/System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vecLib.framework/Versions/A/vecLib
0x91c2b000 – 0x91c70fff libvMisc.dylib
/System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vecLib.framework/Versions/A/libvMisc.dylib
0x91c78000 – 0x91c9dfff libvDSP.dylib
/System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vecLib.framework/Versions/A/libvDSP.dylib
0x91ca4000 – 0x92227fff libBLAS.dylib
/System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vecLib.framework/Versions/A/libBLAS.dylib
0×92264000 – 0x92616fff libLAPACK.dylib
/System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vecLib.framework/Versions/A/libLAPACK.dylib
0×92643000 – 0x926c7fff com.apple.DesktopServices 1.3.3
/System/Library/PrivateFrameworks/DesktopServicesPriv.framework/Versions/A/DesktopServicesPriv
0×92703000 – 0x92935fff com.apple.Foundation 6.4.5 (567.26)
/System/Library/Frameworks/Foundation.framework/Versions/C/Foundation
0x92a41000 – 0x92b1ffff libxml2.2.dylib /usr/lib/libxml2.2.dylib
0x92b3c000 – 0x92c29fff libiconv.2.dylib /usr/lib/libiconv.2.dylib
0x92c39000 – 0x92c50fff libGL.dylib
/System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGL.dylib
0x92c5b000 – 0x92cb2fff libGLU.dylib
/System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGLU.dylib
0x92cc6000 – 0x92cc6fff com.apple.Carbon 10.4 (???)
/System/Library/Frameworks/Carbon.framework/Versions/A/Carbon
0x92cc8000 – 0x92cd8fff com.apple.ImageCapture 3.0.3
/System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/ImageCapture.framework/Versions/A/ImageCapture
0x92ce6000 – 0x92ceefff com.apple.speech.recognition.framework 3.5
/System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/SpeechRecognition.framework/Versions/A/SpeechRecognition
0x92cf4000 – 0x92cf9fff com.apple.securityhi 2.0.1 (24742)
/System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/SecurityHI.framework/Versions/A/SecurityHI
0x92cff000 – 0x92d90fff com.apple.ink.framework 101.2.1 (71)
/System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/Ink.framework/Versions/A/Ink
0x92da4000 – 0x92da7fff com.apple.help 1.0.3 (32.1)
/System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/Help.framework/Versions/A/Help
0x92daa000 – 0x92dc7fff com.apple.openscripting 1.2.5 (???)
/System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/OpenScripting.framework/Versions/A/OpenScripting
0x92dd7000 – 0x92dddfff com.apple.print.framework.Print 5.2 (192.4)
/System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/Print.framework/Versions/A/Print
0x92de3000 – 0x92e46fff com.apple.htmlrendering 66.1 (1.1.3)
/System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/HTMLRendering.framework/Versions/A/HTMLRendering
0x92e6a000 – 0x92eabfff com.apple.NavigationServices 3.4.4 (3.4.3)
/System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/NavigationServices.framework/Versions/A/NavigationServices
0x92ed2000 – 0x92edffff com.apple.audio.SoundManager 3.9.1
/System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/CarbonSound.framework/Versions/A/CarbonSound
0x92ee6000 – 0x92eebfff com.apple.CommonPanels 1.2.3 (73)
/System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/CommonPanels.framework/Versions/A/CommonPanels
0x92ef0000 – 0x931e1fff com.apple.HIToolbox 1.4.6 (???)
/System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/HIToolbox.framework/Versions/A/HIToolbox
0x932e6000 – 0x932f1fff com.apple.opengl 1.4.10
/System/Library/Frameworks/OpenGL.framework/Versions/A/OpenGL
0x9331a000 – 0x9331efff com.apple.JavaVM 11.4.0
/System/Library/Frameworks/JavaVM.framework/Versions/A/JavaVM
0x93e4f000 – 0x93f0ffff com.apple.audio.toolbox.AudioToolbox 1.4.2
/System/Library/Frameworks/AudioToolbox.framework/Versions/A/AudioToolbox
0x93f4e000 – 0x93f4efff com.apple.audio.units.AudioUnit 1.4.2
/System/Library/Frameworks/AudioUnit.framework/Versions/A/AudioUnit
0x9434a000 – 0x94359fff libCGATS.A.dylib
/System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/CoreGraphics.framework/Versions/A/Resources/libCGATS.A.dylib
0×94360000 – 0x9436bfff libCSync.A.dylib
/System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/CoreGraphics.framework/Versions/A/Resources/libCSync.A.dylib
0x943b7000 – 0x943d1fff libRIP.A.dylib
/System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/CoreGraphics.framework/Versions/A/Resources/libRIP.A.dylib
0x943d7000 – 0x9468efff com.apple.QuickTime 7.1.1
/System/Library/Frameworks/QuickTime.framework/Versions/A/QuickTime
0x96bb0000 – 0x96bb5fff com.apple.agl 2.5.9 (AGL-2.5.9)
/System/Library/Frameworks/AGL.framework/Versions/A/AGL

#26554

You must be logged in to reply to this topic.