This is not an MX related problem, it’s caused by the way that MAX/VIZ calculates the bearing of the shape at the last point on each spline. This is a known problem in MAX/VIZ - and a frustrating one. The geometry of the DVSP rail object is being generated based on the tangents that are being read from the parent shape.
We did quite a bit of work on swept objects, rail objects, and the DVSP object placement position controller to try to overcome this problem (you may remember seeing animated vehicles suddenly skew when reaching the end of a parent shape? - this is caused by the same issue). In this case, it looks like we need to take another look at the rail object plugin to find out why this problem isn’t being caught in some cases. If you could provide us with a sample shape object that exhibits this problem, that would be great.
In the meantime, adding a “normalize spline” modifier to the base shape and adjusting the “segment length” parameter usually solves the problem. If you haven’t used “normalize spline” before, it is like generating a master string in MX using major option EDIT 027 with REGU specified in field 2.