[twilight-devel] Problems with Latest CVS

EvilTypeGuy eviltypeguy at icculus.org
Wed May 14 14:52:02 EDT 2003


On Tue, 2003-05-13 at 16:27, EvilTypeGuy wrote:
> Second, if I try to load a map that DOES NOT exist (on purpose) by doing
> something like the following, here's the result:

As requested by Mercury, here's the contents of *model:

]map e5m55
FindFile: can't find maps/e5m55.bsp
Host_EndGame: Mod_LoadModel: maps/e5m55.bsp not found
 
Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 1075594720 (LWP 8165)]
0x080849c9 in Mod_PointInLeaf (p=0x8219760, model=0x8226360) at mod_brush.c:79
79              if (!model || !model->brush->nodes)
(gdb) bt
#0  0x080849c9 in Mod_PointInLeaf (p=0x8219760, model=0x8226360)
    at mod_brush.c:79
#1  0x08060212 in SCR_CalcRefdef () at gl_screen.c:357
#2  0x08060d74 in SCR_UpdateScreen () at gl_screen.c:769
#3  0x08061bbd in _Host_Frame (time=0.064000000000000834) at host.c:706
#4  0x0807a209 in main (argc=9, argv=0xbffff734) at sys.c:612
#5  0x420156a4 in __libc_start_main () from /lib/tls/libc.so.6
(gdb) p model
$1 = (model_t *) 0x8226360
(gdb) p model->brush
$2 = (brushhdr_t *) 0x0
(gdb) p *model
$3 = {name = "*1", '\0' <repeats 61 times>, loaded = false, type =
mod_brush,
  numframes = 0, synctype = ST_SYNC, flags = 0, modflags = 0,
rotatedmins = {
    0, 0, 0}, rotatedmaxs = {0, 0, 0}, normalmins = {0, 0, 0},
normalmaxs = {
    0, 0, 0}, yawmins = {0, 0, 0}, yawmaxs = {0, 0, 0}, hulls = {{
      clipnodes = 0x0, planes = 0x0, firstclipnode = 0, lastclipnode =
0,
      clip_mins = {0, 0, 0}, clip_maxs = {0, 0, 0}, clip_size = {0, 0,
0}}, {
      clipnodes = 0x0, planes = 0x0, firstclipnode = 0, lastclipnode =
0,
      clip_mins = {0, 0, 0}, clip_maxs = {0, 0, 0}, clip_size = {0, 0,
0}}, {
      clipnodes = 0x0, planes = 0x0, firstclipnode = 0, lastclipnode =
0,
      clip_mins = {0, 0, 0}, clip_maxs = {0, 0, 0}, clip_size = {0, 0,
0}}, {
      clipnodes = 0x0, planes = 0x0, firstclipnode = 0, lastclipnode =
0,
      clip_mins = {0, 0, 0}, clip_maxs = {0, 0, 0}, clip_size = {0, 0,
0}}},
  zone = 0x0, brush = 0x0, alias = 0x0, sprite = 0x0}

-- 
EvilTypeGuy <eviltypeguy at icculus.org>
http://icculus.org/




More information about the twilight-devel mailing list