[osg-users] Heap Corruption

Bruno Oliveira bruno.manata.oliveira at gmail.com
Tue Jan 10 05:38:13 PST 2017


If you managed to solve the problem, forget it.
Else, take a look at this:

http://stackoverflow.com/questions/7705724/shared-memory-in-dlls

2017-01-10 13:26 GMT+00:00 Théo Nassour <osgforum at tevs.eu>:

> Hi every one, and thanks for you're replies,
>
> I am sorry Bruno but, i havent understood what you Said. Can you explain
> more please :
>
> > Another possibility is that your code is allocating and deallocating
> memory in separate module DLLs. However, in Windows, each DLL has separate
> memory spaces and that cannot be done.
> >
> >
> > You should check if that's the case by any reason (e.g. creating a
> osg::ref_ptr in a dll of your own and allowing osg::ref_ptr to be
> deallocaed automatically by another dll module).
> >
> > This is solved by providing proper deallocators.
> >
>
>
> And Voerman
> Thanks and will disable All osg notify in this case, cause we are using
> commong logging from Nugget packages.
>
>
> Thank you!
>
> Cheers,
> Théo
>
> ------------------
> Read this topic online here:
> http://forum.openscenegraph.org/viewtopic.php?p=69950#69950
>
>
>
>
>
> _______________________________________________
> 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/612f5fd7/attachment-0003.htm>


More information about the osg-users mailing list