### Troubleshooting

#### General Protection Faults for Large Numbers of Points

For the classes IGPoint2DArray, IGCurve2D, IGLoop2D, IGPolyline2D, IGPolygon2D, and IGTensionSpline, you can receive general protection faults for very large numbers of points. These classes use IRawArray. Because IRawArray does not call constructors for the space it allocates, it does not initialize objects with vtables properly initialized. This can result in errors.

IRawArray does not check whether allocation is successful. Before constructing a new array, you should check if there is enough memory and use a reasonable size.