Compile MCServer on Mac OS?
#21
I added some error logging to the error lines present in your log. Can you try rev 456 please?

Also, could you try running the server under gdb? That will most probably show the exact place of the crash, that could be very useful.

If you don't know anything about gdb, here's a quick cheatsheet of what to do:
1, Run the server by running "gdb ./MCServer" instead of "./MCServer"
2, GDB starts, loads MCServer and waits for a command, with a "(gdb) " prompt
3, Start debugging by issuing a "run" command at the GDB prompt
4, Let the server crash
5, GDB writes all kinds of information and ends with a GDB prompt again. (post that info here)
6, Use "bt" command to print the stack trace of current thread (post that here)
7, Use "info threads" command to list all running threads
8, Use "thread <N>" command to switch to another thread (<N> is a thread number in the "info threads" output)
9, Use "bt" command on each such thread (post each here, preferably separately)

Note: This is what I do when I'm debugging the *nix version of MCServer; I am a n00b when it comes to *nix so it may be done much more efficiently or whatever.

Edit: 10, Use "q" command to quit GDB.
Reply
Thanks given by:




Users browsing this thread: 1 Guest(s)