Valgrind
#15
I'm sorry to say so, but the big-ass error log wasn't too useful. When the server crashed, it (of course) "leaked" a lot of memory, so the error is mostly about this leaked memory.

One piece of interesting information, though - the program crashed without valgrind detecting any invalid pointer operations. So there's still something else lurking in the shadows.

Well, keep valgrinding it (update first, so that you have the fixes), something useful is bound to fall out of this Smile
What might help, too: enable core dumps:
http://stackoverflow.com/questions/29193...-c-program
Basically, just run "ulimit -c unlimited" before launching MCServer / valgrind.
Then if the server crashes, hopefully it will create a core dump file, which could be used for post-mortem analysis. I'll need that core dump file and the executable.

Also, I've found out that -ggdb doesn't imply -g, so both flags should probably be present in the makefile.
Reply
Thanks given by:


Messages In This Thread
Valgrind - by xoft - 10-24-2012, 06:47 AM
RE: Valgrind - by ThuGie - 10-24-2012, 07:05 AM
RE: Valgrind - by FakeTruth - 10-24-2012, 07:12 AM
RE: Valgrind - by ThuGie - 10-24-2012, 07:45 AM
RE: Valgrind - by xoft - 10-26-2012, 04:52 AM
RE: Valgrind - by ThuGie - 10-26-2012, 05:35 AM
RE: Valgrind - by xoft - 10-26-2012, 05:46 AM
RE: Valgrind - by ThuGie - 10-26-2012, 06:05 AM
RE: Valgrind - by xoft - 10-26-2012, 06:17 AM
RE: Valgrind - by ThuGie - 10-26-2012, 06:33 AM
RE: Valgrind - by xoft - 10-26-2012, 06:41 AM
RE: Valgrind - by ThuGie - 10-26-2012, 06:46 AM
RE: Valgrind - by xoft - 10-26-2012, 07:19 AM
RE: Valgrind - by ThuGie - 10-26-2012, 07:22 AM
RE: Valgrind - by xoft - 10-26-2012, 06:59 PM
RE: Valgrind - by ThuGie - 10-27-2012, 05:34 AM
RE: Valgrind - by FakeTruth - 10-27-2012, 06:41 AM
RE: Valgrind - by ThuGie - 10-27-2012, 06:46 AM
RE: Valgrind - by xoft - 10-27-2012, 05:57 PM
RE: Valgrind - by ThuGie - 10-28-2012, 03:25 AM
RE: Valgrind - by xoft - 11-12-2012, 12:47 AM
RE: Valgrind - by ThuGie - 11-12-2012, 06:35 AM
RE: Valgrind - by xoft - 11-13-2012, 09:35 PM
RE: Valgrind - by xoft - 11-14-2012, 02:01 AM
RE: Valgrind - by ThuGie - 11-14-2012, 10:50 AM
RE: Valgrind - by xoft - 11-16-2012, 12:04 AM
RE: Valgrind - by ThuGie - 11-16-2012, 05:02 AM
RE: Valgrind - by xoft - 11-16-2012, 07:42 PM
RE: Valgrind - by ThuGie - 11-16-2012, 08:39 PM
RE: Valgrind - by xoft - 11-16-2012, 08:44 PM
RE: Valgrind - by xoft - 11-26-2012, 07:13 AM
RE: Valgrind - by xoft - 07-23-2013, 05:56 AM
RE: Valgrind - by bearbin - 07-23-2013, 05:32 PM
RE: Valgrind - by xoft - 07-24-2013, 09:58 PM
RE: Valgrind - by bearbin - 07-25-2013, 05:29 AM
RE: Valgrind - by xoft - 07-25-2013, 06:20 AM
RE: Valgrind - by bearbin - 07-25-2013, 05:46 PM



Users browsing this thread: 1 Guest(s)