Gaaaaaaaaaaaaaarrrrrrrrrrr.

Just spotted the problem.

On Wed, 28 May 2008, Ryan Neufeld wrote:
> Ran gdb on tpserver.
> Commands I entered:
> gdb ./tpserver-cpp
> game ruleset=risk
> game load
> network start.

It used to be that the game should be started before the network is started. I 
am going to change it, and if you start with network_start = yes in your 
config file it won't until you also have game_load = yes and game_start = 
yes.

So: the work around is to do
tpserver-cpp> game start
before running 
tpserver-cpp> network start.

The proper fix will come eventually.


> Program received signal EXC_BAD_ACCESS, Could not access memory.
> Reason: KERN_PROTECTION_FAILURE at address: 0x00000004
> 0x00062bb0 in TurnTimer::secondsToEOT ()
> (gdb)

The reason is that the actual TimeTimer is NULL (this == NULL).

It should probably segfault on linux.

Oddly, it appears that OS X always gives SIGBUS on null pointer deference, 
whereas linux always give SIGSEGV.

> Ryan 'jphr' Neufeld

Later
Lee

Attachment: signature.asc
Description: This is a digitally signed message part.

_______________________________________________
tp-devel mailing list
[email protected]
http://www.thousandparsec.net/tp/mailman.php/listinfo/tp-devel

Reply via email to