Setting a large number of array values causes memory corruption
search cancel

Setting a large number of array values causes memory corruption

book

Article ID: 85066

calendar_today

Updated On:

Products

CA Automic Workload Automation - Automation Engine

Issue/Introduction

Error Message :
N/A

RA Web Service: Returning an array with a large number of entries causes memory corruption.

After running a Job, look at the details and some of the array variables have become corrupted as shown below.

 
Object variables 
&BBBBBBBBBBBBB BBBBBBBBBBBBBBBBBB 
&MYVAR#[100] BBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBB 
&MYVAR#[1000] BBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBB 
&MYVAR#[1001] BBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBB 

The larger the array size the more dramatic the affect. In some cases it can cause the Automation Engine (AE) to crash.

Environment

OS Version: N/A

Cause

Cause type:
Defect
Root Cause: The array was not correct if it contained a large number of entries (total size of entries including variable name > 65 KByte). In this case wrong variable names have been stored as well as it could cause WP crash.

Resolution

Update to a fix version listed below or a newer version if available.

Fix Status: Released

Fix Version(s):
Automation.Engine 12.0.0 - Available
Automation.Engine 11.2.3 - Available

Additional Information

Workaround :
N/A