Title: Segmentation Faults on x86_64 Linux Post by: Tido on August 14, 2007, 08:05:26 PM First off, thanks for making a cool *open* game! I'd enjoy it more except the game will crash after playing for a few minutes and the only error (when run from console) given is "Segementation Fault". The crashes happen completely at random and I can't find anything in particular that triggers them. I'm using OA 0.71. My OS is Arch Linux x64 (kernel 2.6.22). My DE is KDE 3.5.7.
Any ideas? It's so frustrating! Title: Re: Segmentation Faults on x86_64 Linux Post by: dmn_clown on August 14, 2007, 08:42:29 PM try recompiling the binary
Title: Re: Segmentation Faults on x86_64 Linux Post by: Tido on August 15, 2007, 12:44:44 AM Are there any instructions for compiling?
Title: Re: Segmentation Faults on x86_64 Linux Post by: dmn_clown on August 15, 2007, 01:26:21 AM download the source, make sure you have the dependencies:
Code: ldd ioquake3.x86_64 then issue a make command. Title: Re: Segmentation Faults on x86_64 Linux Post by: Tido on August 15, 2007, 03:07:34 AM Code: In file included from code/cgame/cg_consolecmds.c:27: :( Title: Re: Segmentation Faults on x86_64 Linux Post by: dmn_clown on August 15, 2007, 03:28:40 AM You are missing the ui folder and its contents available in the svn http://openarena.ws/svn/source/ui/
those files belong in /ui which should be in the same directory as /code Title: Re: Segmentation Faults on x86_64 Linux Post by: amdfanatyk on August 22, 2007, 11:14:07 AM It's still compiled with -O3 by default (http://openarena.ws/board/index.php?topic=850.50). Recompile with -O2 and correct -march.
Title: Re: Segmentation Faults on x86_64 Linux Post by: dmn_clown on August 22, 2007, 12:46:11 PM correct -march. Every try to run a binary compiled for an AMD processor on an intel chip? If you don't like the binary recompile. |