OpenSceneGraph Forum Forum Index OpenSceneGraph Forum
Official forum which mirrors the existent OSG mailing lists. Messages posted here are forwarded to the mailing list and vice versa.
 
   FAQFAQ    SearchSearch    MemberlistMemberlist    RulesRules    UsergroupsUsergroups    RegisterRegister 
 Mail2Forum SettingsMail2Forum Settings  ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 
   AlbumAlbum  OpenSceneGraph IRC ChatOpenSceneGraph IRC Chat   SmartFeedSmartFeed 

Wait for Database pager to complete

Goto page 1, 2, 3, 4, 5  Next
 
Post new topic   Reply to topic    OpenSceneGraph Forum Forum Index -> General
View previous topic :: View next topic  
Author Message
robertosfield
OSG Project Lead


Joined: 18 Mar 2009
Posts: 10990

PostPosted: Sun Jul 09, 2017 9:27 pm    Post subject:
Wait for Database pager to complete
Reply with quote

HI Bruno,

Make sure you are using ref_ptr<> in your ReadFileCallback for any
scene graph data structures so if you remove nodes from the main scene
graph they don't get deleted mid load. If you do this properly then
there should be no need to mess around with blocks that would
complicate the code.

Robert.

On 7 July 2017 at 14:46, Bruno Oliveira <> wrote:
Quote:
Hello,

i have a PagedLOD bases scene.

At some point I remove a node, but OSG sometimes is reading a subnode and
crashes at ReadFileCallback.

I can solve this if there is some mechanism to wait for the current callback
to finish reading, like for instance a
osgDB::DataBasePager::waitForCurrentThreadToFinish() function.

Is there something like this?





------------------
Post generated by Mail2Forum
Back to top
View user's profile Send private message
robertosfield
OSG Project Lead


Joined: 18 Mar 2009
Posts: 10990

PostPosted: Sun Jul 09, 2017 9:27 pm    Post subject:
Wait for Database pager to complete
Reply with quote

HI Bruno,

Make sure you are using ref_ptr<> in your ReadFileCallback for any
scene graph data structures so if you remove nodes from the main scene
graph they don't get deleted mid load. If you do this properly then
there should be no need to mess around with blocks that would
complicate the code.

Robert.

On 7 July 2017 at 14:46, Bruno Oliveira <> wrote:
Quote:
Hello,

i have a PagedLOD bases scene.

At some point I remove a node, but OSG sometimes is reading a subnode and
crashes at ReadFileCallback.

I can solve this if there is some mechanism to wait for the current callback
to finish reading, like for instance a
osgDB::DataBasePager::waitForCurrentThreadToFinish() function.

Is there something like this?





------------------
Post generated by Mail2Forum
Back to top
View user's profile Send private message
robertosfield
OSG Project Lead


Joined: 18 Mar 2009
Posts: 10990

PostPosted: Sun Jul 09, 2017 9:27 pm    Post subject:
Wait for Database pager to complete
Reply with quote

HI Bruno,

Make sure you are using ref_ptr<> in your ReadFileCallback for any
scene graph data structures so if you remove nodes from the main scene
graph they don't get deleted mid load. If you do this properly then
there should be no need to mess around with blocks that would
complicate the code.

Robert.

On 7 July 2017 at 14:46, Bruno Oliveira <> wrote:
Quote:
Hello,

i have a PagedLOD bases scene.

At some point I remove a node, but OSG sometimes is reading a subnode and
crashes at ReadFileCallback.

I can solve this if there is some mechanism to wait for the current callback
to finish reading, like for instance a
osgDB::DataBasePager::waitForCurrentThreadToFinish() function.

Is there something like this?





------------------
Post generated by Mail2Forum
Back to top
View user's profile Send private message
robertosfield
OSG Project Lead


Joined: 18 Mar 2009
Posts: 10990

PostPosted: Sun Jul 09, 2017 9:27 pm    Post subject:
Wait for Database pager to complete
Reply with quote

HI Bruno,

Make sure you are using ref_ptr<> in your ReadFileCallback for any
scene graph data structures so if you remove nodes from the main scene
graph they don't get deleted mid load. If you do this properly then
there should be no need to mess around with blocks that would
complicate the code.

Robert.

On 7 July 2017 at 14:46, Bruno Oliveira <> wrote:
Quote:
Hello,

i have a PagedLOD bases scene.

At some point I remove a node, but OSG sometimes is reading a subnode and
crashes at ReadFileCallback.

I can solve this if there is some mechanism to wait for the current callback
to finish reading, like for instance a
osgDB::DataBasePager::waitForCurrentThreadToFinish() function.

Is there something like this?





------------------
Post generated by Mail2Forum
Back to top
View user's profile Send private message
robertosfield
OSG Project Lead


Joined: 18 Mar 2009
Posts: 10990

PostPosted: Sun Jul 09, 2017 9:27 pm    Post subject:
Wait for Database pager to complete
Reply with quote

HI Bruno,

Make sure you are using ref_ptr<> in your ReadFileCallback for any
scene graph data structures so if you remove nodes from the main scene
graph they don't get deleted mid load. If you do this properly then
there should be no need to mess around with blocks that would
complicate the code.

Robert.

On 7 July 2017 at 14:46, Bruno Oliveira <> wrote:
Quote:
Hello,

i have a PagedLOD bases scene.

At some point I remove a node, but OSG sometimes is reading a subnode and
crashes at ReadFileCallback.

I can solve this if there is some mechanism to wait for the current callback
to finish reading, like for instance a
osgDB::DataBasePager::waitForCurrentThreadToFinish() function.

Is there something like this?





------------------
Post generated by Mail2Forum
Back to top
View user's profile Send private message
robertosfield
OSG Project Lead


Joined: 18 Mar 2009
Posts: 10990

PostPosted: Sun Jul 09, 2017 9:27 pm    Post subject:
Wait for Database pager to complete
Reply with quote

HI Bruno,

Make sure you are using ref_ptr<> in your ReadFileCallback for any
scene graph data structures so if you remove nodes from the main scene
graph they don't get deleted mid load. If you do this properly then
there should be no need to mess around with blocks that would
complicate the code.

Robert.

On 7 July 2017 at 14:46, Bruno Oliveira <> wrote:
Quote:
Hello,

i have a PagedLOD bases scene.

At some point I remove a node, but OSG sometimes is reading a subnode and
crashes at ReadFileCallback.

I can solve this if there is some mechanism to wait for the current callback
to finish reading, like for instance a
osgDB::DataBasePager::waitForCurrentThreadToFinish() function.

Is there something like this?





------------------
Post generated by Mail2Forum
Back to top
View user's profile Send private message
robertosfield
OSG Project Lead


Joined: 18 Mar 2009
Posts: 10990

PostPosted: Sun Jul 09, 2017 9:27 pm    Post subject:
Wait for Database pager to complete
Reply with quote

HI Bruno,

Make sure you are using ref_ptr<> in your ReadFileCallback for any
scene graph data structures so if you remove nodes from the main scene
graph they don't get deleted mid load. If you do this properly then
there should be no need to mess around with blocks that would
complicate the code.

Robert.

On 7 July 2017 at 14:46, Bruno Oliveira <> wrote:
Quote:
Hello,

i have a PagedLOD bases scene.

At some point I remove a node, but OSG sometimes is reading a subnode and
crashes at ReadFileCallback.

I can solve this if there is some mechanism to wait for the current callback
to finish reading, like for instance a
osgDB::DataBasePager::waitForCurrentThreadToFinish() function.

Is there something like this?





------------------
Post generated by Mail2Forum
Back to top
View user's profile Send private message
robertosfield
OSG Project Lead


Joined: 18 Mar 2009
Posts: 10990

PostPosted: Sun Jul 09, 2017 9:27 pm    Post subject:
Wait for Database pager to complete
Reply with quote

HI Bruno,

Make sure you are using ref_ptr<> in your ReadFileCallback for any
scene graph data structures so if you remove nodes from the main scene
graph they don't get deleted mid load. If you do this properly then
there should be no need to mess around with blocks that would
complicate the code.

Robert.

On 7 July 2017 at 14:46, Bruno Oliveira <> wrote:
Quote:
Hello,

i have a PagedLOD bases scene.

At some point I remove a node, but OSG sometimes is reading a subnode and
crashes at ReadFileCallback.

I can solve this if there is some mechanism to wait for the current callback
to finish reading, like for instance a
osgDB::DataBasePager::waitForCurrentThreadToFinish() function.

Is there something like this?





------------------
Post generated by Mail2Forum
Back to top
View user's profile Send private message
robertosfield
OSG Project Lead


Joined: 18 Mar 2009
Posts: 10990

PostPosted: Sun Jul 09, 2017 9:27 pm    Post subject:
Wait for Database pager to complete
Reply with quote

HI Bruno,

Make sure you are using ref_ptr<> in your ReadFileCallback for any
scene graph data structures so if you remove nodes from the main scene
graph they don't get deleted mid load. If you do this properly then
there should be no need to mess around with blocks that would
complicate the code.

Robert.

On 7 July 2017 at 14:46, Bruno Oliveira <> wrote:
Quote:
Hello,

i have a PagedLOD bases scene.

At some point I remove a node, but OSG sometimes is reading a subnode and
crashes at ReadFileCallback.

I can solve this if there is some mechanism to wait for the current callback
to finish reading, like for instance a
osgDB::DataBasePager::waitForCurrentThreadToFinish() function.

Is there something like this?





------------------
Post generated by Mail2Forum
Back to top
View user's profile Send private message
robertosfield
OSG Project Lead


Joined: 18 Mar 2009
Posts: 10990

PostPosted: Sun Jul 09, 2017 9:27 pm    Post subject:
Wait for Database pager to complete
Reply with quote

HI Bruno,

Make sure you are using ref_ptr<> in your ReadFileCallback for any
scene graph data structures so if you remove nodes from the main scene
graph they don't get deleted mid load. If you do this properly then
there should be no need to mess around with blocks that would
complicate the code.

Robert.

On 7 July 2017 at 14:46, Bruno Oliveira <> wrote:
Quote:
Hello,

i have a PagedLOD bases scene.

At some point I remove a node, but OSG sometimes is reading a subnode and
crashes at ReadFileCallback.

I can solve this if there is some mechanism to wait for the current callback
to finish reading, like for instance a
osgDB::DataBasePager::waitForCurrentThreadToFinish() function.

Is there something like this?





------------------
Post generated by Mail2Forum
Back to top
View user's profile Send private message
robertosfield
OSG Project Lead


Joined: 18 Mar 2009
Posts: 10990

PostPosted: Sun Jul 09, 2017 9:27 pm    Post subject:
Wait for Database pager to complete
Reply with quote

HI Bruno,

Make sure you are using ref_ptr<> in your ReadFileCallback for any
scene graph data structures so if you remove nodes from the main scene
graph they don't get deleted mid load. If you do this properly then
there should be no need to mess around with blocks that would
complicate the code.

Robert.

On 7 July 2017 at 14:46, Bruno Oliveira <> wrote:
Quote:
Hello,

i have a PagedLOD bases scene.

At some point I remove a node, but OSG sometimes is reading a subnode and
crashes at ReadFileCallback.

I can solve this if there is some mechanism to wait for the current callback
to finish reading, like for instance a
osgDB::DataBasePager::waitForCurrentThreadToFinish() function.

Is there something like this?





------------------
Post generated by Mail2Forum
Back to top
View user's profile Send private message
robertosfield
OSG Project Lead


Joined: 18 Mar 2009
Posts: 10990

PostPosted: Sun Jul 09, 2017 9:27 pm    Post subject:
Wait for Database pager to complete
Reply with quote

HI Bruno,

Make sure you are using ref_ptr<> in your ReadFileCallback for any
scene graph data structures so if you remove nodes from the main scene
graph they don't get deleted mid load. If you do this properly then
there should be no need to mess around with blocks that would
complicate the code.

Robert.

On 7 July 2017 at 14:46, Bruno Oliveira <> wrote:
Quote:
Hello,

i have a PagedLOD bases scene.

At some point I remove a node, but OSG sometimes is reading a subnode and
crashes at ReadFileCallback.

I can solve this if there is some mechanism to wait for the current callback
to finish reading, like for instance a
osgDB::DataBasePager::waitForCurrentThreadToFinish() function.

Is there something like this?





------------------
Post generated by Mail2Forum
Back to top
View user's profile Send private message
robertosfield
OSG Project Lead


Joined: 18 Mar 2009
Posts: 10990

PostPosted: Sun Jul 09, 2017 9:27 pm    Post subject:
Wait for Database pager to complete
Reply with quote

HI Bruno,

Make sure you are using ref_ptr<> in your ReadFileCallback for any
scene graph data structures so if you remove nodes from the main scene
graph they don't get deleted mid load. If you do this properly then
there should be no need to mess around with blocks that would
complicate the code.

Robert.

On 7 July 2017 at 14:46, Bruno Oliveira <> wrote:
Quote:
Hello,

i have a PagedLOD bases scene.

At some point I remove a node, but OSG sometimes is reading a subnode and
crashes at ReadFileCallback.

I can solve this if there is some mechanism to wait for the current callback
to finish reading, like for instance a
osgDB::DataBasePager::waitForCurrentThreadToFinish() function.

Is there something like this?





------------------
Post generated by Mail2Forum
Back to top
View user's profile Send private message
robertosfield
OSG Project Lead


Joined: 18 Mar 2009
Posts: 10990

PostPosted: Sun Jul 09, 2017 9:27 pm    Post subject:
Wait for Database pager to complete
Reply with quote

HI Bruno,

Make sure you are using ref_ptr<> in your ReadFileCallback for any
scene graph data structures so if you remove nodes from the main scene
graph they don't get deleted mid load. If you do this properly then
there should be no need to mess around with blocks that would
complicate the code.

Robert.

On 7 July 2017 at 14:46, Bruno Oliveira <> wrote:
Quote:
Hello,

i have a PagedLOD bases scene.

At some point I remove a node, but OSG sometimes is reading a subnode and
crashes at ReadFileCallback.

I can solve this if there is some mechanism to wait for the current callback
to finish reading, like for instance a
osgDB::DataBasePager::waitForCurrentThreadToFinish() function.

Is there something like this?





------------------
Post generated by Mail2Forum
Back to top
View user's profile Send private message
robertosfield
OSG Project Lead


Joined: 18 Mar 2009
Posts: 10990

PostPosted: Sun Jul 09, 2017 9:27 pm    Post subject:
Wait for Database pager to complete
Reply with quote

HI Bruno,

Make sure you are using ref_ptr<> in your ReadFileCallback for any
scene graph data structures so if you remove nodes from the main scene
graph they don't get deleted mid load. If you do this properly then
there should be no need to mess around with blocks that would
complicate the code.

Robert.

On 7 July 2017 at 14:46, Bruno Oliveira <> wrote:
Quote:
Hello,

i have a PagedLOD bases scene.

At some point I remove a node, but OSG sometimes is reading a subnode and
crashes at ReadFileCallback.

I can solve this if there is some mechanism to wait for the current callback
to finish reading, like for instance a
osgDB::DataBasePager::waitForCurrentThreadToFinish() function.

Is there something like this?





------------------
Post generated by Mail2Forum
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    OpenSceneGraph Forum Forum Index -> General All times are GMT
Goto page 1, 2, 3, 4, 5  Next
Page 1 of 5

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You cannot download files in this forum

Similar Topics
Topic Author Forum Replies Posted
No new posts isolate specific LOD from a VPB gener... Trajce Nikolov NICK General 7 Tue Nov 29, 2016 6:20 pm View latest post
No new posts About database profiling hunter789 General 0 Mon Apr 25, 2016 10:44 pm View latest post
No new posts osgVegetation - A vegetation database... JohanH Announcement [ANN] 6 Wed Jan 21, 2015 9:26 pm View latest post
No new posts Complete Kitchens For Sale sundokmburi General 0 Tue Apr 15, 2014 2:16 am View latest post
No new posts Having trouble making no-data transpa... kingarthur10 VirtualPlanetBuilder [vpb] 0 Fri Dec 27, 2013 6:54 pm View latest post


Board Security Anti Bot Question MOD - phpBB MOD against Spam Bots
Powered by phpBB © 2001, 2005 phpBB Group
Protected by Anti-Spam ACP