Hi,

On Sat, 2009-06-27 at 09:36 +0800, Gerrit Voß wrote:
> Hi,
> 

> > > Why it crashes on Windows might be a separate issue.
> > 
> > debugging on windows shows strange things: When printing the scene graph 
> > in rotate() and display() (using SceneGraphPrinter from 
> > System/FieldContainer/Misc/OSGFieldContainerUtils.h) they are different 
> > and both do not have the node with the geometry in it. Plus putting a 
> > print into FieldContainer::resolveLinks shows containers dying earlier 
> > than expected and adding a Thread::getCurrentAspect() prints nonsense 
> > values (~40000).
> 
> hmm that is really weird. But I see a container dying thing in
> valgrind too, I'll have a look.

the problem is the explicit recorded refcounts in createScenegraph
make the nodes be deleted before they are linked into their places
during the app -> anim sync. 

Simple solution: 

- Don't use RecPtr for temporary stuff, they don't make any
  sense for that. 

Real solution:

- There should infrastructure to avoid this I'll see why these
  seem to make a way around it.

kind regards,
  gerrit



------------------------------------------------------------------------------
_______________________________________________
Opensg-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/opensg-users

Reply via email to