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 

Applicaton chrashes after opening a VRML File


 
Post new topic   Reply to topic    OpenSceneGraph Forum Forum Index -> General [forum]
View previous topic :: View next topic  
Author Message
dark
Newbie


Joined: 07 Apr 2015
Posts: 1

PostPosted: Tue Apr 07, 2015 1:39 pm    Post subject:
Applicaton chrashes after opening a VRML File
Reply with quote

Hi,

I have a problem opening a VRML file. If I try to open it in my application it leads to a crash. I managed to find the code line which does this:

SceneGraph.loadW(szFileName, false);

I am using OSG version 3.0.1. Could you please tell me how can I avoid that the whole application crashes. Try catch didn't do it (i get an acces violation).

...


Thank you!

Cheers,
Alin
Back to top
View user's profile Send private message
Jan Ciger
Guest





PostPosted: Thu Apr 09, 2015 4:03 pm    Post subject:
Applicaton chrashes after opening a VRML File
Reply with quote

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 04/07/2015 03:39 PM, Alin Ionascu wrote:
Quote:
Hi,

I have a problem opening a VRML file. If I try to open it in my
application it leads to a crash. I managed to find the code line
which does this:

SceneGraph.loadW(szFileName, false);

Well, that could be pretty much anything. The above function call
doesn't even seem to be an OSG function. Could you provide at least a
full stack trace. Compile in Debug and you should be able to copy &
paste the content of the Stack window in Visual Studio - I assume you
are in Windows, based on the Hungarian notation.

Concerning VRML - the OSG VRML loader is quite limited (I am one of
the authors), so if you have some exotic features in the file it could
be triggering a bug (do some other files work?). However, without
seeing the stack trace we won't know for sure.

J.


-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1

iD4DBQFVJqKjn11XseNj94gRAuEEAKC0rj0UL+4ZVM2ZwayYOSNKXan03ACY7Evk
rmBwhYyn14cU3BD1ZDbYZg==
=a8fT
-----END PGP SIGNATURE-----


------------------
Post generated by Mail2Forum
Back to top
Display posts from previous:   
Post new topic   Reply to topic    OpenSceneGraph Forum Forum Index -> General [forum] 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 custom file GeekOwl Plugins [osgPlugins] 1 Thu Oct 12, 2017 12:32 pm View latest post
No new posts How to open shape file (.shp) or open... GISDeveloper General 0 Thu Oct 05, 2017 3:30 pm View latest post
No new posts Does osgb file has compatible issues ... saedrna1 General 3 Tue Jun 06, 2017 12:01 pm View latest post
No new posts osg plugin couldn't load an osgb or i... first_gle General 2 Sat May 27, 2017 3:52 am View latest post
No new posts Bug in 3.4.0 when exporting .osgx file? wernerM General 3 Tue Mar 21, 2017 1:18 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