[osg-users] Open Scene Graph 3.4.0 has bug when using two monitor setup

Bruce Clay bclay1297 at gmail.com
Mon Dec 19 08:12:46 PST 2016


Robert:
  The stack trace below is the one I promised to send from work.  This system is a 8 core I7 Dell laptop running windows 7.  I am using the standard setting from the 3.4 developer release.  I have been working with osgEarth for a while and thought the crashes were coming from that but discovered the same thing when running osgViewer.  I had several issues getting Cmake to create valid solutions with osg 3.3.7 so I moved to the latest version to avoid wasting time on an old release.  I have been away from OSG for a while so  I can not say when the issue first came up.  The errors in the list are different from what I was seeing before but I did do a full rebuild to see if that fixed anything.  No matter where the crash is it always seems to be in an area of code related to threads.  Yes I do see graphic frames updated before the crash sometime it stays up longer than others before crashing.  I never have the crash though if I force single threading.  I think the code tree I am
  using if from 17 Nov. 2016.  As I recall we did not have any problems with version 3.2 but I do not have that version to go back and run the test.

Thank you!

Cheers,
Bruce

Run 1 - osgViewer cessnafire.osg
>	osg130-osgViewerd.dll!osgViewer::ViewerBase::renderingTraversals() Line 822	C++
 	osg130-osgViewerd.dll!osgViewer::ViewerBase::frame(double simulationTime) Line 687	C++
 	osg130-osgViewerd.dll!osgViewer::ViewerBase::run() Line 654	C++
 	osg130-osgViewerd.dll!osgViewer::Viewer::run() Line 421	C++
 	osgviewerd.exe!main(int argc, char * * argv) Line 181	C++
 	[External Code]	
 	[Frames below may be incorrect and/or missing, no symbols loaded for kernel32.dll]	

Run 2 - osgViewer cessnafire.osg	
>	osg130-osgd.dll!osg::ref_ptr<osg::Operation>::ref_ptr<osg::Operation>(const osg::ref_ptr<osg::Operation> & rp) Line 32	C++
 	osg130-osgd.dll!osg::OperationQueue::getNextOperation(bool blockIfEmpty) Line 89	C++
 	osg130-osgd.dll!osg::OperationThread::run() Line 418	C++
 	ot20-OpenThreadsd.dll!OpenThreads::ThreadPrivateActions::StartThread(void * data) Line 113	C++
 	[External Code]	
 	[Frames below may be incorrect and/or missing, no symbols loaded for msvcr120d.dll]	


Run 3 - osgViewer cessnafire.osg

 	04edb708()	Unknown
 	[Frames below may be incorrect and/or missing]	
>	ot20-OpenThreadsd.dll!OpenThreads::ThreadPrivateActions::StartThread(void * data) Line 113	C++
 	[External Code]	

Run 4 - osgViewer cessnafire.osg
	
>	osg130-osgd.dll!osg::ref_ptr<osg::Operation>::ref_ptr<osg::Operation>(const osg::ref_ptr<osg::Operation> & rp) Line 32	C++
 	osg130-osgd.dll!osg::OperationQueue::getNextOperation(bool blockIfEmpty) Line 89	C++
 	osg130-osgd.dll!osg::OperationThread::run() Line 418	C++
 	ot20-OpenThreadsd.dll!OpenThreads::ThreadPrivateActions::StartThread(void * data) Line 113	C++
 	[External Code]	
 	[Frames below may be incorrect and/or missing, no symbols loaded for msvcr120d.dll]	
	
Rebuilt OSG

Run 5 - osgViewer cessnafire.osg
>	osg130-osgd.dll!osg::ref_ptr<osg::Operation>::ref_ptr<osg::Operation>(const osg::ref_ptr<osg::Operation> & rp) Line 32	C++
 	osg130-osgd.dll!osg::OperationQueue::getNextOperation(bool blockIfEmpty) Line 89	C++
 	osg130-osgd.dll!osg::OperationThread::run() Line 418	C++
 	ot20-OpenThreadsd.dll!OpenThreads::ThreadPrivateActions::StartThread(void * data) Line 113	C++
 	[External Code]	
 	[Frames below may be incorrect and/or missing, no symbols loaded for msvcr120d.dll]	


Run 6 - osgViewer cessnafire.osg	
>	osg130-osgUtild.dll!osgUtil::PositionalStateContainer::draw(osg::State & state, osgUtil::RenderLeaf * & previous, const osg::Matrixd * postMultMatrix) Line 64	C++
 	osg130-osgUtild.dll!osgUtil::RenderStage::drawImplementation(osg::RenderInfo & renderInfo, osgUtil::RenderLeaf * & previous) Line 1404	C++
 	osg130-osgUtild.dll!osgUtil::RenderBin::draw(osg::RenderInfo & renderInfo, osgUtil::RenderLeaf * & previous) Line 430	C++
 	osg130-osgUtild.dll!osgUtil::RenderStage::drawInner(osg::RenderInfo & renderInfo, osgUtil::RenderLeaf * & previous, bool & doCopyTexture) Line 940	C++
 	osg130-osgUtild.dll!osgUtil::RenderStage::draw(osg::RenderInfo & renderInfo, osgUtil::RenderLeaf * & previous) Line 1249	C++
 	osg130-osgUtild.dll!osgUtil::SceneView::draw() Line 1366	C++
 	osg130-osgViewerd.dll!osgViewer::Renderer::draw() Line 751	C++
 	osg130-osgViewerd.dll!osgViewer::Renderer::operator()(osg::GraphicsContext * __formal) Line 911	C++
 	osg130-osgd.dll!osg::GraphicsContext::runOperations() Line 771	C++
 	osg130-osgd.dll!osg::RunOperations::operator()(osg::GraphicsContext * context) Line 139	C++
 	osg130-osgd.dll!osg::GraphicsOperation::operator()(osg::Object * object) Line 53	C++
 	osg130-osgd.dll!osg::OperationThread::run() Line 432	C++
 	osg130-osgd.dll!osg::GraphicsThread::run() Line 41	C++
 	ot20-OpenThreadsd.dll!OpenThreads::ThreadPrivateActions::StartThread(void * data) Line 113	C++
 	[External Code]	
 	[Frames below may be incorrect and/or missing, no symbols loaded for msvcr120d.dll]	
	
Run 7 - osgViewer cessnafire.osg	
>	osg130-osgd.dll!osg::ref_ptr<osg::Operation>::ref_ptr<osg::Operation>(const osg::ref_ptr<osg::Operation> & rp) Line 32	C++
 	osg130-osgd.dll!osg::OperationQueue::getNextOperation(bool blockIfEmpty) Line 89	C++
 	osg130-osgd.dll!osg::OperationThread::run() Line 418	C++
 	ot20-OpenThreadsd.dll!OpenThreads::ThreadPrivateActions::StartThread(void * data) Line 113	C++
 	[External Code]	
 	[Frames below may be incorrect and/or missing, no symbols loaded for msvcr120d.dll]	


Run 8 - osgViewer cessnafire.osg	
>	osg130-osgd.dll!osg::ref_ptr<osg::Operation>::ref_ptr<osg::Operation>(const osg::ref_ptr<osg::Operation> & rp) Line 32	C++
 	osg130-osgd.dll!osg::OperationQueue::getNextOperation(bool blockIfEmpty) Line 89	C++
 	osg130-osgd.dll!osg::OperationThread::run() Line 418	C++
 	ot20-OpenThreadsd.dll!OpenThreads::ThreadPrivateActions::StartThread(void * data) Line 113	C++
 	[External Code]	
 	[Frames below may be incorrect and/or missing, no symbols loaded for msvcr120d.dll]

------------------
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=69709#69709








More information about the osg-users mailing list