Game Development Community

quit() crashes due to Theora

by Aditya Kulkarni · in Torque Game Builder · 08/26/2010 (10:24 am) · 2 replies

I have a splash screen playing theora, but when I try to exit the game using quit(), the game crashes. By this time, the video has finished playing and is in the main Gui interface.

I removed the splash screen and everything works fine, but I really need to have that splash screen in place.

Also, it also throws up 'MagicalTrevor' errors, I have no idea what those mean.

#1
08/26/2010 (11:31 am)
It is a good idea to clean up your memory footprint and shutdown processes manually before you quit. This sounds like an error because the video is no longer in memory (or at least not accessible memory) yet theora is still trying to process that video.
#2
08/26/2010 (11:37 am)
I do delete all objects in scenewindow2D and popDialog before executing 'quit', doesn't work.

I read some threads where magicalTrevor is caused by improper synchronization, so trying to remove sound from the video and play it as an individual audio.