This latter case is also interesting (it is like you had a bug detector
If you look at the console output:
Updating geometry: Error build geometry(0): Geom_TrimmedCurve::U1 == U2
Invalid solution from DogLeg solver.
OCE heavily dislikes that you made the endpoints of a TrimmedCurve coincident. Probably because you do have two solutions (single point and 360 degrees curve).
I am not sure, because they are two separate commits in different branches, but the other pull request that I have, dealing precisely with solver errors may indicate that this is an invalid solver solution (for the reason that OCE will not enforce it).
Let's wait a couple of days to when both pull requests are merged and then we look again into it.
In any case, feel free to make a different issue, so that I (or you) tag it with the "solver" tag. It is good to have these in a single place...