UFO: Alien Invasion Issue Tracker
UFO: Alien Invasion
Go to the previous open issue
Go to the previous issue (open or closed)
star_faded.png
Please log in to bookmark issues
icon_project.png UFO: Alien Invasion / Closed Bug report #369 Crashes with "CL_UpdateHireVar"
Go to the next issue (open or closed)
Go to the next open issue
This issue has been closed with status "Closed" and resolution "Not determined".
Issue basics
  • Type of issue
    Bug report
  • Category
    Engine
  • Targetted for
    Not determined
  • Status
    Closed
  • Priority
    3. Normal
User pain
  • Type of bug
    Not triaged
  • Likelihood
    Not triaged
  • Effect
    Not triaged
Affected by this issue (0)
There are no items
People involved
Times and dates
  • Posted at
  • Last updated
  • Estimated time
    Not estimated
Issue details
  • Resolution
    Not determined
  • Reproducability
    Not determined
  • Severity
    Not determined
  • Complexity
    Not determined
  • Platform
    Not determined
  • Architecture
    Not determined
Attachments (0)
There is nothing attached to this issue
Duplicate issues (0)
This issue does not have any duplicates
Description
[http://sourceforge.net/p/ufoai/bugs/369 Item 369] imported from sourceforge.net tracker on 2013-01-28 18:18:28

With SVN-3721, I got several crashes, all of them
with an errormessage involving "CL_UpdateHireVar", e.g.:

* started hard campaign, hire, clicked on button "hire
soldier #7"
--> Error: "CL_UpdateHireVar: SoldierInBase: 7,
teamNum(0): 1, p: 0"
ufoconsole.log:
>>>
ExecuteString: 'aircraft_select'
...
ExecuteString: '+select 178 7834674'
ExecuteString: 'mn_push team'
ExecuteString: 'team_mark'
CL_IsInAircraftTeam:not found idx '0'
...
CL_IsInAircraftTeam:not found idx '6'

ExecuteString: 'team_select 0'
CL_SelectCmd: Command: 'team' - num: 0
ExecuteString: 'listholdsnoequip0'
...
ExecuteString: 'listholdsnoequip18'
ExecuteString: 'teamdeselect0'
ExecuteString: 'teamselect0'
ExecuteString: '-select 178 7834785'
ExecuteString: '+select 178 7836810'
ExecuteString: 'team_hire 6'

CL_AssignSoldierCmd: employee with idx 6 selected
CL_AssignSoldierCmd: assigning
CL_AssignSoldierToAircraft: attempting to find idx '6'
CL_IsInAircraftTeam:not found idx '6'
CL_AssignSoldierToAircraft: attemting to add idx '6'
CL_AddToAircraftTeam: added idx '6'
SDL audio device shut down.
Shader shutdown
<<<

* Crash when clicking on base#2 (building of a new
dropship-hangar got finished)
Error: "CL_UpdateHireVar: SoldiersInBase:11,
teamNum(0): 8, p: 0"
ufoconsole.log:
>>>
ExecuteString: &#039;game_timefast&#039;
ExecuteString: &#039;&#039;
ExecuteString: &#039;-select 178 8220814&#039;
B_CheckBuildingConstruction: aircraft_new craft_dropship 1;
B_BuildingInit: Updating b-list for &#039;Home / US&#039; (0)
B_BuildingInit: Buildings in base: 11
B_GetNumOfBuildType: base: &#039;Home / US&#039; - num_b: 1 -
type_idx: building_storage
B_GetNumOfBuildType: base: &#039;Home / US&#039; - num_b: 1 -
type_idx: building_powerplant
B_GetNumOfBuildType: base: &#039;Home / US&#039; - num_b: 1 -
type_idx: building_command
B_GetNumOfBuildType: base: &#039;Home / US&#039; - num_b: 1 -
type_idx: building_quarters
B_GetNumOfBuildType: base: &#039;Home / US&#039; - num_b: 1 -
type_idx: building_hangar
B_GetNumOfBuildType: base: &#039;Home / US&#039; - num_b: 1 -
type_idx: building_intercept
B_GetNumOfBuildType: base: &#039;Home / US&#039; - num_b: 0 -
type_idx: building_ufo_hangar
B_GetNumOfBuildType: base: &#039;Home / US&#039; - num_b: 1 -
type_idx: building_teamroom
B_GetNumOfBuildType: base: &#039;Home / US&#039; - num_b: 1 -
type_idx: building_workshop
B_GetNumOfBuildType: base: &#039;Home / US&#039; - num_b: 1 -
type_idx: building_radar
B_GetNumOfBuildType: base: &#039;Home / US&#039; - num_b: 1 -
type_idx: building_lab
B_GetNumOfBuildType: base: &#039;Home / US&#039; - num_b: 0 -
type_idx: building_hospital
timebefore 60.00
timedelta 6.40
timeafter 53.60
timebefore 90.00
timedelta 0.80
timeafter 89.20
ExecuteString: &#039;aircraft_new craft_dropship 1&#039;
Setting aircraft to pos: -11:49
Aircraft for base Base #2 / Europe: Dropship
ExecuteString: &#039;aircraft_list&#039;
ExecuteString: &#039;+select 178 8224370&#039;
ExecuteString: &#039;game_timestop&#039;
ExecuteString: &#039;&#039;
ExecuteString: &#039;-select 178 8224477&#039;
ExecuteString: &#039;+select 178 8235630&#039;
ExecuteString: &#039;multi_select_click&#039;
ExecuteString: &#039;mn_select_base 0&#039;
B_SelectBase: select base with id 0
CL_IsInAircraftTeam:not found idx &#039;0&#039;
...
CL_IsInAircraftTeam:not found idx &#039;18&#039;
SDL audio device shut down.
Shader shutdown
<<<

===== Comments Ported from Sourceforge =====

====== rani_shrim (2006-09-25 06:09:06) ======

Logged In: YES
user_id=667501

Seems like my patch fucked up after all.
I&#039;ll investigate.
====== rani_shrim (2006-09-27 20:29:26) ======

Logged In: YES
user_id=667501

Cant reproduce it in current (3869) rev... someone fixed it?
====== cassiterite (2006-09-29 10:14:06) ======

Logged In: YES
user_id=1171370

Can you and others please test latest SVN trunk (revision
r3897 or greater). I think I fixed two issues that resulted
in these sort of errors, and r3897 should at least fix the
crash when selecting a base when multiple dropship hangars
across more than one base exist (the second part of your bug
report).
====== nobody (2006-09-30 02:06:35) ======

Logged In: NO

I also get a crash of &#039;CL_UpdateHireVar: SoldiersInBase: 15, teamNum[1]: 1, p: 0&#039; and then the game refuses to start even upon reinstalling.
====== cassiterite (2006-09-30 08:28:50) ======

Logged In: YES
user_id=1171370

On 2006-09-30 at 02:06 "nobody" wrote:
> I also get a crash of &#039;CL_UpdateHireVar: SoldiersInBase:

"nobody": is this with latest SVN trunk or RC5?

If it is with the SVN version then please elaborate on the
circumstances that lead to this.
====== cassiterite (2006-09-30 16:49:20) ======

Logged In: YES
user_id=1171370

SVN trunk revision 3933 should resolve any remaining
"CL_UpdateHireVar" and related errors (I think).

I&#039;m making this bug as pending (further testing and feedback
is desirable).
====== sf-robot (2006-10-15 02:20:08) ======

Logged In: YES
user_id=1312539

This Tracker item was closed automatically by the system. It was
previously set to a Pending status, and the original submitter
did not respond within 14 days (the time period specified by
the administrator of this Tracker).
Steps to reproduce this issue
Nothing entered.
Todos (0 / 0)
Issue created
footer_logo.png The Bug Genie 4.3.1 | Support | Feedback spinning_16.gif