On 6. Jul 2010, at 8:55, arizq [via Software] wrote:
> eq::base::RefPtr<Application> client = new Application( initData );
>
>
> The constructor is called successfully. And then the error  
> (assertion) is happening. I tried to change that line to be as  
> follows:

This is weird. The RefPtr ctor increases the refCount by one and the  
Referenced ctor (base of Client) sets hasBeenDeleted to true. Are you  
sure you are not mixing release and debug builds?

> Application* client = new Application( initData );
>
> The application runs successfully.

Ugh, that's definitely unsafe. Read up on RefPtr's -- your refCount  
will be wrong.


Cheers,

Stefan.



-- 
View this message in context: 
http://software.1713.n2.nabble.com/Running-eqOSG-results-in-Error-tp5252832p5259122.html
Sent from the Equalizer - Parallel Rendering mailing list archive at Nabble.com.
_______________________________________________
eq-dev mailing list
[email protected]
http://www.equalizergraphics.com/cgi-bin/mailman/listinfo/eq-dev
http://www.equalizergraphics.com

Reply via email to