Hi,

>   * Some default FC's (default material, etc) have ref-count 0.
>   * You do not use RefPtr's everywhere in your app?

I try to use them as much as possible.

>   * Window/Viewport do not do refcounting properly in 1.x.

Yes, I had the pleasure to learn that quite painfully :-)


The funny thing is that I get something like this as output:

[DEBUG  ] Zed : Detected live FC SimpleMaterial 04B2F500 refcount 1!
[DEBUG  ] Zed : Detected live FC State 0420FF30 refcount 1!
[DEBUG  ] Zed : Detected live FC MaterialChunk 04B2F6B0 refcount 2!
[DEBUG  ] Zed : Detected live FC BlendChunk 0190B000 refcount 1!
[DEBUG  ] Zed : Detected live FC Node 056CD350 refcount 0!
[DEBUG  ] Zed : Detected live FC Transform 057BCE98 refcount 1!
[DEBUG  ] Zed : Detected live FC Node 056CDE30 refcount 0!
[DEBUG  ] Zed : Detected live FC Transform 056CDFC0 refcount 1!
[DEBUG  ] Zed : Detected live FC Node 058BAE68 refcount 0!
[DEBUG  ] Zed : Detected live FC Transform 05778430 refcount 1!
[DEBUG  ] Zed : Detected live FC Node 05929010 refcount 0!
[DEBUG  ] Zed : Detected live FC Transform 057F5338 refcount 1!
[DEBUG  ] Zed : Detected live FC TextureChunk 05984098 refcount 3!
[DEBUG  ] Zed : Detected live FC Image (ZedFBO color image) 056C6100 
refcount 1!
[DEBUG  ] Zed : Detected live FC Name (ZedFBO color image) 057D6040 
refcount 1!
[DEBUG  ] Zed : Detected live FC TextureChunk 05804188 refcount 3!
[DEBUG  ] Zed : Detected live FC Image (HDRRenderNode m_pCopyTexture1 
img) 0587F010 refcount 1!
[DEBUG  ] Zed : Detected live FC Name (HDRRenderNode m_pCopyTexture1 
img) 0580F1F0 refcount 1!
[DEBUG  ] Zed : Detected live FC DepthChunk 059E26D8 refcount 7!
[DEBUG  ] Zed : Detected live FC Node 05B10EC8 refcount 0!
[DEBUG  ] Zed : Detected live FC Transform 058E0CB0 refcount 1!
[DEBUG  ] Zed : Detected live FC Node 05BC3890 refcount 0!
[DEBUG  ] Zed : Detected live FC Transform 05BC39D0 refcount 1!
[DEBUG  ] Zed : Detected live FC SolidBackground 05BB6FB0 refcount 0!
[DEBUG  ] Zed : 24 out of 1261 FC's are not destroyed


So, the NodePtr's with refcount 0 are quite scary.

Cheers,

   toni

-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
Opensg-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/opensg-users

Reply via email to