Hi,

I forgot to mention my interest in this:
While I don't change the sample ratio in our application, I do rebuild the tile 
meshes in a similar way when the user changes the elevation data being used on 
the fly. This issue could explain a very rare crash in our application  I have 
seen but have never been able to reproduce.

Cheers,
Brad

-----Original Message-----
From: [email protected] 
[mailto:[email protected]] On Behalf Of Christiansen, 
Brad
Sent: Wednesday, 22 August 2012 11:05 AM
To: OpenSceneGraph Users
Subject: Re: [osg-users] osg(terrain) krasches on a double delete

Hi,

I have managed to reproduce the crash during the overnight run. The stack trace 
looks the very similar.

Cheers,
Brad

-----Original Message-----
From: [email protected] 
[mailto:[email protected]] On Behalf Of Robert Osfield
Sent: Wednesday, 22 August 2012 2:44 AM
To: OpenSceneGraph Users
Subject: Re: [osg-users] osg(terrain) krasches on a double delete

Hi Ola et. al,

I've looked at the problem Terrain containers and they present an interesting 
issue - the std::set<TerrainTile*> that is used can't easily be converted into 
an std::set< osg::observer_ptr<TerrainTile> > as the observer_ptr<> can have 
it's value changed to NULL by another thread when destructing the observed 
TerrainTile and std::set<> require their values to be const.

What will be required is a custom container of osg::oberserver_ptr<> along the 
lines of osg::OberservedNodePath but written to manage it's contents in a 
similar way to a std::set.

Robert.
_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org


-------------------------------------------------------------------------
DISCLAIMER: This e-mail transmission and any documents, files and previous 
e-mail messages attached to it are private and confidential.  
They may contain proprietary or copyright material or information that is 
subject to legal professional privilege.  They are for the use of the intended 
recipient only.  Any unauthorised viewing, use, disclosure, copying, 
alteration, storage or distribution of, or reliance on, this message is 
strictly prohibited.  No part may be reproduced, adapted or transmitted without 
the written permission of the owner.  If you have received this transmission in 
error, or are not an authorised recipient, please immediately notify the sender 
by return email, delete this message and all copies from your e-mail system, 
and destroy any printed copies.  Receipt by anyone other than the intended 
recipient should not be deemed a waiver of any privilege or protection.  Thales 
Australia does not warrant or represent that this e-mail or any documents, 
files and previous e-mail messages attached are error or virus free.  

-------------------------------------------------------------------------

_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org


-------------------------------------------------------------------------
DISCLAIMER: This e-mail transmission and any documents, files and 
previous e-mail messages attached to it are private and confidential.  
They may contain proprietary or copyright material or information that 
is subject to legal professional privilege.  They are for the use of 
the intended recipient only.  Any unauthorised viewing, use, disclosure, 
copying, alteration, storage or distribution of, or reliance on, this 
message is strictly prohibited.  No part may be reproduced, adapted or 
transmitted without the written permission of the owner.  If you have 
received this transmission in error, or are not an authorised recipient, 
please immediately notify the sender by return email, delete this 
message and all copies from your e-mail system, and destroy any printed 
copies.  Receipt by anyone other than the intended recipient should not 
be deemed a waiver of any privilege or protection.  Thales Australia 
does not warrant or represent that this e-mail or any documents, files 
and previous e-mail messages attached are error or virus free.  

-------------------------------------------------------------------------

_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to