Open autel-liuxiaozi opened 11 months ago
it's in a omp condition, just like this:
#pragma omp parallel for schedule(dynamic,1)
for(int i=0;i<node.size();++i)
{
SaveTileAsOsgb(names[i],tile);
}
and this stack info like this:
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.
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