UFO:Alien Invasion

Archive => Bugs prior to release 2.4 => Topic started by: ligtvoet on August 08, 2010, 01:08:07 am

Title: Crash during battle - v31291 - Linux
Post by: ligtvoet on August 08, 2010, 01:08:07 am
Ok, that does it. I'm going to bed...

Code: [Select]
XML Written to buffer (471784 Bytes)
------- Loading game.so -------
not found at '/usr/local/lib/ufoai'
not found at '/home/andreas/.ufoai/2.4-dev/base'
found at './base'
==== InitGame ====
SV_AssembleMap: Sequential map assembly in 7 ms
CM_LoadMap: "-frozen/st_ +i01 +i02 +i04 +craft_drop_firebird +craft_ufo_harvester +i03 +n01 +i03 +n05 +i02 +n05 +n01 +n01 +n01 +n01 +n01 +i05 +n04" "-16 8 0 -32 -32 0 -24 -24 0 -32 -8 0 -8 -24 0 -32 8 0 16 8 0 16 16 0 -32 -16 0 -32 16 0 -24 24 0 -16 24 0 0 24 0 -24 -32 0 -8 -32 0 8 -32 0 24 -32 0 16 24 0"
Rerouted for RMA in   0.0s
checksum for the map '+frozen': 3293400978
ufo script checksum 1731175500
Created AI player (team 0)
Created AI player (team 7)
-------------------------------------
Connecting to localhost...
connection attempt from loopback connection
load material file: 'materials/frozen.mat'
added light, ambient=0.476837
Starting the game...
andreas has joined team 1
music change to dawn (from van_geoscape)
music change to dawn (from dawn)
(player 0) It's team 1's round
andreas has taken control over team 1.
./ufo(Sys_Backtrace+0x1f)[0x81ab7e8]
./ufo[0x81ab853]
[0xb5b400]
./ufo(R_RenderFrame+0x132)[0x8184064]
./ufo(CL_ViewRender+0xf9)[0x809df72]
./ufo(SCR_UpdateScreen+0xca)[0x807de6f]
./ufo(CL_Frame+0xce)[0x807cac0]
./ufo[0x814dc00]
./ufo(Qcommon_Frame+0x7b)[0x814e064]
./ufo(main+0x5c)[0x81aa9ff]
/lib/tls/i686/cmov/libc.so.6(__libc_start_main+0xe6)[0x412bd6]
./ufo[0x806cf21]
./ufo(Sys_Backtrace+0x1f)[0x81ab7e8]
./ufo(Sys_Error+0x22)[0x81aadc9]
./ufo(Sys_InitSignals+0x0)[0x81ab866]
[0xb5b400]
./ufo(R_RenderFrame+0x132)[0x8184064]
./ufo(CL_ViewRender+0xf9)[0x809df72]
./ufo(SCR_UpdateScreen+0xca)[0x807de6f]
./ufo(CL_Frame+0xce)[0x807cac0]
./ufo[0x814dc00]
./ufo(Qcommon_Frame+0x7b)[0x814e064]
./ufo(main+0x5c)[0x81aa9ff]
/lib/tls/i686/cmov/libc.so.6(__libc_start_main+0xe6)[0x412bd6]
./ufo[0x806cf21]
Error: Received signal 11.
Title: Re: Crash during battle - v31291 - Linux
Post by: Mattn on August 08, 2010, 06:15:10 pm
convert the hex addresses to real line numbers with addr2line -e ufo [hex] or post real backtraces please (gdb)
Title: Re: Crash during battle - v31291 - Linux
Post by: komex on November 30, 2010, 01:10:17 pm
I have the same problem.
Code: [Select]
XML Written to buffer (431032 Bytes)
------- Loading game.so -------
LoadLibrary (./base/game.so)
==== InitGame ====
SV_AssembleMap: Sequential map assembly in 7868 ms
CM_LoadMap: "-tropic/tr_ +r01 +r04 +r05 +h03 +craft_drop_firebird +craft_ufo_scout +r02 +f06 +r02 +r02 +r02 +f03 +r02 +r02 +f07 +r02 +h04 +r02 +r03 +r03" "8 -24 0 -32 0 0 8 8 0 16 -8 0 -24 -8 0 0 -8 0 24 8 0 -16 8 0 -16 16 0 -8 16 0 0 16 0 -32 24 0 -32 -24 0 -24 -24 0 -32 -8 0 -16 -24 0 24 24 0 24 -24 0 -8 -24 0 0 -24 0"
Rerouted for RMA in   0.0s
checksum for the map '+tropic': 43488454
ufo script checksum 495607461
Not enough spawn points for team 0
Created AI player (team 0)
Created AI player (team 7)
-------------------------------------
Connecting to localhost...
connection attempt from loopback connection
load material file: 'materials/tropic.mat'
added light, ambient=0.476837
Starting the game...
komex has joined team 1
music change to greecei (from karlmacklin_geoscape)
./ufo(Sys_Backtrace+0x20)[0x81a6f1a]
./ufo[0x81a7814]
[0x514400]
./ufo(Sys_Backtrace+0x20)[0x81a6f1a]
./ufo(Sys_Error+0x1d)[0x81a7779]
./ufo[0x81a7827]
[0x514400]
Error: Received signal 11.

gdb:
Code: [Select]
Program received signal SIGSEGV, Segmentation fault.
0x00e5faac in ?? () from /usr/lib/dri/i965_dri.so


addr2line:
Code: [Select]
./ufo(Sys_Backtrace+0x20)[/home/komex/ufoai_2.3/src/ports/unix/unix_main.c:544]
./ufo[/home/komex/ufoai_2.3/src/ports/unix/unix_main.c:569]
[??:0]
./ufo(Sys_Backtrace+0x20)[/home/komex/ufoai_2.3/src/ports/unix/unix_main.c:544]
./ufo(Sys_Error+0x1d)[/home/komex/ufoai_2.3/src/ports/unix/unix_main.c:86]
./ufo[/home/komex/ufoai_2.3/src/ports/unix/unix_main.c:569]
[??:0]
Error: Received signal 11.

What's wrong?
Title: Re: Crash during battle - v31291 - Linux
Post by: Mattn on November 30, 2010, 11:01:17 pm
yours is a segfault in the intel video driver.
Title: Re: Crash during battle - v31291 - Linux
Post by: komex on November 30, 2010, 11:12:50 pm
yours is a segfault in the intel video driver.

And what shall I do now? When I run the "ufo + set r_programs 0" - it helps, but the auto battle does not always work and sometimes other bugs crawl out.
Title: Re: Crash during battle - v31291 - Linux
Post by: Mattn on December 01, 2010, 09:34:08 pm
report those found bugs at our tracker if you were able to collect some information about them.