Open jonm opened 8 years ago
I have been unable to reproduce, even after several additional backstabs, so perhaps this was a coincidence.
Of course, after closing it, I crashed the mud again on a backstab...
Can you enable core dumps in general?
Yeah, what is that, with ulimit
?
Well, the way to do this is check the system limits in /etc/security/limits.conf
and also local limits with ulimit -a
. When I do this, though, they both show that core files should be unlimited in size. And indeed, a test program dumps core when it crashes. Can you verify the output of ulimit -a
from whatever shell you start the mud from?
[ec2-user@ip-172-30-0-252 sysconfig]$ ulimit -a
core file size (blocks, -c) 0
...
So that looks to be the problem.
Yeah, so run ulimit -c unlimited
first.
FYI, it looks like core files are configured to go into /tmp
:
[ec2-user@ip-172-30-0-252 ~]$ cat /proc/sys/kernel/core_pattern
/tmp/core-%e-%s-%u-%g-%p-%t
Yes, I just did that part by following the instructions here: http://www.unixmen.com/how-to-enable-core-dumps-in-rhel6/
I also put ulimit -c unlimited
into the .bashrc
of ec2-user
. So we'll see if we can catch it again.
Maybe we should write some fuzz-testing bots.
Made a level 1 thief and was wandering around the Chessboard and ran across a mortally wounded pawn. Tried to backstab it and the game crashed. Last log line was:
I'll try to replicate it locally.