Greetings,
Here's my steps:
I'm creating a compositeViewer with one or more views.
I'm loading a paged database.
While the database is paging, I delete the compositeViewer (thus taking
the context down with it as well as the database pager).
I then create a new compositeViewer and attempt to render the sane
database (same nodes).
I'm getting a crash in the database pager, specifically it crash in the
requestNodeFile function due to crashing on accessing invalid memory.
The problem seems to step from the PagedLOD having a ref_ptr to a
DatabasePager::DatabaseRequest.
The databaseRequest has a raw pointer to a RequestQueue.
The RequestQueue is invalid (as it is a referenced member of the
original database pager, and thus is already deleted, but the DB request
stayed alive).
There appears to be no way of clearing the databaseRequest which is
referenced in the PagedLOD node.
This appears to be a problem with how OSG handles database paging,
probably a bug. No obvious solution pops out, mainly due to the low
level nature of the problem.
This is an important issue since it affects one of our customers.
I welcome any comments/suggestions/workarounds.
Thank you and best regards,
Colin Branch
--
Colin Branch
VT MAK
work: (617) 876-8085 Ext. 159
email: [email protected]
_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org