Segmentation Fault...
by Luke Jones · in Torque Game Engine · 08/13/2003 (5:50 pm) · 8 replies
When loading an interior in linux build (HEAD), i get a Seg Fault...
If anyone knows hoqw fix it, please let me know.
I dont yet know how to debug, so info on that would help too (getting debug msgs)
If anyone knows hoqw fix it, please let me know.
I dont yet know how to debug, so info on that would help too (getting debug msgs)
About the author
Core developer using Rust lang at Sphere Identity.
#2
08/15/2003 (8:43 am)
Look in your console log... Should be console.log. Torque ought to put all sorts of good information there. As for how to use gdb (or the debugger of your choice), there are a lot of good tutorials on that out there; it's sort of beyond the scope of the forums to give you a rundown on that tool here.
#3
But as for the console.log...
Could not locate texture: racing/data/interiors/misc/NULL
Could not locate texture: racing/data/interiors/misc/ORIGIN
Could not locate texture: racing/data/interiors/misc/TRIGGER...
or
Could not locate texture: fps/data/interiors/evil1/fairfax/ORIGIN
Could not locate texture: fps/data/interiors/evil1/fairfax/TRIGGER
Could not locate texture: fps/data/interiors/evil1/fairfax/FORCEFIELD
seems to be for nearly all the maps, but i can load the same ones in New_demo_branch fine...
even -game common -mod fps using the new demo binary dosnt work, so it looks like its to do with the scripts somehow.
08/15/2003 (4:38 pm)
I got gdb sussed...But as for the console.log...
Could not locate texture: racing/data/interiors/misc/NULL
Could not locate texture: racing/data/interiors/misc/ORIGIN
Could not locate texture: racing/data/interiors/misc/TRIGGER...
or
Could not locate texture: fps/data/interiors/evil1/fairfax/ORIGIN
Could not locate texture: fps/data/interiors/evil1/fairfax/TRIGGER
Could not locate texture: fps/data/interiors/evil1/fairfax/FORCEFIELD
seems to be for nearly all the maps, but i can load the same ones in New_demo_branch fine...
even -game common -mod fps using the new demo binary dosnt work, so it looks like its to do with the scripts somehow.
#4
08/15/2003 (4:40 pm)
And common/defaults.cs is missing, what does that contain?
#5
but the texture's you reference should be put there..
just make em yourself
or make one and copy it and rename it.
these textures are like place holders.
(i dont think this is related to the crash)
08/15/2003 (4:50 pm)
Nothing..but the texture's you reference should be put there..
just make em yourself
or make one and copy it and rename it.
these textures are like place holders.
(i dont think this is related to the crash)
#6
Seems like, if you change a script, the engine dosnt always recompile it if at all, and i had to delete all the compiled ones in the .garagegames dir in my home directory.
BTW, where in code do i find how to change the default dir .dso get placed in?
08/15/2003 (5:26 pm)
It wasnt related at all...Seems like, if you change a script, the engine dosnt always recompile it if at all, and i had to delete all the compiled ones in the .garagegames dir in my home directory.
BTW, where in code do i find how to change the default dir .dso get placed in?
#8
08/15/2003 (6:04 pm)
Heh, i found that after i posted, ohwell...
Torque Owner Luke Jones
Loading an interior using the New_Demo_Branch of cvs works fine.
Still cant figure it out though.