[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
Thu Aug 6 09:08:17 PDT 2015


Hi Curtis,

On 5 August 2015 at 18:19, Curtis Rubel <crubel at compro.net> wrote:

> Just tested the trunk from a svn co from about 1 hour ago,
> with my test osgviewerQT.cpp source.
>
> Still getting a segv when running it.  I was running in release
> mode for this test so cannot verify if its exactly the same fault
> or not....but it would seem that there is still some sort of issue
> with this.
>
> I will rebuild in debug mode as soon as I have some more free time
> and check to see if its the same bug or something different as
> I saw before.
>

I have just added some more checks into src/osgText/Text.cpp so that it
should mange the chached coordinate arrays more robustly, your example no
longer crashes like it was prior these latest changes.  This fixes are now
checked into svn/trunk and the OSG-3.4 branch and part of the
OSG-3.4.0-rc10.

While your example doesn't crash for me now, it hangs in the swap buffers,
without even a window appearing on screen so it looks like there are other
problems with this particular example unrelated to the osgText issue that
is hopefully now resolved.  I'm no Qt expert so am not about to dive into
why your example doesn't bring up a context correctly.

Could you please try out OSG svn/trunk, OSG-3.4 branch or the 3.4.0-rc10
and let me know if your text usage now works with your application.

Robert.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openscenegraph.org/pipermail/osg-users-openscenegraph.org/attachments/20150806/eb14c37a/attachment-0003.htm>


More information about the osg-users mailing list