[osg-users] Curious osgText crash

Kim C Bale K.Bale at hull.ac.uk
Mon Mar 2 06:24:36 PST 2009

Hi all,


I'm getting some odd errors in conjunction with osgText.


I'm loading two font files and assigning them to various osgText
drawables, which are in turn added to a series geodes. 

Each geode is then rendered to texture using individual pre render FBO


When I set the application to single threaded all is well, however when
I set it to AutomaticSelection


It prints the error:


before Font::Glyph::subload(): detected OpenGL error 'invalid operation

before Font::Glyph::subload(): detected OpenGL error '


Before crashing with an access violation. Last four entries on the call
stack are at the base of the post.


I'm not changing the text at any point after I've done the initial set
up and I've tried setting the data variance on the osgText drawables to
DYNAMIC. But it doesn't seem to help.


Anybody have any ideas what's gone wrong here? Hopefully I've given
enough information.








msvcr80d.dll!strlen(unsigned char * buf=0x0549ef78)  Line 81  Asm


msvcp80d.dll!std::char_traits<char>::length(const char *
_First=0x00000000)  Line 559 + 0x9 bytes      C++


>(std::basic_ostream<char,std::char_traits<char> > & _Ostr={...}, const
char * _Val=0x00000000)  Line 748 + 0xc bytes C++


>(std::basic_ostream<char,std::char_traits<char> > & _Ostr={...}, const
unsigned char * _Val=0x00000000)  Line 929 + 0xd bytes C++



-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openscenegraph.org/pipermail/osg-users-openscenegraph.org/attachments/20090302/77a0e94d/attachment-0002.htm>
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: not available
URL: <http://lists.openscenegraph.org/pipermail/osg-users-openscenegraph.org/attachments/20090302/77a0e94d/attachment-0001.asc>

More information about the osg-users mailing list