TA3d crashes

You have a problem with TA3D, it doesn't run or it crashes...
/
Vous avez un problème avec TA3D, il ne se lance pas ou plante...
Post Reply
Holger

TA3d crashes

Post by Holger » Sun Nov 26, 2006 11:41 pm

Hi,

I have the problem that ta3d does not want to start and the output message is not really helpful to me.

TA3D Engine
Version 0.2.3
Allegro 4.2.1 (2006)
Utilise AllegroGL 0.4.0 RC5
OS : Linux
Processeur: i686 GenuineIntel -cpuid-x87 FPU-MMX-MMX+-SSE-SSE2-cmov
Shutting down Allegro due to signal #11
Segmentation fault

Eventually there is a problem with the allegro versions or I have forgotton something to setup. Do you have any ideas or is there a possibility to activate more output messages?

User avatar
Balthazar
Moderator
Posts: 2055
Joined: Wed Nov 01, 2006 4:31 pm
Location: Russian Federation
Contact:

Post by Balthazar » Mon Nov 27, 2006 5:27 am

Have you copy totala1.hpi and any *.ufo map (or totala4.hpi) in to ta 3D directory?

User avatar
ranger844
Posts: 5
Joined: Tue Mar 25, 2008 1:33 pm
Contact:

Post by ranger844 » Tue Mar 25, 2008 1:43 pm

i get this same error
i have a amd64 3800+
3gb ram
and i have copied all the files from ta ..core cont ... and battle tac

i have yet to find the rev31.gvp file or whatever it is ,,,
i get the sig #11 segment fault core dump ...
and help would be greatly appreciated
thank you

User avatar
zuzuf
Administrateur - Site Admin
Posts: 3281
Joined: Mon Oct 30, 2006 8:49 pm
Location: Toulouse, France
Contact:

Post by zuzuf » Tue Mar 25, 2008 10:39 pm

Hi,

do you use one of the binary packages (which may not work on all distro) or have you built from the sources ?

if you still experiment the crash with a home built binary could you build it with debug info ? You can do it that way:
# make clean
# ./configure CXXFLAGS="-g -O0"
# make

then start it using through the GNU debugger:
#gdb
>file ta3d-bin
>run

it'll crash and allow you to see where it has crashed:
>bt

and it should show the stack (post it there so we can see what is crashing)
=>;-D Penguin Powered

User avatar
ranger844
Posts: 5
Joined: Tue Mar 25, 2008 1:33 pm
Contact:

Post by ranger844 » Wed Mar 26, 2008 11:44 am

well i just dloaded the 0.4.2 and used the installer provided ...
and i have all the discs needed for the files required by the game ..

is there a wiki page on this for a how to ? or a good one here in the forums

User avatar
zuzuf
Administrateur - Site Admin
Posts: 3281
Joined: Mon Oct 30, 2006 8:49 pm
Location: Toulouse, France
Contact:

Post by zuzuf » Wed Mar 26, 2008 5:28 pm

so you used a binary package. Which distribution do you use ?

what happens if you do a:
#chmod -R a+r *

in ta3d dir ?
=>;-D Penguin Powered

User avatar
Balthazar
Moderator
Posts: 2055
Joined: Wed Nov 01, 2006 4:31 pm
Location: Russian Federation
Contact:

Post by Balthazar » Wed Mar 26, 2008 5:51 pm

ranger844 - http://ta3d.darkstars.co.uk/help/ which is also provided with release package, but there are not too much solutions for install errors :roll:

User avatar
ranger844
Posts: 5
Joined: Tue Mar 25, 2008 1:33 pm
Contact:

Post by ranger844 » Fri Mar 28, 2008 11:40 am

well i was just using the precompiled package
so i downloaded the source package and started looking for
Allegro, AllegroGL, FMODex 4 and zlib in my distro (debian based)
and can only find zlib installed but cannot find the other packages ..
i have found the fmodex 4.12
thank you

User avatar
zuzuf
Administrateur - Site Admin
Posts: 3281
Joined: Mon Oct 30, 2006 8:49 pm
Location: Toulouse, France
Contact:

Post by zuzuf » Fri Mar 28, 2008 12:18 pm

you can find Allegro and AllegroGL here : http://www.allegro.cc
the newest release of AllegroGL is available here: http://allegrogl.sourceforge.net/

it's strange that it doesn't work on a debian based distro since those packages were built on Ubuntu 7.10 ...

PS: beware that AllegroGL isn't compatible with GCC 4.2 at the moment, so use GCC 4.1 instead ...
=>;-D Penguin Powered

User avatar
ranger844
Posts: 5
Joined: Tue Mar 25, 2008 1:33 pm
Contact:

Post by ranger844 » Sat Mar 29, 2008 11:42 am

ok i got allgero installed ...
fmodex installed ....
now i am having a little trouble with alleggl
here is what i get :
checking for XF86VidModeQueryExtension in -lXxf86vm... yes
checking dlfcn.h usability... yes
checking dlfcn.h presence... yes
checking for dlfcn.h... yes
checking for dlsym in -ldl... yes
checking for glXGetProcAddress in -lGL... no
checking for glXGetProcAddressARB in -lGL... no
checking GL/glx.h usability... no
checking GL/glx.h presence... no
checking for GL/glx.h... no
checking GL/gl.h usability... no
checking GL/gl.h presence... no
checking for GL/gl.h... no
checking for glBlendFunc in -lGL... no
configure: error: Unable to locate required OpenGL headers/libraries


and here is my video card information
display: :0 screen: 0
direct rendering: Yes
server glx vendor string: NVIDIA Corporation
server glx version string: 1.4
server glx extensions:
client glx vendor string: NVIDIA Corporation
client glx version string: 1.4
client glx extensions:
OpenGL vendor string: NVIDIA Corporation
OpenGL renderer string: GeForce 7600 GT/PCI/SSE2/3DNOW!
OpenGL version string: 2.1.1 NVIDIA 100.14.19
OpenGL extensions:

quake 3 .. quake 4 ..
all my other glide games run ....
and i am running ubuntu 7.10 GG

User avatar
zuzuf
Administrateur - Site Admin
Posts: 3281
Joined: Mon Oct 30, 2006 8:49 pm
Location: Toulouse, France
Contact:

Post by zuzuf » Sat Mar 29, 2008 1:18 pm

you need to install the package named freeglut3-dev, running a game doesn't require the development files but building one requires some additional files :wink: .

anyway it's strange that you cannot run the binary package since I tested it on a PC with the same video card and same OS as you ...
=>;-D Penguin Powered

User avatar
ranger844
Posts: 5
Joined: Tue Mar 25, 2008 1:33 pm
Contact:

Post by ranger844 » Sun Mar 30, 2008 3:43 pm

wow ... thank you it worked and i got the game to start ...

i have has a segment fault and the game crashed out
and i do not know if i did something wrong but it pauses and sits there for 3-10 seconds and then starts up again ... and after the game seg faults
the desktop is like blown up
... i will read up a little more to see if there is something i have missed or need to do otherwise .... i finally have a day off where i can look at this more than 15 min ...
again ty and it is working ...
with a few minor bugs ...
:D

User avatar
zuzuf
Administrateur - Site Admin
Posts: 3281
Joined: Mon Oct 30, 2006 8:49 pm
Location: Toulouse, France
Contact:

Post by zuzuf » Sun Mar 30, 2008 8:53 pm

that's good news :)
=>;-D Penguin Powered

Post Reply

Who is online

Users browsing this forum: No registered users and 21 guests