Hi Colin,

You make no mention of which version of the OSG you are using.  The
DatabasePager and manage of GL objects when destroying contexts has
improved significantly over the past year so the problems you are
seeing may well be already resolved.

Robert.

On Thu, Jan 14, 2010 at 5:00 PM, Colin Branch <[email protected]> wrote:
> 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
>
_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to