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: 8

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 Crash with VBO and shared context jumaroch General 10 Tue Jul 25, 2017 1:23 pm View latest post
No new posts OSG is unable to create 3.3 core prof... ne0ndrag0n General 5 Sat Jul 22, 2017 4:21 pm View latest post
No new posts Crash on Windows 10 with a Display Li... efson General 2 Thu Apr 27, 2017 9:03 am View latest post
No new posts OSG crash on startup guyv General 3 Wed Apr 26, 2017 5:07 pm View latest post
No new posts Multisampled FBO camera with shared d... HonzaS General 0 Fri Mar 17, 2017 3:19 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