[osg-users] bug: new OpenSceneGraph-3.5.5 threading...

Robert Osfield robert.osfield at gmail.com
Sat Oct 8 08:01:08 PDT 2016


HI Li,

Thanks for the stack trace.  I've spotted the bug.  The
osg::Camera::setCameraThread() method was setting attempting to set
the camera thread affinity even when the thread pointer was reset to
null.

I have just checked in a fix for this.  Could you try out the OSG git
master to double check it works fine.

Thanks,
Robert.

On 8 October 2016 at 13:16, Li Chi <s12345uperman at sohu.com> wrote:
> Hi,
>
> I just tested standard osgviewer, all things seems good, not errors happed.
>
> CompositeViewer Crash Stack Trace Here:
>
>         ot20-OpenThreadsd.dll!OpenThreads::Thread::setProcessorAffinity(const OpenThreads::Affinity & affinity) Row 617 C++
>         osg145-osgd.dll!osg::Camera::setCameraThread(osg::OperationThread * gt) Row 553 C++
>         osg145-osgViewerd.dll!osgViewer::ViewerBase::stopThreading() Row  336   C++
>         osg145-osgViewerd.dll!osgViewer::CompositeViewer::~CompositeViewer() Row  106   C++
>         [...]
>         osgsidebysided.exe!main(int argc, char * * argv) Row 261        C++
>
>
> Thank you!
>
> Cheers,
> Li
>
> ------------------
> Read this topic online here:
> http://forum.openscenegraph.org/viewtopic.php?p=68913#68913
>
>
>
>
>
> _______________________________________________
> osg-users mailing list
> osg-users at lists.openscenegraph.org
> http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org



More information about the osg-users mailing list