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 <[email protected]> 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
> [email protected]
> http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to