Hi,

I'm having a big issue (a crash) with the database pager managing thousands of PagedLOD. It's working well, but sometime when the memory becomes full (or there is a high memory usage) there is a crash :

   HANDLE_ALL_REQUESTS: _pager->_requestList.size()= 4 to delete = 0
   FindFileInPath(Z:\release\....\data\cache\s15/V53S7941222000_L.ive):
   returning Z:\release\....\cache\s15/V53S7941222000_L.ive
   ive::DataInputStream.setLoadExternalReferenceFiles()=1
   uncompressed ive stream
   HANDLE_ALL_REQUESTS: _pager->_requestList.size()= 3 to delete = 0
   FindFileInPath(Z:\release\....\data\cache\s15/V53S7941222200_L.ive):
   returning Z:\release\....\data\cache\s15/V53S7941222200_L.ive
   ive::DataInputStream.setLoadExternalReferenceFiles()=1
   uncompressed ive stream
   HANDLE_ALL_REQUESTS: _pager->_requestList.size()= 2 to delete = 0
   FindFileInPath(Z:\release\....\data\cache\s15/V53S7941222200_L.ive):
   returning Z:\release\....\data\cache\s15/V53S7941222200_L.ive
   ive::DataInputStream.setLoadExternalReferenceFiles()=1
   uncompressed ive stream
   HANDLE_ALL_REQUESTS: _pager->_requestList.size()= 1 to delete = 0
   FindFileInPath(Z:\release\....\data\cache\s15/V53S7941222200_L.ive):
   returning Z:\release\....\data\cache\s15/V53S7941222200_L.ive
   ive::DataInputStream.setLoadExternalReferenceFiles()=1
   uncompressed ive stream


   CrashNotification:=Error in module C:\WINDOWS\system32\nvogl32.dll
   code [-1073741819] : EXCEPTION_ACCESS_VIOLATION

So my question is, what happen when the request list size become 0 ?
I'm quite sure that this is not an osg bug but my implementation that is not good, but I don't know where... and this is not a crash that occurs each time. According to the logs, the DBPager succeed in loading all the file in its request list, and later, when the camera has moved and the request list grow again, sometimes it crashes at the end.

I spend a few days in the code but I didn't found what I was looking for...

Thanks for you help.

Regards,
    Vincent.

_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to