Chris Hanson wrote:
Philip Lowman wrote:
Hi,
We're trying to use OSG within a dynamically loaded plugin in our code. Whenever we call dlclose() on our plugin, however, shortly after main() returns we segfault. I was wondering if anyone who's worked with OSG has heard of this kind of problem before?

I'm not sure anyone has ever tried/done this, and you may be in dangerously uncharted territory.


Cool! :)

We've been using this method for terrain lookups for almost a year now. Basically all we're doing is loading the terrain and using an IntersectVisitor and this works fine.

The problem came about when we realized that there was a bug in our code and we had neglected to call dlclose() on all of our plugins prior to program exit. In adding this call we came across the problem.

--
Philip Lowman
Simulation Development Engineer, Modeling and Simulation Technology
General Dynamics Land Systems
http://www.gdls.com
_______________________________________________
osg-users mailing list
[email protected]
http://openscenegraph.net/mailman/listinfo/osg-users
http://www.openscenegraph.org/

Reply via email to