Hi Jonas! I have checked my shapes according to your questions and found that only part of them will cause this error, and they mostly look like the picture below. If the shape is more simple, errors will not happen.
Furthermore, it may help when I change the subdivision parameters sometimes(e.g. Min.lot.width, Corner width, Max.corner angle) , but more often than not it doesn't work.
Actually, I have to process more than thousand of shapes. So I hope there is a way to solve this as efficiently as possible.
And the error log is attached too.
Thanks again for your help Jonas!