4244
XL2; PC Simulation Crash during Shear Operation
XL200

The PC simulation would sometimes crash during a shear operation, depending on who configured the simulation.

If the Order, Material or PCode were left blank, the simulation would crash during a shear operation.

The cause is related to shared strings in the XL. An empty shared string results in a null pointer. When copying strings, the source pointer gets tested and considers a Null string as an empty string. The Sub_String and Add_String functions needed the same code.

A PC has OS protection to detect using Null pointers. The XL hardware does not. Some users have gotten in the habit of not programming the order fields, which works on the XL hardware due to lack of OS null pointer tests. This habit caused this bug to be detected in the PC Simulation due to the addition of new code that used the Sub_String function.

Model Version Released
XL2CL 5.80.00 11/30/2021
XL2OL 5.80.00 11/30/2021
XL220OL 4.67.00 12/19/2019
XL2CL 4.66.01 12/20/2019
XL2OL 4.66.01 12/20/2019