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 

Crash with VBO and shared context


 
Post new topic   Reply to topic    OpenSceneGraph Forum Forum Index -> General
View previous topic :: View next topic  
Author Message
jumaroch
Newbie


Joined: 11 Jun 2015
Posts: 9

PostPosted: Tue Jul 25, 2017 1:24 pm    Post subject:
Crash with VBO and shared context
Reply with quote

Hi,

We recently upgraded our application to OSG 3.4.0 and we are now getting a crash when deleting an osg::View instance.

Our application creates an additional view using a shared context with the main view. This view is displayed in a separated Qt dialog.
The crash occurred when this second view is deleted: the destruction of its osg::State deletes the GLExtensions instance associated to the context id.
The current VBOs that were initialized will make the application crash as soon as they are used since their internal GLExtensions instance is dead.

Is it a known limitation of OSG with MDI applications, i.e. one cannot delete a view that shares a context while the main view remains active ?

Would it be possible to add a test that check whether the graphics context is shared in osg::State destructor before deleting the associated GLExtensions instance ?

Cheers,
Romain
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
Page 1 of 1

 
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 osg::Text::setBackdropType crash with... Carlo Lanzotti - DynaD... General 7 Wed Sep 20, 2017 2:40 pm View latest post
No new posts Fix for osg::Program crash Colin McDonald Submission 0 Mon Sep 11, 2017 4:43 pm View latest post
No new posts Reapply GL context arennuit General 2 Wed Aug 23, 2017 8:57 am View latest post
No new posts Specifying the GL context version to ... Sandro Mani General 17 Mon Aug 21, 2017 11:43 am View latest post
No new posts Crash with VBO and shared context jumaroch General 10 Tue Jul 25, 2017 1:23 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