* Lionel Lagarde -- Thursday 25 September 2008:
> Here is a correction on DatabasePager::FindCompileableGLObjectsVisitor
> 
> The apply(osg::Drawable *) method doesn't update the _drawableSet and
> the isCompiled test was inversed.

I had hoped that your patch would also fix my problem. Unfortunately,
it doesn't. Since a recent update I get a segfault at every other
application run:


Program received signal SIGSEGV, Segmentation fault.
osgDB::DatabasePager::FindCompileableGLObjectsVisitor::apply (this=0xb3e270c8, 
stateset=0xe643a08) at ./osg/include/osgDB/DatabasePager:431
431                     if ( texture->getTextureObject(*iter) == NULL ) return 
false;

(gdb) bt
#0  osgDB::DatabasePager::FindCompileableGLObjectsVisitor::apply 
(this=0xb3e270c8, stateset=0xe643a08) at ./osg/include/osgDB/DatabasePager:431
#1  0xb7bfdec1 in osgDB::DatabasePager::FindCompileableGLObjectsVisitor::apply 
(this=0xb3e270c8, [EMAIL PROTECTED]) at ./osg/src/osgDB/DatabasePager.cpp:204
#2  0xb7a9f80e in osg::Geode::accept (this=0x10b6ac80, [EMAIL PROTECTED]) at 
./osg/include/osg/Geode:39
#3  0xb7aca5aa in osg::Group::traverse (this=0x10b6abf0, [EMAIL PROTECTED]) at 
./osg/src/osg/Group.cpp:62
#4  0xb7bfdd69 in osgDB::DatabasePager::FindCompileableGLObjectsVisitor::apply 
(this=0xb3e270c8, [EMAIL PROTECTED]) at ./osg/include/osg/NodeVisitor:181
#5  0xb7af699e in osg::NodeVisitor::apply (this=0xb3e270c8, [EMAIL PROTECTED]) 
at ./osg/src/osg/NodeVisitor.cpp:86

(gdb) print texture
$1 = (osg::Texture2D *) 0x10b83940

m.
_______________________________________________
osg-submissions mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-submissions-openscenegraph.org

Reply via email to