OpenSceneGraph Forum Forum Index OpenSceneGraph Forum
Official forum which mirrors the existent OSG mailing lists. Messages posted here are forwarded to the mailing list and vice versa.
 
   FAQFAQ    SearchSearch    MemberlistMemberlist    RulesRules    UsergroupsUsergroups    RegisterRegister 
 Mail2Forum SettingsMail2Forum Settings  ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 
   AlbumAlbum  OpenSceneGraph IRC ChatOpenSceneGraph IRC Chat   SmartFeedSmartFeed 

LOS Intersection and osgOcean segmentation fault issue.


 
Post new topic   Reply to topic    OpenSceneGraph Forum Forum Index -> General
View previous topic :: View next topic  
Author Message
Paradox
Appreciator


Joined: 19 Apr 2010
Posts: 132

PostPosted: Wed Sep 14, 2016 10:17 am    Post subject:
LOS Intersection and osgOcean segmentation fault issue.
Reply with quote

Hi,

I'm experiencing some problem using LOS with osgOcean. Executing LOS with osgOcean enabled there are some strange segmentation fault that speak about LOS intersection visitor and osgOcean main traverse. The traceback isn't the same at all times, but is something like that:

Code:

0  0x00007ffff3370efa in osg::Group::traverse (this=0xd66fd0, nv=...) at
/Sources/OpenSceneGraph-3.2.3/src/osg/Group.cpp:62
#1  0x00007ffff1eb3073 in osgOcean::OceanScene::traverse (this=0xd66fd0,
nv=...) at ../../../src/osgOcean/OceanScene.cpp:1081
#2  0x00007ffff749cd65 in osg::NodeVisitor::traverse (this=0x7fffc1458860,
node=...) at /usr/local/include/osg/NodeVisitor:193
#3  0x00007ffff00994d5 in osgUtil::IntersectionVisitor::apply
(this=0x7fffc1458860, group=...) at
/Sources/OpenSceneGraph-3.2.3/src/osgUtil/IntersectionVisitor.cpp:221
#4  0x00007ffff337213a in osg::Group::accept (this=0xd66fd0, nv=...) at
/Sources/OpenSceneGraph-3.2.3/include/osg/Group:38
#5  0x00007ffff3370f13 in osg::Group::traverse (this=0xcd59b0, nv=...) at
/Sources/OpenSceneGraph-3.2.3/src/osg/Group.cpp:62
#6  0x00007ffff749cd65 in osg::NodeVisitor::traverse (this=0x7fffc1458860,
node=...) at /usr/local/include/osg/NodeVisitor:193
#7  0x00007ffff00994d5 in osgUtil::IntersectionVisitor::apply
(this=0x7fffc1458860, group=...) at
/Sources/OpenSceneGraph-3.2.3/src/osgUtil/IntersectionVisitor.cpp:221
#8  0x00007ffff337213a in osg::Group::accept (this=0xcd59b0, nv=...) at
/Sources/OpenSceneGraph-3.2.3/include/osg/Group:38
#9  0x00007ffff3370f13 in osg::Group::traverse (this=0xe084d0, nv=...) at
/Sources/OpenSceneGraph-3.2.3/src/osg/Group.cpp:62
#10 0x00007ffff749cd65 in osg::NodeVisitor::traverse (this=0x7fffc1458860,
node=...) at /usr/local/include/osg/NodeVisitor:193
#11 0x00007ffff00994d5 in osgUtil::IntersectionVisitor::apply
(this=0x7fffc1458860, group=...) at
/Sources/OpenSceneGraph-3.2.3/src/osgUtil/IntersectionVisitor.cpp:221
#12 0x00007ffff337213a in osg::Group::accept (this=0xe084d0, nv=...) at
/Sources/OpenSceneGraph-3.2.3/include/osg/Group:38
#13 0x00007ffff095c6ff in osgSim::LineOfSight::computeIntersections
(this=0x7fffc1458840, scene=0xe084d0, traversalMask=4294967184)
    at
/Sources/OpenSceneGraph-3.2.3/src/osgSim/LineOfSight.cpp:123
#14 0x00007ffff095c9d3 in osgSim::LineOfSight::computeIntersections
(scene=0xe084d0, start=..., end=..., traversalMask=4294967184)
    at
/Sources/OpenSceneGraph-3.2.3/src/osgSim/LineOfSight.cpp:156


Sometimes the trace is this one:

Code:

#1  0x00007ffff33dc9c8 in osg::Texture::applyTexParameters(unsigned int, osg::State&) const () from /usr/local/lib/libosg.so.100
#2  0x00007ffff33d2ae4 in osg::Texture2D::apply(osg::State&) const () from /usr/local/lib/libosg.so.100
#3  0x00007ffff33aeee2 in osg::State::applyAttributeOnTexUnit(unsigned int, osg::StateAttribute const*, osg::State::AttributeStack&) ()
   from /usr/local/lib/libosg.so.100
#4  0x00007ffff33b23ce in osg::State::applyAttributeListOnTexUnit(unsigned int, std::map<std::pair<osg::StateAttribute::Type, unsigned int>, osg::State::AttributeStack, std::less<std::pair<osg::StateAttribute::Type, unsigned int> >, std::allocator<std::pair<std::pair<osg::StateAttribute::Type, unsigned int> const, osg::State::AttributeStack> > >&, std::map<std::pair<osg::StateAttribute::Type, unsigned int>, std::pair<osg::ref_ptr<osg::StateAttribute>, unsigned int>, std::less<std::pair<osg::StateAttribute::Type, unsigned int> >, std::allocator<std::pair<std::pair<osg::StateAttribute::Type, unsigned int> const, std::pair<osg::ref_ptr<osg::StateAttribute>, unsigned int> > > > const&) () from /usr/local/lib/libosg.so.100
#5  0x00007ffff33acb5b in osg::State::apply(osg::StateSet const*) () from /usr/local/lib/libosg.so.100
#6  0x00007fffef97f354 in osgUtil::RenderLeaf::render(osg::RenderInfo&, osgUtil::RenderLeaf*) () from /usr/local/lib/libosgUtil.so.100
#7  0x00007fffef979fa0 in osgUtil::RenderBin::drawImplementation(osg::RenderInfo&, osgUtil::RenderLeaf*&) () from /usr/local/lib/libosgUtil.so.100
#8  0x00007fffef979fe4 in osgUtil::RenderBin::drawImplementation(osg::RenderInfo&, osgUtil::RenderLeaf*&) () from /usr/local/lib/libosgUtil.so.100
#9  0x00007fffef984e8f in osgUtil::RenderStage::drawImplementation(osg::RenderInfo&, osgUtil::RenderLeaf*&) () from /usr/local/lib/libosgUtil.so.100
#10 0x00007fffef9835c6 in osgUtil::RenderStage::drawInner(osg::RenderInfo&, osgUtil::RenderLeaf*&, bool&) () from /usr/local/lib/libosgUtil.so.100
#11 0x00007fffef98477a in osgUtil::RenderStage::draw(osg::RenderInfo&, osgUtil::RenderLeaf*&) () from /usr/local/lib/libosgUtil.so.100
#12 0x00007fffef98e5b2 in osgUtil::SceneView::draw() () from /usr/local/lib/libosgUtil.so.100
#13 0x00007fffeebb720f in osgViewer::Renderer::cull_draw() () from /usr/local/lib/libosgViewer.so.100
#14 0x00007ffff32e6799 in osg::GraphicsContext::runOperations() () from /usr/local/lib/libosg.so.100
#15 0x00007fffeebea07b in osgViewer::ViewerBase::renderingTraversals() () from /usr/local/lib/libosgViewer.so.100
#16 0x00007fffeebe74c1 in osgViewer::ViewerBase::run() () from /usr/local/lib/libosgViewer.so.100


Seems to be some side-effect interaction among visitors. Disabling osgOcean the segmentation fault doesn't appear.

Have you noted a problem like that?

Thank you!

Cheers,
Dario[/code]


Last edited by Paradox on Thu Oct 27, 2016 9:59 am; edited 1 time in total
Back to top
View user's profile Send private message
Paradox
Appreciator


Joined: 19 Apr 2010
Posts: 132

PostPosted: Thu Oct 27, 2016 9:03 am    Post subject:
Reply with quote

Hi,

No ideas? Confused Sad

Thank you!

Cheers,
Dario
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    OpenSceneGraph Forum Forum Index -> General All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You cannot download files in this forum

Similar Topics
Topic Author Forum Replies Posted
No new posts osg-users Digest, Vol 138, Issue 27 Zachary1234 General 0 Tue Jan 01, 2019 1:16 am View latest post
No new posts DrawCallback serialization issue jumaroch General 1 Tue Nov 27, 2018 2:26 pm View latest post
No new posts DrawCallback serialization issue jumaroch General 0 Tue Nov 27, 2018 1:44 pm View latest post
No new posts DrawCallback serialization issue jumaroch General 0 Tue Nov 27, 2018 1:43 pm View latest post
No new posts DrawCallback serialization issue jumaroch General 0 Tue Nov 27, 2018 1:12 pm View latest post


Board Security Anti Bot Question MOD - phpBB MOD against Spam Bots
Powered by phpBB © 2001, 2005 phpBB Group
Protected by Anti-Spam ACP