Re: [osg-users] Segfaults in osg::State::applyTextureAttributes when working with osgText::Text

2008-08-22 Thread Alexander Löffler
Alexander Löffler wrote: I am experiencing very frequent segfaults in OSG'S rendering thread when working with osgText::Text objects. The problem always appears in State::applyTextureAttributes(), but at different positions in there. Most of the time in StateAttribute::getTypeMemberPair(),

Re: [osg-users] Segfaults in osg::State::applyTextureAttributes when working with osgText::Text

2008-08-22 Thread David Spilling
Alex, There was a whole load of message traffic on this topic a while ago. From what I remember, the upshot was that the freetype library wasn't thread safe. I don't know whether it all got finally resolved or not; my advice would be to check the archives. David

Re: [osg-users] Segfaults in osg::State::applyTextureAttributes when working with osgText::Text

2008-08-22 Thread Robert Osfield
Hi Alexander, Are you dynamically modifying the text? If so then just set the DataVariance of the Text objects to DYNAMIC. Explanation : When running in DrawThreadPerContext, and CullThreadPerCameraDrawThreadPerContext the update,cull of the next frame is allowed to overlap with rendering of

Re: [osg-users] Segfaults in osg::State::applyTextureAttributes when working with osgText::Text

2008-08-22 Thread Alexander Löffler
Hi David, David Spilling wrote: There was a whole load of message traffic on this topic a while ago. From what I remember, the upshot was that the freetype library wasn't thread safe. I don't know whether it all got finally resolved or not; my advice would be to check the archives. thanks for

Re: [osg-users] Segfaults in osg::State::applyTextureAttributes when working with osgText::Text

2008-08-22 Thread Alexander Löffler
Hi Robert, Robert Osfield wrote: Hi Alexander, Are you dynamically modifying the text? If so then just set the DataVariance of the Text objects to DYNAMIC. Explanation : When running in DrawThreadPerContext, and CullThreadPerCameraDrawThreadPerContext the update,cull of the next frame is