project-navigation
Personal tools

Author Topic: Crash/Freeze when killing last enemy  (Read 13140 times)

Offline enriquejrg

  • Cannon Fodder
  • **
  • Posts: 6
    • View Profile
Crash/Freeze when killing last enemy
« on: April 16, 2011, 06:44:57 pm »
The game freezes while playing a map (music game works in the background). As I review the ufoconsole.log file, I could say it always happens after killing last enemy (but only sometimes). BTW, I attach such file. Take a look at it for more details.

PC Specifics:
 - Windows Vista SP2
 - ATI Radeon HD 3400 Series
 - 2GB RAM
 - AMD 2.4+ Dual Core

Game version: 2.4-dev (nightly-build, downloaded 2 days ago).

The problem has been repeating since I installed the game. It remains whatever I use windowed mode or fullscreen mode, and with differents combinations in video settings. I have to use CTRL+ALT+DEL for killing it.


Regards.

Offline geever

  • Project Coder
  • PHALANX Commander
  • ***
  • Posts: 2561
    • View Profile
Re: Crash/Freeze when killing last enemy
« Reply #1 on: April 16, 2011, 07:41:12 pm »
The game freezes while playing a map (music game works in the background). As I review the ufoconsole.log file, I could say it always happens after killing last enemy (but only sometimes). BTW, I attach such file. Take a look at it for more details.

Your ufoconsole.log was cut in half - probably due to filesystem caching. Please try reproducing the issue with forced log flushing and open a ticket wit it on our BugTracker.

For this:
1) Open the game console (Shift+ESC)
2) Write: log_file 2
3) Close console (ESC)

Thanks!
-geever

Offline enriquejrg

  • Cannon Fodder
  • **
  • Posts: 6
    • View Profile
Re: Crash/Freeze when killing last enemy
« Reply #2 on: April 16, 2011, 09:19:10 pm »
Ok, I get:
Code: [Select]
2011/04/16 21:10:36 log_file 2
2011/04/16 21:10:36 Unknown command "log_file" - wasn't sent to server
???

Offline geever

  • Project Coder
  • PHALANX Commander
  • ***
  • Posts: 2561
    • View Profile
Re: Crash/Freeze when killing last enemy
« Reply #3 on: April 16, 2011, 09:39:50 pm »
Ok, I get:
Code: [Select]
2011/04/16 21:10:36 log_file 2
2011/04/16 21:10:36 Unknown command "log_file" - wasn't sent to server
???

Well, then it's maybe just logfile, you can find out by start typing log and pressing <TAB>.

-geever

tkacziluzji

  • Guest
Re: Crash/Freeze when killing last enemy
« Reply #4 on: April 17, 2011, 08:34:03 pm »
I'ts easy.

UFO "ufoai-2.4-dev-1301086950-Debug-pentium3-O1-sse-7z-full-win32.exe" by Muton crash when You kill last enemy AND TRY DO SOMETHINK.
I.e. click on the map to move soldier.
If You after kill enemy DO NOTHINK - a misssion end correct.

Now I after kill enemy do pause (ca 60s), and all is OK. ;-)

Offline enriquejrg

  • Cannon Fodder
  • **
  • Posts: 6
    • View Profile
Re: Crash/Freeze when killing last enemy
« Reply #5 on: April 17, 2011, 08:59:05 pm »
It's possible. I'm waiting now a lot when I kill an enemy, because I'm afraid of the game crashing. And since this I'm not reproducing this anymore.

BTW the bug still exists. I could try to force it, so I can reproduce it again.

Offline Mattn

  • Administrator
  • PHALANX Commander
  • *****
  • Posts: 4831
  • https://github.com/mgerhardy/vengi
    • View Profile
    • Vengi Voxel Tools
Re: Crash/Freeze when killing last enemy
« Reply #6 on: April 18, 2011, 07:48:21 am »
i can't reproduce this. kill all aliens with:

sv debug_showall (gives you all living aliens)
debug_killteam 7 X (where X is the amount of aliens -1)

now you only have to kill the last alien and can try to reproduce it. i did so and it worked fine in skirmish. are you playing a campaign? skirmish or multiplayer?

Offline Sarin

  • Sergeant
  • *****
  • Posts: 339
    • View Profile
Re: Crash/Freeze when killing last enemy
« Reply #7 on: April 18, 2011, 08:51:20 am »
I've been experiencing the same problem. To me, it happens in campaign, been happening every other mission. Save>exit to main menu> load before each mission seem to help against it.

System: Win7/64 bit, running latest Muton's build.

Offline Destructavator

  • Combination Multiple Specialty Developer
  • Administrator
  • PHALANX Commander
  • *****
  • Posts: 1908
  • Creater of Scorchcrafter, knows the zarakites...
    • View Profile
Re: Crash/Freeze when killing last enemy
« Reply #8 on: April 18, 2011, 09:22:09 am »
I will try to reproduce this on my machine with Windows 7 booted and running.  (I multi-boot nearly all my stuff.)

I'd like to point out that Muton uses some non-standard optimizations, as well as SSE support, for many of his uploaded builds.  I'm not going to point my "blaming finger" at those optimizations quite yet, but sometimes building programs in such a way can cause bugs that a default configured build/compile would not.

I'll report back later if I can reproduce this.

Offline enriquejrg

  • Cannon Fodder
  • **
  • Posts: 6
    • View Profile
Re: Crash/Freeze when killing last enemy
« Reply #9 on: April 18, 2011, 11:49:05 am »
now you only have to kill the last alien and can try to reproduce it. i did so and it worked fine in skirmish. are you playing a campaign? skirmish or multiplayer?
I'm playing campaign mode.

tkacziluzji

  • Guest
Re: Crash/Freeze when killing last enemy
« Reply #10 on: April 18, 2011, 05:34:05 pm »
I'm playing campaign mode too.

Offline Brettie-C

  • Rookie
  • ***
  • Posts: 33
    • View Profile
Re: Crash/Freeze when killing last enemy
« Reply #11 on: April 18, 2011, 06:21:27 pm »
mines just frozen after i killed last enemy and it my first go at playing a tactical mission

Offline dodon

  • Rookie
  • ***
  • Posts: 48
    • View Profile
Re: Crash/Freeze when killing last enemy
« Reply #12 on: April 18, 2011, 06:58:24 pm »
This bug is already reported. See GroundCombat->end print-stats press-key|mouse->freeze-game - ID: 3152326

I can reproduce this with WinXP.



Now I after kill enemy do pause (ca 60s), and all is OK. ;-)
The time seems to depend on the System. For me it is only several seconds.



Offline Mattn

  • Administrator
  • PHALANX Commander
  • *****
  • Posts: 4831
  • https://github.com/mgerhardy/vengi
    • View Profile
    • Vengi Voxel Tools
Re: Crash/Freeze when killing last enemy
« Reply #13 on: April 18, 2011, 08:03:00 pm »
So you can reproduce it reliably with the commands i posted above? And is this also true for skirmish games?

Offline Sarin

  • Sergeant
  • *****
  • Posts: 339
    • View Profile
Re: Crash/Freeze when killing last enemy
« Reply #14 on: April 18, 2011, 08:22:15 pm »
I managed to reproduce bug both in campaign and skirmish. Perhaps, as emergency fix, you could add the warning that appears once you kill the last alien...since it sometimes take quite some time between the kill and end of mission...