-
Notifications
You must be signed in to change notification settings - Fork 1.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
In some cases, osgDB::writeNodeFile write 0kb osgb #1288
Comments
My best guess is memory corruption somewhere in your application. Your code snippet has references to class that aren't part of the OSG so we can only guess what functionality they might have. You have all your application, all your data and you have access so all of the OSG code base, while we only have the later. You are the one best place to investigate the problem. Try building with a debugger and stepping through the code, or try running your application in a tool like valgrind to see if can spot any memory corruption. |
ok, thank you. but this happens only when generate osgbs. so I guess it's related to osg library,and happens very occasionally |
Memory corruption in one place can cause other parts to crash. Even if it does turn out to be an OSG bug, at this point there isn't anything that others can help with given no others have reported this issue, we don't have a means of recreating the problem. You are the only one that has means to investigate. |
OK, thank you |
Hello,I think it's a bug and recurrent Very occasionally. using osg3.4.0
I uses osg lib to write osgb file , code like this
now demo crashes in
osgDB::writeNodeFile(*group, file_name new osgDB::Options("WritelmageHint=IncludeFile"));
and have some error like this:
and saved osgb is like this:
could anyone help me to locate this bug? @robertosfield @andesengineering @openscenegraph
thank you all very much
The text was updated successfully, but these errors were encountered: