I had the same issue at Ubuntu 14.04. When chosen crafty in eboard via default
menu item, eboard crashed immediately after starting the game. Starting crafty
with generic game option worked without problems.
Checking out the source code I found a problem in the proto_xboard.cc file in
the CraftyProtocol::readDialog() function:
You can find
if (!global.env.Home.empty())
snprintf(EngineRunDir,512,"%s/.eboard/craftylog",global.env.Home.c_str());
else
strcpy(EngineRunDir,"/tmp");
but should use
if (!global.env.Home.empty())
snprintf(EngineRunDir,256,"%s/.eboard/craftylog",global.env.Home.c_str());
else
strcpy(EngineRunDir,"/tmp");
A directory path shouldn't exceed a length of 260 characters (minus 3
characters for Windows drive letter, e.g. "C:\" and a final "\0" null
character), I've read. So change that in the proto_xboard.cc file and make the
executable by yourself.
By the way: the configure script doesn't use the paths Ubuntu uses, so adapt
them to the Ubuntu paths (see attached configure script)
** Attachment added: "configure"
https://bugs.launchpad.net/ubuntu/+source/eboard/+bug/1306419/+attachment/4363370/+files/configure
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1306419
Title:
crash if select crafty engine
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/eboard/+bug/1306419/+subscriptions
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs