[osg-users] osgDB::readRefNodeFiles() crashes with simple files

51 views
Skip to first unread message

Peter Klose

unread,
Jun 8, 2018, 5:18:21 AM6/8/18
to osg-...@lists.openscenegraph.org
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

------------------
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=74007#74007





_______________________________________________
osg-users mailing list
osg-...@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Robert Osfield

unread,
Jun 8, 2018, 5:58:26 AM6/8/18
to OpenSceneGraph Users
Hi Peter,

On Fri, 8 Jun 2018 at 10:24, Peter Klose <peter...@gmx.de> wrote:
> 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.

Peter Klose

unread,
Jun 8, 2018, 6:22:49 AM6/8/18
to osg-...@lists.openscenegraph.org
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:
>
> > 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.
> _______________________________________________
> osg-users mailing list
>
> http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
>
> ------------------
> Post generated by Mail2Forum


------------------
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=74009#74009

Robert Osfield

unread,
Jun 8, 2018, 8:14:45 AM6/8/18
to OpenSceneGraph Users
Hi Peter,
On Fri, 8 Jun 2018 at 11:39, Peter Klose <peter...@gmx.de> wrote:
> 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.
_______________________________________________
osg-users mailing list
osg-...@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Peter Klose

unread,
Jun 8, 2018, 9:57:05 AM6/8/18
to osg-...@lists.openscenegraph.org
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:
>
> > 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.
> _______________________________________________
> osg-users mailing list
>
> http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
>
> ------------------
> Post generated by Mail2Forum


------------------
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=74011#74011




Attachments:
http://forum.openscenegraph.org//files/example_579.osg
Reply all
Reply to author
Forward
0 new messages