When I try to save my data to a1.sta. It always crash. But, it is very strange. When I execute my program, again; then, open a1.sta. The a1.sta is exactly the data I want to save it. Does anyone know what wrong it is? I try to figure it out. Currently, I couldn't. Thanks.
PS. I am using Opencascade 4.0