I believe I have diagnosed the problem. If even a single point of the spline hangs outside the XY limits of the mesh, the program crashes completely. As soon as I fixed the spline, the program worked, but when it wasn't working as described above, it completely crashed MAX with no explanation.