Page 1 of 1

Load Game -> Segmentation Fault

Posted: Fri Sep 30, 2005 8:02 pm
by rafael.santos
Since I installed version 1.9.1 in my fedora linux, I can't put "load game" to work. Following is the output of strace at the moment it crashes:

------------------ strace -----------------------------------------
time(NULL) = 1128110937
gettimeofday({1128110937, 490641}, NULL) = 0
stat64("/home/rafael", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
stat64("/home/rafael/Desktop", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
stat64("/home/rafael/.bygfoot-1.9/saves", {st_mode=S_IFDIR|0700, st_size=12288, ...}) = 0
stat64("/home/rafael", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
stat64("/home/rafael/Desktop", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
stat64("/home/rafael/.bygfoot-1.9/saves", {st_mode=S_IFDIR|0700, st_size=12288, ...}) = 0
gettimeofday({1128110937, 497833}, NULL) = 0
open("/usr/share/icons/Bluecurve/24x24/stock/gtk-remove.png", O_RDONLY|O_LARGEFILE) = 7
fstat64(7, {st_mode=S_IFREG|0644, st_size=648, ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb7d2e000
read(7, "\211PNG\r\n\32\n\0\0\0\rIHDR\0\0\0\30\0\0\0\30\10\6\0\0"..., 4096) = 648
_llseek(7, 0, [0], SEEK_SET) = 0
read(7, "\211PNG\r\n\32\n\0\0\0\rIHDR\0\0\0\30\0\0\0\30\10\6\0\0"..., 4096) = 648
brk(0xa0d3000) = 0xa0d3000
brk(0xa0cb000) = 0xa0cb000
close(7) = 0
munmap(0xb7d2e000, 4096) = 0
brk(0xa0c7000) = 0xa0c7000
brk(0xa0c6000) = 0xa0c6000
stat64("/home/rafael", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
open("/usr/X11R6/lib/X11/fonts/Type1/l048016t.pfa", O_RDONLY) = 7
fcntl64(7, F_SETFD, FD_CLOEXEC) = 0
fstat64(7, {st_mode=S_IFREG|0644, st_size=72496, ...}) = 0
mmap2(NULL, 72496, PROT_READ, MAP_PRIVATE, 7, 0) = 0xb7d1d000
close(7) = 0
brk(0xa0e8000) = 0xa0e8000
brk(0xa0e3000) = 0xa0e3000
gettimeofday({1128110937, 535777}, NULL) = 0
--- SIGSEGV (Segmentation fault) @ 0 (0) ---
+++ killed by SIGSEGV +++
------------------ strace -----------------------------------------

Any idea?
--------
Rafael Santos

Posted: Fri Sep 30, 2005 9:03 pm
by gyboth
are you trying to load a game saved with the same version, ie. 1.9.1? or an older savegame saved with 1.9.0 or so?

gyözö

Posted: Mon Oct 03, 2005 6:47 pm
by MarkC
gyboth wrote:are you trying to load a game saved with the same version, ie. 1.9.1? or an older savegame saved with 1.9.0 or so?
Oh dear. It happens as soon as you press "load game". It's fine if you start a new game and then load an old one.
I'm getting the same problem with the Debian 1.9.1 release, even after deleting ~/.bygfoot*

What's going on?! I thought this bug had been fixed before the release.

Posted: Mon Oct 03, 2005 6:53 pm
by gyboth
MarkC wrote:What's going on?! I thought this bug had been fixed before the release.
ah, so it's THAT bug he's talking about?

no, that was an official 1.9.1 bug ;-) only fixed in cvs.

but 1.9.2 will come out as soon as vector's back and some decent icons are made for the WC definition.

gyözö