project-navigation
Personal tools

Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - smlacc

Pages: [1]
1
I still have this problem too.  Running otool on the ufo binary inside the ufoai.app I generated just now gives this output:
-------------------
   /System/Library/Frameworks/IOKit.framework/Versions/A/IOKit (compatibility version 1.0.0, current version 275.0.0)
   /System/Library/Frameworks/Foundation.framework/Versions/C/Foundation (compatibility version 300.0.0, current version 751.21.0)
   /System/Library/Frameworks/Cocoa.framework/Versions/A/Cocoa (compatibility version 1.0.0, current version 15.0.0)
   @executable_path/../Libraries/libvorbis.0.dylib (compatibility version 5.0.0, current version 5.3.0)
   @executable_path/../Libraries/libz.1.dylib (compatibility version 1.0.0, current version 1.2.5)
   @executable_path/../Libraries/libcurl.4.dylib (compatibility version 6.0.0, current version 6.1.0)
   @executable_path/../Libraries/libjpeg.8.dylib (compatibility version 9.0.0, current version 9.2.0)
   @executable_path/../Libraries/libpng14.14.dylib (compatibility version 17.0.0, current version 17.0.0)
   @executable_path/../Libraries/libSDL-1.2.0.dylib (compatibility version 12.0.0, current version 12.3.0)
   @executable_path/../Libraries/libSDL_image-1.2.0.dylib (compatibility version 9.0.0, current version 9.2.0)
   @executable_path/../Libraries/libSDL_mixer-1.2.0.dylib (compatibility version 11.0.0, current version 11.1.0)
   @executable_path/../Libraries/libSDL_ttf-2.0.0.dylib (compatibility version 11.0.0, current version 11.0.0)
   @executable_path/../Libraries/libogg.0.dylib (compatibility version 7.0.0, current version 7.0.0)
   @executable_path/../Libraries/libtheora.0.dylib (compatibility version 4.0.0, current version 4.10.0)
   @executable_path/../Libraries/libintl.8.dylib (compatibility version 10.0.0, current version 10.0.0)
   /System/Library/Frameworks/OpenGL.framework/Versions/A/OpenGL (compatibility version 1.0.0, current version 1.0.0)
   /usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current version 125.0.1)
   /usr/lib/libobjc.A.dylib (compatibility version 1.0.0, current version 227.0.0)
   /System/Library/Frameworks/CoreFoundation.framework/Versions/A/CoreFoundation (compatibility version 150.0.0, current version 550.19.0)
   /System/Library/Frameworks/ApplicationServices.framework/Versions/A/ApplicationServices (compatibility version 1.0.0, current version 38.0.0)
   /System/Library/Frameworks/AppKit.framework/Versions/C/AppKit (compatibility version 45.0.0, current version 1038.29.0)
-----------
Have checked, and al libraries listed are where they should be, including the ogg/theora ones.

Smlacc

2
Mac / Re: OSX installers
« on: May 16, 2010, 11:06:20 pm »
No, I used the most recently uploaded .dmg.  When i run "gdb ufo", I get a ton of messages like this:

warning: Could not find object file "/Users/mattn/dev/ufoai/trunk/debug-darwin-i386/client/ports/macosx/osx_main.o" - no debug information available for "src/ports/macosx/osx_main.m".

Smlacc

3
Mac / Re: OSX installers
« on: May 16, 2010, 08:10:23 pm »
OK I have an update. I've tried playing with the startup of ufoai, and am able to produce a crash 100% of the time given certain conditions.  Common elements in all methods are:

- 3d world map is always dark, in night and in day.  It is basically useless in this lighting, as you cant see anything at all.
- no sound at all either in the menus or on missions, except for the sound of glass breaking.  So sound is working (othewise I wouldent hear the breaking glass sound) but there is a problem with playing all sounds except for breaking glass.

Specific cases:
1. start up the game without gdb, play in windowed mode = works ok.
2. start up the game in windowed mode, switch to full screen = game crashed back to the os at start of mission with an apple crash report.
3. start up the game in gdb in windowed mode, play in windowed mode(run +set vid_fullscreen 0 +set vid_grabmouse) game runs fine
4. start up the game in gdb in windowed mode, switch to fullscreen, game crashes on mission startup, locking up OS requiring a hard reset - resulting in no gdb log.
5. start up the game in gdb in fullscreen mode (run +set vid_fullscreen 1 +set vid_grabmouse), game runs fine without crashing.
6. start up the game in gdb in fullscreen mode, switch to windowed mode, game crashes with following message seen in gdb console:
-----------
Program received signal EXC_BAD_ACCESS, Could not access memory.
Reason: KERN_INVALID_ADDRESS at address: 0x254a602c
0x0014c4fe in R_FillArrayData ()
-----------

These crashes are 100% reproducible on my laptop, they happen every time.  I have attached a backtrace for the only mode I still had access to the OS after a crash, which was (6).  I used "force quit" to kill ufoi, then ran bt full in the gdb console to get this output.

Smlacc.

4
Mac / Re: OSX installers
« on: May 16, 2010, 04:52:54 am »
strangely, it doesnt seem to crash when i run it via gdb, but it crashes every single time I run it without.  Go figure. :)

Also, when I do get into the mission, I hear one sound, and one sound only - the sound of glass breaking.

Do you want me to send you the output of gdb without the crash to trace the dark world map and lack of most music/sounds problems?

Smlacc.

5
Mac / Re: OSX installers
« on: May 15, 2010, 11:05:51 pm »
I have the same problem - no light on the 3d worldscape, have tried turning off shaders etc but its still dark.  I have a macbook pro with a geforce 8600M GT gpu.

Also, I have no sound at all, anywhere in the game. 

And also, the game dies every time I go into a battle with a segfault.  Console log from startup of game to the crash plus some console output not captured by my "afoai > ufoai.txt" output redirect, plus the apple crash report are all attached.

Smlacc.

6
Mac / Re: Crash on entering battlescape
« on: March 07, 2010, 02:41:19 am »
This error log was from this version: http://destructavator.com/mattn/ufoai-2.3-dev-macosx-i386_r28688.dmg
Is there a newer version?

Smlacc

7
Mac / Re: Crash on entering battlescape
« on: March 06, 2010, 02:39:46 pm »
Here's my ufoconsole.log at the time of the crash.  i can provide a full one if needed:

Code: [Select]
2010/03/04 19:35:23 -------------------------------------
2010/03/04 19:35:23 Connecting to localhost...
2010/03/04 19:35:23 connection attempt from loopback connection
2010/03/04 19:35:23 load material file: 'materials/farm.mat'
2010/03/04 19:35:30 Starting the game...
2010/03/04 19:35:30 smlacc has joined team 1
2010/03/04 19:35:30 music change to MarineFireFight (from PsymongN5)
2010/03/04 19:35:31 M_Start: Could not load music: 'music/MarineFireFight' (Failed loading /opt/local/lib/libvorbisfile.dylib: dlopen(/opt/local/lib/libvorbisfile.dylib, 2): image not found)
2010/03/04 19:35:31 music change to Marine01 (from MarineFireFight)
2010/03/04 19:35:31 M_Start: Could not load music: 'music/Marine01' (Failed loading /opt/local/lib/libvorbisfile.dylib: dlopen(/opt/local/lib/libvorbisfile.dylib, 2): image not found)
2010/03/04 19:35:33 (player 0) It's team 1's round
2010/03/04 19:35:33 smlacc has taken control over team 1.
2010/03/04 19:35:34 MN_ExecuteSetAction: node "root.team_selection.bt_actor8@disabled" doesn't exist (source: hud.huddeselect)
2010/03/04 19:35:34 MN_ExecuteSetAction: node "root.team_selection.bt_actor8@disabled" doesn't exist (source: hud.huddeselect)
2010/03/04 19:35:34 ********************
2010/03/04 19:35:34 ERROR: Unknown model type in R_DrawEntities entity chain: 0
2010/03/04 19:35:34 ********************
2010/03/04 19:35:34 Shutdown server: Server crashed.
2010/03/04 19:35:34 ==== ShutdownGame ====
2010/03/04 19:35:34 music change to karlmacklin_geoscape (from Marine01)
2010/03/04 19:35:34 ********************
2010/03/04 19:35:34 ERROR: Texture is already freed and no longer uploaded, texnum is invalid for model models/geoscape/base.md2
2010/03/04 19:35:34 ********************
2010/03/04 19:35:34 music change to van_geoscape (from karlmacklin_geoscape)
2010/03/04 19:35:34 ********************

8
Mac / Re: Crash on entering battlescape
« on: March 05, 2010, 01:40:26 am »
I also get this problem - crash as soon as I start a mission.  Is there a way I can log what happens so I can post an error log?


9
Mac / Re: trying to compile latest svn (version 28638)
« on: February 24, 2010, 12:09:01 am »
The problem is that 64 bit is the default on xcode 2.3.  I -could- recompile all the libraries I already compiled to 32 bit, then try and force compilation of ufoai in 32 bit mode.  But this may not even be the problem, hence my question about whether anyone else had successfully compiled ufoai and required libraries on 10.6.2 with xcode 2.3

Smlacc

10
Mac / Re: trying to compile latest svn (version 28638)
« on: February 21, 2010, 10:32:51 pm »
this might be related to 32 bit/64 bit issues.  Apparently sdl_ttf is 32 bit only, and by default xcode 2.3 defaults to compiling 64 bit apps.  So all the libraries etc I compiled will be 64 bit, while sdl_ttf, installed from the .dmg, will be 32 bit.  I'm guessing UFOAI will also be compiled 64 bit.

http://www.gamedev.net/community/forums/topic.asp?topic_id=557504

Anyone had any luck getting this to compile on 10.6.2?

Smlacc

11
Mac / trying to compile latest svn (version 28638)
« on: February 20, 2010, 04:56:40 pm »
have followed all the steps in the wiki article on compiling but cannot get it to compile.  Theres a lot missing there though, so if I can get this to work I will update the wiki with the missing stuff.  The stuff I had to add included adding a bunch of missing libraries for ogg, theora etc.

I installed sdl, sdl_mixer and sdl_ttf after downloading the dmg's as per the instructions.  I copied them into /library/frameworks.

I got a ton of errors about missing libraries, so i compiled and installed gettext, jpeg, libogg, libpng, libtheora and libvorbis.  This seems to have cleared most of the missing library errors, except for one (sdl_ttf, even though i installed it already!).  To eliminate problems i read about on the forum etc, i use the following configure command:

./configure LDFLAGS='-L/sw/lib' CFLAGS='-I/sw/include' CPPFLAGS="-I/sw/include" --disable-uforadiant --disable-universal --without-curses

all the missing libraries i compiled are installed under /sw, hence the extra flag declarations.  I disabled uforadiant, universal and ncurses to try to get past the problem I have.  The problem is the following error message when I run the above configure:

checking SDL_ttf.h usability... yes
checking SDL_ttf.h presence... no
configure: WARNING: SDL_ttf.h: accepted by the compiler, rejected by the preprocessor!
configure: WARNING: SDL_ttf.h: proceeding with the compiler's result
checking for SDL_ttf.h... yes
checking for library containing TTF_Init... no
configure: error: You must have the SDL_ttf development libraries

Does this mean that copying the framework folder isnt enough, and that I need to do a full recompile of sdl_ttf?  And help appreciated.  I  can also post the full result of the ./configure if thats any help.  I have an intel macbook pro, running 10.6.2.

Thanks,
Smil


Pages: [1]