Segmentation fault
by Ian Omroth Hardingham · in Torque Game Engine · 03/29/2003 (2:02 am) · 5 replies
Hi everyone.
I'm getting what seems to be an intermitant segmentation fault in my Tribes 2 script, and having a bit of trouble tracking it down. From Torque experience, are there any likely causes I should have a look at?
Thanks,
Ian
I'm getting what seems to be an intermitant segmentation fault in my Tribes 2 script, and having a bit of trouble tracking it down. From Torque experience, are there any likely causes I should have a look at?
Thanks,
Ian
About the author
Designer and lead programmer on Frozen Synapse, Frozen Endzone, and Determinance. Co-owner of Mode 7 Games.
#2
03/29/2003 (8:55 am)
Okay, apologies for the vagueness, but I don't have any more info: it's intermitant and it simply crashes, and it's Tribes 2. I'm not doing anything particularly exotic, just wandering if there are any big no-nos in script that could cause a segmentation fault.
#3
03/29/2003 (9:07 am)
The only advice here is to use the age old debugging technique: comment stuff out till it stops crashing.
#4
The point Matthew was trying to make is that there are so many possible casues for a segmentation fault there's no way anyone can help you without lots more infromation than what you've provided. We coudl list 100s of possible things you that MIGHT be the cause and never some close to the real reason.
03/29/2003 (9:11 am)
Ian,The point Matthew was trying to make is that there are so many possible casues for a segmentation fault there's no way anyone can help you without lots more infromation than what you've provided. We coudl list 100s of possible things you that MIGHT be the cause and never some close to the real reason.
#5
But as has been said... we don't know what to do to help you (and in any case, Torque is far enough removed from Tribes 2 it's unlikely we could anyway).
03/29/2003 (12:35 pm)
In general, scripts shouldn't crash the engine, they should give an error :)But as has been said... we don't know what to do to help you (and in any case, Torque is far enough removed from Tribes 2 it's unlikely we could anyway).
Torque Owner Matthew Shapiro
--KallDrexx