Bug #14303

[73658] Loading config/description with syntax error terminates the game

Added by Sickboy almost 5 years ago. Updated over 3 years ago.

Status:Assigned Start date:10/10/2010
Priority:Normal Due date:12/01/2010
Assignee:Dwarden % Done:

0%

Category:Error Message
Target version:-
Affected ArmA II version:1.55 BETA First affected build:
Reproduced by another DH user:No First affected ArmA II version:
I am using some Mods:No Single / Multi Player?:
I am using: BIForumURL:
Reproducible for you:No NGUrl:
Related to content of DLC: WIKIurl:

Description

Ref

[73658]  Changed: Preprocessor error no longer terminates the game.

Example description.ext:

class bla {

Observed:
Game terminates.

Expected:
Game doesn't terminate.

ErrorMessage:

File C:\Users\SB\Documents\ArmA 2 Other Profiles\Sickboy\missions\JavTankTest.Desert_E\description.ext, line 1: /bla/: Missing '}'

14303.Desert_E.7z (606 Bytes) kju, 10/10/2010 14:24


Related issues

related to ARMA2 Community Issue Tracker - Bug #8275: Using #include from mission editor with relative path Assigned 01/19/2010
duplicated by ARMA2 Community Issue Tracker - Feature #18399: Errors in description.ext crash the game Assigned 03/23/2011

History

Updated by test almost 5 years ago

I don't know what's exactly going on under the hood here but parsing classes is usually not the job of a preprocessor. Once the engine starts parsing classes the preprocessor has probably already dealt with the file (#included files, replaced #defines with the corresponding strings, removed comments, etc).

However, missing include files still result in a nonrecoverable error (read: crash).

Updated by Sickboy almost 5 years ago

Seems like a preprocessor error;

ErrorMessage: File C:\Users\SB\Documents\ArmA 2 Other Profiles\Sickboy\missions\JavTankTest.Desert_E\description.ext, line 1: /bla/: Missing '}'

Updated by kju almost 5 years ago

  • File 14303.Desert_E.7z added
  • Due date set to 12/01/2010
  • Category set to Config
  • Status changed from New to Assigned
  • Assignee set to Dwarden

Please provide a demo mission next time. Ty.

Updated by Xeno almost 5 years ago

Instead of a CTD a dialog should show up with the error/warning message.

One of the most frustrating things in ArmA is to make dialogs. Just forget a bracket/base class/whatever or a typo (happens often enough) and bang, back to desktop.

Updated by kju almost 5 years ago

  • Subject changed from [73658] Preprocessor still crashes on errors in description.ext to [73658] Preprocessor still terminates on errors in description.ext

Updated by Suma almost 5 years ago

  • Subject changed from [73658] Preprocessor still terminates on errors in description.ext to [73658] Loading config/description with syntax error terminates the game

Updated by kju almost 4 years ago

  • Category changed from Config to Error Message

Also available in: Atom PDF