Technical support > Linux

Gamecrash on Battlescape (VM)

(1/2) > >>

hoiba:
Hey everybody. Me again :)

I was fooling around with UFO:AI within a VM because I like the opportunity to pause a long fight (e.g. alien base) and resume the next day by suspending and restoring the VM.

After having a little struggle with sound-issues an other minor bugs the game runs fine within a Debian7 VM but when it comes to battlescape the game crashes. Unfortunately without any entry in the ufoconsole.log file.
When starting the game in a shell I get some error messages (see attached code).

Someone having a idea how to fix it? Google is not a big help, maybe its not a OS but an application issue.

I've tried a WinXP instead a Debian7 guest VM... here everything works great. But I don't like using a Win-Box.. especially the old XP one.


Many thanks for your ideas!

Hoiba


--- Code: ---====== UFO Initialized ======
=============================
Switch grab input off
Change gametype to 'Skirmish mode'
Starting skirmish with 12 soldiers and 0 ugvs
setting game random seed to 14047
------- Loading game.so -------
not found at '/usr/local/lib/'
not found at '/home/hoiba/.ufoai/2.6-dev/base'
found at './base'
tiles: -africa/af_ +craft_ufo_bomber +craft_drop_firebird +empty6c +empty6a +house3 +fence3 +house1a +house1 +house2 +house4 +house6 +house2 +house6a +house3 +house2a +misc1 +empty6 +fence3 +house1 +house1a +house1 +house3 +house1a +well1 +house6 +nature_01 +house6b +house2 +empty6 +fence1 +fence1 +empty6b
pos: 0 -32 0 -40 -8 0 32 -32 0 32 -24 0 32 -16 0 32 -8 0 32 0 0 32 16 0 32 24 0 -40 -32 0 -40 -24 0 -40 -16 0 -32 -24 0 -24 -32 0 -24 -24 0 -8 -24 0 -16 -32 0 -8 -32 0 -24 -16 0 -16 -16 0 -8 -16 0 -8 -8 0 -16 0 0 -8 0 0 -8 8 0 -16 16 0 -40 8 0 -24 8 0 -24 16 0 -40 24 0 -32 24 0 -24 24 0
tiles: 32
CM_LoadMap: "-africa/af_ +craft_ufo_bomber +craft_drop_firebird +empty6c +empty6a +house3 +fence3 +house1a +house1 +house2 +house4 +house6 +house2 +house6a +house3 +house2a +misc1 +empty6 +fence3 +house1 +house1a +house1 +house3 +house1a +well1 +house6 +nature_01 +house6b +house2 +empty6 +fence1 +fence1 +empty6b" "0 -32 0 -40 -8 0 32 -32 0 32 -24 0 32 -16 0 32 -8 0 32 0 0 32 16 0 32 24 0 -40 -32 0 -40 -24 0 -40 -16 0 -32 -24 0 -24 -32 0 -24 -24 0 -8 -24 0 -16 -32 0 -8 -32 0 -24 -16 0 -16 -16 0 -8 -16 0 -8 -8 0 -16 0 0 -8 0 0 -8 8 0 -16 16 0 -40 8 0 -24 8 0 -24 16 0 -40 24 0 -32 24 0 -24 24 0"
Rerouted 1222 cols for RMA in   1.0s
checksum for the map '+africa': 3237176925
ufo script checksum 243461283
ufo: src/libs/lua/lapi.c:545: lua_getfield: Zusicherung >>L->top < L->ci->top<< nicht erf?llt.
Error: Received signal 6.

--- End code ---

DarkRain:
Hi

Well it works fine for me here (openSUSE 12.3) it seems like a stack overflow in lua, are you using the system lua (which version) or the lua bundled with the game?

hoiba:
Hi DarkRain

I'm using the lua bundled with the game (the path in the error message points to the games lua). However... liblua 5.1 is present in the system also.
This problem seems to be VM-specific. I'm running a Debian7 Laptop on which I can compile and play 2.6dev without any issues.
The error above only appears in the Debian-VM.

I'm downloading openSUSE 12.3 right now for a try.
I've already tested Fedora and Ubuntu, both having sound issues I couldn't solve. Only Debian seems to work with sound in VM.


###EDIT###

Just tried the openSUSE 12.3 VM (clean install, KDE, all updates applied, zyppered all packages & dependencies, compiled 2.6dev) with the same 'entering battlescanpe error' as posted before.


--- Code: ---"version" is "UFO: Alien Invasion 2.6-dev IA-32 Nov 28 2014 Linux DEBUG"

ufo: src/libs/lua/lapi.c:545: lua_getfield: Zusicherung >>L->top < L->ci->top<< nicht erf?llt.
failed to upload file 'crashdump.txt': Timeout was reached
failed to upload file '/home/hoiba/.ufoai/2.6-dev/base/ufoconsole.log': Timeout was reached
Error: Received signal 6.
--- End code ---


If the solution to this problem requires lots of time and research for you DarkRain, please just leave it. You coders have enough to do elsewhere in the project. I'll just use the WinXP-VM instead. As a mentioned above, 2.6dev runs fine in this VM ..although I don't like the feeling  ::)

DarkRain:
Hi,

Actually I think i got this one, can you test if it's fixed in latest master?


--- Quote from: hoiba on November 28, 2014, 08:20:04 am ---(the path in the error message points to the games lua).

--- End quote ---
How did I overlook that?

hoiba:

--- Quote from: DarkRain on November 28, 2014, 09:33:07 pm ---Hi,

Actually I think i got this one, can you test if it's fixed in latest master?


--- End quote ---

Sure. I'll be able to test it monday (all Linux-VMs are on my computer at work ^^ ).



--- Quote from: DarkRain on November 28, 2014, 09:33:07 pm ---How did I overlook that?

--- End quote ---

You're replying late in the night. That's how ;)

Navigation

[0] Message Index

[#] Next page

Go to full version