[osg-users] LOS Intersection and osgOcean segmentation fault issue.

Dario Minieri paradox at cheapnet.it
Wed Sep 14 03:17:14 PDT 2016


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



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]

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








More information about the osg-users mailing list