Openscad does not work properly

hi, just installed openscad, render works a few times and then gives error, need to close app and run it again, well it’s pretty useless.
Is there a way to have it work properly??

thanks