project-navigation
Personal tools

Author Topic: Crash because of cp_radar.c  (Read 6220 times)

Offline Siim

  • Cannon Fodder
  • **
  • Posts: 7
    • View Profile
Crash because of cp_radar.c
« on: July 12, 2010, 04:48:02 pm »
Got this assertion failed error:

My fighters finished intercepting another UFO and were returning to base. Suddenly a UFO appeared and started flying toward my interceptor. So I let my fighters fly to base for rearming and when they entered base, the UFO dissapeared from radar. The base has no radar because i deleted it and started building advanced radar.  Minutes later I started my fighters again and as soon as i unpaused the game, got this crash. And the crash is replicatable.

Where are the savegames located? I could also upload my save for you to debug.

edit: Game version 2.3
« Last Edit: July 12, 2010, 04:49:58 pm by Siim »

Offline geever

  • Project Coder
  • PHALANX Commander
  • ***
  • Posts: 2561
    • View Profile
Re: Crash because of cp_radar.c
« Reply #1 on: July 12, 2010, 05:03:43 pm »
Got this assertion failed error:

Where are the savegames located? I could also upload my save for you to debug.

edit: Game version 2.3

The saves location depends on your OS, find it in our FAQ.
Please upload your save, I will probably need more info about the situation (backtrace and so).

-geever

Offline Siim

  • Cannon Fodder
  • **
  • Posts: 7
    • View Profile
Re: Crash because of cp_radar.c
« Reply #2 on: July 12, 2010, 05:13:21 pm »

Offline geever

  • Project Coder
  • PHALANX Commander
  • ***
  • Posts: 2561
    • View Profile
Re: Crash because of cp_radar.c
« Reply #3 on: July 14, 2010, 03:40:29 am »
Here you go

Thanks! I've found the bug meanwhile simply by reading the code but the save was usefull for proving the fix.
Bug is fixed in r31020 (trunk), r31021 (branch_2.3).

-geever