UFO:Alien Invasion

Archive => Bugs prior to release 2.3 => Topic started by: Catty Nebulart on June 10, 2009, 04:50:51 am

Title: Crash to desktop in trunk 24642
Post by: Catty Nebulart on June 10, 2009, 04:50:51 am
Using Kubuntu 9.4, GeForce 9800, Amd phenom x4, 4 gigs of ram.

I compiled revision  24642 myself.

After I ended my first turn in the mission the game crashed, looking over the output it seems to be a problem with the civilians.

Code: [Select]
==== InitGame ====                                   
Map:fighter_crash  Offset:(0, 0, 0)                 
wpMins:(117, 105, 0) wpMaxs:(164, 154, 5)           
Shifted wpMins:(117, 105, 0) wpMaxs:(164, 154, 5)   
Tile bounds: (117, 105, 0) to (164, 154, 5)         
Source bounds: (117, 105, 0) to (164, 154, 5)       
Done copying data.
Loaded routing for tile fighter_crash in   0.0s
checksum for the map 'fighter_crash': 1270159466
ufo script checksum 213188846
Created AI player (team 0)
Created AI player (team 7)
-------------------------------------
Connecting to localhost...
music change to PsymongR2 (from ufo1)
Starting the game...
Catty has joined team 0
(player 0) It's team 1's round
Catty has taken control over team 1.
music change to van_mission2 (from PsymongR2)
Can't perform action - target out of range!
Can't perform action - target out of range!
Can't perform action - target out of range!
Can't perform action - target out of range!
Can't perform action - target out of range!
Can't perform action - target out of range!
Can't perform action - target out of range!
Can't perform action - target out of range!
Can't perform action - target out of range!
Can't perform action - target out of range!
Can't perform action - target out of range!
Can't perform action - target out of range!
Can't perform action - target out of range!
Can't perform action - target out of range!
Can't perform action - target out of range!
Can't perform action - target out of range!
Can't perform action - target out of range!
Team 1 ended round, team 7's round started!
ufo: src/game/g_ai.c:516: AI_CivilianCalcBestAction: Assertion `dist' failed.
/usr/lib/games/ufoai/ufo[0x55cb41]
/usr/lib/games/ufoai/ufo[0x55cba1]
/lib/libc.so.6[0x7ff65b074040]
/lib/libc.so.6(gsignal+0x35)[0x7ff65b073fb5]
/lib/libc.so.6(abort+0x183)[0x7ff65b075bc3]
/lib/libc.so.6(__assert_fail+0xe9)[0x7ff65b06cf09]
/home/dirk/.ufoai/2.3-dev/base/game.so[0x7ff651b1565c]
/home/dirk/.ufoai/2.3-dev/base/game.so[0x7ff651b15f45]
/home/dirk/.ufoai/2.3-dev/base/game.so(AI_ActorThink+0x473)[0x7ff651b16779]
/home/dirk/.ufoai/2.3-dev/base/game.so(AI_Run+0x18c)[0x7ff651b16aa1]
/home/dirk/.ufoai/2.3-dev/base/game.so(G_RunFrame+0x1f1)[0x7ff651b2c4e5]
/usr/lib/games/ufoai/ufo(SV_RunGameFrame+0x14)[0x5263a2]
/usr/lib/games/ufoai/ufo(SV_Frame+0x69)[0x52b2f3]
/usr/lib/games/ufoai/ufo[0x503100]
/usr/lib/games/ufoai/ufo(Qcommon_Frame+0x95)[0x5033fc]
/usr/lib/games/ufoai/ufo(main+0x57)[0x55b7f1]
/lib/libc.so.6(__libc_start_main+0xe6)[0x7ff65b05f5a6]
/usr/lib/games/ufoai/ufo[0x427ee9]
Error: Received signal 6.
Title: Re: Crash to desktop in trunk 24642
Post by: Radischen on June 20, 2009, 01:22:00 pm
I always get the same Error on every map.
Ubuntu 9.04, 2 Gb Ram, Nvidia 7700 Go.
Revision 24766

Code: [Select]
Connecting to localhost...
load material file: 'materials/tropic.mat'
music change to dbsea (from van_geoscape)
Retracing for model *1 in   0.0s
Retracing for model *2 in   0.0s
Retracing for model *3 in   0.0s
Retracing for model *4 in   0.0s
Retracing for model *5 in   0.0s
Retracing for model *6 in   0.0s
Retracing for model *7 in   0.0s
Retracing for model *8 in   0.0s
Starting the game...
Lt. Alex has joined team 0
(player 0) It's team 1's round
Lt. Alex has taken control over team 1.
music change to space (from dbsea)
Retracing for model *1 in   0.0s
Retracing for model *2 in   0.0s
Retracing for model *3 in   0.0s
Retracing for model *4 in   0.0s
Retracing for model *5 in   0.0s
Retracing for model *6 in   0.0s
Retracing for model *7 in   1.0s
Retracing for model *8 in   0.0s
Can't perform action - target out of range!
Can't perform action - target out of range!
Team 1 ended round, team 7's round started!
ufo: src/client/renderer/r_state.c:58: R_BindTexture: Assertion `texnum > 0' failed.
./ufo(Sys_Backtrace+0x1f)[0x818fe12]
./ufo[0x818fe72]
[0xb802c400]
/lib/tls/i686/cmov/libc.so.6(abort+0x188)[0xb799c098]
/lib/tls/i686/cmov/libc.so.6(__assert_fail+0xee)[0xb79935ce]
./ufo(R_BindTexture+0x3d)[0x8189cb9]
./ufo[0x816e5fa]
./ufo(R_DrawEntities+0x1f8)[0x816f183]
./ufo(R_RenderFrame+0x184)[0x8176fca]
./ufo(V_RenderView+0xed)[0x8099be9]
./ufo(SCR_UpdateScreen+0xb9)[0x8093a62]
./ufo(CL_Frame+0xcb)[0x808eda0]
./ufo[0x813ef2b]
./ufo(Qcommon_Frame+0x9a)[0x813f1f4]
./ufo(main+0x66)[0x818eb75]
/lib/tls/i686/cmov/libc.so.6(__libc_start_main+0xe5)[0xb7985775]
./ufo[0x8069b51]
./ufo(Sys_Backtrace+0x1f)[0x818fe12]
./ufo(Sys_Error+0x22)[0x818ef8c]
./ufo(Sys_InitSignals+0x0)[0x818fe85]
[0xb802c400]
/lib/tls/i686/cmov/libc.so.6(abort+0x188)[0xb799c098]
/lib/tls/i686/cmov/libc.so.6(__assert_fail+0xee)[0xb79935ce]
./ufo(R_BindTexture+0x3d)[0x8189cb9]
./ufo[0x816e5fa]
./ufo(R_DrawEntities+0x1f8)[0x816f183]
./ufo(R_RenderFrame+0x184)[0x8176fca]
./ufo(V_RenderView+0xed)[0x8099be9]
./ufo(SCR_UpdateScreen+0xb9)[0x8093a62]
./ufo(CL_Frame+0xcb)[0x808eda0]
./ufo[0x813ef2b]
./ufo(Qcommon_Frame+0x9a)[0x813f1f4]
./ufo(main+0x66)[0x818eb75]
/lib/tls/i686/cmov/libc.so.6(__libc_start_main+0xe5)[0xb7985775]
./ufo[0x8069b51]
Error: Received signal 6.

By the way: Is it normal that you won't receive any items after simulating a combat?
Title: Re: Crash to desktop in trunk 24642
Post by: Another Guy on June 20, 2009, 04:24:13 pm
Quote
By the way: Is it normal that you won't receive any items after simulating a combat?

U mean autocombat? I don't think so, but usually I only receive alien breath aparatus...
Title: Re: Crash to desktop in trunk 24642
Post by: Radischen on June 20, 2009, 05:49:43 pm
Yeah i mean auto combat and i receive this breath apparatus too but i mean weapons or other stuff. I can't do the normal combat because the described crash to desktop.

Oh when you simulate a homebase combat you always win even if you soldier have no weapons.
Title: Re: Crash to desktop in trunk 24642
Post by: Another Guy on June 20, 2009, 06:03:23 pm
I don't know if it's intended or some bug but yes, nothing beyond alien breath apparatus on auto mission.
The drawback of using automission (as far as I understood it) should be only not raising ur soldiers stats. If so, they should fix the no equipment gain soon.

As for the battlescape crashes, this is bug that insists to keep getting in the coders' way for quite some time now...  :(
A little patience and it should be fixed sometime.