95.0 for OSX

95.0 for OSX

Discuss everything related to compiling and running Spring on Mac OS X.

Moderator: Moderators

User avatar
pnöpel
XTA Developer
Posts: 50
Joined: 09 Feb 2013, 21:48

95.0 for OSX

Post by pnöpel »

...still in preparation?
User avatar
Silentwings
Posts: 3720
Joined: 25 Oct 2008, 00:23

Re: 95.0 for OSX

Post by Silentwings »

On the release post for 95.0 it says
sorry no osx-build, the buildslave is broken, we need help / maintainers
so someone needs to step in there (not me, I'm not an apple fan).
User avatar
Jools
XTA Developer
Posts: 2816
Joined: 23 Feb 2009, 16:29

Re: 95.0 for OSX

Post by Jools »

Yeah, why mac port so ignored, there are 5 times more mac users than linux for example: http://en.wikipedia.org/wiki/OS_usage_share
abma
Spring Developer
Posts: 3798
Joined: 01 Jun 2009, 00:08

Re: 95.0 for OSX

Post by abma »

Jools wrote:Yeah, why mac port so ignored, there are 5 times more mac users than linux
its not ignored: there seems no devs using macs / noone is willing to fix it or find the cause why the osx build is broken. problem with the osx build is: it compiles, but it crashes on start.
User avatar
jK
Spring Developer
Posts: 2299
Joined: 28 Jun 2007, 07:30

Re: 95.0 for OSX

Post by jK »

download link is:
http://springrts.com/dl/buildbot/defaul ... 5.0/osx64/

when you could supply a gdb stacktrace i might be able to fix it
moobyfr
Posts: 6
Joined: 24 Dec 2013, 12:25

Re: 95.0 for OSX

Post by moobyfr »

Here my backtrace on 10.8:
#0 0x00007fff849ab212 in __pthread_kill ()
#1 0x00007fff8202cb24 in pthread_kill ()
#2 0x00007fff82070f61 in abort ()
#3 0x00007fff82044989 in free ()
#4 0x000000010053e827 in _ZNSt6vectorI6OptionSaIS0_EE19_M_emplace_back_auxIIRKS0_EEEvDpOT_ ()
spitfire
Posts: 4
Joined: 22 Mar 2014, 01:13

Re: 95.0 for OSX

Post by spitfire »

On 10.9.2

Code: Select all

Process:         spring [1877]
Path:            /Users/USER/Spring_95.0.app/Contents/MacOS/spring
Identifier:      com.springrts.Spring
Version:         95.0 (???)
Code Type:       X86-64 (Native)
Parent Process:  launchd [189]
Responsible:     spring [1877]
User ID:         1812492540

Date/Time:       2014-03-22 01:14:49.811 +0100
OS Version:      Mac OS X 10.9.2 (13C64)
Report Version:  11
Anonymous UUID:  E48DF826-A808-EB56-79B0-6B7F0DFA5E49


Crashed Thread:  0  Dispatch queue: com.apple.main-thread

Exception Type:  EXC_CRASH (SIGABRT)
Exception Codes: 0x0000000000000000, 0x0000000000000000

Application Specific Information:
abort() called
*** error for object 0x7fff7da9c330: pointer being freed was not allocated
 

Thread 0 Crashed:: Dispatch queue: com.apple.main-thread
0   libsystem_kernel.dylib        	0x00007fff99ca8866 __pthread_kill + 10
1   libsystem_pthread.dylib       	0x00007fff9479f35c pthread_kill + 92
2   libsystem_c.dylib             	0x00007fff9573cb1a abort + 125
3   libsystem_malloc.dylib        	0x00007fff95ce807f free + 411
4   com.springrts.Spring          	0x000000010053e827 0x100000000 + 5498919
5   ???                           	0x0000000000000018 0 + 24

Thread 1:
0   libsystem_kernel.dylib        	0x00007fff99ca8e6a __workq_kernreturn + 10
1   libsystem_pthread.dylib       	0x00007fff9479ff08 _pthread_wqthread + 330
2   libsystem_pthread.dylib       	0x00007fff947a2fb9 start_wqthread + 13

Thread 2:: Dispatch queue: com.apple.libdispatch-manager
0   libsystem_kernel.dylib        	0x00007fff99ca9662 kevent64 + 10
1   libdispatch.dylib             	0x00007fff8d43943d _dispatch_mgr_invoke + 239
2   libdispatch.dylib             	0x00007fff8d439152 _dispatch_mgr_thread + 52

Thread 3:
0   libsystem_kernel.dylib        	0x00007fff99ca8e6a __workq_kernreturn + 10
1   libsystem_pthread.dylib       	0x00007fff9479ff08 _pthread_wqthread + 330
2   libsystem_pthread.dylib       	0x00007fff947a2fb9 start_wqthread + 13

Thread 4:
0   libsystem_kernel.dylib        	0x00007fff99ca8e6a __workq_kernreturn + 10
1   libsystem_pthread.dylib       	0x00007fff9479ff08 _pthread_wqthread + 330
2   libsystem_pthread.dylib       	0x00007fff947a2fb9 start_wqthread + 13

Thread 5:
0   libsystem_kernel.dylib        	0x00007fff99ca8e6a __workq_kernreturn + 10
1   libsystem_pthread.dylib       	0x00007fff9479ff08 _pthread_wqthread + 330
2   libsystem_pthread.dylib       	0x00007fff947a2fb9 start_wqthread + 13

Thread 6:
0   libsystem_kernel.dylib        	0x00007fff99ca8e6a __workq_kernreturn + 10
1   libsystem_pthread.dylib       	0x00007fff9479ff08 _pthread_wqthread + 330
2   libsystem_pthread.dylib       	0x00007fff947a2fb9 start_wqthread + 13

Thread 0 crashed with X86 Thread State (64-bit):
  rax: 0x0000000000000000  rbx: 0x00007fff7df85310  rcx: 0x00007fff5fbfe6b8  rdx: 0x0000000000000000
  rdi: 0x0000000000000707  rsi: 0x0000000000000006  rbp: 0x00007fff5fbfe6e0  rsp: 0x00007fff5fbfe6b8
   r8: 0x00000000fffffff8   r9: 0x0000000000000000  r10: 0x0000000008000000  r11: 0x0000000000000206
  r12: 0x0000000103779000  r13: 0x0000000103780000  r14: 0x0000000000000006  r15: 0x0000000000000000
  rip: 0x00007fff99ca8866  rfl: 0x0000000000000206  cr2: 0x00000001037e1000
  
Logical CPU:     0
Error Code:      0x02000148
Trap Number:     133


Binary Images:
       0x100000000 -        0x100c44fef +com.springrts.Spring (95.0 - ???) <D8FB99E1-0FA1-3880-AF2A-AEDF7232D7E4> /Users/USER/Spring_95.0.app/Contents/MacOS/spring
       0x1012b6000 -        0x101316fff +libSDL-1.2.0.dylib (12.4) <73A56F84-DCC1-5C34-034E-15101A304ADC> /Users/USER/Spring_95.0.app/Contents/lib/libSDL-1.2.0.dylib
       0x10132b000 -        0x10132ffff  com.apple.agl (3.2.3 - AGL-3.2.3) <1B85306F-D2BF-3FE3-9915-165237B491EB> /System/Library/Frameworks/AGL.framework/Versions/A/AGL
       0x101336000 -        0x101362fff +libGLEW.1.9.0.dylib (1.9) <EC642574-7EE0-D9F7-7EF4-117A1028C501> /Users/USER/Spring_95.0.app/Contents/lib/libGLEW.1.9.0.dylib
       0x101375000 -        0x101400fef +libfreetype.6.dylib (17.2) <A01E2326-C01A-9B40-BC46-401EDDB0CE8F> /Users/USER/Spring_95.0.app/Contents/lib/libfreetype.6.dylib
       0x101409000 -        0x10140fff7 +libXcursor.1.dylib (2.2) <9A9D9A73-E275-3DD9-84C7-08464C3F765E> /usr/X11/lib/libXcursor.1.dylib
       0x101416000 -        0x101533fe7 +libX11.6.dylib (10) <472BED9F-D821-C809-F03C-3A14FF84E4BF> /Users/USER/Spring_95.0.app/Contents/lib/libX11.6.dylib
       0x101542000 -        0x101598fff +libIL.1.dylib (3) <4A38CE60-2474-4F86-63BE-45027B4A50F3> /Users/USER/Spring_95.0.app/Contents/lib/libIL.1.dylib
       0x101656000 -        0x101665fff +libILU.1.dylib (3) <C7E36C20-FE37-6B1D-20A3-9168FE626E8E> /Users/USER/Spring_95.0.app/Contents/lib/libILU.1.dylib
       0x101669000 -        0x10166dfff +libILUT.1.dylib (3) <8A046B93-1A50-B3C3-2F10-9C5C3838F349> /Users/USER/Spring_95.0.app/Contents/lib/libILUT.1.dylib
       0x101671000 -        0x101758ff7 +libboost_regex-mt.dylib (0) <FD420F74-5D8C-4C6E-6CE0-67D9E165EA85> /Users/USER/Spring_95.0.app/Contents/lib/libboost_regex-mt.dylib
       0x1017c3000 -        0x101809fff +libboost_program_options-mt.dylib (0) <97EE3225-7F0E-7186-B460-1DE93F38C808> /Users/USER/Spring_95.0.app/Contents/lib/libboost_program_options-mt.dylib
       0x101840000 -        0x10184ffff +libboost_signals-mt.dylib (0) <2D9D737C-99F1-A737-EE92-03C58DAFF2FA> /Users/USER/Spring_95.0.app/Contents/lib/libboost_signals-mt.dylib
       0x101859000 -        0x10185cff7 +libboost_system-mt.dylib (0) <CE4DF8B0-112B-441D-9D52-BFAC20382A05> /Users/USER/Spring_95.0.app/Contents/lib/libboost_system-mt.dylib
       0x10185f000 -        0x101864fff +libboost_chrono-mt.dylib (0) <17DEBC1E-8F9A-4134-BD99-C183151A6CB3> /Users/USER/Spring_95.0.app/Contents/lib/libboost_chrono-mt.dylib
       0x10186a000 -        0x10187bff7 +libboost_filesystem-mt.dylib (0) <EF17ACE5-EAD6-D70E-409C-1CC17532A805> /Users/USER/Spring_95.0.app/Contents/lib/libboost_filesystem-mt.dylib
       0x101883000 -        0x101891ff7 +libboost_thread-mt.dylib (0) <818092F5-6994-D3A5-94DA-327089EC2F69> /Users/USER/Spring_95.0.app/Contents/lib/libboost_thread-mt.dylib
       0x1018a2000 -        0x1018a7ff7 +libvorbisfile.3.dylib (7.5) <9FE335D6-13A9-9EDE-9D24-2B8646AA53BC> /Users/USER/Spring_95.0.app/Contents/lib/libvorbisfile.3.dylib
       0x1018ab000 -        0x1018d2fef +libvorbis.0.dylib (5.6) <92B4F5D5-4B53-DA77-3E2E-93A9157DCD8D> /Users/USER/Spring_95.0.app/Contents/lib/libvorbis.0.dylib
       0x1018d6000 -        0x1018d9ff7 +libogg.0.dylib (9.1) <6BF7BA12-255E-D25B-CAA6-F8D1AE3BA622> /Users/USER/Spring_95.0.app/Contents/lib/libogg.0.dylib
       0x1018dc000 -        0x101900fff  com.apple.audio.OpenAL (1.7 - 1.7) <5D2366B5-111B-3BDD-AFB3-5770075659F4> /System/Library/Frameworks/OpenAL.framework/Versions/A/OpenAL
       0x101912000 -        0x1019bbfef +libstdc++.6.dylib (7.18) <1E9985B3-15DA-3AFB-8124-9F14E6F0C6F9> /Users/USER/Spring_95.0.app/Contents/lib/libstdc++.6.dylib
       0x101a04000 -        0x101a18fef +libgcc_s.1.dylib (1) <D89F8C9E-E6D2-32DB-849D-06C48B0D05ED> /Users/USER/Spring_95.0.app/Contents/lib/libgcc_s.1.dylib
       0x101a1c000 -        0x101a23fef +libXrandr.2.dylib (5) <6B02DE4A-BD57-00B2-E34A-76EB268EF360> /Users/USER/Spring_95.0.app/Contents/lib/libXrandr.2.dylib
       0x101a26000 -        0x101a33fff +libXext.6.dylib (11) <C179EB32-98A9-97DB-68ED-454680BD22A0> /Users/USER/Spring_95.0.app/Contents/lib/libXext.6.dylib
       0x101a37000 -        0x101a3efff +libXrender.1.dylib (5) <2A2A1C9D-0379-2C2E-EFDC-E40A402A09E0> /Users/USER/Spring_95.0.app/Contents/lib/libXrender.1.dylib
       0x101a41000 -        0x101a56ff7 +libxcb.1.dylib (3) <AEC3C748-407B-AD2A-9AD8-82F502EE29BD> /Users/USER/Spring_95.0.app/Contents/lib/libxcb.1.dylib
       0x101a5c000 -        0x101a5dff7 +libXau.6.dylib (7) <5CC8358C-C7E2-43CE-8A96-C4B9ADF645B0> /Users/USER/Spring_95.0.app/Contents/lib/libXau.6.dylib
       0x101a60000 -        0x101a63fef +libXdmcp.6.dylib (7) <4CED5993-D100-4B8B-3B20-45A6A8BD65C6> /Users/USER/Spring_95.0.app/Contents/lib/libXdmcp.6.dylib
       0x101a66000 -        0x101a74fff +libbz2.1.0.dylib (1.0.6) <32DDD005-5216-7E11-F287-4C818B579A0F> /Users/USER/Spring_95.0.app/Contents/lib/libbz2.1.0.dylib
       0x101a77000 -        0x101a9cfe7 +libpng15.15.dylib (32) <1683B476-2C7B-E04F-8ED6-C3929C8EE3B6> /Users/USER/Spring_95.0.app/Contents/lib/libpng15.15.dylib
       0x101aa0000 -        0x101ab2ff7 +libz.1.dylib (1.2.8) <A07EE7AE-FDB1-F5E8-8B12-06B7B616DA94> /Users/USER/Spring_95.0.app/Contents/lib/libz.1.dylib
       0x101ab5000 -        0x101abbfff +libXrender.1.dylib (5) <7E3A7385-F583-3415-A9DC-95E84AA4F26A> /opt/X11/*/libXrender.1.dylib
       0x101ac1000 -        0x101ac3fff +libXfixes.3.dylib (5) <ADA08F63-4B41-36E6-B57F-9B8A14BE5738> /opt/X11/*/libXfixes.3.dylib
       0x101ac9000 -        0x101bcdff7 +libX11.6.dylib (10) <7A05088F-A9CE-32FE-8EA6-2CADF88D47AD> /opt/X11/*/libX11.6.dylib
       0x101bf5000 -        0x101c09fff +libxcb.1.dylib (3) <65314302-2C54-30DB-B383-F9988795490D> /opt/X11/*/libxcb.1.dylib
       0x101c1a000 -        0x101c1bfff +libXau.6.dylib (7) <E73524F8-73B3-39D6-AE05-96968BF19DD7> /opt/X11/*/libXau.6.dylib
       0x101c20000 -        0x101c23ff7 +libXdmcp.6.dylib (7) <3C8AF3CB-7971-3AE4-AB65-0B5FE3AD9744> /opt/X11/*/libXdmcp.6.dylib
       0x101c29000 -        0x101c90fff +libtiff.5.dylib (8) <C3C4B3CB-3012-1859-DFDD-CEB8EC8835D9> /Users/USER/Spring_95.0.app/Contents/lib/libtiff.5.dylib
       0x101c98000 -        0x101ceffff +libmng.1.dylib (2) <86293959-1718-724E-F1C8-AADDA396F288> /Users/USER/Spring_95.0.app/Contents/lib/libmng.1.dylib
       0x101cf8000 -        0x101d25fe7 +liblcms.1.dylib (2.19) <03358E3E-B527-D38A-E48F-55BA8762CD09> /Users/USER/Spring_95.0.app/Contents/lib/liblcms.1.dylib
       0x101d2d000 -        0x101d6dff7 +libjasper.1.dylib (2) <D779C1DA-1F84-DB3B-4158-38291ED40D11> /Users/USER/Spring_95.0.app/Contents/lib/libjasper.1.dylib
       0x101d83000 -        0x101db9fff +libjpeg.9.dylib (10) <70E1CB74-E65C-D6F3-5043-247C42392D05> /Users/USER/Spring_95.0.app/Contents/lib/libjpeg.9.dylib
       0x101dbc000 -        0x101ddcfef +liblzma.5.dylib (6.4) <2436EADC-ADA7-800F-87BE-480E010827C4> /Users/USER/Spring_95.0.app/Contents/lib/liblzma.5.dylib
       0x101ddf000 -        0x101e42ff7 +libGLU.1.dylib (1.3) <3AC44459-A68C-0A3E-8E64-0772F90EDF5A> /Users/USER/Spring_95.0.app/Contents/lib/libGLU.1.dylib
       0x101e46000 -        0x101ea1ff7 +libGL.1.dylib (1.2) <7EA4D6B3-C513-AEDF-1CB1-967219E077EB> /Users/USER/Spring_95.0.app/Contents/lib/libGL.1.dylib
       0x101eba000 -        0x101ec6fff  libXplugin.1.dylib (43) <2278F864-4194-3CDC-810B-DF4F2CED108A> /usr/lib/libXplugin.1.dylib
       0x101ed0000 -        0x101ed0fff +libX11-xcb.1.dylib (2) <4443A7AF-E6A2-78E7-5411-A98487DD27CD> /Users/USER/Spring_95.0.app/Contents/lib/libX11-xcb.1.dylib
       0x101ed2000 -        0x101ff8fef +libicuuc.51.dylib (51.2) <34DFEDF5-F419-E231-E165-5DC7A3D87012> /Users/USER/Spring_95.0.app/Contents/lib/libicuuc.51.dylib
       0x102021000 -        0x1021c0fe7 +libicui18n.51.dylib (51.2) <96036CB5-0B25-0808-30C2-12E1AC56987F> /Users/USER/Spring_95.0.app/Contents/lib/libicui18n.51.dylib
       0x1021fe000 -        0x103747ff7 +libicudata.51.dylib (51.2) <709ED278-C550-0B68-1C89-9D459E5FA1FD> /Users/USER/Spring_95.0.app/Contents/lib/libicudata.51.dylib
       0x10377b000 -        0x10377cfff  libLatin2Converter.dylib (61) <35D6A929-CF0D-399D-8482-E7E6BED07DF5> /System/Library/CoreServices/Encodings/libLatin2Converter.dylib
    0x7fff662c6000 -     0x7fff662f9817  dyld (239.4) <2B17750C-ED1B-3060-B64E-21897D08B28B> /usr/lib/dyld
    0x7fff8cee7000 -     0x7fff8cee9ff7  libquarantine.dylib (71) <7A1A2BCB-C03D-3A25-BFA4-3E569B2D2C38> /usr/lib/system/libquarantine.dylib
    0x7fff8ceea000 -     0x7fff8cf6afff  com.apple.CoreSymbolication (3.0 - 141) <B018335C-698B-3F87-AF1C-6115C4FA8954> /System/Library/PrivateFrameworks/CoreSymbolication.framework/Versions/A/CoreSymbolication
    0x7fff8d384000 -     0x7fff8d387ff7  com.apple.LoginUICore (3.0 - 3.0) <1ECBDA90-D6ED-3333-83EB-9C8232DFAD7C> /System/Library/PrivateFrameworks/LoginUIKit.framework/Versions/A/Frameworks/LoginUICore.framework/Versions/A/LoginUICore
    0x7fff8d388000 -     0x7fff8d38fff8  liblaunch.dylib (842.90.1) <38D1AB2C-A476-385F-8EA8-7AB604CA1F89> /usr/lib/system/liblaunch.dylib
    0x7fff8d390000 -     0x7fff8d394fff  libpam.2.dylib (20) <B93CE8F5-DAA8-30A1-B1F6-F890509513CB> /usr/lib/libpam.2.dylib
    0x7fff8d433000 -     0x7fff8d433fff  com.apple.Accelerate (1.9 - Accelerate 1.9) <509BB27A-AE62-366D-86D8-0B06D217CF56> /System/Library/Frameworks/Accelerate.framework/Versions/A/Accelerate
    0x7fff8d434000 -     0x7fff8d435ffb  libremovefile.dylib (33) <3543F917-928E-3DB2-A2F4-7AB73B4970EF> /usr/lib/system/libremovefile.dylib
    0x7fff8d436000 -     0x7fff8d450fff  libdispatch.dylib (339.90.1) <F3CBFE1B-FCE8-3F33-A53D-9092AB382DBB> /usr/lib/system/libdispatch.dylib
    0x7fff8e2b8000 -     0x7fff8e2e4fff  com.apple.CoreServicesInternal (184.9 - 184.9) <4DEA54F9-81D6-3EDB-AA3C-1F9C497B3379> /System/Library/PrivateFrameworks/CoreServicesInternal.framework/Versions/A/CoreServicesInternal
    0x7fff8e36a000 -     0x7fff8e3c3fff  libTIFF.dylib (1042) <51D02EEC-0D0C-34C1-91C8-D316473A3FEA> /System/Library/Frameworks/ImageIO.framework/Versions/A/Resources/libTIFF.dylib
    0x7fff8e3c4000 -     0x7fff8e4a8fff  com.apple.coreui (2.1 - 231) <432DB40C-6B7E-39C8-9FB5-B95917930056> /System/Library/PrivateFrameworks/CoreUI.framework/Versions/A/CoreUI
    0x7fff8e4c8000 -     0x7fff8f03efff  com.apple.AppKit (6.9 - 1265.19) <12647F2F-3FE2-3D77-B3F0-33EFAFF2CEA7> /System/Library/Frameworks/AppKit.framework/Versions/C/AppKit
    0x7fff8f09e000 -     0x7fff8f0a8ff7  libcsfde.dylib (380) <3A54B430-EC05-3DE9-86C3-00C1BEAC7F9B> /usr/lib/libcsfde.dylib
    0x7fff8f4e8000 -     0x7fff8f4f5fff  com.apple.Sharing (132.2 - 132.2) <F983394A-226D-3244-B511-FA51FDB6ADDA> /System/Library/PrivateFrameworks/Sharing.framework/Versions/A/Sharing
    0x7fff8f500000 -     0x7fff8f589fff  com.apple.ColorSync (4.9.0 - 4.9.0) <B756B908-9AD1-3F5D-83F9-7A0B068387D2> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ColorSync.framework/Versions/A/ColorSync
    0x7fff8f58a000 -     0x7fff8f590fff  com.apple.AOSNotification (1.7.0 - 760.3) <7901B867-60F7-3645-BB3E-18C51A6FBCC6> /System/Library/PrivateFrameworks/AOSNotification.framework/Versions/A/AOSNotification
    0x7fff8f5aa000 -     0x7fff8f5b7ff4  com.apple.Librarian (1.2 - 1) <F1A2744D-8536-32C7-8218-9972C6300DAE> /System/Library/PrivateFrameworks/Librarian.framework/Versions/A/Librarian
    0x7fff8f5b8000 -     0x7fff8f5d0ff7  com.apple.openscripting (1.4 - 157) <B3B037D7-1019-31E6-9D17-08E699AF3701> /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/OpenScripting.framework/Versions/A/OpenScripting
    0x7fff8f5d1000 -     0x7fff8f6b8ff7  libxml2.2.dylib (26) <A1DADD11-89E5-3DE4-8802-07186225967F> /usr/lib/libxml2.2.dylib
    0x7fff8f742000 -     0x7fff8f743ff7  libsystem_sandbox.dylib (278.11) <5E5A6E09-33A9-391A-AB34-E57D93BB1551> /usr/lib/system/libsystem_sandbox.dylib
    0x7fff8f744000 -     0x7fff8f75fff7  libPng.dylib (1042) <36FF1DDA-9804-33C5-802E-3FCA9879F0E6> /System/Library/Frameworks/ImageIO.framework/Versions/A/Resources/libPng.dylib
    0x7fff8f760000 -     0x7fff8f761fff  liblangid.dylib (117) <9546E641-F730-3AB0-B3CD-E0E2FDD173D9> /usr/lib/liblangid.dylib
    0x7fff8fce9000 -     0x7fff8fe96f27  libobjc.A.dylib (551.1) <AD7FD984-271E-30F4-A361-6B20319EC73B> /usr/lib/libobjc.A.dylib
    0x7fff8fe97000 -     0x7fff8fe9affc  com.apple.IOSurface (91 - 91) <07CA8A59-1E32-3FB6-B506-18DAF58A8CE0> /System/Library/Frameworks/IOSurface.framework/Versions/A/IOSurface
    0x7fff8fecf000 -     0x7fff8ff03fff  libssl.0.9.8.dylib (50) <B15F967C-B002-36C2-9621-3456D8509F50> /usr/lib/libssl.0.9.8.dylib
    0x7fff8ff04000 -     0x7fff8ff16fff  com.apple.ImageCapture (9.0 - 9.0) <BE0B65DA-3031-359B-8BBA-B9803D4ADBF4> /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/ImageCapture.framework/Versions/A/ImageCapture
    0x7fff8ffb0000 -     0x7fff900a1ff9  libiconv.2.dylib (41) <BB44B115-AC32-3877-A0ED-AEC6232A4563> /usr/lib/libiconv.2.dylib
    0x7fff900b1000 -     0x7fff90114ff7  com.apple.SystemConfiguration (1.13 - 1.13) <63B985ED-E7E4-3095-8D12-63C9F1DB0F3D> /System/Library/Frameworks/SystemConfiguration.framework/Versions/A/SystemConfiguration
    0x7fff90115000 -     0x7fff90119ff7  libcache.dylib (62) <BDC1E65B-72A1-3DA3-A57C-B23159CAAD0B> /usr/lib/system/libcache.dylib
    0x7fff9011a000 -     0x7fff90123fff  com.apple.speech.synthesis.framework (4.7.1 - 4.7.1) <383FB557-E88E-3239-82B8-15F9F885B702> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/SpeechSynthesis.framework/Versions/A/SpeechSynthesis
    0x7fff9028b000 -     0x7fff9028bff7  libkeymgr.dylib (28) <3AA8D85D-CF00-3BD3-A5A0-E28E1A32A6D8> /usr/lib/system/libkeymgr.dylib
    0x7fff9028c000 -     0x7fff902b1ff7  com.apple.ChunkingLibrary (2.0 - 155.1) <B845DC7A-D1EA-31E2-967C-D1FE0C628036> /System/Library/PrivateFrameworks/ChunkingLibrary.framework/Versions/A/ChunkingLibrary
    0x7fff902b3000 -     0x7fff902b8fff  com.apple.DiskArbitration (2.6 - 2.6) <A4165553-770E-3D27-B217-01FC1F852B87> /System/Library/Frameworks/DiskArbitration.framework/Versions/A/DiskArbitration
    0x7fff902b9000 -     0x7fff9069affe  libLAPACK.dylib (1094.5) <7E7A9B8D-1638-3914-BAE0-663B69865986> /System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vecLib.framework/Versions/A/libLAPACK.dylib
    0x7fff9069b000 -     0x7fff906e0fff  libcurl.4.dylib (78.90.1) <818543D6-0CCE-3F18-9BF1-4D18B81018F3> /usr/lib/libcurl.4.dylib
    0x7fff90fa5000 -     0x7fff90fa6ff7  libSystem.B.dylib (1197.1.1) <BFC0DC97-46C6-3BE0-9983-54A98734897A> /usr/lib/libSystem.B.dylib
    0x7fff90fc1000 -     0x7fff90fd2ff7  libz.1.dylib (53) <42E0C8C6-CA38-3CA4-8619-D24ED5DD492E> /usr/lib/libz.1.dylib
    0x7fff90fd3000 -     0x7fff90fd6fff  libCoreVMClient.dylib (58.1) <EBC36C69-C896-3C3D-8589-3E9023E7E56F> /System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libCoreVMClient.dylib
    0x7fff91009000 -     0x7fff9100bff3  libsystem_configuration.dylib (596.13) <B51C8C22-C455-36AC-952D-A319B6545884> /usr/lib/system/libsystem_configuration.dylib
    0x7fff91055000 -     0x7fff91059ff7  libheimdal-asn1.dylib (323.15) <B8BF2B7D-E913-3544-AA6D-CAC119F81C7C> /usr/lib/libheimdal-asn1.dylib
    0x7fff9108b000 -     0x7fff91096fff  libkxld.dylib (2422.90.20) <EF476345-7A69-3AC0-95ED-0196FB8910CB> /usr/lib/system/libkxld.dylib
    0x7fff91097000 -     0x7fff910c3ff7  com.apple.framework.SystemAdministration (1.0 - 1.0) <6FD03EF6-32B6-397D-B9D7-D68E89A462F5> /System/Library/PrivateFrameworks/SystemAdministration.framework/Versions/A/SystemAdministration
    0x7fff910ce000 -     0x7fff91159fff  libCoreStorage.dylib (380) <AE14C2F3-0EF1-3DCD-BF2B-A24D97D3B372> /usr/lib/libCoreStorage.dylib
    0x7fff9115a000 -     0x7fff913a2ff7  com.apple.CoreData (107 - 481.01) <DA339795-5D97-35B5-9B04-629830013720> /System/Library/Frameworks/CoreData.framework/Versions/A/CoreData
    0x7fff9162d000 -     0x7fff9170cfff  libcrypto.0.9.8.dylib (50) <B95B9DBA-39D3-3EEF-AF43-44608B28894E> /usr/lib/libcrypto.0.9.8.dylib
    0x7fff9196e000 -     0x7fff919d8ff7  com.apple.framework.IOKit (2.0.1 - 907.90.2) <A779DE46-BB7E-36FD-9348-694F9B09718F> /System/Library/Frameworks/IOKit.framework/Versions/A/IOKit
    0x7fff919e2000 -     0x7fff91cccfff  com.apple.CoreServices.CarbonCore (1077.17 - 1077.17) <3A2E92FD-DEE2-3D45-9619-11500801A61C> /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/CarbonCore.framework/Versions/A/CarbonCore
    0x7fff91e12000 -     0x7fff91e6aff7  com.apple.Symbolication (1.4 - 129) <16D42516-7B5E-357C-898A-FAA9EE7642B3> /System/Library/PrivateFrameworks/Symbolication.framework/Versions/A/Symbolication
    0x7fff91e6b000 -     0x7fff91e79fff  com.apple.CommerceCore (1.0 - 42) <ACC2CE3A-913A-39E0-8344-B76F8F694EF5> /System/Library/PrivateFrameworks/CommerceKit.framework/Versions/A/Frameworks/CommerceCore.framework/Versions/A/CommerceCore
    0x7fff91e7a000 -     0x7fff91ec8ff9  libstdc++.6.dylib (60) <0241E6A4-1368-33BE-950B-D0A175C41F54> /usr/lib/libstdc++.6.dylib
    0x7fff91ec9000 -     0x7fff91ed3fff  libcommonCrypto.dylib (60049) <8C4F0CA0-389C-3EDC-B155-E62DD2187E1D> /usr/lib/system/libcommonCrypto.dylib
    0x7fff91ed7000 -     0x7fff91ee1ff7  com.apple.bsd.ServiceManagement (2.0 - 2.0) <2D27B498-BB9C-3D88-B05A-76908A8A26F3> /System/Library/Frameworks/ServiceManagement.framework/Versions/A/ServiceManagement
    0x7fff91ee2000 -     0x7fff91f20ff7  libGLImage.dylib (9.6) <DCF2E131-A65E-33B2-B32D-28FF01605AB1> /System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGLImage.dylib
    0x7fff922c3000 -     0x7fff92431ff7  libBLAS.dylib (1094.5) <DE93A590-5FA5-32A2-A16C-5D7D7361769F> /System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vecLib.framework/Versions/A/libBLAS.dylib
    0x7fff92432000 -     0x7fff926dcff5  com.apple.HIToolbox (2.1 - 697.4) <DF5635DD-C255-3A8E-8B49-F6D2FB61FF95> /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/HIToolbox.framework/Versions/A/HIToolbox
    0x7fff926dd000 -     0x7fff9284dff8  com.apple.CFNetwork (673.2.1 - 673.2.1) <AE407146-CCF2-33DD-AAEA-6887FD6F45BA> /System/Library/Frameworks/CFNetwork.framework/Versions/A/CFNetwork
    0x7fff9287d000 -     0x7fff9287fff7  com.apple.securityhi (9.0 - 55005) <405E2BC6-2B6F-3B6B-B48E-2FD39214F052> /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/SecurityHI.framework/Versions/A/SecurityHI
    0x7fff928d0000 -     0x7fff92905ffc  com.apple.LDAPFramework (2.4.28 - 194.5) <4ADD0595-25B9-3F09-897E-3FB790AD2C5A> /System/Library/Frameworks/LDAP.framework/Versions/A/LDAP
    0x7fff92906000 -     0x7fff9292ffff  com.apple.DictionaryServices (1.2 - 208) <A539A058-BA57-35EE-AA08-D0B0E835127D> /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/DictionaryServices.framework/Versions/A/DictionaryServices
    0x7fff92930000 -     0x7fff92977ff7  libcups.2.dylib (372.2) <37802F24-BCC2-3721-8E12-82B29B61B2AA> /usr/lib/libcups.2.dylib
    0x7fff929d9000 -     0x7fff929d9fff  com.apple.Carbon (154 - 157) <4E260C09-78F4-305B-B408-13321CAF6213> /System/Library/Frameworks/Carbon.framework/Versions/A/Carbon
    0x7fff929ef000 -     0x7fff929f8ff3  libsystem_notify.dylib (121) <52571EC3-6894-37E4-946E-064B021ED44E> /usr/lib/system/libsystem_notify.dylib
    0x7fff929f9000 -     0x7fff929fdff7  libsystem_stats.dylib (93.90.3) <1A55AF8A-B6C4-3163-B557-3AD25DA643A8> /usr/lib/system/libsystem_stats.dylib
    0x7fff929fe000 -     0x7fff92a27ff7  libc++abi.dylib (49.1) <21A807D3-6732-3455-B77F-743E9F916DF0> /usr/lib/libc++abi.dylib
    0x7fff92a28000 -     0x7fff92a29ff7  libDiagnosticMessagesClient.dylib (100) <4CDB0F7B-C0AF-3424-BC39-495696F0DB1E> /usr/lib/libDiagnosticMessagesClient.dylib
    0x7fff9317a000 -     0x7fff931a9fff  com.apple.DebugSymbols (106 - 106) <E1BDED08-523A-36F4-B2DA-9D5C712F0AC7> /System/Library/PrivateFrameworks/DebugSymbols.framework/Versions/A/DebugSymbols
    0x7fff931aa000 -     0x7fff93294fff  libsqlite3.dylib (158) <00269BF9-43BE-39E0-9C85-24585B9923C8> /usr/lib/libsqlite3.dylib
    0x7fff937c8000 -     0x7fff937f0ffb  libxslt.1.dylib (13) <C9794936-633C-3F0C-9E71-30190B9B41C1> /usr/lib/libxslt.1.dylib
    0x7fff937f1000 -     0x7fff939a9ff3  libicucore.A.dylib (511.31) <167DDD0A-A935-31AF-B5B9-940268EC3A3C> /usr/lib/libicucore.A.dylib
    0x7fff939f1000 -     0x7fff939fdff3  com.apple.AppleFSCompression (56 - 1.0) <5652B0D0-EB08-381F-B23A-6DCF96991FB5> /System/Library/PrivateFrameworks/AppleFSCompression.framework/Versions/A/AppleFSCompression
    0x7fff939fe000 -     0x7fff93a16ff7  com.apple.GenerationalStorage (2.0 - 160.2) <79629AC7-896F-3302-8AC1-4939020F08C3> /System/Library/PrivateFrameworks/GenerationalStorage.framework/Versions/A/GenerationalStorage
    0x7fff93a49000 -     0x7fff93a4aff7  libodfde.dylib (20) <C00A4EBA-44BC-3C53-BFD0-819B03FFD462> /usr/lib/libodfde.dylib
    0x7fff93a4b000 -     0x7fff93d1ffc7  com.apple.vImage (7.0 - 7.0) <D241DBFA-AC49-31E2-893D-EAAC31890C90> /System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vImage.framework/Versions/A/vImage
    0x7fff93eae000 -     0x7fff93eafff7  libsystem_blocks.dylib (63) <FB856CD1-2AEA-3907-8E9B-1E54B6827F82> /usr/lib/system/libsystem_blocks.dylib
    0x7fff943e1000 -     0x7fff9441aff7  com.apple.QD (3.50 - 298) <C1F20764-DEF0-34CF-B3AB-AB5480D64E66> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/QD.framework/Versions/A/QD
    0x7fff9441e000 -     0x7fff9446cfff  libcorecrypto.dylib (161.1) <F3973C28-14B6-3006-BB2B-00DD7F09ABC7> /usr/lib/system/libcorecrypto.dylib
    0x7fff9458e000 -     0x7fff945c9fff  com.apple.bom (14.0 - 193.1) <EF24A562-6D3C-379E-8B9B-FAE0E4A0EF7C> /System/Library/PrivateFrameworks/Bom.framework/Versions/A/Bom
    0x7fff945f1000 -     0x7fff945f8fff  com.apple.NetFS (6.0 - 4.0) <8E26C099-CE9D-3819-91A2-64EA929C6137> /System/Library/Frameworks/NetFS.framework/Versions/A/NetFS
    0x7fff945f9000 -     0x7fff94638fff  libGLU.dylib (9.6) <EE4907CA-219C-34BD-A84E-B85695F64C05> /System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGLU.dylib
    0x7fff94639000 -     0x7fff94660ff7  libsystem_network.dylib (241.3) <8B1E1F1D-A5CC-3BAE-8B1E-ABC84337A364> /usr/lib/system/libsystem_network.dylib
    0x7fff94661000 -     0x7fff94685fff  libxpc.dylib (300.90.2) <AB40CD57-F454-3FD4-B415-63B3C0D5C624> /usr/lib/system/libxpc.dylib
    0x7fff946c0000 -     0x7fff946c2fff  libRadiance.dylib (1042) <B91D4B97-7BF3-3285-BCB7-4948BAAC23EE> /System/Library/Frameworks/ImageIO.framework/Versions/A/Resources/libRadiance.dylib
    0x7fff94726000 -     0x7fff94755ff5  com.apple.GSS (4.0 - 2.0) <62046C17-5D09-346C-B08E-A664DBC18411> /System/Library/Frameworks/GSS.framework/Versions/A/GSS
    0x7fff94756000 -     0x7fff9479bffe  com.apple.HIServices (1.22 - 467.2) <B7FCF008-C241-3862-BC63-E6EF4006A6E4> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/HIServices.framework/Versions/A/HIServices
    0x7fff9479d000 -     0x7fff947a4ff7  libsystem_pthread.dylib (53.1.4) <AB498556-B555-310E-9041-F67EC9E00E2C> /usr/lib/system/libsystem_pthread.dylib
    0x7fff947a5000 -     0x7fff947adff7  com.apple.speech.recognition.framework (4.2.4 - 4.2.4) <98BBB3E4-6239-3EF1-90B2-84EA0D3B8D61> /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/SpeechRecognition.framework/Versions/A/SpeechRecognition
    0x7fff94841000 -     0x7fff94868ffb  libsystem_info.dylib (449.1.3) <7D41A156-D285-3849-A2C3-C04ADE797D98> /usr/lib/system/libsystem_info.dylib
    0x7fff948bf000 -     0x7fff94923fff  com.apple.datadetectorscore (5.0 - 354.3) <B92E87D1-2045-3AB2-AE3F-8F948B30518A> /System/Library/PrivateFrameworks/DataDetectorsCore.framework/Versions/A/DataDetectorsCore
    0x7fff94924000 -     0x7fff9492cfff  libsystem_dnssd.dylib (522.90.2) <A0B7CF19-D9F2-33D4-8107-A62184C9066E> /usr/lib/system/libsystem_dnssd.dylib
    0x7fff9492d000 -     0x7fff9493eff7  libsystem_asl.dylib (217.1.4) <655FB343-52CF-3E2F-B14D-BEBF5AAEF94D> /usr/lib/system/libsystem_asl.dylib
    0x7fff949a0000 -     0x7fff94a58ff7  com.apple.DiscRecording (8.0 - 8000.4.6) <CDAAAD04-A1D0-3C67-ABCC-EFC9E8D44E7E> /System/Library/Frameworks/DiscRecording.framework/Versions/A/DiscRecording
    0x7fff94a59000 -     0x7fff94a5afff  libunc.dylib (28) <62682455-1862-36FE-8A04-7A6B91256438> /usr/lib/system/libunc.dylib
    0x7fff94a5b000 -     0x7fff94a63ff3  libCGCMS.A.dylib (599.20.11) <BB1E8D63-9FA1-3588-AC5D-1980576ED62C> /System/Library/Frameworks/CoreGraphics.framework/Versions/A/Resources/libCGCMS.A.dylib
    0x7fff94a64000 -     0x7fff94c49fff  com.apple.CoreFoundation (6.9 - 855.14) <617B8A7B-FAB2-3271-A09B-C542E351C532> /System/Library/Frameworks/CoreFoundation.framework/Versions/A/CoreFoundation
    0x7fff94c4a000 -     0x7fff94c52ffc  libGFXShared.dylib (9.6) <E276D384-3616-3511-B5F2-92621D6372D6> /System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGFXShared.dylib
    0x7fff94c53000 -     0x7fff94cdfff7  com.apple.ink.framework (10.9 - 207) <8A50B893-AD03-3826-8555-A54FEAF08F47> /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/Ink.framework/Versions/A/Ink
    0x7fff94f11000 -     0x7fff950adff3  com.apple.QuartzCore (1.8 - 332.3) <80F1068F-4A34-34FB-9E05-A2DC0700D2F2> /System/Library/Frameworks/QuartzCore.framework/Versions/A/QuartzCore
    0x7fff950ae000 -     0x7fff950bcfff  com.apple.opengl (9.6.0 - 9.6.0) <709F4A02-73A0-303C-86B5-85C596C8B707> /System/Library/Frameworks/OpenGL.framework/Versions/A/OpenGL
    0x7fff950bd000 -     0x7fff950e2ff7  com.apple.CoreVideo (1.8 - 117.2) <4674339E-26D0-35FA-9958-422832B39B12> /System/Library/Frameworks/CoreVideo.framework/Versions/A/CoreVideo
    0x7fff95125000 -     0x7fff95173fff  com.apple.opencl (2.3.59 - 2.3.59) <8C2ACCC6-B0BA-3FE7-98A1-5C67284DEA4E> /System/Library/Frameworks/OpenCL.framework/Versions/A/OpenCL
    0x7fff953d6000 -     0x7fff953dbfff  libmacho.dylib (845) <1D2910DF-C036-3A82-A3FD-44FF73B5FF9B> /usr/lib/system/libmacho.dylib
    0x7fff953dc000 -     0x7fff953e5ffb  com.apple.CommonAuth (4.0 - 2.0) <70FDDA03-7B44-37EC-B78E-3EC3C8505C76> /System/Library/PrivateFrameworks/CommonAuth.framework/Versions/A/CommonAuth
    0x7fff9541d000 -     0x7fff95490fff  com.apple.securityfoundation (6.0 - 55122.1) <1939DE0B-BC38-3E50-8A8C-3471C8AC4CD6> /System/Library/Frameworks/SecurityFoundation.framework/Versions/A/SecurityFoundation
    0x7fff9549d000 -     0x7fff954adfff  libbsm.0.dylib (33) <2CAC00A2-1352-302A-88FA-C567D4D69179> /usr/lib/libbsm.0.dylib
    0x7fff954b3000 -     0x7fff954b3ffd  libOpenScriptingUtil.dylib (157) <19F0E769-0989-3062-9AFB-8976E90E9759> /usr/lib/libOpenScriptingUtil.dylib
    0x7fff9550e000 -     0x7fff95519ff7  com.apple.NetAuth (5.0 - 5.0) <C811E662-9EC3-3B74-808A-A75D624F326B> /System/Library/PrivateFrameworks/NetAuth.framework/Versions/A/NetAuth
    0x7fff9551a000 -     0x7fff9551dffa  libCGXType.A.dylib (599.20.11) <C0B41DDE-0988-3652-B03B-9E5EB0DABAEB> /System/Library/Frameworks/CoreGraphics.framework/Versions/A/Resources/libCGXType.A.dylib
    0x7fff9565f000 -     0x7fff956d6fff  com.apple.CoreServices.OSServices (600.4 - 600.4) <36B2B009-C35E-3F21-824E-E0D00E7808C7> /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/OSServices.framework/Versions/A/OSServices
    0x7fff956de000 -     0x7fff956dffff  com.apple.TrustEvaluationAgent (2.0 - 25) <334A82F4-4AE4-3719-A511-86D0B0723E2B> /System/Library/PrivateFrameworks/TrustEvaluationAgent.framework/Versions/A/TrustEvaluationAgent
    0x7fff956e0000 -     0x7fff95769ff7  libsystem_c.dylib (997.90.3) <6FD3A400-4BB2-3B95-B90C-BE6E9D0D78FA> /usr/lib/system/libsystem_c.dylib
    0x7fff95808000 -     0x7fff95823ff7  libCRFSuite.dylib (34) <FFAE75FA-C54E-398B-AA97-18164CD9789D> /usr/lib/libCRFSuite.dylib
    0x7fff95824000 -     0x7fff95824fff  com.apple.Accelerate.vecLib (3.9 - vecLib 3.9) <F8D0CC77-98AC-3B58-9FE6-0C25421827B6> /System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vecLib.framework/Versions/A/vecLib
    0x7fff95c7a000 -     0x7fff95c7cffb  libutil.dylib (34) <DAC4A6CF-A1BB-3874-9569-A919316D30E8> /usr/lib/libutil.dylib
    0x7fff95cd7000 -     0x7fff95cf2ff7  libsystem_malloc.dylib (23.10.1) <A695B4E4-38E9-332E-A772-29D31E3F1385> /usr/lib/system/libsystem_malloc.dylib
    0x7fff95cf3000 -     0x7fff95de1fff  libJP2.dylib (1042) <01D988D4-E36F-3120-8BA4-EF6282ECB010> /System/Library/Frameworks/ImageIO.framework/Versions/A/Resources/libJP2.dylib
    0x7fff95de2000 -     0x7fff95e72fff  com.apple.Metadata (10.7.0 - 800.23) <BFEE576F-D779-300B-B685-26A3A008710A> /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/Metadata.framework/Versions/A/Metadata
    0x7fff963e4000 -     0x7fff963f6ff7  com.apple.MultitouchSupport.framework (245.13 - 245.13) <D5E7416D-45AB-3690-86C6-CC4B5FCEA2D2> /System/Library/PrivateFrameworks/MultitouchSupport.framework/Versions/A/MultitouchSupport
    0x7fff9647f000 -     0x7fff964d2fff  com.apple.ScalableUserInterface (1.0 - 1) <CF745298-7373-38D2-B3B1-727D5A569E48> /System/Library/Frameworks/QuartzCore.framework/Versions/A/Frameworks/ScalableUserInterface.framework/Versions/A/ScalableUserInterface
    0x7fff964d3000 -     0x7fff964e3ffb  libsasl2.2.dylib (170) <C8E25710-68B6-368A-BF3E-48EC7273177B> /usr/lib/libsasl2.2.dylib
    0x7fff964e4000 -     0x7fff9651cff7  com.apple.RemoteViewServices (2.0 - 94) <3F34D630-3DDB-3411-BC28-A56A9B55EBDA> /System/Library/PrivateFrameworks/RemoteViewServices.framework/Versions/A/RemoteViewServices
    0x7fff9651d000 -     0x7fff9656ffff  libc++.1.dylib (120) <4F68DFC5-2077-39A8-A449-CAC5FDEE7BDE> /usr/lib/libc++.1.dylib
    0x7fff96594000 -     0x7fff96665ff1  com.apple.DiskImagesFramework (10.9 - 371.1) <D456ED08-4C1D-341F-BAB8-85E34A7275C5> /System/Library/PrivateFrameworks/DiskImages.framework/Versions/A/DiskImages
    0x7fff96680000 -     0x7fff966b0fff  com.apple.IconServices (25 - 25.17) <4751127E-FBD5-3ED5-8510-08D4E4166EFE> /System/Library/PrivateFrameworks/IconServices.framework/Versions/A/IconServices
    0x7fff966f2000 -     0x7fff9670bff7  com.apple.Kerberos (3.0 - 1) <F108AFEB-198A-3BAF-BCA5-9DFCE55EFF92> /System/Library/Frameworks/Kerberos.framework/Versions/A/Kerberos
    0x7fff96883000 -     0x7fff96892ff8  com.apple.LangAnalysis (1.7.0 - 1.7.0) <8FE131B6-1180-3892-98F5-C9C9B79072D4> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/LangAnalysis.framework/Versions/A/LangAnalysis
    0x7fff9697d000 -     0x7fff96981fff  com.apple.CommonPanels (1.2.6 - 96) <6B434AFD-50F8-37C7-9A56-162C17E375B3> /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/CommonPanels.framework/Versions/A/CommonPanels
    0x7fff96982000 -     0x7fff96982fff  com.apple.CoreServices (59 - 59) <7A697B5E-F179-30DF-93F2-8B503CEEEFD5> /System/Library/Frameworks/CoreServices.framework/Versions/A/CoreServices
    0x7fff96983000 -     0x7fff96986fff  com.apple.help (1.3.3 - 46) <AE763646-D07A-3F9A-ACD4-F5CBD734EE36> /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/Help.framework/Versions/A/Help
    0x7fff96987000 -     0x7fff969d4ff2  com.apple.print.framework.PrintCore (9.0 - 428) <8D8253E3-302F-3DB2-9C5C-572CB974E8B3> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/PrintCore.framework/Versions/A/PrintCore
    0x7fff969d5000 -     0x7fff96a44ff1  com.apple.ApplicationServices.ATS (360 - 363.3) <546E89D9-2AE7-3111-B2B8-2366650D22F0> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ATS.framework/Versions/A/ATS
    0x7fff96a45000 -     0x7fff96b10fff  libvDSP.dylib (423.32) <3BF732BE-DDE0-38EB-8C54-E4E3C64F77A7> /System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vecLib.framework/Versions/A/libvDSP.dylib
    0x7fff96d2e000 -     0x7fff96d70ff7  libauto.dylib (185.5) <F45C36E8-B606-3886-B5B1-B6745E757CA8> /usr/lib/libauto.dylib
    0x7fff96e4c000 -     0x7fff96f9fff7  com.apple.audio.toolbox.AudioToolbox (1.10 - 1.10) <3511ABFE-22E1-3B91-B86A-5E3A78CE33FD> /System/Library/Frameworks/AudioToolbox.framework/Versions/A/AudioToolbox
    0x7fff96fa0000 -     0x7fff96fa7fff  libcompiler_rt.dylib (35) <4CD916B2-1B17-362A-B403-EF24A1DAC141> /usr/lib/system/libcompiler_rt.dylib
    0x7fff96fa8000 -     0x7fff97071fff  com.apple.LaunchServices (572.26 - 572.26) <EF8A4A15-0861-35C5-9744-5E1BC5C26DD9> /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/LaunchServices.framework/Versions/A/LaunchServices
    0x7fff97072000 -     0x7fff9707fff0  libbz2.1.0.dylib (29) <0B98AC35-B138-349C-8063-2B987A75D24C> /usr/lib/libbz2.1.0.dylib
    0x7fff970f3000 -     0x7fff970f5fff  libCVMSPluginSupport.dylib (9.6) <FFDA2811-060E-3591-A280-4A726AA82436> /System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libCVMSPluginSupport.dylib
    0x7fff970f6000 -     0x7fff971a6ff7  libvMisc.dylib (423.32) <049C0735-1808-39B9-943F-76CB8021744F> /System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vecLib.framework/Versions/A/libvMisc.dylib
    0x7fff9747e000 -     0x7fff97497ff7  com.apple.Ubiquity (1.3 - 289) <C7F1B734-CE81-334D-BE41-8B20D95A1F9B> /System/Library/PrivateFrameworks/Ubiquity.framework/Versions/A/Ubiquity
    0x7fff9753d000 -     0x7fff97540fff  com.apple.TCC (1.0 - 1) <32A075D9-47FD-3E71-95BC-BFB0D583F41C> /System/Library/PrivateFrameworks/TCC.framework/Versions/A/TCC
    0x7fff97541000 -     0x7fff97671ff7  com.apple.desktopservices (1.8.2 - 1.8.2) <76D6ED93-9D5A-3941-8B88-A1773290AE74> /System/Library/PrivateFrameworks/DesktopServicesPriv.framework/Versions/A/DesktopServicesPriv
    0x7fff976c2000 -     0x7fff97727ff5  com.apple.Heimdal (4.0 - 2.0) <523EC6C4-BD9B-3840-9376-E617BA627F59> /System/Library/PrivateFrameworks/Heimdal.framework/Versions/A/Heimdal
    0x7fff97728000 -     0x7fff97759fff  com.apple.MediaKit (15 - 709) <23E33409-5C39-3F93-9E73-2B0E9EE8883E> /System/Library/PrivateFrameworks/MediaKit.framework/Versions/A/MediaKit
    0x7fff9775a000 -     0x7fff9781cff5  com.apple.CoreText (352.0 - 367.19) <24848DF1-67EC-3D41-9548-1F14C6DFBBF9> /System/Library/Frameworks/CoreText.framework/Versions/A/CoreText
    0x7fff9781d000 -     0x7fff97841ff7  libJPEG.dylib (1042) <33648F26-A1DA-3C30-B15B-E9FFD41DB25C> /System/Library/Frameworks/ImageIO.framework/Versions/A/Resources/libJPEG.dylib
    0x7fff978aa000 -     0x7fff978b6ff7  com.apple.OpenDirectory (10.9 - 173.90.1) <E5EF8E1A-7214-36D0-AF0D-8D030DF6C2FC> /System/Library/Frameworks/OpenDirectory.framework/Versions/A/OpenDirectory
    0x7fff978b7000 -     0x7fff978ceff7  com.apple.CFOpenDirectory (10.9 - 173.90.1) <38A25261-C622-3F11-BFD3-7AFFC44D57B8> /System/Library/Frameworks/OpenDirectory.framework/Versions/A/Frameworks/CFOpenDirectory.framework/Versions/A/CFOpenDirectory
    0x7fff978cf000 -     0x7fff97b28ff9  com.apple.security (7.0 - 55471.14) <3F7100A0-FE46-333D-9A4B-396580F1B4FE> /System/Library/Frameworks/Security.framework/Versions/A/Security
    0x7fff97c6b000 -     0x7fff9809effb  com.apple.vision.FaceCore (3.0.0 - 3.0.0) <F42BFC9C-0B16-35EF-9A07-91B7FDAB7FC5> /System/Library/PrivateFrameworks/FaceCore.framework/Versions/A/FaceCore
    0x7fff981fa000 -     0x7fff98205ff7  com.apple.DirectoryService.Framework (10.9 - 173.90.1) <A9866D67-C5A8-36D1-A1DB-E2FA60328698> /System/Library/Frameworks/DirectoryService.framework/Versions/A/DirectoryService
    0x7fff98210000 -     0x7fff98232fff  com.apple.framework.familycontrols (4.1 - 410) <4FDBCD10-CAA2-3A9C-99F2-06DCB8E81DEE> /System/Library/PrivateFrameworks/FamilyControls.framework/Versions/A/FamilyControls
    0x7fff98233000 -     0x7fff98233fff  com.apple.Cocoa (6.8 - 20) <E90E99D7-A425-3301-A025-D9E0CD11918E> /System/Library/Frameworks/Cocoa.framework/Versions/A/Cocoa
    0x7fff9823f000 -     0x7fff9825bfff  libresolv.9.dylib (54) <11C2C826-F1C6-39C6-B4E8-6E0C41D4FA95> /usr/lib/libresolv.9.dylib
    0x7fff9825c000 -     0x7fff9828bfd2  libsystem_m.dylib (3047.16) <B7F0E2E4-2777-33FC-A787-D6430B630D54> /usr/lib/system/libsystem_m.dylib
    0x7fff9828c000 -     0x7fff98292ff7  libsystem_platform.dylib (24.90.1) <3C3D3DA8-32B9-3243-98EC-D89B9A1670B3> /usr/lib/system/libsystem_platform.dylib
    0x7fff98293000 -     0x7fff98bb2af3  com.apple.CoreGraphics (1.600.0 - 599.20.11) <06212100-8069-31A1-9C44-F6C4B1695230> /System/Library/Frameworks/CoreGraphics.framework/Versions/A/CoreGraphics
    0x7fff98c1d000 -     0x7fff98c8afff  com.apple.SearchKit (1.4.0 - 1.4.0) <B9B8D510-A27E-36B0-93E9-17146D9E9045> /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/SearchKit.framework/Versions/A/SearchKit
    0x7fff98d16000 -     0x7fff98fe6ffc  com.apple.CoreImage (9.2.7) <BF88A02E-994E-3970-AC62-04248CA8DC46> /System/Library/Frameworks/QuartzCore.framework/Versions/A/Frameworks/CoreImage.framework/Versions/A/CoreImage
    0x7fff99108000 -     0x7fff9910afff  com.apple.EFILogin (2.0 - 2) <C360E8AF-E9BB-3BBA-9DF0-57A92CEF00D4> /System/Library/PrivateFrameworks/EFILogin.framework/Versions/A/EFILogin
    0x7fff9917a000 -     0x7fff9917eff7  libGIF.dylib (1042) <C57840F6-1C11-3273-B4FC-956950B94034> /System/Library/Frameworks/ImageIO.framework/Versions/A/Resources/libGIF.dylib
    0x7fff99397000 -     0x7fff9939cff7  libunwind.dylib (35.3) <78DCC358-2FC1-302E-B395-0155B47CB547> /usr/lib/system/libunwind.dylib
    0x7fff9939d000 -     0x7fff993f8ffb  com.apple.AE (665.5 - 665.5) <BBA230F9-144C-3CAB-A77A-0621719244CD> /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/AE.framework/Versions/A/AE
    0x7fff993fb000 -     0x7fff993fcff7  com.apple.print.framework.Print (9.0 - 260) <EE00FAE1-DA03-3EC2-8571-562518C46994> /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/Print.framework/Versions/A/Print
    0x7fff993fd000 -     0x7fff99503ff7  com.apple.ImageIO.framework (3.3.0 - 1042) <6101F33E-CACC-3070-960A-9A2EA4BC5F44> /System/Library/Frameworks/ImageIO.framework/Versions/A/ImageIO
    0x7fff99504000 -     0x7fff99507ff7  libdyld.dylib (239.4) <CF03004F-58E4-3BB6-B3FD-BE4E05F128A0> /usr/lib/system/libdyld.dylib
    0x7fff99508000 -     0x7fff99508ffd  com.apple.audio.units.AudioUnit (1.10 - 1.10) <486A97CD-C1F7-324D-87BC-B07F7A415B68> /System/Library/Frameworks/AudioUnit.framework/Versions/A/AudioUnit
    0x7fff99509000 -     0x7fff99510ff3  libcopyfile.dylib (103) <5A881779-D0D6-3029-B371-E3021C2DDA5E> /usr/lib/system/libcopyfile.dylib
    0x7fff998a5000 -     0x7fff998f6ff3  com.apple.audio.CoreAudio (4.2.0 - 4.2.0) <BF4C2FE3-8BC8-30D1-8347-2A7221268794> /System/Library/Frameworks/CoreAudio.framework/Versions/A/CoreAudio
    0x7fff998fe000 -     0x7fff9990bff7  libxar.1.dylib (202) <5572AA71-E98D-3FE1-9402-BB4A84E0E71E> /usr/lib/libxar.1.dylib
    0x7fff9992e000 -     0x7fff99975fff  libFontRegistry.dylib (127) <A77A0480-AA5D-3CC8-8B68-69985CD546DC> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ATS.framework/Versions/A/Resources/libFontRegistry.dylib
    0x7fff99c08000 -     0x7fff99c49fff  com.apple.PerformanceAnalysis (1.47 - 47) <784ED7B8-FAE4-36CE-8C76-B7D300316C9F> /System/Library/PrivateFrameworks/PerformanceAnalysis.framework/Versions/A/PerformanceAnalysis
    0x7fff99c93000 -     0x7fff99cafff7  libsystem_kernel.dylib (2422.90.20) <20E00C54-9222-359F-BD98-CB79ABED769A> /usr/lib/system/libsystem_kernel.dylib
    0x7fff99de1000 -     0x7fff99e09ffb  libRIP.A.dylib (599.20.11) <D79461A6-2E24-3531-ADA2-EAC972384A7D> /System/Library/Frameworks/CoreGraphics.framework/Versions/A/Resources/libRIP.A.dylib
    0x7fff99e0a000 -     0x7fff99ef9fff  libFontParser.dylib (111.1) <835A8253-6AB9-3AAB-9CBF-171440DEC486> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ATS.framework/Versions/A/Resources/libFontParser.dylib
    0x7fff99efa000 -     0x7fff99fbeff7  com.apple.backup.framework (1.5.2 - 1.5.2) <A3C552F0-670B-388F-93FA-D917F96ACE1B> /System/Library/PrivateFrameworks/Backup.framework/Versions/A/Backup
    0x7fff9a8dc000 -     0x7fff9a8dcfff  com.apple.ApplicationServices (48 - 48) <3E3F01A8-314D-378F-835E-9CC4F8820031> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/ApplicationServices
    0x7fff9a8ea000 -     0x7fff9a8f4ff7  com.apple.CrashReporterSupport (10.9 - 538) <B487466B-3AA1-3854-A808-A61F049FA794> /System/Library/PrivateFrameworks/CrashReporterSupport.framework/Versions/A/CrashReporterSupport
    0x7fff9a8f5000 -     0x7fff9a900fff  libGL.dylib (9.6) <A2EF4E15-EA08-396D-A1D4-29E1CED6876A> /System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGL.dylib
    0x7fff9a901000 -     0x7fff9abfffff  com.apple.Foundation (6.9 - 1056.13) <2EE9AB07-3EA0-37D3-B407-4A520F2CB497> /System/Library/Frameworks/Foundation.framework/Versions/C/Foundation

External Modification Summary:
  Calls made by other processes targeting this process:
    task_for_pid: 1
    thread_create: 0
    thread_set_state: 0
  Calls made by this process:
    task_for_pid: 0
    thread_create: 0
    thread_set_state: 0
  Calls made by all processes on this machine:
    task_for_pid: 1306
    thread_create: 1
    thread_set_state: 0

VM Region Summary:
ReadOnly portion of Libraries: Total=209.1M resident=142.4M(68%) swapped_out_or_unallocated=66.7M(32%)
Writable regions: Total=73.3M written=2556K(3%) resident=3160K(4%) swapped_out=3104K(4%) unallocated=70.2M(96%)
 
REGION TYPE                      VIRTUAL
===========                      =======
CG backing stores                   136K
CG shared images                    180K
Dispatch continuations             8192K
Kernel Alloc Once                     8K
MALLOC                             36.3M
MALLOC (admin)                       32K
Memory Tag 242                       12K
STACK GUARD                        56.0M
Stack                              10.6M
VM_ALLOCATE                        16.3M
__DATA                             23.7M
__IMAGE                             528K
__LINKEDIT                         71.2M
__TEXT                            137.9M
__UNICODE                           544K
mapped file                        44.0M
shared memory                         4K
===========                      =======
TOTAL                             405.6M

Model: MacBookAir4,2, BootROM MBA41.0077.B0F, 2 processors, Intel Core i5, 1.7 GHz, 4 GB, SMC 1.73f66
Graphics: Intel HD Graphics 3000, Intel HD Graphics 3000, Built-In, 384 MB
Memory Module: BANK 0/DIMM0, 2 GB, DDR3, 1333 MHz, 0x80CE, 0x4D34373142353737334448302D4348392020
Memory Module: BANK 1/DIMM0, 2 GB, DDR3, 1333 MHz, 0x80CE, 0x4D34373142353737334448302D4348392020
AirPort: spairport_wireless_card_type_airport_extreme (0x14E4, 0xE9), Broadcom BCM43xx 1.0 (5.106.98.100.22)
Bluetooth: Version 4.2.3f10 13477, 3 services, 23 devices, 1 incoming serial ports
Network Service: Wi-Fi, AirPort, en0
Serial ATA Device: APPLE SSD TS128C, 121,33 GB
USB Device: Hub
USB Device: BRCM20702 Hub
USB Device: Bluetooth USB Host Controller
USB Device: Apple Internal Keyboard / Trackpad
USB Device: FaceTime Camera (Built-in)
USB Device: Hub
USB Device: Internal Memory Card Reader
Thunderbolt Bus: MacBook Air, Apple Inc., 8.1
abma
Spring Developer
Posts: 3798
Joined: 01 Jun 2009, 00:08

Re: 95.0 for OSX

Post by abma »

i don't see anything useful in this stacktrace.

also you should try to compile spring 96.0 and then run it with gdb attached if it still crashes, else idk how to make a progress here.
abma
Spring Developer
Posts: 3798
Joined: 01 Jun 2009, 00:08

Re: 95.0 for OSX

Post by abma »

It seems this isn't still clear, this why big and in red letters:


It is still very likely that the build from the buildbot is broken, still nobody could/did verify/check that.


none of the current devs has access to osx.

so, please if you can:

compile spring on osx, run it and report back if it runs.

if it crashes, run with gdb attached, run "bt" and paste the output here.

if you need help to do so, please ask.
spitfire
Posts: 4
Joined: 22 Mar 2014, 01:13

Re: 95.0 for OSX

Post by spitfire »

Are there any OS X-specific build instructions, or is it the same procedure as on Linux?
abma
Spring Developer
Posts: 3798
Joined: 01 Jun 2009, 00:08

Re: 95.0 for OSX

Post by abma »

spitfire wrote:Are there any OS X-specific build instructions, or is it the same procedure as on Linux?
in general, they are the same:

install gcc/cmake/libs/git, then git clone, cmake ., make ...


instructions could still work for spring 96.0:
http://springrts.com/wiki/Building_Spring_on_MacOSX

for current development branch they won't work as sdl2 is needed.
User avatar
LordMatt
Posts: 3393
Joined: 15 May 2005, 04:26

Re: 95.0 for OSX

Post by LordMatt »

I have recently compiled 0.96 on Mountain Lion (compiled in debug mode):

Code: Select all

Matts-MacBook-Air-3:~ matt$ sudo ggdb /usr/local/bin/spring
GNU gdb (GDB) 7.6
Copyright (C) 2013 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.  Type "show copying"
and "show warranty" for details.
This GDB was configured as "x86_64-apple-darwin12.3.0".
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>...
Reading symbols from /usr/local/bin/spring...done.
(gdb) b malloc_error_break
Function "malloc_error_break" not defined.
Make breakpoint pending on future shared library load? (y or [n]) y
Breakpoint 1 (malloc_error_break) pending.
(gdb) r
Starting program: /usr/local/bin/spring 

...Lots of warnings about libraries without symbols...

[New Thread 0x1c03 of process 55887]
[New Thread 0x1d03 of process 55887]
[New Thread 0x1e03 of process 55887]
[New Thread 0x1f03 of process 55887]
spring(55887,0x7fff76a15180) malloc: *** error for object 0x7fff76ebb570: pointer being freed was not allocated
*** set a breakpoint in malloc_error_break to debug

Breakpoint 1, 0x00007fff8da1f588 in malloc_error_break () from /usr/lib/system/libsystem_c.dylib
(gdb) bt
#0  0x00007fff8da1f588 in malloc_error_break () from /usr/lib/system/libsystem_c.dylib
#1  0x00007fff8da20942 in free () from /usr/lib/system/libsystem_c.dylib
#2  0x000000010054ea86 in CmdLineParams::Parse ()
#3  0x0000000100563f42 in SpringApp::ParseCmdLine ()
#4  0x00000001005656dd in SpringApp::SpringApp ()
#5  0x000000010053ed20 in Run ()
#6  0x000000010053f31e in SDL_main ()
#7  0x00000001006126d1 in ?? ()
#8  0x00007fff90a7ceda in _CFXNotificationPost () from /System/Library/Frameworks/CoreFoundation.framework/Versions/A/CoreFoundation
#9  0x00007fff86be5796 in ?? () from /System/Library/Frameworks/Foundation.framework/Versions/C/Foundation
#10 0x00007fff8c73952d in ?? () from /System/Library/Frameworks/AppKit.framework/Versions/C/AppKit
#11 0x00007fff8c739266 in ?? () from /System/Library/Frameworks/AppKit.framework/Versions/C/AppKit
#12 0x00007fff8c736452 in ?? () from /System/Library/Frameworks/AppKit.framework/Versions/C/AppKit
#13 0x00007fff8c73604c in ?? () from /System/Library/Frameworks/AppKit.framework/Versions/C/AppKit
#14 0x00007fff86bff05b in ?? () from /System/Library/Frameworks/Foundation.framework/Versions/C/Foundation
#15 0x00007fff86bfeebd in ?? () from /System/Library/Frameworks/Foundation.framework/Versions/C/Foundation
#16 0x00007fff91484078 in aeDispatchAppleEvent(AEDesc const*, AEDesc*, unsigned int, unsigned char*) () from /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/AE.framework/Versions/A/AE
#17 0x00007fff91483ed9 in dispatchEventAndSendReply(AEDesc const*, AEDesc*) () from /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/AE.framework/Versions/A/AE
#18 0x00007fff91483d99 in aeProcessAppleEvent () from /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/AE.framework/Versions/A/AE
#19 0x00007fff8fd93709 in AEProcessAppleEvent () from /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/HIToolbox.framework/Versions/A/HIToolbox
#20 0x00007fff8c732836 in ?? () from /System/Library/Frameworks/AppKit.framework/Versions/C/AppKit
#21 0x00007fff8c731df2 in ?? () from /System/Library/Frameworks/AppKit.framework/Versions/C/AppKit
#22 0x00007fff8c7291a3 in ?? () from /System/Library/Frameworks/AppKit.framework/Versions/C/AppKit
#23 0x0000000100612cf0 in ?? ()
#24 0x00007fff8e9be7e1 in start () from /usr/lib/system/libdyld.dylib
#25 0x00007fff8e9be7e1 in start () from /usr/lib/system/libdyld.dylib
#26 0x0000000000000000 in ?? ()
Last edited by LordMatt on 22 Mar 2014, 06:33, edited 1 time in total.
Reason: Modern GDB Stacktrace
abma
Spring Developer
Posts: 3798
Joined: 01 Jun 2009, 00:08

Re: 95.0 for OSX

Post by abma »

boost is broken it seems: http://stackoverflow.com/questions/4697 ... tring-fail

so current build instructions don't work :-(

when recompiling ports boost, does it use the compiler from ports (GCC 4.7 or so...)

ah: http://jamesreubenknowles.com/how-to-in ... -os-x-1774

updated wiki instructions! now, when done from scratch they could work.

sorry, idk how to recompile the ports packages, but all of them have to be recompiled!

not sure if

Code: Select all

sudo port -fp uninstall installed
does what it should do... (uninstall all packages install by ports)
User avatar
LordMatt
Posts: 3393
Joined: 15 May 2005, 04:26

Re: 95.0 for OSX

Post by LordMatt »

That would not succeed because vanilla boost will always install with the default compiler (which is clang). Instead I am trying this:

Code: Select all

sudo port install boost +gcc47
abma
Spring Developer
Posts: 3798
Joined: 01 Jun 2009, 00:08

Re: 95.0 for OSX

Post by abma »

imo all libs that use stdlibc++ have to be recompiled with gcc47...

would this work?

Code: Select all

sudo port install cmake libsdl boost libpng jpeg \
                  tiff libogg libvorbis python27 libdevil git-core binutils \
                  openal p7zip glew +gcc47
User avatar
LordMatt
Posts: 3393
Joined: 15 May 2005, 04:26

Re: 95.0 for OSX

Post by LordMatt »

The maintainer of each port sets the compiler and you cannot easily override that. In this case, boost has a number of variants (like +gcc47) with different compilers but I don't know if the others do. Compiling with the new boost (+gcc47) at least lets me start spring now.
spitfire
Posts: 4
Joined: 22 Mar 2014, 01:13

95.0 for OSX

Post by spitfire »

When configuring, CMake threw an error, that freetype is missing, additionally, I've installed it from macports.

After that change 96.0 compilation still fails for me on 10.9.2:

Code: Select all

[ 40%] Building CXX object rts/builds/legacy/CMakeFiles/engine-legacy.dir/__/__/Rendering/WorldDrawer.cpp.o
/Users/mieszko/spring/spring_96.0/rts/Rendering/WorldDrawer.cpp:276:2: warning:
      'gluOrtho2D' is deprecated: first deprecated in OS X 10.9 -
      "Use GLKMatrix4MakeOrtho" [-Wdeprecated-declarations]
        gluOrtho2D(0,1,0,1);
        ^
/System/Library/Frameworks/OpenGL.framework/Headers/glu.h:276:13: note:
      'gluOrtho2D' declared here
extern void gluOrtho2D (GLdouble left, GLdouble right, GLdouble bottom, ...
            ^
1 warning generated.
[ 40%] Building CXX object rts/builds/legacy/CMakeFiles/engine-legacy.dir/__/__/Rendering/glFont.cpp.o
In file included from /Users/mieszko/spring/spring_96.0/rts/Rendering/glFont.cpp:11:
/usr/X11R6/include/ft2build.h:56:10: fatal error: 'freetype/config/ftheader.h'
      file not found
#include <freetype/config/ftheader.h>
         ^
1 error generated.
make[3]: *** [rts/builds/legacy/CMakeFiles/engine-legacy.dir/__/__/Rendering/glFont.cpp.o] Error 1
make[2]: *** [rts/builds/legacy/CMakeFiles/engine-legacy.dir/all] Error 2
make[1]: *** [rts/builds/CMakeFiles/spring.dir/rule] Error 2
make: *** [spring] Error 2
➜  spring_96.0

EDIT:
(OK, I think I fixed that one, by additionally adding:

Code: Select all

-DFREETYPE_INCLUDE_DIR_freetype2=${prefix}/include/freetype2 \
-DFREETYPE_INCLUDE_DIR_ft2build=${prefix}/include/freetype2 \
-DFREETYPE_LIBRARY=${prefix}/lib/libfreetype.dylib
to CMake, and exporting

Code: Select all

export prefix=/opt/local
)

EDIT2:
Now I'm getting this (both 96.0 and git master):

Code: Select all

 71%] Building CXX object rts/builds/legacy/CMakeFiles/engine-legacy.dir/__/__/ExternalAI/SSkirmishAICallbackImpl.cpp.o
/Users/mieszko/spring/spring/rts/ExternalAI/SSkirmishAICallbackImpl.cpp:1275:14: error:
      cannot initialize a variable of type 'const char *' with an rvalue of type
      'char'
        const char* theName = '\0';
                    ^         ~~~~
1 error generated.
make[3]: *** [rts/builds/legacy/CMakeFiles/engine-legacy.dir/__/__/ExternalAI/SSkirmishAICallbackImpl.cpp.o] Error 1
make[2]: *** [rts/builds/legacy/CMakeFiles/engine-legacy.dir/all] Error 2
make[1]: *** [rts/builds/CMakeFiles/spring.dir/rule] Error 2
make: *** [spring] Error 2
EDIT3:

I somehow got it to compile/run.
Is there any other lobby for OS X than weblobby?
abma
Spring Developer
Posts: 3798
Joined: 01 Jun 2009, 00:08

Re: 95.0 for OSX

Post by abma »

it seems you've used clang to compile spring.

with a clang compiled spring you can't play online, you will desync i guess.

springlobby should work on osx, but you'll have problems to compile it too as no current dev has access to osx.
User avatar
LordMatt
Posts: 3393
Joined: 15 May 2005, 04:26

Re: 95.0 for OSX

Post by LordMatt »

I upgraded to mavericks yesterday and I also encountered those errors, the first of which I solved by installing freetype in macports and the second changing

Code: Select all

const char* theName = '\0';
to

Code: Select all

const char* theName;
I was able to get springlobby (and spring) to compile with clang instead of gcc, however that does not sync unfortunately. There were some additional issues in springlobby:

in src/sound/alsound.ccp:

Code: Select all

#ifdef __WXMAC__
#include <al.h>
#else
#include <AL/al.h>
#endif
to

Code: Select all

#ifdef __WXMAC__
#include <OpenAL/al.h>
#endif
and in src/lsl/src/lslunitsync/unitsync.cpp

Code: Select all

bool CompareStringNoCase(const std::string& first, const std::string& second)
{
	static std::locale l("C");
	static boost::is_iless il(l);
	try {
		//this fails on certain names
		return il(first,second);
	}
	catch(...) {
		return first < second;
	}
}
to

Code: Select all

bool CompareStringNoCase(const std::string& first, const std::string& second)
{
	return first < second;
}
Spring and springlobby then functioned fine to test a game, however they did not sync with gcc spring I had compiled on Ubuntu. The next project will be to figure out if spring and springlobby and a number of their dependencies can be compiled with gcc on mac. Unfortunately mac is very much deprecating gcc in favor of clang which is making this more complicated than it used to be.
User avatar
LordMatt
Posts: 3393
Joined: 15 May 2005, 04:26

Re: 95.0 for OSX

Post by LordMatt »

What I gather after reading about macports is that making it use gcc to compile lots of libraries is not possible. This may be possible to do with homebrew, however.
Post Reply

Return to “Mac OS X”