The ICS called a program 'backtrace', which no longer seems to exist,
in its segfault hadler. This is now changed to gcore, to create a numbered
core dump in the chessd directory.
static void segv_handler(int sig)
{
char cmd[100];
- snprintf(cmd, sizeof(cmd), "/home/mics/bin/backtrace %d > /home/mics/chessd/segv_%d 2>&1",
- (int)getpid(), (int)getpid());
+ snprintf(cmd, sizeof(cmd), "gcore -o /home/mics/chessd/core %d", (int)getpid());
system(cmd);
_exit(1);
}