Nothing entered.
[http://sourceforge.net/p/ufoai/bugs/1863 Item 1863] imported from sourceforge.net tracker on 2013-01-28 19:12:13
When I try to start /usr/lib/games/ufoai/ufo from 2.2.1 Debian Lenny build, it stales with black square, red frame around it, empty progress bar at the bottom and begins to eat CPU.
Log attached.
===== Comments Ported from Sourceforge =====
====== nobody (2008-10-11 10:28:49) ======
~/.ufoai/2.2.1/base/ufoconsole.log
====== tlh2000 (2008-10-11 11:11:47) ======
problem is, that the game can't find the pk3 files - i think you are using broken deb files (currently all the debs i know have also missing language files btw.)
====== drunkmaster (2008-10-12 05:00:09) ======
It seems that game searches *.ufo files. I've created symlynk to /usr/lib/games/ufoai/base at ~/.ufoai/2.2.1/base/ufos and changed dir to ~/.ufoai/2.2.1 and started game.
Last lines of strace:
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
write(1, "\n----------- parse scripts ------"..., 38
----------- parse scripts ----------
) = 38
open("/home/fox/.ufoai/2.2.1/base/ufos", O_RDONLY|O_NONBLOCK|O_LARGEFILE|O_DIRECTORY|O_CLOEXEC) = 10
fstat64(10, {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
getdents(10, /* 12 entries */, 4096) = 260
getdents(10, /* 0 entries */, 4096) = 0
close(10) = 0
open("./base/ufos", O_RDONLY|O_NONBLOCK|O_LARGEFILE|O_DIRECTORY|O_CLOEXEC) = 10
fstat64(10, {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
getdents(10, /* 12 entries */, 4096) = 260
getdents(10, /* 0 entries */, 4096) = 0
close(10) = 0
----------------------------------------------------------------------------------------------------------------------
Last lines of ltrace:
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
strrchr("/home/fox/.ufoai/2.2.1/base/ufos"..., '/') = "/*.ufo"
strncmp("*.ufo", "*.*", 99999) = 75
opendir("/home/fox/.ufoai/2.2.1/base/ufos") = 0x14c986b0
readdir(0x14c986b0) = 0x14c986c8
...
readdir(0x14c986b0) = NULL
closedir(0x14c986b0) = 0
__vsnprintf_chk(0x1193c100, 65536, 1, -1, 0x81578bf) = 17
strrchr("./base/ufos/*.ufo", '/') = "/*.ufo"
strncmp("*.ufo", "*.*", 99999) = 75
opendir("./base/ufos") = 0x14c986b0
readdir(0x14c986b0) = 0x14c986c8
...
readdir(0x14c986b0) = NULL
closedir(0x14c986b0) = 0
strncmp("ufos/*.ufo", "", 64) = 117
strncmp("ufos/*.ufo", "ufos/*.ufo", 64) = 0
----------------------------------------------------------------------------------------------------------------------
====== geever (2009-04-09 19:27:01) ======
I remember we fixed some path issues in deb scripts. if it's still an issue (not in an old package but in package creator scripts) reopen.
-geever