Okay, I know that the legacy master server system is deprecated. However, I am unable to migrate my code to Unity 5.0 (ATM). I really need to set up my own master server on a Linux server being hosted by Go Daddy.
I copied the master server over, everything compiles find with the exception of some warnings. When I run the master server it segmentation faults while trying to bind to an address. (Actually I think it is occurring when it starts the threads)
Please keep in mind this is the Master server specified by Unity to use up until 4.7 NOT my own code.
I did manage to get gdb running this is the output:
IP address: 198.71.227.37
[New Thread 0x7ffff7de6700 (LWP 599483)]
[New Thread 0x7ffff7fe7700 (LWP 599482)]
Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0x7ffff7fe7700 (LWP 599482)]
0x0000000000418fb8 in UpdateNetworkLoop(void*) ()
(gdb) backtrace
Python Exception No
module named gdb.frames:
0 0x0000000000418fb8 in UpdateNetworkLoop(void*) ()
1 0x0000003584e079d1 in start_thread ()
from /lib64/libpthread.so.0
2 0x0000003584ae88dd in clone () from /lib64/libc.so.6
(gdb)
I went looking for UpdateNetworkLoop but I can’t find where it is defined, it is used when the thread is created. Please if anyone who has ever implemented the master server has seen this I could really use a hand.
Thanks,
BM
There are just too many things that could be wrong on your code or server. You should be able to post your code or part of it so people could be able to debug it. Otherwise your question is senseless. Regards!
– LeooThis is the master server code. Not mine! I did get gdb up: here is the result. IP address: 198.71.227.37 [New Thread 0x7ffff7de6700 (LWP 540262)] [New Thread 0x7ffff7fe7700 (LWP 540261)] Program received signal SIGSEGV, Segmentation fault. [Switching to Thread 0x7ffff7fe7700 (LWP 540261)] 0x0000000000418fb8 in UpdateNetworkLoop(void*) () (gdb) backtrace Python Exception No module named gdb.frames: 0 0x0000000000418fb8 in UpdateNetworkLoop(void*) () 1 0x0000003584e079d1 in start_thread () from /lib64/libpthread.so.0 2 0x0000003584ae88dd in clone () from /lib64/libc.so.6 (gdb) q
– btowle