Computer Chess Club Archives


Search

Terms

Messages

Subject: Re: Seg fault problems on 64bit linux

Author: Robert Hyatt

Date: 07:12:38 09/05/05

Go up one level in this thread


On September 05, 2005 at 04:32:37, Andreas Guettinger wrote:

>On September 04, 2005 at 21:31:59, Ryan B. wrote:
>
>>First off I use 64 bit linux. I just went back to gcc 3.4.2 after having issues
>>compiling my own program with gcc4.  To see if it was just my program I tried
>>some other programs to see if they had the same problem.  I did not find the
>>same problem but did find that some other programs got a seg fault running after
>>compile.   I assumed gcc 4 to be a POS and went back to gcc 3.4.2 fixing my
>>original problem but I still can't get some programs to work on 64bit.
>>
>>Amy-0.8.7 seg faults on startup when compiled on 64bit (works just fine with
>>32bit gcc)
>>Scorpio 1.2 seg faults on go when compiled on 64bit even after fixing the
>>redefinition to long.  (works just fine with 32bit gcc)
>>Beowulf works just fine but I notice it uses long long still. (wow stronger than
>>I expected)
>>
>>I don't use Bitboards so I dont know if it is a bitboard issue.  Has anyone else
>>had problems like this on 64bit using gcc?  If it is somthing simple that I
>>overlooked, sorry.  For now I assume it has somthing to do with the size of long
>>and I am not smart enought to find the problem using grep.
>
>
>Amy is one of the few progs I couldn't get to run on my 64 bit linux system at
>all. Seg faults.
>For Scorpio 1.2 I think I just used the precompiled binary. Scorpio runs fine
>here.
>Another one that dosen't run on my system is Jonny. It starts fine, but dosent
>ponder. When forcing a move after some time it's still at depth 3 or 4.
>As for interfaces, eboard segfaults like crazy. Couldn't get it to run at all.
>Apart of that, all the other progs I tried run stable.
>
>regards
>Andy


One probable issue is pointers are 64 bits, while ints are not.  If someone is
fooling around using pointers, there can be issues...



This page took 0.01 seconds to execute

Last modified: Thu, 15 Apr 21 08:11:13 -0700

Current Computer Chess Club Forums at Talkchess. This site by Sean Mintz.