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 

osgDB::readRefNodeFiles() crashes with simple files


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


Joined: 31 May 2018
Posts: 9

PostPosted: Fri Jun 08, 2018 9:18 am    Post subject:
osgDB::readRefNodeFiles() crashes with simple files
Reply with quote

Hi,

after building the examples of the OSG package i encoutered problems with the osgviewer application.
When trying to load simple *.osg files or *.obj it crashes with an error thrown by Openthread, but with *.osgt files everything runs fine.
Any ideas?

Thank you!

Cheers,
Peter
Back to top
View user's profile Send private message
robertosfield
OSG Project Lead


Joined: 18 Mar 2009
Posts: 11924

PostPosted: Fri Jun 08, 2018 9:58 am    Post subject:
osgDB::readRefNodeFiles() crashes with simple files
Reply with quote

Hi Peter,

On Fri, 8 Jun 2018 at 10:24, Peter Klose <> wrote:
Quote:
after building the examples of the OSG package i encoutered problems with the osgviewer application.
When trying to load simple *.osg files or *.obj it crashes with an error thrown by Openthread, but with *.osgt files everything runs fine.
Any ideas?

Something crashes somewhere for some reason on some data. Lots of
stuff there that we have no knowledge so there is no way we can
provide any ideas. The only thing we an do at this point is ask
questions that only you can answer.

What version of the OSG? What platform? DId you build the OSG
yourself? Any chance you are mixing OSG versions? What data? Do
you have a stack trace?

Robert.


------------------
Post generated by Mail2Forum
Back to top
View user's profile Send private message
peter_k
Newbie


Joined: 31 May 2018
Posts: 9

PostPosted: Fri Jun 08, 2018 10:22 am    Post subject:
Re: osgDB::readRefNodeFiles() crashes with simple files
Reply with quote

Hi Robert,
sorry for the pretty general questioning, but i was thinking there might have been some known errors in the DBloader.
So it looks like i have to go through every detail to detect the problem.

I have dowwnloaded the actual OSG version from github and compiled it together with all examples with Visual Studio 2013 on Windows7 (with your support btw) succesful.
The examples are working fine and i have created my own first application.
I thought i read something about problems when loading the "old" filetype *.osg, but i don't remember where it was. And with the "new" filetype "osgt" everything works just fine.
Maybe anybody else has encountered the same problems?


robertosfield wrote:
Hi Peter,

On Fri, 8 Jun 2018 at 10:24, Peter Klose <> wrote:
Quote:
after building the examples of the OSG package i encoutered problems with the osgviewer application.
When trying to load simple *.osg files or *.obj it crashes with an error thrown by Openthread, but with *.osgt files everything runs fine.
Any ideas?

Something crashes somewhere for some reason on some data. Lots of
stuff there that we have no knowledge so there is no way we can
provide any ideas. The only thing we an do at this point is ask
questions that only you can answer.

What version of the OSG? What platform? DId you build the OSG
yourself? Any chance you are mixing OSG versions? What data? Do
you have a stack trace?

Robert.


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


Joined: 18 Mar 2009
Posts: 11924

PostPosted: Fri Jun 08, 2018 12:14 pm    Post subject:
osgDB::readRefNodeFiles() crashes with simple files
Reply with quote

Hi Peter,
On Fri, 8 Jun 2018 at 11:39, Peter Klose <> wrote:
Quote:
I have dowwnloaded the actual OSG version from github and compiled it together with all examples with Visual Studio 2013 on Windows7 (with your support btw) succesful.
The examples are working fine and i have created my own first application.
I thought i read something about problems when loading the "old" filetype *.osg, but i don't remember where it was. And with the "new" filetype "osgt" everything works just fine.
Maybe anybody else has encountered the same problems?

Generally .osg's work pretty well, old but generally pretty reliable.

However, we can't rule out that there are .osg's out there that have
been created by 3rd parties that now cause problems with present OSG
version.

W.r.t OSG version did you build OSG master or a specific version?

Could you provide an example of the .osg file that fails.

Robert.


------------------
Post generated by Mail2Forum
Back to top
View user's profile Send private message
peter_k
Newbie


Joined: 31 May 2018
Posts: 9

PostPosted: Fri Jun 08, 2018 1:57 pm    Post subject:
Re: osgDB::readRefNodeFiles() crashes with simple files
Reply with quote

Hi Robert,
i have downloaded and built OSG 3.6.1 from the master-branch.
The osg-example data is also downloaded from the git
See attached "example.osg" which causes a crash.
*.obj files don't even load with a file-not-found error.



robertosfield wrote:
Hi Peter,
On Fri, 8 Jun 2018 at 11:39, Peter Klose <> wrote:
Quote:
I have dowwnloaded the actual OSG version from github and compiled it together with all examples with Visual Studio 2013 on Windows7 (with your support btw) succesful.
The examples are working fine and i have created my own first application.
I thought i read something about problems when loading the "old" filetype *.osg, but i don't remember where it was. And with the "new" filetype "osgt" everything works just fine.
Maybe anybody else has encountered the same problems?

Generally .osg's work pretty well, old but generally pretty reliable.

However, we can't rule out that there are .osg's out there that have
been created by 3rd parties that now cause problems with present OSG
version.

W.r.t OSG version did you build OSG master or a specific version?

Could you provide an example of the .osg file that fails.

Robert.


------------------
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
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 Writing .osg files: how to set colors... eMiliano General 0 Tue Jun 19, 2018 2:02 pm View latest post
No new posts CMake can not find include files peter_k Build system [build] 8 Sun Jun 03, 2018 10:51 am View latest post
No new posts DXF file with text crashes on Intersect brianh General 4 Tue May 29, 2018 3:15 pm View latest post
No new posts conversion from .vert/.frag files to ... christoph General 2 Tue May 15, 2018 6:47 am View latest post
No new posts Support for loading cubemap images in... Farshid Lashkari Submission 7 Wed May 09, 2018 5:56 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