Hey.
My plugin crashes servers on both, windows and linux. But the problem: I don't know where and why it crashes. The time after which the crash happens differs in every case, from 6 hours to two days. Here is the only thing that I can extract out of the debug.log:
Quote:
./srcds_run: line 344: 6528 Segmentation fault (core dumped) $HL_CMD
Cannot access memory at address 0xf7f02658
Cannot access memory at address 0xec43b3a0
/home/gameserver/testserver1/debug.cmds: Error in sourced command file:
Cannot access memory at address 0xf7f02658
email debug.log to [email protected]
|
The addresses change on every crash. For me, it seems to be random. So I don't know how to search. The crashes happen everytime, so they aren't connected with map start, round start or something like that. Crashes happen with or without players (or bots) - it doesn't matter.
My question is now: How can I debug that? If I want to compile in Debug mode, the compiler prints a lot of errors from the SDK and some link errors from SDK, too (I'm using the one from hg.alliedmods.net).
Any ideas? I would be very thankful!