Yes. The error in engine.script is not real. As eis_os already said the game is not very good in telling you where is the problem.
At least for me, every time I get this error, I solved by deleting settings.script.
The problem is that the game state is already broken (but you don't get an error there), so freeing the resources break badly. This is different to an overall empty map problem. There I know that loading the grid somehow fails, so there aren't any children.
However as CIM seems to start line numbering with 0, the failing statement is: delete $scene;
If deleting settings.script helps, can you make a copy of a breaking settings.script? Then remove it, start CIM, change all settings back to the settings you normally use. Exit CIM and make a copy of that file. Then start CIM and play, but don't change any settings! I really mean no change at all now.
After it will break please compare the files for difference.
Note: As engine script inits sun, sky and such stuff as well, I highly recommend to not use any camera or sun changing mod. As the camera is bound to the gsGrid as well.
So you have a dependency graph:
gsCamera -> gsGrid -> gsScene-> gsWindow -> openGL.
gsTimeline -> gsWindow + gsGrid
I guess if a texture is broken in some form, the whole thing may crash too. Then your VGA Card Drivers or VGA Card may the problem.
It would be nice if we get a Patch for CIM with a general more error reporting.
-edit-
I think it is always a good idea that users help users. But the generally lack of Support here worries me