Search Home Members Contacts
About Us
Products
Downloads
Community
Support
Pages: [1]
  Print  
Author Topic: Odd debug output.  (Read 545 times)
AriusEso
Customers
Community Member
*****
Posts: 377

Esoteric


« on: May 14, 2008, 09:07:02 AM »

I've been getting this for ages now. It doesn't actually hinder development but I thought it was worth a mention.

Code:
05-14-2008 15:01:55 | TEXTURE MANAGER : DeleteTexture : Index out of bound -1163005939
05-14-2008 15:01:55 | TEXTURE MANAGER : DeleteTexture : Index out of bound -1163005939

I'm not deleting any textures anywhere. I'm sure it's maybe some being deleted internally, but as it's giving a bounds error I think it should be looked in to. I also have no idea what causes it. It seems random, although I'm sure it is not.

Full log:

Code:
05-14-2008 15:01:55 | --------------------------------------------
05-14-2008 15:01:55 | Truevision3D Debug/Log File
05-14-2008 15:01:55 | --------------------------------------------
05-14-2008 15:01:55 | Engine Version : 6.5
05-14-2008 15:01:55 | ENGINE INFO : DLL Compilation time Apr 28 2008 22:06:42
05-14-2008 15:01:55 | DEVICE INIT : Initialize Depth
05-14-2008 15:01:55 | DEVICE INIT : Initializing the device in windowed mode, with a render surface size of 1280x720, format 22, depthbuffer 75
05-14-2008 15:01:55 | VIEWPORT MANAGER : Main viewport initialization
05-14-2008 15:01:55 | VIEWPORT MANAGER : Main viewport initialized (1280x720)
05-14-2008 15:01:55 | DEVICE INIT : Initialization successful !
05-14-2008 15:01:55 | DEVICE INFO :  3D Card : RADEON X800 Series        | Card ID : 21837 | Driver ID : 655927
05-14-2008 15:01:55 | DEVICE INFO : Available texture memory : 757 MB
05-14-2008 15:01:55 | DEVICE INFO : Vertex Shaders 2.0 supported in hardware.
05-14-2008 15:01:55 | Debug info : vs fffe0200  ps ffff0200
05-14-2008 15:01:55 | DEVICE INFO : Pixel Shaders 2.0 supported in hardware.
05-14-2008 15:01:55 | DEVICE INFO : Driver used is a DirectX9-level driver 'atiumdag.dll'. Excellent
05-14-2008 15:01:55 | DEVICE INFO : Card Type GFFX/ATIRadeon9700-X850 Level card, second generation of programmable card
05-14-2008 15:01:55 | TEXTURE MANAGER : Successfully created a render surface 256x256 on slot 2
05-14-2008 15:01:55 | TEXTURE MANAGER : DeleteTexture : Index out of bound -1163005939
05-14-2008 15:01:55 | TEXTURE MANAGER : DeleteTexture : Index out of bound -1163005939
05-14-2008 15:01:55 | TEXTURE MANAGER : Successfully created a render surface 256x256 on slot 3
05-14-2008 15:01:55 | TEXTURE MANAGER : Successfully created a render surface 256x256 on slot 4
05-14-2008 15:01:55 | shade. :: Creating targets at a default size of 128x128 and cubic targets at a default size of 128x6. Use SetNewSize() and SetNewCubicSize() to rectify this.
05-14-2008 15:01:55 | TEXTURE MANAGER : Successfully created a cubic render surface of side size 128 on slot 5
05-14-2008 15:01:55 | TEXTURE MANAGER : Successfully created a cubic render surface of side size 128 on slot 6
05-14-2008 15:01:55 | TEXTURE MANAGER : Successfully created a cubic render surface of side size 128 on slot 7
05-14-2008 15:01:55 | TEXTURE MANAGER : Successfully created a cubic render surface of side size 128 on slot 8
05-14-2008 15:01:56 | SHADER MANAGER : Shader 'deep' successfully created.
05-14-2008 15:01:56 | SHADER MANAGER : Shader 'light' successfully created.
05-14-2008 15:01:56 | TEXTURE MANAGER : Loading of 'media\cube_d.dds' successful 'cube_d.dds' on index 9
05-14-2008 15:01:56 | MESH TVM LOADER : Mesh 'Mesh #0' successfully loaded in 16 ms. 12 faces, 24 vertices, 1 groups
05-14-2008 15:01:56 | TEXTURE MANAGER : Loading of 'media\cube_b.dds' successful 'bump' on index 10
05-14-2008 15:01:56 | TEXTURE MANAGER : Loading of 'media\cube_s.dds' successful 'spec' on index 11
05-14-2008 15:01:58 | START UNLOAD
05-14-2008 15:01:58 | RESOURCE MANAGER : Engine successfully unloaded
Logged

pabloescobar
Customers
Community Member
*****
Posts: 97


WWW
« Reply #1 on: May 14, 2008, 09:30:03 AM »

Post source code?
Logged

-----------------------------
http://criswork.blogspot.com
AriusEso
Customers
Community Member
*****
Posts: 377

Esoteric


« Reply #2 on: May 14, 2008, 09:46:28 AM »

I can't, because it happens in pretty much all my projects( for a long time too, not just over the last couple builds but for months - maybe even more than a year ). It's also rather large, I pulled that log from my ex-lib. I can tell you that all the projects that cause this have texture loads and render targets. But it is TV internally causing that output. I am not deleting any textures anywhere. I have a theory that it might be caused by TV trying to delete clone textures. The index on that output is the same on both lines and I have a mesh with 2 groups - each with the same texture but different UV co-ords. I remember that Sylv tries to stop the same texture being loaded more than once in to memory - perhaps he is attempting to delete the clone and that is failing.
Logged

AriusEso
Customers
Community Member
*****
Posts: 377

Esoteric


« Reply #3 on: May 14, 2008, 12:42:05 PM »

Hawthorne and I have narrowed it down to CTVGraphicEffect->InitGlowEffect.
Logged

AriusEso
Customers
Community Member
*****
Posts: 377

Esoteric


« Reply #4 on: May 15, 2008, 09:11:42 AM »

Sylv, I haven't seen you on IRC in a while. Look, this isn't a major bug. An for all I know it only affects me. But if you are deleting stuff internally and it is not getting dumped correctly it is important - cause I can't control memory that you are using internally. But anyway, give me a buzz on IRC or indeed MSN( arius@azazeldev.org ). I can send you some code that causes this on my system - maybe it is something in my rig but it is odd none-the-less. Anyway, get in touch with me.
Logged

SylvainTV
Administrator
Community Member
*****
Posts: 4479


WWW
« Reply #5 on: May 18, 2008, 03:05:52 PM »

Fixed !

Was a non initialized variable somewhere Wink
Logged

Regards

Sylvain Dupont
TrueVision3D Developer
sylvain@truevision3d.com

TV3D IRC at http://chat.truevision3d.com or on server irc.truevision3d.com #Truevision3D. Come talk with us !
Pages: [1]
  Print  
 
Jump to:  

Powered by SMF 1.1.3 | SMF © 2006-2007, Simple Machines LLC
Seo4Smf v0.2 © Webmaster's Talks