Page MenuHomeFeedback Tracker

[Dev branch] Game freezes on pushBack command
Closed, ResolvedPublic

Description

Got very recently introduced in dev branch. Game freezes without any message in rpt or debug.log.

Details

Severity
Major
Resolution
Won't Fix
Reproducibility
Always
Operating System
Windows 7
Category
Scripting
Steps To Reproduce

Repo:

  1. Run attached mission
  2. Notice how the game freezes
Additional Information

In file createConfigOverview.sqf the relevant line is 46:

_array pushBack _temp;

Disabling that makes the mission complete as usual.

It seems related to string escaping as on stable arrays from config are returned as:

["_temp","{""(0/2300)"",""(0/2260)""}"]

while in the latest dev branch its

["_temp","{}"]

(see and diff attached log files)

That said at the end of dev.log it shows a run with the pushBack active and the freezes happens already earlier.

Event Timeline

kju-PvPscene edited Additional Information. (Show Details)Nov 1 2016, 2:34 PM
Dwarden added a subscriber: Dwarden.Nov 1 2016, 3:06 PM
BIS_fnc_KK added a subscriber: BIS_fnc_KK.EditedNov 1 2016, 9:12 PM

The problem is with this:

for "" ....

Empty variable names are now not allowed, so it freezes forever when it hits this loop. Marking resolved

BIS_fnc_KK closed this task as Resolved.Nov 1 2016, 9:13 PM
BIS_fnc_KK changed Resolution from Open to Won't Fix.