Game Development Community

RC2 - In D3D Mode, Locking WinXP Workstation Cores T2D

by Rodney Rindels - Torqued · in Torque Game Builder · 06/11/2006 (3:03 pm) · 2 replies

Operating System: Windows XP Professional
Graphics Mode: D3D

Lock a workstation , Using CTRL-ALT-DEL + K with T2D.exe running.

Log back in, T2D.exe has cored process.

This does'nt occur for me in OPGL mode.

Rod

Update: actually just spawning the CTL-ALT-DELETE screen does it, without actually locking the workstation.

#1
06/11/2006 (4:19 pm)
First-chance exception at 0x1000c83b (opengl2d3d_DEBUG.dll) in T2D_DEBUG.exe: 0xC0000005: Access violation writing location 0x30306574.

Unhandled exception at 0x1000c83b (opengl2d3d_DEBUG.dll) in T2D_DEBUG.exe: 0xC0000005: Access violation writing location 0x30306574.



Break at : c:\Program Files\TGBRC2\engine\lib\opengl2d3d\opengl2d3d.cc

on this block of assembly 

#ifdef _X86_
    __asm
    {    
        mov     ecx, g.m_comp;
        mov     edi, g.m_verts;
        mov     esi, v;
        mov     eax, g.m_vcnt[ecx * 4];
        lea     edx, [eax + 1];
        mov     g.m_vcnt[ecx * 4], edx;
        lea     edx, [ecx * 8 + 28];
        mul     edx;
        cld;
        add     edi, eax;
		  xor     eax, eax;
        movsd;
        movsd;
        stosd;
        lea     esi, g.m_nx;
        lea     ecx, [ecx * 2 + 4];
        rep     movsd;
    }

in this function 
GLAPI void GLAPIENTRY glVertex2fv (const GLfloat *v)


Unfortunately the Console isn't much help when this occurs.

T2D Engine (v1.1.0 [RC1]) initialized...

--------- Loading Project: Memory---------
Executing Memory/main.cs.
Executing Memory/managed/datablocks.cs.
Executing Memory/managed/persistent.cs.
Executing Memory/managed/resources.cs.
Executing resources/fishArt/resourceDatabase.cs.
t2dParticleEmitter::setImageMap() - t2dImageMapDatablock Datablock is invalid! (asteroidsImageMap)
Executing common/preferences/bind.cs.
Executing Memory/gui/mainScreen.gui.
Executing Memory/gameScripts/game.cs.
Executing Memory/managed/persistent.cs.
t2dParticleEmitter::setImageMap() - t2dImageMapDatablock Datablock is invalid! (asteroidsImageMap)
Executing Memory/Data/levels/untitled.t2d.
   keyboard0 input device created.
   mouse0 input device created.
   keyboard0 input device created.
#2
06/15/2006 (1:31 am)
This seems to be Fixed in R3 also.. Great Job!