Help with a crash issue
by Ronald J Nelson · in Torque Game Engine · 06/18/2006 (4:45 am) · 3 replies
I am trying to isolate the cause of a crash I am experiencing. It happens when firing weapons and placing deacls on interior objects, I am not sure if it is caused by particles, explosions, or the interior stuff in itself. To be honest all attempt to get data have been useless.
I have used the memory leak detector and had nothing conclusive to point me in the right direction. I have looked at the log file and noting to report there as well. There is no consistency in what object I fire at, or what weapon I am using. No consistency in the type of explosion or particle in use. I tried compiling a debug version and the wierd thing is the crash doesn't occur in the debug version but the game is incredibly slow.
I am using the CG water, TLK 1.4, TGE 1.4, and DRL 2.0. I have double checked each of these to no help they are all working as advertised. I tried a strpped down level (took out almost every object in the map) and tried shooting inside of the interior object and bam I crashed again. I ran it in windowed mode and saw that it does increase in memory usage and never releases the memory and doesn't seem to down as I am walking aorund and doing things, at the time of the crash though I saw no significant memory spikes. I have a very good computer with way more than enough resources so I rather doubt that it is that.
I am stumped. Anyone have any ideas?
I have used the memory leak detector and had nothing conclusive to point me in the right direction. I have looked at the log file and noting to report there as well. There is no consistency in what object I fire at, or what weapon I am using. No consistency in the type of explosion or particle in use. I tried compiling a debug version and the wierd thing is the crash doesn't occur in the debug version but the game is incredibly slow.
I am using the CG water, TLK 1.4, TGE 1.4, and DRL 2.0. I have double checked each of these to no help they are all working as advertised. I tried a strpped down level (took out almost every object in the map) and tried shooting inside of the interior object and bam I crashed again. I ran it in windowed mode and saw that it does increase in memory usage and never releases the memory and doesn't seem to down as I am walking aorund and doing things, at the time of the crash though I saw no significant memory spikes. I have a very good computer with way more than enough resources so I rather doubt that it is that.
I am stumped. Anyone have any ideas?
#2
I would double check any code that you've written and also make sure your weapon is setup correctly and that the bounding box is larger than the weapon's extent.
Good luck Ron.
06/18/2006 (5:12 am)
Your issue does sound like an unitialized variable somewhere. Debug makes sure all variables are initialized before they are used, that might be why it's running in Debug but not Release.I would double check any code that you've written and also make sure your weapon is setup correctly and that the bounding box is larger than the weapon's extent.
Good luck Ron.
#3
06/18/2006 (4:48 pm)
Well that is entirely possible, now I have to go on a mjor hunting trip
Torque Owner Ronald J Nelson
Code Hammer Games