[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [pbmserv-dev] Segmentation faults on compiled game programs
I've found gdb to be indispensable for tracking down these sorts of
seg faults.
My last pbmserv hacking hit a segfault in some library routine in
the C++ exit code. Unfortuantely gdb couldn't suss that one.
- Scott
>On Tue, 28 Oct 2003, John Williams wrote:
>
>> There are several conditions which I know of that will cause segfaults.
>> (Maybe we should patch these up to return a useful message someday...)
>>
>> PBMHOME not set
>> missing the games/<GameType> directory
>
>bingo! That was it. I had set the environment stuff and had the ratings,
>history and standings directories. I just didn't have games/Wizard.
>
>Many thanks.
>
>-mark