I don't know how the anchors for your image came to be ...
But the "takes long" / "div 0" are signs of a circular sizing loop. Either by the way anchors are set. Or by the way the OS reacts (which could be a Linux/Win difference, or a Laz 3 vs Laz 4 diff).
In a bit more detail.
"div 0" => this is a left over of days long gone. It is basically an alternative way of throwing an exception. At some time (maybe 20 years ago), when gdb was the only debugger, and the IDE support for gdb was still very early, back then the debugger could not catch "raise exception". So "div 0" is a "gdb catchable exception".
That said, "div 0" can happen in actual code too, but there is a good chance the one you are seeing is a disguised exception.
Of course that does not help much. If it were fixed, then you would get some exception instead.
The part were it takes long before that exception... Say you have 10 controls, and they all are meant to be 10 pixel left after the control before them, and then the first one should be 10 pixels left from the last.
That is obviously not possible.
That will throw an exception (or sometimes a "div 0").
Similar, if a Panel autosizes to its children, but the children depend their size on that panel....
Usually such circle are quickly found though.
It is possible that when you go through different align settings, that one of the ones you cycle through leads to such a violation...
But as I said, the above is usually detected more quickly.
The other loop happens when the OS does not behave.
Say the LCL computes that some control should be 50 pixel width, and sends that to the OS. But the OS returns and says, I had to make it 52 pixels.
So then the LCL goes and computes all dependent controls to match that size (e.g. alclient children, or anchored siblings).
Now the LCL sets the alClient child to the new size.
But the OS reacts to that saying, I made the parent 54 pixel.... And so on...
Then that takes some time, because the LCL goes through a lot of iterations of that game before it gives up with an exception or "div 0".
The last bit could be different depending on OS.
But it could also be that something changed in the communication between LCL and all/any OS, and that the LCL now triggers that in some unforeseen case.
Of course those are only possibilities. I can't tell for sure.
If you have a reproducible case...
I don't know if I can look at it right away, but you can also always upload it to the bugtracker.