Page MenuHomeFeedback Tracker

BIS_fnc_setHeight make engine crash on high altitude
Closed, ResolvedPublic

Description

If altitude is set too hight, ArmA will crash.

Details

Legacy ID
3011128626
Severity
None
Resolution
Unable To Duplicate
Reproducibility
Always
Category
Scripting
Steps To Reproduce
  1. Place a unit in the map (editor)
  2. Name it (i will use myself, "player")
  3. Start preview
  4. Write in console: [player,200000000000] call BIS_fnc_setHeight;
  5. Run it

The game will crash in a couple of seconds, an error about paging (memory) will pop up.

Error displayed: http://oi58.tinypic.com/k55w3.jpg
Rpt PasteBin related: http://pastebin.com/3xZN1J8y
RPT-BIDmp Full Files(rar archive): http://www.filedropper.com/arma3_1

Event Timeline

FlorianGeyer edited Additional Information. (Show Details)
FlorianGeyer set Category to Scripting.
FlorianGeyer set Reproducibility to Always.
FlorianGeyer set Severity to None.
FlorianGeyer set Resolution to Unable To Duplicate.
FlorianGeyer set Legacy ID to 3011128626.May 7 2016, 7:06 PM
FlorianGeyer edited a custom field.

Hello,
I could not reproduce the problem. Could you please send a DX-Diag file?
http://www.matrixgames.com/forums/tm.asp?m=1597548

32 or 64 bit version?

It should save one according to your system.

Well i forgot 2 "0", the command is:

[player,200000000000] call BIS_fnc_setHeight;

Updated with RPT and corrected command

Still no crashes for me. I suggest to use little lower altitudes. :)

Can you please upload crashdumps?
(rpt, bidmp, mdmp with the same name)

We expect function will limit itself to a maximum altitude if there is a risk to make program crash, this is of course a test, a "bug hunting", and will never be used in a real script (I hope), however is better to fix it.
I provided all infos required and in my hands, now it's your work to fix it (and decide how) ;)

Added a .RAR with requested file (mdmp not found in AppData): http://www.filedropper.com/arma3_1

Crash confirmed on Win7 64bits.
It is not directly linked to BIS_fnc_setHeight but to the setPos* commands.

On my computer crashed appears for player's altitude equals to 1000000000000 or 10000000000000.
Just before the CTD, arma3.exe uses all the available memory (4GB).

I have assigned the issue internally to programmer, thank you for the feedback!

Looks like a memory overflow, maybe a temporary fix could be to limit altitude in setPos command (that madbull spotted as a source of the bug)

Adam added a subscriber: Adam.May 7 2016, 7:06 PM
Adam added a comment.Sep 7 2015, 10:02 AM

Does the issue still persist?