[osg-users] Heap Corruption

Voerman, L. l.voerman at rug.nl
Tue Jan 10 04:04:57 PST 2017


Hi Théo,
I think you basically found out that the osg notify system is not thread
safe, the call to osg::Notify from
osg130-osgUtild.dll!osgUtil::CullVisitor::apply(osg::Drawable & drawable)
Line 1036    C++
    OSG_NOTICE<<"CullVisitor::apply(Geode&) detected NaN,"....
is probably running in parallel with a different thread calling osg::Notify
as well while triggering a resize of the buffer (too).
Setting OSG_NOTIFY_LEVEL=WARN will probably avoid this crash.

Regards, Laurens.

On Tue, Jan 10, 2017 at 12:39 PM, Alberto Luaces <aluaces at udc.es> wrote:

> Ok, the next I would do is to see what is OSG trying to print in this
> stack frame (the ninth from the beginning):
>
>      osg130-osgUtild.dll!std::operator<<<std::char_traits<char>
> >(std::basic_ostream<char,std::char_traits<char> > & _Ostr, const char *
> _Val) Line 806    C++
>
> maybe that could serve as a hint...
>
> --
> Alberto
>
> _______________________________________________
> osg-users mailing list
> osg-users at lists.openscenegraph.org
> http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openscenegraph.org/pipermail/osg-users-openscenegraph.org/attachments/20170110/87015f9b/attachment-0003.htm>


More information about the osg-users mailing list