Mac (64-bit) 10.6 issues

If you are a new Irrlicht Engine user, and have a newbie-question, this is the forum for you. You may also post general programming questions here.
Post Reply
Spinland
Posts: 32
Joined: Fri May 14, 2010 1:06 pm
Location: Upstate NY, USA

Mac (64-bit) 10.6 issues

Post by Spinland »

Okay, I'm trying to bring some working code from a Debian machine to a new 64-bit iMac running 10.6. I had several issues trying to compile it as I'm used to, from the command line, so I decided to try to compile and run some of the demos using the included XCode project files.

I set the Project Build parameters thusly:

Architectures: 64-bit Intel
Base SDK: Mac OX X 10.6

I checked and there are multiple values listed in "Valid Architectures" including x86_64 but there's no way I can see to select that specific value anywhere.

At any rate, I can compile the libirrlicht.a file, but if I try to compile and run the HelloWorld project two things go wrong.

1. I get a warning about libirrlicht.a "missing required architecture x86_64 in file"

2. I then get an error:
"_createDevice", referenced from:
_main in main.o
ld: symbol(s) not found
collect2: ld returned 1 exit status

and the build fails.

Does anyone have an idea what's wrong here?

Many thanks in advance!
Spinland
Posts: 32
Joined: Fri May 14, 2010 1:06 pm
Location: Upstate NY, USA

Post by Spinland »

Okay, for the benefit of anyone trying this at home...

I found this thread here:

http://irrlicht.sourceforge.net/phpBB2/ ... hlight=mac

I saw that in my XCode project file there was a laundry list of valid architectures, so I opened that list and deleted everything except x86_64, manually added the same to the "Architectures" entry area three spots above that on the Build tab page, and re-built the HelloWorld target. This time I got a good compile (though when it runs the figure is frozen and I cannot interact with it using the mouse. I seem to have more work to do).

Hope this helps someone.
Spinland
Posts: 32
Joined: Fri May 14, 2010 1:06 pm
Location: Upstate NY, USA

Post by Spinland »

Next issue...

Attempting to run the executable for the HelloWorld demo app, I get a crash with the following (rather lengthy) problem info:
Process: HelloWorld [32687]
Path: /Users/spinny/Desktop/graph_viewer/irrlicht-1.7.1/bin/MacOSX/HelloWorld.app/Contents/MacOS/HelloWorld
Identifier: com.irrlicht.HelloWorld
Version: ??? (1.0)
Code Type: X86 (Native)
Parent Process: launchd [80]

Date/Time: 2010-06-11 09:38:38.485 -0400
OS Version: Mac OS X 10.6.3 (10D578)
Report Version: 6

Interval Since Last Report: 165891 sec
Crashes Since Last Report: 2
Per-App Interval Since Last Report: 426 sec
Per-App Crashes Since Last Report: 1
Anonymous UUID: BD9123F8-C394-4E4D-817A-5A0A5E0FEC2B

Exception Type: EXC_BREAKPOINT (SIGTRAP)
Exception Codes: 0x0000000000000002, 0x0000000000000000
Crashed Thread: 0 Dispatch queue: com.apple.main-thread

Application Specific Information:
*** Terminating app due to uncaught exception 'NSMallocException', reason: 'NSImage: Insufficient memory to allocate pixel data buffer of 921600 bytes'
*** Call stack at first throw:
(
0 CoreFoundation 0x92615bda __raiseError + 410
1 libobjc.A.dylib 0x92b87509 objc_exception_throw + 56
2 CoreFoundation 0x92615908 +[NSException raise:format:arguments:] + 136
3 CoreFoundation 0x9261587a +[NSException raise:format:] + 58
4 AppKit 0x907902d6 NSNewBitmapBackingStore + 375
5 AppKit 0x907d630d -[NSBitmapImageRep _fromCGImage:performBlockUsingMutableData:] + 186
6 AppKit 0x9079012c __-[NSBitmapImageRep _withoutChangingBackingPerformBlockUsingBackingMutableData:]_block_invoke_1 + 340
7 AppKit 0x906af93c -[NSBitmapImageRep _performBlockUsingBacking:] + 52
8 AppKit 0x9078ffd2 -[NSBitmapImageRep _withoutChangingBackingPerformBlockUsingBackingMutableData:] + 91
9 AppKit 0x9078ff5d __-[NSBitmapImageRep _performBlockUsingBackingMutableData:]_block_invoke_1 + 133
10 AppKit 0x906af93c -[NSBitmapImageRep _performBlockUsingBacking:] + 52
11 AppKit 0x9078fed1 -[NSBitmapImageRep _performBlockUsingBackingMutableData:] + 91
12 AppKit 0x9078fe6f -[NSBitmapImageRep getBitmapDataPlanes:] + 91
13 AppKit 0x9078fe0b -[NSBitmapImageRep bitmapData] + 41
14 HelloWorld 0x00226bef 0x0 + 2255855
15 HelloWorld 0x0016b10e 0x0 + 1487118
16 HelloWorld 0x00005294 0x0 + 21140
17 HelloWorld 0x00004f29 0x0 + 20265
18 ??? 0x00000002 0x0 + 2
)


Thread 0 Crashed: Dispatch queue: com.apple.main-thread
0 com.apple.CoreFoundation 0x92660a07 ___TERMINATING_DUE_TO_UNCAUGHT_EXCEPTION___ + 7
1 libobjc.A.dylib 0x92b87509 objc_exception_throw + 56
2 com.apple.CoreFoundation 0x92615908 +[NSException raise:format:arguments:] + 136
3 com.apple.CoreFoundation 0x9261587a +[NSException raise:format:] + 58
4 com.apple.AppKit 0x907902d6 NSNewBitmapBackingStore + 375
5 com.apple.AppKit 0x907d630d -[NSBitmapImageRep _fromCGImage:performBlockUsingMutableData:] + 186
6 com.apple.AppKit 0x9079012c __-[NSBitmapImageRep _withoutChangingBackingPerformBlockUsingBackingMutableData:]_block_invoke_1 + 340
7 com.apple.AppKit 0x906af93c -[NSBitmapImageRep _performBlockUsingBacking:] + 52
8 com.apple.AppKit 0x9078ffd2 -[NSBitmapImageRep _withoutChangingBackingPerformBlockUsingBackingMutableData:] + 91
9 com.apple.AppKit 0x9078ff5d __-[NSBitmapImageRep _performBlockUsingBackingMutableData:]_block_invoke_1 + 133
10 com.apple.AppKit 0x906af93c -[NSBitmapImageRep _performBlockUsingBacking:] + 52
11 com.apple.AppKit 0x9078fed1 -[NSBitmapImageRep _performBlockUsingBackingMutableData:] + 91
12 com.apple.AppKit 0x9078fe6f -[NSBitmapImageRep getBitmapDataPlanes:] + 91
13 com.apple.AppKit 0x9078fe0b -[NSBitmapImageRep bitmapData] + 41
14 com.irrlicht.HelloWorld 0x00226bef 0x1000 + 2251759
15 com.irrlicht.HelloWorld 0x0016b10e 0x1000 + 1483022
16 com.irrlicht.HelloWorld 0x00005294 0x1000 + 17044
17 com.irrlicht.HelloWorld 0x00004f29 0x1000 + 16169

Thread 1: Dispatch queue: com.apple.libdispatch-manager
0 libSystem.B.dylib 0x97d46b42 kevent + 10
1 libSystem.B.dylib 0x97d4725c _dispatch_mgr_invoke + 215
2 libSystem.B.dylib 0x97d46719 _dispatch_queue_invoke + 163
3 libSystem.B.dylib 0x97d464be _dispatch_worker_thread2 + 240
4 libSystem.B.dylib 0x97d45f41 _pthread_wqthread + 390
5 libSystem.B.dylib 0x97d45d86 start_wqthread + 30

Thread 0 crashed with X86 Thread State (32-bit):
eax: 0x00000000 ebx: 0x92b874e5 ecx: 0xa0abd4e0 edx: 0x0000003b
edi: 0xa0435af0 esi: 0x00523790 ebp: 0xbffff058 esp: 0xbffff040
ss: 0x0000001f efl: 0x00000282 eip: 0x92660a07 cs: 0x00000017
ds: 0x0000001f es: 0x0000001f fs: 0x00000000 gs: 0x00000037
cr2: 0x007fe000

Binary Images:
0x1000 - 0x3a3ff7 +com.irrlicht.HelloWorld ??? (1.0) <701128A0-AB99-24E2-904D-C94E6C9E0C18> /Users/spinny/Desktop/graph_viewer/irrlicht-1.7.1/bin/MacOSX/HelloWorld.app/Contents/MacOS/HelloWorld
0x78f000 - 0x7b2fe7 GLRendererFloat ??? (???) <65E1E174-28E0-3FA9-E391-504891B69818> /System/Library/Frameworks/OpenGL.framework/Resources/GLRendererFloat.bundle/GLRendererFloat
0x15000000 - 0x15173fe7 GLEngine ??? (???) <F0181B85-962E-508D-4912-056D87F8E96E> /System/Library/Frameworks/OpenGL.framework/Resources/GLEngine.bundle/GLEngine
0x151a5000 - 0x15569fff com.apple.ATIRadeonX2000GLDriver 1.6.10 (6.1.0) <9B57C8E6-B6F7-24F4-0DC8-8CBC61F5306B> /System/Library/Extensions/ATIRadeonX2000GLDriver.bundle/Contents/MacOS/ATIRadeonX2000GLDriver
0x8fe00000 - 0x8fe41627 dyld 132.1 (???) <7E8A62A5-BB2D-C9C5-940D-B493DC9CD231> /usr/lib/dyld
0x90003000 - 0x90327fef com.apple.HIToolbox 1.6.2 (???) <F5F99E78-5377-DD54-6138-9FC84467F938> /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/HIToolbox.framework/Versions/A/HIToolbox
0x9049e000 - 0x904b2ffb com.apple.speech.synthesis.framework 3.10.35 (3.10.35) <0DBE17D5-17A2-8A0E-8572-5A78408B41C9> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/SpeechSynthesis.framework/Versions/A/SpeechSynthesis
0x904cc000 - 0x90510fe7 com.apple.Metadata 10.6.3 (507.8) <53BB360A-1813-170D-827F-C1863EF15537> /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/Metadata.framework/Versions/A/Metadata
0x90511000 - 0x9057bfe7 libstdc++.6.dylib 7.9.0 (compatibility 7.0.0) <411D87F4-B7E1-44EB-F201-F8B4F9227213> /usr/lib/libstdc++.6.dylib
0x905c5000 - 0x905f8ff7 com.apple.AE 496.4 (496.4) <7F34EC47-8429-3077-8158-54F5EA908C66> /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/AE.framework/Versions/A/AE
0x906a0000 - 0x90f7fff7 com.apple.AppKit 6.6.5 (1038.29) <E76A05A6-27C6-DA02-0961-5C8EEDC5F0A7> /System/Library/Frameworks/AppKit.framework/Versions/C/AppKit
0x90fe9000 - 0x90fe9ff7 com.apple.vecLib 3.6 (vecLib 3.6) <7362077A-890F-3AEF-A8AB-22247B10E106> /System/Library/Frameworks/vecLib.framework/Versions/A/vecLib
0x90ffa000 - 0x90ffcff7 com.apple.securityhi 4.0 (36638) <3F66C91E-D1D7-8E85-4CF8-A8B557D6DBC5> /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/SecurityHI.framework/Versions/A/SecurityHI
0x90ffd000 - 0x90ffeff7 com.apple.audio.units.AudioUnit 1.6.3 (1.6.3) <959DFFAE-A06B-7FF6-B713-B2076893EBBD> /System/Library/Frameworks/AudioUnit.framework/Versions/A/AudioUnit
0x90fff000 - 0x9101dff7 com.apple.CoreVideo 1.6.1 (45.4) <E0DF044D-BF31-42CE-B690-FD1FCE07E64A> /System/Library/Frameworks/CoreVideo.framework/Versions/A/CoreVideo
0x9102e000 - 0x9102eff7 com.apple.ApplicationServices 38 (38) <8012B504-3D83-BFBB-DA65-065E061CFE03> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/ApplicationServices
0x9102f000 - 0x910c7fe7 edu.mit.Kerberos 6.5.9 (6.5.9) <73EC847F-FF44-D542-2AD5-97F6C8D48F0B> /System/Library/Frameworks/Kerberos.framework/Versions/A/Kerberos
0x9157a000 - 0x91588ff7 com.apple.opengl 1.6.7 (1.6.7) <3C529790-DEE9-AC27-A879-806E4C23323C> /System/Library/Frameworks/OpenGL.framework/Versions/A/OpenGL
0x91593000 - 0x915d0ff7 com.apple.SystemConfiguration 1.10.2 (1.10.2) <830FED9E-3E24-004C-35D5-2C1273F79734> /System/Library/Frameworks/SystemConfiguration.framework/Versions/A/SystemConfiguration
0x915d1000 - 0x9178dff3 com.apple.ImageIO.framework 3.0.2 (3.0.1) <CB39B067-58B8-70DB-3E40-160604664A6D> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ImageIO.framework/Versions/A/ImageIO
0x9178e000 - 0x917aafe3 com.apple.openscripting 1.3.1 (???) <DA16DE48-59F4-C94B-EBE3-7FAF772211A2> /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/OpenScripting.framework/Versions/A/OpenScripting
0x917ab000 - 0x91a1bffb com.apple.Foundation 6.6.2 (751.21) <DA7A173A-4435-ECD6-F4AF-977D722FD2F7> /System/Library/Frameworks/Foundation.framework/Versions/C/Foundation
0x91a1c000 - 0x91ac4ffb com.apple.QD 3.35 (???) <B80B64BC-958B-DA9E-50F9-D7E8333CC5A2> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/QD.framework/Versions/A/QD
0x91cf1000 - 0x91d8cff7 com.apple.ApplicationServices.ATS 4.2 (???) <3BEB7210-4C85-7309-B22D-695765526524> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ATS.framework/Versions/A/ATS
0x91d8d000 - 0x91e7fff7 libcrypto.0.9.8.dylib 0.9.8 (compatibility 0.9.8) <7482933B-4AF6-ED55-AD72-4FBD1E134958> /usr/lib/libcrypto.0.9.8.dylib
0x91eb5000 - 0x91eb5ff7 com.apple.Accelerate 1.6 (Accelerate 1.6) <BC501C9F-7C20-961A-B135-0A457667D03C> /System/Library/Frameworks/Accelerate.framework/Versions/A/Accelerate
0x91eb6000 - 0x922ebff7 libLAPACK.dylib 219.0.0 (compatibility 1.0.0) <5E2D2283-57DE-9A49-1DB0-CD027FEFA6C2> /System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vecLib.framework/Versions/A/libLAPACK.dylib
0x922f7000 - 0x922faff7 libCGXType.A.dylib 543.33.0 (compatibility 64.0.0) <69BE578C-A364-A150-35E3-53EE00F56F05> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/CoreGraphics.framework/Versions/A/Resources/libCGXType.A.dylib
0x922fb000 - 0x92375fef com.apple.audio.CoreAudio 3.2.2 (3.2.2) <4EFE08C4-6F2B-D7F2-BD2B-3DFF26799B24> /System/Library/Frameworks/CoreAudio.framework/Versions/A/CoreAudio
0x9237d000 - 0x92436fe7 libsqlite3.dylib 9.6.0 (compatibility 9.0.0) <16CEF8E8-8C9A-94CD-EF5D-05477844C005> /usr/lib/libsqlite3.dylib
0x9253b000 - 0x92541fff com.apple.CommonPanels 1.2.4 (91) <2438AF5D-067B-B9FD-1248-2C9987F360BA> /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/CommonPanels.framework/Versions/A/CommonPanels
0x92542000 - 0x926bbffb com.apple.CoreFoundation 6.6.1 (550.19) <1E97FB1E-9E42-B8EB-E463-5C75315FDA31> /System/Library/Frameworks/CoreFoundation.framework/Versions/A/CoreFoundation
0x9279b000 - 0x9279bff7 liblangid.dylib ??? (???) <B99607FC-5646-32C8-2C16-AFB5EA9097C2> /usr/lib/liblangid.dylib
0x9279c000 - 0x927cdff7 libGLImage.dylib ??? (???) <AF110892-B10A-5B61-F898-21FB2BCE63BF> /System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGLImage.dylib
0x927ce000 - 0x927f4fff com.apple.DictionaryServices 1.1.1 (1.1.1) <02709230-9B37-C743-6E27-3FCFD18211F8> /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/DictionaryServices.framework/Versions/A/DictionaryServices
0x927f8000 - 0x9282dff7 libcups.2.dylib 2.8.0 (compatibility 2.0.0) <458E819A-4E3F-333E-28CE-671281B318D3> /usr/lib/libcups.2.dylib
0x92850000 - 0x92892ff7 libvDSP.dylib 268.0.1 (compatibility 1.0.0) <3F0ED200-741B-4E27-B89F-634B131F5E9E> /System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vecLib.framework/Versions/A/libvDSP.dylib
0x92935000 - 0x929e3ff3 com.apple.ink.framework 1.3.3 (107) <57B54F6F-CE35-D546-C7EC-DBC5FDC79938> /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/Ink.framework/Versions/A/Ink
0x92a1b000 - 0x92a29fe7 libz.1.dylib 1.2.3 (compatibility 1.0.0) <82B2C254-6F8D-7BEA-4C18-038E90CAE19B> /usr/lib/libz.1.dylib
0x92b7d000 - 0x92c2afe7 libobjc.A.dylib 227.0.0 (compatibility 1.0.0) <DF8E4CFA-3719-3415-0BF1-E8C5E561C3B1> /usr/lib/libobjc.A.dylib
0x92c2b000 - 0x92c38ff7 com.apple.NetFS 3.2.1 (3.2.1) <5E61A00B-FA16-9D99-A064-47BDC5BC9A2B> /System/Library/Frameworks/NetFS.framework/Versions/A/NetFS
0x92c65000 - 0x92d66fe7 libxml2.2.dylib 10.3.0 (compatibility 10.0.0) <B4C5CD68-405D-0F1B-59CA-5193D463D0EF> /usr/lib/libxml2.2.dylib
0x92d67000 - 0x92d67ff7 com.apple.Carbon 150 (152) <811FC695-B346-354A-EDEA-1D243DE50BC8> /System/Library/Frameworks/Carbon.framework/Versions/A/Carbon
0x9470b000 - 0x9477aff7 libvMisc.dylib 268.0.1 (compatibility 1.0.0) <2FC2178F-FEF9-6E3F-3289-A6307B1A154C> /System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vecLib.framework/Versions/A/libvMisc.dylib
0x94b91000 - 0x94bf5ffb com.apple.htmlrendering 72 (1.1.4) <4D451A35-FAB6-1288-71F6-F24A4B6E2371> /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/HTMLRendering.framework/Versions/A/HTMLRendering
0x94bf8000 - 0x94bfcff7 IOSurface ??? (???) <4B825ADA-8DBE-6BA2-1AB3-307D2C3AFCA8> /System/Library/Frameworks/IOSurface.framework/Versions/A/IOSurface
0x94bfd000 - 0x94c40ff7 libGLU.dylib ??? (???) <CE02968E-930D-E63B-7B21-B87205F8B19A> /System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGLU.dylib
0x94c41000 - 0x94c5cff7 libPng.dylib ??? (???) <929FE8EE-277D-F6EB-D672-E6F4CEBF1504> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ImageIO.framework/Versions/A/Resources/libPng.dylib
0x94c7e000 - 0x94d48fef com.apple.CoreServices.OSServices 357 (357) <764872C3-AE30-7F54-494D-4BA3CE4F4DFB> /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/OSServices.framework/Versions/A/OSServices
0x94d8a000 - 0x94e65fe7 com.apple.DesktopServices 1.5.5 (1.5.5) <ECEDFDF2-C40E-8DF0-F8FC-249CCA762E62> /System/Library/PrivateFrameworks/DesktopServicesPriv.framework/Versions/A/DesktopServicesPriv
0x94e66000 - 0x94e88fef com.apple.DirectoryService.Framework 3.6 (621.3) <05FFDBDB-F16B-8AC0-DB42-986965FCBD95> /System/Library/Frameworks/DirectoryService.framework/Versions/A/DirectoryService
0x94e89000 - 0x94e89ff7 com.apple.Accelerate.vecLib 3.6 (vecLib 3.6) <1DEC639C-173D-F808-DE0D-4070CC6F5BC7> /System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vecLib.framework/Versions/A/vecLib
0x94e8a000 - 0x94eebfe7 com.apple.CoreText 3.1.0 (???) <1372DABE-F183-DD03-03C2-64B2464A4FD5> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/CoreText.framework/Versions/A/CoreText
0x94eec000 - 0x94efdff7 com.apple.LangAnalysis 1.6.6 (1.6.6) <7A3862F7-3730-8F6E-A5DE-8E2CCEA979EF> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/LangAnalysis.framework/Versions/A/LangAnalysis
0x94efe000 - 0x94f05ff3 com.apple.print.framework.Print 6.1 (237.1) <97AB70B6-C653-212F-CFD3-E3816D0F5C22> /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/Print.framework/Versions/A/Print
0x94f06000 - 0x94f88ffb SecurityFoundation 36840.0.0 (compatibility 1.0.0) <9714B2B7-854E-834D-FEEC-07F85E10D557> /System/Library/Frameworks/SecurityFoundation.framework/Versions/A/SecurityFoundation
0x95073000 - 0x952d5ff3 com.apple.security 6.1.1 (37594) <1AC07F75-7E27-9662-21DA-B05DFF047B26> /System/Library/Frameworks/Security.framework/Versions/A/Security
0x952ea000 - 0x952f4fe7 com.apple.audio.SoundManager 3.9.3 (3.9.3) <5F494955-7290-2D91-DA94-44B590191771> /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/CarbonSound.framework/Versions/A/CarbonSound
0x954eb000 - 0x9580bfeb com.apple.CoreServices.CarbonCore 861.6 (861.6) <D3D5D9F1-01ED-DCAD-6AA9-4ABE60C7A112> /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/CarbonCore.framework/Versions/A/CarbonCore
0x95814000 - 0x95818ff7 libGFXShared.dylib ??? (???) <286F466C-2856-B579-B87F-4E9A35C80263> /System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGFXShared.dylib
0x9591c000 - 0x95965fe7 libTIFF.dylib ??? (???) <E45B169E-253E-E865-1501-97777D2702F2> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ImageIO.framework/Versions/A/Resources/libTIFF.dylib
0x95966000 - 0x95a03fe3 com.apple.LaunchServices 362.1 (362.1) <885D8567-9E40-0105-20BC-42C7FF657583> /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/LaunchServices.framework/Versions/A/LaunchServices
0x95a04000 - 0x95a08ff7 libGIF.dylib ??? (???) <03880BA1-7A86-0F2B-617A-C66B1D05DD70> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ImageIO.framework/Versions/A/Resources/libGIF.dylib
0x95a09000 - 0x95abffff libFontParser.dylib ??? (???) <5935E105-1E45-886C-6420-C1CCA886C375> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ATS.framework/Versions/A/Resources/libFontParser.dylib
0x95af4000 - 0x95c20fff com.apple.audio.toolbox.AudioToolbox 1.6.3 (1.6.3) <F0D7256E-0914-8E77-E37B-9720430422AB> /System/Library/Frameworks/AudioToolbox.framework/Versions/A/AudioToolbox
0x95cd2000 - 0x95ce4ff7 com.apple.MultitouchSupport.framework 204.12.1 (204.12.1) <6BB58E90-21FA-C491-F0E4-54B69CCDBBC0> /System/Library/PrivateFrameworks/MultitouchSupport.framework/Versions/A/MultitouchSupport
0x95d64000 - 0x95d84fe7 libresolv.9.dylib 40.0.0 (compatibility 1.0.0) <03019DD7-993D-AC88-6636-179F92F315C4> /usr/lib/libresolv.9.dylib
0x95d85000 - 0x95d8eff7 com.apple.DiskArbitration 2.3 (2.3) <E9C40767-DA6A-6CCB-8B00-2D5706753000> /System/Library/Frameworks/DiskArbitration.framework/Versions/A/DiskArbitration
0x95d9b000 - 0x95e44ff7 com.apple.CFNetwork 454.9.4 (454.9.4) <2F8B5BA5-099F-6CDA-F500-4CA188BBCDBC> /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/CFNetwork.framework/Versions/A/CFNetwork
0x95e45000 - 0x95ea0ff7 com.apple.framework.IOKit 2.0 (???) <69E4FE93-376C-565E-650F-04FAD213AA24> /System/Library/Frameworks/IOKit.framework/Versions/A/IOKit
0x95ea1000 - 0x95f7eff7 com.apple.vImage 4.0 (4.0) <64597E4B-F144-DBB3-F428-0EC3D9A1219E> /System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vImage.framework/Versions/A/vImage
0x9619d000 - 0x961e3ff7 libauto.dylib ??? (???) <85670A64-3B67-8162-D441-D8E0BE15CA94> /usr/lib/libauto.dylib
0x9620b000 - 0x96210ff7 com.apple.OpenDirectory 10.6 (10.6) <92582807-E8F3-3DD9-EB42-4195CFB754A1> /System/Library/Frameworks/OpenDirectory.framework/Versions/A/OpenDirectory
0x962c4000 - 0x96344feb com.apple.SearchKit 1.3.0 (1.3.0) <2F5DE102-A203-7905-7D12-FCBCF17BAEF8> /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/SearchKit.framework/Versions/A/SearchKit
0x9639e000 - 0x96520fe7 libicucore.A.dylib 40.0.0 (compatibility 1.0.0) <96A45E03-2B29-83EB-0FC6-2C932E398722> /usr/lib/libicucore.A.dylib
0x96590000 - 0x965e1ff7 com.apple.HIServices 1.8.0 (???) <10C85B88-C6AF-91DB-2546-34661BA35AC5> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/HIServices.framework/Versions/A/HIServices
0x965e2000 - 0x9660aff7 libxslt.1.dylib 3.24.0 (compatibility 3.0.0) <769EF4B2-C1AD-73D5-AAAD-1564DAEA77AF> /usr/lib/libxslt.1.dylib
0x9660c000 - 0x96624ff7 com.apple.CFOpenDirectory 10.6 (10.6) <1537FB4F-C112-5D12-1E5D-3B1002A4038F> /System/Library/Frameworks/OpenDirectory.framework/Versions/A/Frameworks/CFOpenDirectory.framework/Versions/A/CFOpenDirectory
0x96625000 - 0x96626ff7 com.apple.TrustEvaluationAgent 1.1 (1) <FEB55E8C-38A4-CFE9-A737-945F39761B4C> /System/Library/PrivateFrameworks/TrustEvaluationAgent.framework/Versions/A/TrustEvaluationAgent
0x967ed000 - 0x967edff7 com.apple.Cocoa 6.6 (???) <EA27B428-5904-B00B-397A-185588698BCC> /System/Library/Frameworks/Cocoa.framework/Versions/A/Cocoa
0x967ee000 - 0x96c04ff7 libBLAS.dylib 219.0.0 (compatibility 1.0.0) <C4FB303A-DB4D-F9E8-181C-129585E59603> /System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vecLib.framework/Versions/A/libBLAS.dylib
0x96c05000 - 0x96c10ff7 libGL.dylib ??? (???) <EAD85409-9036-831B-C378-E50780305DA6> /System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGL.dylib
0x96e2c000 - 0x96e2eff7 libRadiance.dylib ??? (???) <9358E1EF-F802-B76E-8E23-2D0695787CFB> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ImageIO.framework/Versions/A/Resources/libRadiance.dylib
0x96e2f000 - 0x96e70ff7 libRIP.A.dylib 543.33.0 (compatibility 64.0.0) <C6E50C7E-EBEE-32AF-FF07-8E325E21A838> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/CoreGraphics.framework/Versions/A/Resources/libRIP.A.dylib
0x96e76000 - 0x96e76ff7 com.apple.CoreServices 44 (44) <AC35D112-5FB9-9C8C-6189-5F5945072375> /System/Library/Frameworks/CoreServices.framework/Versions/A/CoreServices
0x97458000 - 0x974a8ff7 com.apple.framework.familycontrols 2.0.1 (2010) <50E74916-19A5-F2FC-AB57-76F2C8DDF0A7> /System/Library/PrivateFrameworks/FamilyControls.framework/Versions/A/FamilyControls
0x974ba000 - 0x974bdff7 libCoreVMClient.dylib ??? (???) <98CB96B1-85FE-25AF-AB19-ED061912FC3E> /System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libCoreVMClient.dylib
0x974be000 - 0x974c9ff7 libCSync.A.dylib 543.33.0 (compatibility 64.0.0) <F914F427-98EA-98BC-923D-47274A90D441> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/CoreGraphics.framework/Versions/A/Resources/libCSync.A.dylib
0x974f9000 - 0x97509ff7 libsasl2.2.dylib 3.15.0 (compatibility 3.0.0) <C8744EA3-0AB7-CD03-E639-C4F2B910BE5D> /usr/lib/libsasl2.2.dylib
0x97517000 - 0x9753bff7 libJPEG.dylib ??? (???) <EDA86712-F49C-760C-BE55-9B899A4A5D1B> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ImageIO.framework/Versions/A/Resources/libJPEG.dylib
0x9753c000 - 0x9753fffb com.apple.help 1.3.1 (41) <EF92C648-2085-C085-8EA7-A1AF37AE94F4> /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/Help.framework/Versions/A/Help
0x97c5d000 - 0x97c98feb libFontRegistry.dylib ??? (???) <F50A60E1-3757-D007-A20D-A5504C17334C> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ATS.framework/Versions/A/Resources/libFontRegistry.dylib
0x97c99000 - 0x97caefff com.apple.ImageCapture 6.0 (6.0) <0E86F45E-E656-9015-7AD4-A2C5F8D8A2FA> /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/ImageCapture.framework/Versions/A/ImageCapture
0x97caf000 - 0x97cb2fe7 libmathCommon.A.dylib 315.0.0 (compatibility 1.0.0) <1622A54F-1A98-2CBE-B6A4-2122981A500E> /usr/lib/system/libmathCommon.A.dylib
0x97d1f000 - 0x97ec4feb libSystem.B.dylib 125.0.1 (compatibility 1.0.0) <06A5336A-A6F6-4E62-F55F-4909A64631C2> /usr/lib/libSystem.B.dylib
0x97ec5000 - 0x986b4537 com.apple.CoreGraphics 1.543.33 (???) <C57E2964-80AF-6346-6D3E-23AED9D26977> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/CoreGraphics.framework/Versions/A/CoreGraphics
0x986b5000 - 0x986f9ff3 com.apple.coreui 2 (114) <29F8F1A4-1C96-6A0F-4CC2-9B85CF83209F> /System/Library/PrivateFrameworks/CoreUI.framework/Versions/A/CoreUI
0x98719000 - 0x9872dfe7 libbsm.0.dylib ??? (???) <821E415B-6C42-D359-78FF-E892792F8C52> /usr/lib/libbsm.0.dylib
0x9880a000 - 0x98814ffb com.apple.speech.recognition.framework 3.11.1 (3.11.1) <EC0E69C8-A121-70E8-43CF-E6FC4C7779EC> /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/SpeechRecognition.framework/Versions/A/SpeechRecognition
0x9885d000 - 0x9887efe7 com.apple.opencl 12.1 (12.1) <1BCA4F60-E612-5C1B-EF50-A810D70CDF05> /System/Library/Frameworks/OpenCL.framework/Versions/A/OpenCL
0x9887f000 - 0x988b0ff3 libTrueTypeScaler.dylib ??? (???) <F6A32C01-CD82-54F6-218E-0406D40D1D9A> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ATS.framework/Versions/A/Resources/libTrueTypeScaler.dylib
0x98c54000 - 0x98ce6fe3 com.apple.print.framework.PrintCore 6.2 (312.5) <7729B4D7-D661-D669-FA7E-510F93F685A6> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/PrintCore.framework/Versions/A/PrintCore
0x98d2e000 - 0x98e3aff7 libGLProgrammability.dylib ??? (???) <CA0A975B-2BEE-44E7-CFA6-8105CFE6FE00> /System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGLProgrammability.dylib
0x98f24000 - 0x98f71feb com.apple.DirectoryService.PasswordServerFramework 6.0 (6.0) <52906E26-3D22-6F37-8C90-E50BBCDEA5D0> /System/Library/PrivateFrameworks/PasswordServer.framework/Versions/A/PasswordServer
0x98f72000 - 0x98fb5ff7 com.apple.NavigationServices 3.5.4 (182) <753B8906-06C0-3AE0-3D6A-8FF5AC18ED12> /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/NavigationServices.framework/Versions/A/NavigationServices
0x991e2000 - 0x991eeff7 libkxld.dylib ??? (???) <13F26BB6-C2F7-9D74-933E-09AD8B509ECD> /usr/lib/system/libkxld.dylib
0x991ef000 - 0x99556ff7 com.apple.QuartzCore 1.6.1 (227.18) <8A65F233-4C77-BA7C-5DDA-2423F5C1B7A1> /System/Library/Frameworks/QuartzCore.framework/Versions/A/QuartzCore
0x99666000 - 0x99794fe7 com.apple.CoreData 102.1 (251) <E6A457F0-A0A3-32CD-6C69-6286E7C0F063> /System/Library/Frameworks/CoreData.framework/Versions/A/CoreData
0x9980d000 - 0x998bdff3 com.apple.ColorSync 4.6.3 (4.6.3) <68B6A1B9-86CF-0C5A-7D63-56ED4BB2EB5B> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ColorSync.framework/Versions/A/ColorSync
0xffff0000 - 0xffff1fff libSystem.B.dylib ??? (???) <06A5336A-A6F6-4E62-F55F-4909A64631C2> /usr/lib/libSystem.B.dylib

Model: iMac11,1, BootROM IM111.0034.B02, 4 processors, Intel Core i7, 2.8 GHz, 8 GB, SMC 1.54f36
Graphics: ATI Radeon HD 4850, ATI Radeon HD 4850, PCIe, 512 MB
Memory Module: global_name
AirPort: spairport_wireless_card_type_airport_extreme (0x168C, 0x8F), Atheros 9280: 2.1.9.8
Bluetooth: Version 2.3.1f4, 2 service, 19 devices, 1 incoming serial ports
Network Service: Ethernet, Ethernet, en0
Serial ATA Device: ST31000528ASQ, 931.51 GB
Serial ATA Device: OPTIARC DVD RW AD-5680H
USB Device: Hub, 0x0424 (SMSC), 0x2514, 0xfa100000
USB Device: Keyboard Hub, 0x05ac (Apple Inc.), 0x1006, 0xfa140000
USB Device: Apple Optical USB Mouse, 0x05ac (Apple Inc.), 0x0304, 0xfa143000
USB Device: Apple Keyboard, 0x05ac (Apple Inc.), 0x0220, 0xfa142000
USB Device: BRCM2046 Hub, 0x0a5c (Broadcom Corp.), 0x4500, 0xfa110000
USB Device: Bluetooth USB Host Controller, 0x05ac (Apple Inc.), 0x8215, 0xfa111000
USB Device: Internal Memory Card Reader, 0x05ac (Apple Inc.), 0x8403, 0xfa120000
USB Device: Hub, 0x0424 (SMSC), 0x2514, 0xfd100000
USB Device: Built-in iSight, 0x05ac (Apple Inc.), 0x8502, 0xfd110000
USB Device: IR Receiver, 0x05ac (Apple Inc.), 0x8242, 0xfd120000
I get that the issue seems to be related to trying to allocate some texture memory, and I see a 32-bit reference in there that looks fishy since this was compiled to be x86_64, but other than that I'm in over my head. Can anyone shed light on why the app is crashing and what I need to fix to correct it?

Many thanks in advance!
Spinland
Posts: 32
Joined: Fri May 14, 2010 1:06 pm
Location: Upstate NY, USA

Post by Spinland »

No ideas? I'm not asking anyone to debug my code, here: this is the supplied demo code and I'm trying to compile and run it using the supplied XCode project file. Has anyone been able to get HelloWorld to work on a 64-bit iMac?
Virion
Competition winner
Posts: 2148
Joined: Mon Dec 18, 2006 5:04 am

Post by Virion »

i'm not using Mac sorry couldn't help.
hybrid
Admin
Posts: 14143
Joined: Wed Apr 19, 2006 9:20 pm
Location: Oldenburg(Oldb), Germany
Contact:

Post by hybrid »

Oh, you're using the SW renderer probably. That's not fully implemented under OSX. Simply use OpenGL.
Spinland
Posts: 32
Joined: Fri May 14, 2010 1:06 pm
Location: Upstate NY, USA

Post by Spinland »

Ah, that sounds very much like it could explain what I'm seeing, thanks! I'll report back on what success I have. :)
Spinland
Posts: 32
Joined: Fri May 14, 2010 1:06 pm
Location: Upstate NY, USA

Post by Spinland »

You're the man! Very simple change in the device creation statement and it's running like a champ.

Thank you! 8)
Post Reply