Opened 12 years ago

Closed 10 years ago

Last modified 10 years ago

#1540 closed defect (fixed)

[PATCH] Disable "scenario editor" menu item when atlas is disabled

Reported by: fabio Owned by: leper
Priority: If Time Permits Milestone: Alpha 17
Component: Core engine Keywords: patch
Cc: Patch:

Description

Else clicking on it givers this error:

ERROR: DllLoader: dlopen(libAtlasUI.so) failed: libAtlasUI.so: cannot open shared object file: No such file or directory; dlopen(libAtlasUI_dbg.so) failed: libAtlasUI_dbg.so: cannot open shared object file: No such file or directory; 

Eventually it can "greyed out" with a tooltip saying "Scenario editor was disabled in this build", or something.

Attachments (2)

system_info.txt (3.0 KB ) - added by fabio 11 years ago.
disableAtlasButtonIfNotAvailable.patch (4.0 KB ) - added by Adrián Chaves 11 years ago.
Patch to disable the Scenario Editor button if Atlas cannot be loaded.

Download all attachments as: .zip

Change History (36)

comment:1 by Erik Johansson, 12 years ago

Is that ever likely to happen in release builds? I'm just thinking it seems a bit wasteful to add logic to check for something that only happens if someone on purpose doesn't build Atlas (and thus should be aware of it anyway). If it's a quick and non-intrusive addition it's definitely nice to have though. I would think it might be hard for the code to know whether Atlas is disabled on purpose or if the DLL etc failed to build or something though, but the programmers know that better than I do :)

comment:2 by fabio, 12 years ago

Binary for older OS X disable Atlas since it doesn't build.

in reply to:  2 ; comment:3 by historic_bruno, 12 years ago

Replying to fabio:

Binary for older OS X disable Atlas since it doesn't build.

You mean the app bundle on LatestReleaseMac? Atlas shouldn't be disabled.

in reply to:  3 comment:4 by fabio, 12 years ago

Replying to historic_bruno:

Replying to fabio:

Binary for older OS X disable Atlas since it doesn't build.

You mean the app bundle on LatestReleaseMac? Atlas shouldn't be disabled.

I remember it was disabled on the first 32 bit package, but maybe it get reenabled.

comment:5 by wraitii, 12 years ago

Atlas can certainly be built and work on OS X now so I should imagine it's not disabled.

comment:6 by historic_bruno, 12 years ago

The point of the ticket is valid though, it would be nicer to disable the menu option when Atlas is not included. It could possibly be a build option, we already have --enable-atlas and --disable-atlas for Premake, they could add a preprocessor definition to a new engine function exposed to GUI scripts (I think it should be separate from the current ATLAS_IsAvailable() check which tries to load the DLL and thus would detect actual errors).

comment:7 by historic_bruno, 12 years ago

Milestone: Alpha 11Backlog

in reply to:  5 comment:8 by fabio, 12 years ago

Replying to wraitii:

Atlas can certainly be built and work on OS X now so I should imagine it's not disabled.

I tried again and I still get this with the official image of alpha X, it looks like it's still disabled.

Process:         pyrogenesis [183]
Path:            /Applications/0ad.app/Contents/MacOS/pyrogenesis
Identifier:      com.wildfiregames.0ad
Version:         0.0.0 (0.0.0)
Code Type:       X86 (Native)
Parent Process:  launchd [117]

Date/Time:       2012-07-24 13:11:04.373 +0200
OS Version:      Mac OS X 10.6.8 (10K549)
Report Version:  6

Interval Since Last Report:          19192 sec
Crashes Since Last Report:           5
Per-App Interval Since Last Report:  816 sec
Per-App Crashes Since Last Report:   4
Anonymous UUID:                      51D32CB5-CE4D-4120-8332-D91632307A0A

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

Dyld Error Message:
  Symbol not found: __ZN8wxStringD2Ev
  Referenced from: /Applications/0ad.app/Contents/Frameworks/libAtlasUI.dylib
  Expected in: flat namespace

Binary Images:
    0x1000 -   0x9ccfe3 +com.wildfiregames.0ad 0.0.0 (0.0.0) <CFDE605E-359A-8B91-DCDC-58C3375BAC8D> /Applications/0ad.app/Contents/MacOS/pyrogenesis
  0xcc1000 -   0xceafff  com.apple.audio.OpenAL 1.4 (1.4) <CDC6D2B8-3DCA-E511-2250-75567E4C94BD> /System/Library/Frameworks/OpenAL.framework/Versions/A/OpenAL
 0x1fce000 -  0x1ff2fe7  GLRendererFloat ??? (???) <F19DDBE8-1DF6-6618-F554-0E81ED85CE67> /System/Library/Frameworks/OpenGL.framework/Resources/GLRendererFloat.bundle/GLRendererFloat
0x2223e000 - 0x223b7ff7  GLEngine ??? (???) <76C922AA-A4A7-2835-537B-17F316AD95F6> /System/Library/Frameworks/OpenGL.framework/Resources/GLEngine.bundle/GLEngine
0x223e9000 - 0x22625fef  com.apple.ATIRadeonX1000GLDriver 1.6.36 (6.3.6) <5370EAFE-71E0-6740-7C3F-705442BFC504> /System/Library/Extensions/ATIRadeonX1000GLDriver.bundle/Contents/MacOS/ATIRadeonX1000GLDriver
0x238b5000 - 0x24277feb +libAtlasUI.dylib ??? (???) <3A6A0A7D-2900-7FFB-E5DC-F7EE0F501E2F> /Applications/0ad.app/Contents/Frameworks/libAtlasUI.dylib
0x24715000 - 0x24809ff7 +libX11.6.dylib 9.0.0 (compatibility 9.0.0) <C982A508-21E9-7107-E94F-30503748BE22> /usr/X11/lib/libX11.6.dylib
0x2482b000 - 0x2482cff7 +libXau.6.dylib 7.0.0 (compatibility 7.0.0) <1BCAF459-79A1-7AA7-E476-51E2A90E5F3A> /usr/X11/lib/libXau.6.dylib
0x24830000 - 0x24832fe7 +libXdmcp.6.dylib 7.0.0 (compatibility 7.0.0) <CEC90676-9586-3160-1982-EBDCCFEED45A> /usr/X11/lib/libXdmcp.6.dylib
0x8fe00000 - 0x8fe4162b  dyld 132.1 (???) <A4F6ADCC-6448-37B4-ED6C-ABB2CD06F448> /usr/lib/dyld
0x90003000 - 0x90005ff7  com.apple.securityhi 4.0 (36638) <38D36D4D-C798-6ACE-5FA8-5C001993AD6B> /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/SecurityHI.framework/Versions/A/SecurityHI
0x90079000 - 0x900fbffb  SecurityFoundation ??? (???) <3670AE8B-06DA-C447-EB14-79423DB9C474> /System/Library/Frameworks/SecurityFoundation.framework/Versions/A/SecurityFoundation
0x900fc000 - 0x9011afe7  libPng.dylib ??? (???) <45185287-25AD-C239-AA58-8FA53DF55B79> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ImageIO.framework/Versions/A/Resources/libPng.dylib
0x9037c000 - 0x903b6fe7  libssl.0.9.8.dylib 0.9.8 (compatibility 0.9.8) <C62A7753-99A2-6782-92E7-6628A6190A90> /usr/lib/libssl.0.9.8.dylib
0x903b7000 - 0x903fbfe7  com.apple.Metadata 10.6.3 (507.15) <74F05E64-2A68-BA10-CCD4-128D164E5A0F> /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/Metadata.framework/Versions/A/Metadata
0x9054d000 - 0x90593ff7  libauto.dylib ??? (???) <29422A70-87CF-10E2-CE59-FEE1234CFAAE> /usr/lib/libauto.dylib
0x90594000 - 0x9060efff  com.apple.audio.CoreAudio 3.2.6 (3.2.6) <156A532C-0B60-55B0-EE27-D02B82AA6217> /System/Library/Frameworks/CoreAudio.framework/Versions/A/CoreAudio
0x9060f000 - 0x90662ff7  com.apple.HIServices 1.8.3 (???) <1D3C4587-6318-C339-BD0F-1988F246BE2E> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/HIServices.framework/Versions/A/HIServices
0x9067c000 - 0x90788fe7  libGLProgrammability.dylib ??? (???) <6167CEB0-D8D6-C4D9-DD74-49755ADB540F> /System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGLProgrammability.dylib
0x907cd000 - 0x90837fe7  libstdc++.6.dylib 7.9.0 (compatibility 7.0.0) <411D87F4-B7E1-44EB-F201-F8B4F9227213> /usr/lib/libstdc++.6.dylib
0x90838000 - 0x90ae6fe7  com.apple.JavaScriptCore 6534.57 (6534.57.3) <5B18B308-DBB2-7133-DE56-494C2FA1848B> /System/Library/Frameworks/JavaScriptCore.framework/Versions/A/JavaScriptCore
0x90ae7000 - 0x90aedfe7  com.apple.CommerceCore 1.0 (9.1) <521D067B-3BDA-D04E-E1FA-CFA526C87EB5> /System/Library/PrivateFrameworks/CommerceKit.framework/Versions/A/Frameworks/CommerceCore.framework/Versions/A/CommerceCore
0x90aee000 - 0x90b3dfe7  libTIFF.dylib ??? (???) <D0EB31DC-40E6-9A97-64D3-9867605DC3DD> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ImageIO.framework/Versions/A/Resources/libTIFF.dylib
0x90b3e000 - 0x90b49ff7  libGL.dylib ??? (???) <3E34468F-E9A7-8EFB-FF66-5204BD5B4E21> /System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGL.dylib
0x90b4a000 - 0x90f60ff7  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
0x90f61000 - 0x9102cfef  com.apple.CoreServices.OSServices 359.2 (359.2) <7C16D9C8-6F41-5754-17F7-2659D9DD9579> /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/OSServices.framework/Versions/A/OSServices
0x912b3000 - 0x912b3ff7  com.apple.Cocoa 6.6 (???) <EA27B428-5904-B00B-397A-185588698BCC> /System/Library/Frameworks/Cocoa.framework/Versions/A/Cocoa
0x912b4000 - 0x91315fe7  com.apple.CoreText 151.12 (???) <98F53C15-1D29-A2B3-0717-5A26A2699163> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/CoreText.framework/Versions/A/CoreText
0x91a03000 - 0x91ab0fe7  libobjc.A.dylib 227.0.0 (compatibility 1.0.0) <9F8413A6-736D-37D9-8EB3-7986D4699957> /usr/lib/libobjc.A.dylib
0x91ab9000 - 0x91afaff7  libRIP.A.dylib 545.0.0 (compatibility 64.0.0) <80998F66-0AD7-AD12-B9AF-3E8D2CE6DE05> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/CoreGraphics.framework/Versions/A/Resources/libRIP.A.dylib
0x91afb000 - 0x91b0ffe7  libbsm.0.dylib ??? (???) <14CB053A-7C47-96DA-E415-0906BA1B78C9> /usr/lib/libbsm.0.dylib
0x91b54000 - 0x91b54ff7  com.apple.Accelerate 1.6 (Accelerate 1.6) <BC501C9F-7C20-961A-B135-0A457667D03C> /System/Library/Frameworks/Accelerate.framework/Versions/A/Accelerate
0x91bfc000 - 0x91f67ff7  com.apple.QuartzCore 1.6.3 (227.37) <E323A5CC-499E-CA9E-9BC3-537231449CAA> /System/Library/Frameworks/QuartzCore.framework/Versions/A/QuartzCore
0x91f68000 - 0x91f73ff7  libCSync.A.dylib 545.0.0 (compatibility 64.0.0) <287DECA3-7821-32B6-724D-AE03A9A350F9> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/CoreGraphics.framework/Versions/A/Resources/libCSync.A.dylib
0x91f74000 - 0x91facff7  com.apple.LDAPFramework 2.0 (120.1) <001A70A8-3984-8E19-77A8-758893CC128C> /System/Library/Frameworks/LDAP.framework/Versions/A/LDAP
0x91fad000 - 0x9205bff3  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
0x9205c000 - 0x9207bfe3  libexpat.1.dylib 7.2.0 (compatibility 7.0.0) <82E6F83F-9667-2E39-1D9D-4A49C642527D> /usr/lib/libexpat.1.dylib
0x9210d000 - 0x9210dff7  com.apple.vecLib 3.6 (vecLib 3.6) <7362077A-890F-3AEF-A8AB-22247B10E106> /System/Library/Frameworks/vecLib.framework/Versions/A/vecLib
0x925e3000 - 0x925e3ff7  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
0x9262c000 - 0x9262fff7  libCGXType.A.dylib 545.0.0 (compatibility 64.0.0) <4D766435-EB76-C384-0127-1D20ACD74076> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/CoreGraphics.framework/Versions/A/Resources/libCGXType.A.dylib
0x92676000 - 0x9268eff7  com.apple.CFOpenDirectory 10.6 (10.6) <F9AFC571-3539-6B46-ABF9-46DA2B608819> /System/Library/Frameworks/OpenDirectory.framework/Versions/A/Frameworks/CFOpenDirectory.framework/Versions/A/CFOpenDirectory
0x9268f000 - 0x9269cff7  com.apple.NetFS 3.2.2 (3.2.2) <DDC9C397-C35F-8D7A-BB24-3D1B42FA5FAB> /System/Library/Frameworks/NetFS.framework/Versions/A/NetFS
0x92b4a000 - 0x92c24fff  com.apple.DesktopServices 1.5.11 (1.5.11) <800F2040-9211-81A7-B438-7712BF51DEE3> /System/Library/PrivateFrameworks/DesktopServicesPriv.framework/Versions/A/DesktopServicesPriv
0x92c25000 - 0x92c82ff7  com.apple.framework.IOKit 2.0 (???) <3DABAB9C-4949-F441-B077-0498F8E47A35> /System/Library/Frameworks/IOKit.framework/Versions/A/IOKit
0x92d89000 - 0x92dccff7  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
0x92dcd000 - 0x92dd3fff  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
0x92e13000 - 0x93b8bfe7  com.apple.WebCore 6534.57 (6534.57.2) <6AF29D9A-F549-5BE7-3842-CFF75FC46360> /System/Library/Frameworks/WebKit.framework/Versions/A/Frameworks/WebCore.framework/Versions/A/WebCore
0x93b8c000 - 0x93eacff3  com.apple.CoreServices.CarbonCore 861.39 (861.39) <5C59805C-AF39-9010-B8B5-D673C9C38538> /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/CarbonCore.framework/Versions/A/CarbonCore
0x93ead000 - 0x93feafe7  com.apple.audio.toolbox.AudioToolbox 1.6.7 (1.6.7) <423BDE4D-5082-B6CA-BB2C-E22A037235A4> /System/Library/Frameworks/AudioToolbox.framework/Versions/A/AudioToolbox
0x93feb000 - 0x940cbfe7  com.apple.vImage 4.1 (4.1) <D029C515-08E1-93A6-3705-DD062A3A672C> /System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vImage.framework/Versions/A/vImage
0x9511c000 - 0x9511cff7  com.apple.ApplicationServices 38 (38) <8012B504-3D83-BFBB-DA65-065E061CFE03> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/ApplicationServices
0x95256000 - 0x95277fe7  com.apple.opencl 12.3.6 (12.3.6) <B4104B80-1CB3-191C-AFD3-697843C6BCFF> /System/Library/Frameworks/OpenCL.framework/Versions/A/OpenCL
0x95278000 - 0x9527aff7  libRadiance.dylib ??? (???) <98EC06D5-1A02-EDEF-BF9D-2C986761AD54> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ImageIO.framework/Versions/A/Resources/libRadiance.dylib
0x95281000 - 0x95313fe7  com.apple.print.framework.PrintCore 6.3 (312.7) <7410D1B2-655D-68DA-D4B9-2C65747B6817> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/PrintCore.framework/Versions/A/PrintCore
0x95314000 - 0x9533cff7  libxslt.1.dylib 3.24.0 (compatibility 3.0.0) <E761F29A-328B-29D9-3DF0-023F2C21E500> /usr/lib/libxslt.1.dylib
0x95340000 - 0x95354ffb  com.apple.speech.synthesis.framework 3.10.35 (3.10.35) <57DD5458-4F24-DA7D-0927-C3321A65D743> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/SpeechSynthesis.framework/Versions/A/SpeechSynthesis
0x95355000 - 0x9537bffb  com.apple.DictionaryServices 1.1.2 (1.1.2) <43E1D565-6E01-3681-F2E5-72AE4C3A097A> /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/DictionaryServices.framework/Versions/A/DictionaryServices
0x9537c000 - 0x953a0ff7  libJPEG.dylib ??? (???) <5F2343E4-C268-B9AE-1BC3-466F5A614648> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ImageIO.framework/Versions/A/Resources/libJPEG.dylib
0x953a1000 - 0x953d9fe7  libcurl.4.dylib 6.1.0 (compatibility 6.0.0) <26FB5A40-6B39-1EA0-63D3-C2CC3BC6754D> /usr/lib/libcurl.4.dylib
0x9544f000 - 0x95453ff7  libGIF.dylib ??? (???) <5D29E5F4-30B9-5A24-55E7-BCBA30499093> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ImageIO.framework/Versions/A/Resources/libGIF.dylib
0x95454000 - 0x955cffe7  com.apple.CoreFoundation 6.6.6 (550.44) <F88C95CD-1264-782D-A1F5-204739847E93> /System/Library/Frameworks/CoreFoundation.framework/Versions/A/CoreFoundation
0x95607000 - 0x95642ffb  libFontRegistry.dylib ??? (???) <19ED5DE0-D3AF-B229-9193-35D58FE377E5> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ATS.framework/Versions/A/Resources/libFontRegistry.dylib
0x95643000 - 0x956fcfe7  libsqlite3.dylib 9.6.0 (compatibility 9.0.0) <52438E77-55D1-C231-1936-76F1369518E4> /usr/lib/libsqlite3.dylib
0x956fd000 - 0x95737ff7  libcups.2.dylib 2.8.0 (compatibility 2.0.0) <038731B1-CC44-3943-E3DE-4BAAA203EB72> /usr/lib/libcups.2.dylib
0x95738000 - 0x9573fff3  com.apple.print.framework.Print 6.1 (237.1) <F5AAE53D-5530-9004-A9E3-2C1690C5328E> /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/Print.framework/Versions/A/Print
0x957e1000 - 0x95879fe7  edu.mit.Kerberos 6.5.11 (6.5.11) <F36DB665-A88B-7F5B-6244-6A2E7FFFF668> /System/Library/Frameworks/Kerberos.framework/Versions/A/Kerberos
0x9587a000 - 0x9588cff7  com.apple.MultitouchSupport.framework 207.11 (207.11) <6FF4F2D6-B8CD-AE13-56CB-17437EE5B741> /System/Library/PrivateFrameworks/MultitouchSupport.framework/Versions/A/MultitouchSupport
0x958a0000 - 0x958b1ff7  com.apple.LangAnalysis 1.6.6 (1.6.6) <97511CC7-FE23-5AC3-2EE2-B5479FAEB316> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/LangAnalysis.framework/Versions/A/LangAnalysis
0x958b2000 - 0x958c7fff  com.apple.ImageCapture 6.1 (6.1) <B909459A-EAC9-A7C8-F2A9-CD757CDB59E8> /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/ImageCapture.framework/Versions/A/ImageCapture
0x958c8000 - 0x958eafef  com.apple.DirectoryService.Framework 3.6 (621.14) <A24C9308-4EB3-456D-1691-43DDB6F9A79F> /System/Library/Frameworks/DirectoryService.framework/Versions/A/DirectoryService
0x9593c000 - 0x95940ff7  IOSurface ??? (???) <D849E1A5-6B0C-2A05-2765-850EC39BA2FF> /System/Library/Frameworks/IOSurface.framework/Versions/A/IOSurface
0x95941000 - 0x95a35ff7  libiconv.2.dylib 7.0.0 (compatibility 7.0.0) <9EC28185-D26F-533F-90C4-FBAA13A15947> /usr/lib/libiconv.2.dylib
0x96096000 - 0x960faffb  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
0x9615d000 - 0x96179fe3  com.apple.openscripting 1.3.1 (???) <DA16DE48-59F4-C94B-EBE3-7FAF772211A2> /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/OpenScripting.framework/Versions/A/OpenScripting
0x9617a000 - 0x961b7ff7  com.apple.SystemConfiguration 1.10.8 (1.10.2) <50E4D49B-4F61-446F-1C21-1B2BA814713D> /System/Library/Frameworks/SystemConfiguration.framework/Versions/A/SystemConfiguration
0x961b8000 - 0x96260ffb  com.apple.QD 3.36 (???) <FA2785A4-BB69-DCB4-3BA3-7C89A82CAB41> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/QD.framework/Versions/A/QD
0x96261000 - 0x96585fef  com.apple.HIToolbox 1.6.5 (???) <21164164-41CE-61DE-C567-32E89755CB34> /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/HIToolbox.framework/Versions/A/HIToolbox
0x96586000 - 0x96596ff7  libsasl2.2.dylib 3.15.0 (compatibility 3.0.0) <C8744EA3-0AB7-CD03-E639-C4F2B910BE5D> /usr/lib/libsasl2.2.dylib
0x96597000 - 0x965b6ff7  com.apple.CoreVideo 1.6.2 (45.6) <EB53CAA4-5EE2-C356-A954-5775F7DDD493> /System/Library/Frameworks/CoreVideo.framework/Versions/A/CoreVideo
0x965b7000 - 0x96da6557  com.apple.CoreGraphics 1.545.0 (???) <1D9DC7A5-228B-42CB-7018-66F42C3A9BB3> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/CoreGraphics.framework/Versions/A/CoreGraphics
0x96de1000 - 0x96ee3fe7  libcrypto.0.9.8.dylib 0.9.8 (compatibility 0.9.8) <015563C4-81E2-8C8A-82AC-31B38D904A42> /usr/lib/libcrypto.0.9.8.dylib
0x96fe2000 - 0x96fe5fe7  libmathCommon.A.dylib 315.0.0 (compatibility 1.0.0) <1622A54F-1A98-2CBE-B6A4-2122981A500E> /usr/lib/system/libmathCommon.A.dylib
0x96fe6000 - 0x972e0fef  com.apple.QuickTime 7.6.6 (1790) <A5B2CDA8-47C9-F1AE-ED54-625B0FAB426F> /System/Library/Frameworks/QuickTime.framework/Versions/A/QuickTime
0x97677000 - 0x976f7feb  com.apple.SearchKit 1.3.0 (1.3.0) <9E18AEA5-F4B4-8BE5-EEA9-818FC4F46FD9> /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/SearchKit.framework/Versions/A/SearchKit
0x976f8000 - 0x9773bff7  libGLU.dylib ??? (???) <6CC3CE6A-7024-C685-EADA-7F9DC27128E2> /System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGLU.dylib
0x97ad5000 - 0x97ad6ff7  com.apple.TrustEvaluationAgent 1.1 (1) <FEB55E8C-38A4-CFE9-A737-945F39761B4C> /System/Library/PrivateFrameworks/TrustEvaluationAgent.framework/Versions/A/TrustEvaluationAgent
0x97dbb000 - 0x9802cfef  com.apple.Foundation 6.6.8 (751.63) <69B3441C-B196-F2AD-07F8-D8DD24E4CD8C> /System/Library/Frameworks/Foundation.framework/Versions/C/Foundation
0x9802d000 - 0x9802eff7  com.apple.audio.units.AudioUnit 1.6.7 (1.6.7) <93EC71F1-4D4E-F456-8EFE-32E7EFD7A064> /System/Library/Frameworks/AudioUnit.framework/Versions/A/AudioUnit
0x9803b000 - 0x982a1ff7  com.apple.security 6.1.2 (55002) <E999CCEF-B769-4355-3E68-6003FCF6FE2B> /System/Library/Frameworks/Security.framework/Versions/A/Security
0x982dc000 - 0x98483ff7  libSystem.B.dylib 125.2.11 (compatibility 1.0.0) <2DCD13E3-1BD1-6F25-119A-3863A3848B90> /usr/lib/libSystem.B.dylib
0x98484000 - 0x98492ff7  com.apple.opengl 1.6.14 (1.6.14) <82622F67-E032-0BF6-A78D-50B346E8D0FD> /System/Library/Frameworks/OpenGL.framework/Versions/A/OpenGL
0x98493000 - 0x988c8ff7  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
0x988c9000 - 0x9890bff7  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
0x9890c000 - 0x9890cff7  com.apple.CoreServices 44 (44) <51CFA89A-33DB-90ED-26A8-67D461718A4A> /System/Library/Frameworks/CoreServices.framework/Versions/A/CoreServices
0x9890d000 - 0x98912ff7  com.apple.OpenDirectory 10.6 (10.6) <C1B46982-7D3B-3CC4-3BC2-3E4B595F0231> /System/Library/Frameworks/OpenDirectory.framework/Versions/A/OpenDirectory
0x98913000 - 0x98921fe7  libz.1.dylib 1.2.3 (compatibility 1.0.0) <3CE8AA79-F077-F1B0-A039-9103A4A02E92> /usr/lib/libz.1.dylib
0x98922000 - 0x98925ffb  com.apple.help 1.3.2 (41.1) <8AC20B01-4A3B-94BA-D8AF-E39034B97D8C> /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/Help.framework/Versions/A/Help
0x98926000 - 0x98946fe7  libresolv.9.dylib 41.1.0 (compatibility 1.0.0) <8C2B5FA8-2469-21C7-D297-F95A0FFE5F19> /usr/lib/libresolv.9.dylib
0x98947000 - 0x98950ff7  com.apple.DiskArbitration 2.3 (2.3) <E9C40767-DA6A-6CCB-8B00-2D5706753000> /System/Library/Frameworks/DiskArbitration.framework/Versions/A/DiskArbitration
0x98bc1000 - 0x98c0efeb  com.apple.DirectoryService.PasswordServerFramework 6.1 (6.1) <136BFA48-D456-B677-3B5D-40A6946C3A09> /System/Library/PrivateFrameworks/PasswordServer.framework/Versions/A/PasswordServer
0x98c0f000 - 0x98c16ff7  com.apple.agl 3.0.12 (AGL-3.0.12) <6877F0D8-0DCF-CB98-5304-913667FF50FA> /System/Library/Frameworks/AGL.framework/Versions/A/AGL
0x98c17000 - 0x98d17fe7  libxml2.2.dylib 10.3.0 (compatibility 10.0.0) <BE7FCD73-03B5-25A4-FCA4-D4980F1488D6> /usr/lib/libxml2.2.dylib
0x98d18000 - 0x995fbff7  com.apple.AppKit 6.6.8 (1038.36) <A353465E-CFC9-CB75-949D-786F6F7732F6> /System/Library/Frameworks/AppKit.framework/Versions/C/AppKit
0x995fc000 - 0x9962dff7  libGLImage.dylib ??? (???) <D18E2E76-DBF4-6930-039A-F66CA0D120B3> /System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGLImage.dylib
0x9966f000 - 0x9970cfe3  com.apple.LaunchServices 362.3 (362.3) <15B47388-16C8-97DA-EEBB-1709E136169E> /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/LaunchServices.framework/Versions/A/LaunchServices
0x9970d000 - 0x997a8fe7  com.apple.ApplicationServices.ATS 275.19 (???) <2E83B3E9-AF39-36FC-5D05-CC1E952098AB> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ATS.framework/Versions/A/ATS
0x99a26000 - 0x99a59fff  libTrueTypeScaler.dylib ??? (???) <8ADB7D19-413E-4499-C874-13C383F97685> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ATS.framework/Versions/A/Resources/libTrueTypeScaler.dylib
0x99a5a000 - 0x99b88fe7  com.apple.CoreData 102.1 (251) <E6A457F0-A0A3-32CD-6C69-6286E7C0F063> /System/Library/Frameworks/CoreData.framework/Versions/A/CoreData
0x99b89000 - 0x99c45fff  com.apple.ColorSync 4.6.8 (4.6.8) <920DD017-8B41-7334-E554-A85DB99EBD5A> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ColorSync.framework/Versions/A/ColorSync
0x99c6e000 - 0x99c7aff7  libkxld.dylib ??? (???) <9A441C48-2D18-E716-5F38-CBEAE6A0BB3E> /usr/lib/system/libkxld.dylib
0x99cfc000 - 0x99da8fe7  com.apple.CFNetwork 454.12.4 (454.12.4) <DEDCD006-389F-967F-3405-EDF541F406D7> /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/CFNetwork.framework/Versions/A/CFNetwork
0x99de5000 - 0x99deffe7  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
0x99e01000 - 0x99e01ff7  com.apple.Carbon 150 (152) <9252D5F2-462D-2C15-80F3-109644D6F704> /System/Library/Frameworks/Carbon.framework/Versions/A/Carbon
0x99e02000 - 0x99e71ff7  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
0x99e72000 - 0x99f9afe7  com.apple.WebKit 6534.57 (6534.57.2) <4CB86278-4657-3503-8042-074628222DF3> /System/Library/Frameworks/WebKit.framework/Versions/A/WebKit
0x99fbe000 - 0x9a140fe7  libicucore.A.dylib 40.0.0 (compatibility 1.0.0) <D5980817-6D19-9636-51C3-E82BAE26776B> /usr/lib/libicucore.A.dylib
0x9a141000 - 0x9a185ff3  com.apple.coreui 2 (114) <29F8F1A4-1C96-6A0F-4CC2-9B85CF83209F> /System/Library/PrivateFrameworks/CoreUI.framework/Versions/A/CoreUI
0x9a1dd000 - 0x9a3a0feb  com.apple.ImageIO.framework 3.0.5 (3.0.5) <87750C2B-193F-56A6-AB97-0842A2D02092> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ImageIO.framework/Versions/A/ImageIO
0x9a3a1000 - 0x9a459feb  libFontParser.dylib ??? (???) <D2D0C922-5ED1-3AE9-6F99-707C74DF3E62> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ATS.framework/Versions/A/Resources/libFontParser.dylib
0x9a765000 - 0x9a765ff7  liblangid.dylib ??? (???) <B99607FC-5646-32C8-2C16-AFB5EA9097C2> /usr/lib/liblangid.dylib
0x9a766000 - 0x9a769ff7  libCoreVMClient.dylib ??? (???) <37F56237-4ABA-E5B5-968D-70FFE357E8E0> /System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libCoreVMClient.dylib
0x9a76a000 - 0x9a79dff7  com.apple.AE 496.5 (496.5) <BF9673D5-2419-7120-26A3-83D264C75222> /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/AE.framework/Versions/A/AE
0x9a80f000 - 0x9a85fff7  com.apple.framework.familycontrols 2.0.2 (2020) <C96C8A99-A40C-8B9C-1FBA-A0F46AC92F17> /System/Library/PrivateFrameworks/FamilyControls.framework/Versions/A/FamilyControls
0x9aaa0000 - 0x9aaaaffb  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
0x9aaab000 - 0x9aaafff7  libGFXShared.dylib ??? (???) <09540618-2ED1-72C4-61CB-938B35927568> /System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGFXShared.dylib
0xffff0000 - 0xffff1fff  libSystem.B.dylib ??? (???) <2DCD13E3-1BD1-6F25-119A-3863A3848B90> /usr/lib/libSystem.B.dylib

Model: MacBookPro1,1, BootROM MBP11.0055.B08, 2 processors, Intel Core Duo, 2.16 GHz, 1,5 GB, SMC 1.2f10
Graphics: ATI Radeon X1600, ATY,RadeonX1600, PCIe, 256 MB
Memory Module: global_name
AirPort: spairport_wireless_card_type_airport_extreme (0x168C, 0x86), Atheros 5424: 2.1.14.6
Bluetooth: Version 2.4.5f3, 2 service, 19 devices, 1 incoming serial ports
Network Service: Ethernet, Ethernet, en0
Serial ATA Device: WDC WD5000BEVT-00A0RT0, 465,76 GB
Parallel ATA Device: MATSHITADVD-R   UJ-857
USB Device: Built-in iSight, 0x05ac  (Apple Inc.), 0x8501, 0xfd400000 / 6
USB Device: USB2.0 Hub, 0x05e3  (Genesys Logic, Inc.), 0x0605, 0xfd300000 / 2
USB Device: USB Optical Mouse, 0x046d  (Logitech Inc.), 0xc018, 0xfd340000 / 5
USB Device: USB Multimedia Keyboard, 0x046d  (Logitech Inc.), 0xc312, 0xfd330000 / 3
USB Device: DataTraveler U3, 0x08ec  (M-Systems Flash Disk Pioneers), 0x2038, 0xfd320000 / 4
USB Device: Apple Internal Keyboard / Trackpad, 0x05ac  (Apple Inc.), 0x0218, 0x1d200000 / 2
USB Device: IR Receiver, 0x05ac  (Apple Inc.), 0x8240, 0x5d200000 / 2
USB Device: Bluetooth USB Host Controller, 0x05ac  (Apple Inc.), 0x8205, 0x7d100000 / 2

comment:9 by historic_bruno, 11 years ago

fabio - does Atlas work for you with the A14 app bundle? If not, you can try the universal test bundle I made for r13920: http://www.wildfiregames.com/forum/index.php?showtopic=15511&p=275512

comment:10 by fabio, 11 years ago

I'll test it in a couple of days.

comment:11 by fabio, 11 years ago

I tried the A14 10.5+ 32 bit app bundle and it works fine, Atlas also works. Do I need to test also the test package?

comment:12 by historic_bruno, 11 years ago

Great, glad to hear it's fixed :) If you want, you can test the new bundle, I would appreciate it, because it uses a slightly different build process. It is universal with 32- and 64-bit binaries and it supports 10.5+ (except Atlas won't work yet on 10.5).

comment:13 by fabio, 11 years ago

The test bundle seems to work but screen is corrupted, with many screen elements yellow or green (both on GUI and game, for example on the game unexplored area (on both game and minimap) is yellow), when running it the desktop also get corrupted. When closed the desktop come back OK. The corruption is not visible on screenshots (on both the game screenshots with F2 and system screenshot with Command-Shift-4). Atlas works fine (no screen corruption here).

Note: I am on 10.6.8 32 bit.

comment:14 by historic_bruno, 11 years ago

Thanks for testing. Were the glitches visible in fullscreen, windowed or both? Do you have any non-default graphics options enabled? Maybe your system_info.txt would be helpful (GPU and GL info).

in reply to:  14 comment:15 by fabio, 11 years ago

Replying to historic_bruno:

Were the glitches visible in fullscreen, windowed or both?

Both.

Do you have any non-default graphics options enabled?

I only tried setting windowed=true (and with it I noticed the corruption also affects the desktop).

Maybe your system_info.txt would be helpful (GPU and GL info).

Attached.

by fabio, 11 years ago

Attachment: system_info.txt added

comment:16 by Adrián Chaves, 11 years ago

Attaching a patch to disable the Scenario Editor button when it is not possible to load Atlas, as originally requested. A message is logged, but neither an error nor a warning is printed in the GUI, as originally requested.

In Chakra we seldom provide packages depending on GTK, and our 0 A.D. package has Atlas striped out, so this is a useful feature for us.

comment:17 by Adrián Chaves, 11 years ago

Keywords: reviewpatch added
Milestone: BacklogAlpha 15
Summary: Disable "scenario editor" menu item when atlas is disabled[PATCH] Disable "scenario editor" menu item when atlas is disabled

comment:18 by Adrián Chaves, 11 years ago

Keywords: review added; reviewpatch removed

comment:19 by Adrián Chaves, 11 years ago

Keywords: patch added

comment:20 by historic_bruno, 11 years ago

See IRC discussion last night, 2013-10-05 around 22:47. Philip raised some good points, and I think we settled on the best solution being a new build option.

comment:21 by Adrián Chaves, 11 years ago

I see an issue with that: even if the Chakra binary does not provide Atlas, a user-made package might, so that if you install the 0ad and 0ad-atlas packages, you would have both.

What about leaving it as-is (not disabling the button ever) and just hidding the LOGERROR message?

comment:22 by historic_bruno, 11 years ago

So have a button that does nothing when clicked? That sounds worst of all :) At this point, I'm for closing this as "won't fix" and moving fabio's remaining bundle issue to a new ticket.

comment:23 by Adrián Chaves, 11 years ago

Please, read again my last comment (I’m waiting for confirmation before I rewrite the patch).

comment:24 by historic_bruno, 11 years ago

Keywords: review removed

If we hide the error, the button will appear (to the user) to do nothing :) That's why I said it's worse than the other alternatives, which are also bad.

comment:25 by Adrián Chaves, 11 years ago

Currently, the error is shown in two fashions:

  • An dialog explaining that the DLL could not be loaded.
  • An red-coloursed error entry like those that error() produces.

I mean to remove the red-colored console-like message, and keep the dialog only. Use the dialog to explain that it might be an installation error, or that the game was built without the editor.

comment:26 by historic_bruno, 11 years ago

Oh, I wasn't thinking about the dialog. I see your point now, multiple errors aren't nice either. If we only have the dialog, it should suggest checking the logs for error messages.

by Adrián Chaves, 11 years ago

Patch to disable the Scenario Editor button if Atlas cannot be loaded.

comment:27 by Adrián Chaves, 11 years ago

Keywords: review added

Patch updated. I’ve hidden the background error message, and added a sentence to the error dialog about the checking the logs for details.

comment:28 by Adrián Chaves, 11 years ago

Owner: set to Adrián Chaves

comment:29 by Adrián Chaves, 11 years ago

Owner: Adrián Chaves removed

comment:30 by Josh, 10 years ago

Patch looks good to me.

Last edited 10 years ago by Josh (previous) (diff)

comment:31 by leper, 10 years ago

Milestone: Alpha 15Alpha 16

comment:32 by leper, 10 years ago

Milestone: Alpha 16Alpha 17

comment:33 by leper, 10 years ago

Owner: set to leper
Resolution: fixed
Status: newclosed

In 15301:

Add the ability to specify a log level when using dlopen and change it to normal for Atlas.
This way we do not have two error messages when starting Atlas, but the dynamic Atlas lib is not available.
Patch by Gallaecio. Fixes #1540.

comment:34 by leper, 10 years ago

Keywords: review removed

Thanks for the patch. Not showing two error messages is the best way to handle this (also see the irc log linked above).

Note: See TracTickets for help on using tickets.