Peter is right, this is as old as curved walls. It is difficult to predict or reproduce, according to further reasons.
Image below shows the way AC handles curved walls (proportions are exagerated, for the purpose).
The algorythm used by AC to calculate step angle "a" is function of wall resolution and wall radius, as Peter explained.
Changing reference line position does not affect "a". In short, User can not predict step angle "a".
Artefacts (in rendering) may occur for small values of "aEnd". Particulary if "aEnd" = 0.
Because last segment is not tangential (perpendicular) to ending radius. This is visible too in 3D window when zooming.
Workarounds : change wall radius, or wall angle.
If this is not possible, cut the wall in two parts. In most situations, a tiny angle is suffisant.
If the problem persists, move the junction point along the arc.