Hello again,
Carsten Neumann wrote:
> -------- Original-Nachricht --------
>> Datum: Mon, 24 Aug 2009 17:11:57 +0200
>> Von: Marc Hofmann <[email protected]>
>> An: [email protected]
>> Betreff: Re: [Opensg-users] Problems with Multithreading in OpenSG 2.0
>
>> Hello, it's me again ;-)
>>
>> I modified my test program to load and afterwards unload all nodes (see
>> rotate function below). It crashes, after I delete all nodes and sync the
>> threads.
>>
>>
>> '_pAspectStore' in 'FieldContainer *FieldContainer::getAspectPtr(UInt32
>> uiAspect) const' is 0xfeeefeee (use of already deleted object).
>
> apologies for the long delay, it took me a while to figure out what was going
> on. I've reimplemented the MT pointer types, made them more robust and fixed
> the bug you where running into.
> With r2051 you program works again [1], but I still get messages about GL
> problems. It seems we have a problem with reusing of our internal "gl ids"
> from multiple threads. I'll see what is going wrong there next.
ok, this one should be fixed as well now. We did not reset the status of
the GLObject when deleting them and since we reuse ids a newly created
GLObject was thought to be valid and never initialized [1].
Cheers,
Carsten
[1] we did reset the status when creating the GLObject, but since that
happens in the loader aspect it has no effect on the render aspect.
------------------------------------------------------------------------------
Come build with us! The BlackBerry® Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay
ahead of the curve. Join us from November 9-12, 2009. Register now!
http://p.sf.net/sfu/devconf
_______________________________________________
Opensg-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/opensg-users