[osg-users] Segfault occuring in -- void Text::drawImplementation(osg::State& state, const osg::Vec4& colorMultiplier) const -- after updating from osg 3.3.1 to the current trunk

Robert Osfield robert.osfield at gmail.com
Tue Jun 16 09:47:00 PDT 2015

Hi Curtis,

I have just tried your modified example, had to fix a compile error with
the #include<osgcamera.h>, did you even compile the code?

Anyway the code seg faults in osgText as you suggest.

I haven't had a chance to look into why this happening, my guess is that
osgQt isn't initializing the number of graphics context correctly so that
the buffers aren't being initialized the correct size.


On 1 May 2015 at 21:33, Curtis Rubel <crubel at compro.net> wrote:

> Robert,
> One other thing to mention, I have another application that is pure OSG
> that is to say it is NOT using an QT widgets and it is doing basically the
> same thing as the QT app that I have and it runs OK as far as I can tell.
> The example code I sent you that is failing is also based on the
> osgviewerQT example.
> I am running QT 5.4.1 right now on my OpenSuSE 64bit linux system
> in case you need that level of information to isolate the issue.
> Another co-worker is running on MacOS and has told me that he is getting
> the same segv on his system so does not seem to be Linux specific.
> ...
> Thank you!
> Cheers,
> Curtis
> ------------------
> Read this topic online here:
> http://forum.openscenegraph.org/viewtopic.php?p=63604#63604
> _______________________________________________
> osg-users mailing list
> osg-users at lists.openscenegraph.org
> http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openscenegraph.org/pipermail/osg-users-openscenegraph.org/attachments/20150616/3b61981b/attachment-0003.htm>

More information about the osg-users mailing list