On Sun, Nov 15, 2009 at 11:18 AM, Hans Janssen <handigehan...@gmail.com> wrote:
>
> I just did a build from cvs and did a quik run on KSFO with the c172
> witch seems to be ok, but running at an airport that is not in the base
> pkg, like EHLE or EDDI, it starts but stays at the splash screen and
> it's beginning to eat memory like mad until that is all consumed than it
> starts swapping until that is full and my system becomes unresponsive.

Same here at least with KBWI, LHBP, EHAM and EGLL. Splash screen says
"Loading scenery objects".
OSG is SVN rev. 10705 boost is 1.38, FG is at git
810385cf696020648de0e9a1702b9ebfd33d636b simgear at
91e9534e3b150a3597ab9d891ccaa2eb88806c38.
Here is a gdb backtrace, they are not always the same, but the
BoundingVolume stuff seems to be there all the time.
It does seem to be progressing, because the stg file names in frame
#58 keep changing. So I assume it would eventually load the scenery if
I only had enough memory...

(gdb) bt
#0  0x0000000000ac4234 in SGVec3<unsigned int>::operator()
(this=0x7f57837d5990, i=0)
    at sg/git/simgear/math/SGVec3.hxx:59
#1  0x0000000000ac4269 in operator< <unsigned int> (v...@0x409c22c0,
v...@0x7f57837d5990)
    at sg/git/simgear/math/SGVec3.hxx:388
#2  0x0000000000ac435f in std::less<SGVec3<unsigned int> >::operator()
(this=0x7f5783812d98, _...@0x409c22c0,
    _...@0x7f57837d5990) at /usr/include/c++/4.3/bits/stl_function.h:230
#3  0x0000000000ac8a69 in std::_Rb_tree<SGVec3<unsigned int>,
SGVec3<unsigned int>, std::_Identity<SGVec3<unsigned int> >,
std::less<SGVec3<unsigned int> >, std::allocator<SGVec3<unsigned int>
> >::_M_insert_unique (this=0x7f5783812d98, _...@0x409c22c0)
    at /usr/include/c++/4.3/bits/stl_tree.h:1141
#4  0x0000000000ac8c35 in std::set<SGVec3<unsigned int>,
std::less<SGVec3<unsigned int> >, std::allocator<SGVec3<unsigned int>
> >::insert (this=0x7f5783812d98, _...@0x409c22c0) at
/usr/include/c++/4.3/bits/stl_set.h:381
#5  0x0000000000acca67 in
simgear::BVHStaticGeometryBuilder::addTriangle (this=0x7f5783812d40,
v...@0x7f5782be2b90,
    v...@0x7f5782be2b9c, v...@0x7f5782be2ba8) at
sg/git/simgear/scene/bvh/BVHStaticGeometryBuilder.hxx:112
#6  0x0000000000acccad in
simgear::BoundingVolumeBuildVisitor::PFunctor::addTriangle
(this=0x409c2f18, v...@0x7f5782be2b90,
    v...@0x7f5782be2b9c, v...@0x7f5782be2ba8) at
sg/git/simgear/scene/model/BoundingVolumeBuildVisitor.hxx:313
#7  0x0000000000accd10 in
simgear::BoundingVolumeBuildVisitor::PFunctor::addTriangle
(this=0x409c2f18, i1=1500, i2=1501,
    i3=1502) at sg/git/simgear/scene/model/BoundingVolumeBuildVisitor.hxx:298
#8  0x0000000000acd915 in
simgear::BoundingVolumeBuildVisitor::PFunctor::drawArrays
(this=0x409c2f18, mode=4, first=0,
    count=4509) at sg/git/simgear/scene/model/BoundingVolumeBuildVisitor.hxx:107
#9  0x00007f579f3ca3ff in osg::Geometry::accept (this=0xc12ca50,
funct...@0x409c2f18)
    at OpenSceneGraph/src/osg/Geometry.cpp:1365
#10 0x0000000000ac159e in
simgear::BoundingVolumeBuildVisitor::fillWith (this=0x409c2ec0,
drawable=0xc12ca50)
    at sg/git/simgear/scene/model/BoundingVolumeBuildVisitor.hxx:398
#11 0x0000000000acdc8c in simgear::BoundingVolumeBuildVisitor::apply
(this=0x409c2ec0, geo...@0x7f5794e468d0)
    at sg/git/simgear/scene/model/BoundingVolumeBuildVisitor.hxx:428
#12 0x0000000000b2c9b6 in simgear::EffectGeode::accept
(this=0x7f5794e468d0, n...@0x409c2ec0)
    at sg/git/simgear/scene/material/EffectGeode.hxx:32
#13 0x00007f579f3f8873 in osg::Group::traverse (this=0x7f5794e58020,
n...@0x409c2ec0)
    at OpenSceneGraph/src/osg/Group.cpp:62
#14 0x000000000043930b in osg::NodeVisitor::traverse (this=0x409c2ec0,
no...@0x7f5794e58020)
    at inst/osg/include/osg/NodeVisitor:191
#15 0x0000000000acc87f in
simgear::BoundingVolumeBuildVisitor::traverseAndCollect
(this=0x409c2ec0, no...@0x7f5794e58020)
    at sg/git/simgear/scene/model/BoundingVolumeBuildVisitor.hxx:492
#16 0x0000000000acc89f in simgear::BoundingVolumeBuildVisitor::apply
(this=0x409c2ec0, gro...@0x7f5794e58020)
    at sg/git/simgear/scene/model/BoundingVolumeBuildVisitor.hxx:435
#17 0x00007f579f3fa243 in osg::Group::accept (this=0x7f5794e58020,
n...@0x409c2ec0)
    at OpenSceneGraph/include/osg/Group:38
#18 0x00007f579f3f8873 in osg::Group::traverse (this=0x7f5794e58110,
n...@0x409c2ec0)
    at OpenSceneGraph/src/osg/Group.cpp:62
#19 0x000000000043930b in osg::NodeVisitor::traverse (this=0x409c2ec0,
no...@0x7f5794e58110)
    at inst/osg/include/osg/NodeVisitor:191
#20 0x0000000000acc87f in
simgear::BoundingVolumeBuildVisitor::traverseAndCollect
(this=0x409c2ec0, no...@0x7f5794e58110)
    at sg/git/simgear/scene/model/BoundingVolumeBuildVisitor.hxx:492
#21 0x0000000000acc89f in simgear::BoundingVolumeBuildVisitor::apply
(this=0x409c2ec0, gro...@0x7f5794e58110)
    at sg/git/simgear/scene/model/BoundingVolumeBuildVisitor.hxx:435
#22 0x00007f579f3fa243 in osg::Group::accept (this=0x7f5794e58110,
n...@0x409c2ec0)
    at OpenSceneGraph/include/osg/Group:38
#23 0x00007f579f3f8873 in osg::Group::traverse (this=0x1b46e4a0, 
n...@0x409c2ec0)
    at OpenSceneGraph/src/osg/Group.cpp:62
#24 0x000000000043930b in osg::NodeVisitor::traverse (this=0x409c2ec0,
no...@0x1b46e4a0)
    at inst/osg/include/osg/NodeVisitor:191
#25 0x0000000000acc77d in
simgear::BoundingVolumeBuildVisitor::traverseAndDump (this=0x409c2ec0,
no...@0x1b46e4a0)
    at sg/git/simgear/scene/model/BoundingVolumeBuildVisitor.hxx:465
#26 0x0000000000acc823 in simgear::BoundingVolumeBuildVisitor::apply
(this=0x409c2ec0, transfo...@0x1b46e4a0)
    at sg/git/simgear/scene/model/BoundingVolumeBuildVisitor.hxx:438
#27 0x00007f57a027f896 in osg::MatrixTransform::accept
(this=0x1b46e4a0, n...@0x409c2ec0)
    at OpenSceneGraph/include/osg/MatrixTransform:37
#28 0x00007f579f421a41 in osg::LOD::traverse (this=0x11507510, n...@0x409c2ec0)
    at OpenSceneGraph/src/osg/LOD.cpp:77
#29 0x000000000043930b in osg::NodeVisitor::traverse (this=0x409c2ec0,
no...@0x11507510)
    at inst/osg/include/osg/NodeVisitor:191
#30 0x0000000000acc87f in
simgear::BoundingVolumeBuildVisitor::traverseAndCollect
(this=0x409c2ec0, no...@0x11507510)
    at sg/git/simgear/scene/model/BoundingVolumeBuildVisitor.hxx:492
#31 0x0000000000acc89f in simgear::BoundingVolumeBuildVisitor::apply
(this=0x409c2ec0, gro...@0x11507510)
    at sg/git/simgear/scene/model/BoundingVolumeBuildVisitor.hxx:435
#32 0x00007f579f422386 in osg::LOD::accept (this=0x11507510,
n...@0x409c2ec0) at OpenSceneGraph/include/osg/LOD:44
#33 0x00007f579f3f8873 in osg::Group::traverse (this=0x11548b50, 
n...@0x409c2ec0)
    at OpenSceneGraph/src/osg/Group.cpp:62
#34 0x000000000043930b in osg::NodeVisitor::traverse (this=0x409c2ec0,
no...@0x11548b50)
    at inst/osg/include/osg/NodeVisitor:191
#35 0x0000000000acc87f in
simgear::BoundingVolumeBuildVisitor::traverseAndCollect
(this=0x409c2ec0, no...@0x11548b50)
    at sg/git/simgear/scene/model/BoundingVolumeBuildVisitor.hxx:492
#36 0x0000000000acc89f in simgear::BoundingVolumeBuildVisitor::apply
(this=0x409c2ec0, gro...@0x11548b50)
    at sg/git/simgear/scene/model/BoundingVolumeBuildVisitor.hxx:435
#37 0x00007f579f3fa243 in osg::Group::accept (this=0x11548b50, n...@0x409c2ec0)
    at OpenSceneGraph/include/osg/Group:38
#38 0x00007f579f3f8873 in osg::Group::traverse (this=0x185d7ba0, 
n...@0x409c2ec0)
    at OpenSceneGraph/src/osg/Group.cpp:62
#39 0x000000000043930b in osg::NodeVisitor::traverse (this=0x409c2ec0,
no...@0x185d7ba0)
    at inst/osg/include/osg/NodeVisitor:191
#40 0x0000000000acc87f in
simgear::BoundingVolumeBuildVisitor::traverseAndCollect
(this=0x409c2ec0, no...@0x185d7ba0)
    at sg/git/simgear/scene/model/BoundingVolumeBuildVisitor.hxx:492
#41 0x0000000000acc89f in simgear::BoundingVolumeBuildVisitor::apply
(this=0x409c2ec0, gro...@0x185d7ba0)
    at sg/git/simgear/scene/model/BoundingVolumeBuildVisitor.hxx:435
#42 0x00007f579f3fa243 in osg::Group::accept (this=0x185d7ba0, n...@0x409c2ec0)
    at OpenSceneGraph/include/osg/Group:38
#43 0x00007f579f421a41 in osg::LOD::traverse (this=0x1b217ff0, n...@0x409c2ec0)
    at OpenSceneGraph/src/osg/LOD.cpp:77
#44 0x000000000043930b in osg::NodeVisitor::traverse (this=0x409c2ec0,
no...@0x1b217ff0)
    at inst/osg/include/osg/NodeVisitor:191
#45 0x0000000000acc87f in
simgear::BoundingVolumeBuildVisitor::traverseAndCollect
(this=0x409c2ec0, no...@0x1b217ff0)
    at sg/git/simgear/scene/model/BoundingVolumeBuildVisitor.hxx:492
#46 0x0000000000acc89f in simgear::BoundingVolumeBuildVisitor::apply
(this=0x409c2ec0, gro...@0x1b217ff0)
    at sg/git/simgear/scene/model/BoundingVolumeBuildVisitor.hxx:435
#47 0x00007f579f422386 in osg::LOD::accept (this=0x1b217ff0,
n...@0x409c2ec0) at OpenSceneGraph/include/osg/LOD:44
#48 0x00007f579f3f8873 in osg::Group::traverse (this=0x1b4baca0, 
n...@0x409c2ec0)
    at OpenSceneGraph/src/osg/Group.cpp:62
#49 0x000000000043930b in osg::NodeVisitor::traverse (this=0x409c2ec0,
no...@0x1b4baca0)
    at inst/osg/include/osg/NodeVisitor:191
#50 0x0000000000acc77d in
simgear::BoundingVolumeBuildVisitor::traverseAndDump (this=0x409c2ec0,
no...@0x1b4baca0)
    at sg/git/simgear/scene/model/BoundingVolumeBuildVisitor.hxx:465
#51 0x0000000000acc823 in simgear::BoundingVolumeBuildVisitor::apply
(this=0x409c2ec0, transfo...@0x1b4baca0)
    at sg/git/simgear/scene/model/BoundingVolumeBuildVisitor.hxx:438
#52 0x00007f57a027f896 in osg::MatrixTransform::accept
(this=0x1b4baca0, n...@0x409c2ec0)
    at OpenSceneGraph/include/osg/MatrixTransform:37
#53 0x0000000000abfccf in simgear::BuildGroupBVHPolicy::buildBVH
(this=0x1977e4c, filena...@0x409c3790, node=0x1b4baca0)
    at sg/git/simgear/scene/model/ModelRegistry.cxx:324
#54 0x0000000000a7d724 in
simgear::ModelRegistryCallback<simgear::DefaultProcessPolicy,
simgear::NoCachePolicy, simgear::NoOptimizePolicy,
simgear::NoSubstitutePolicy, simgear::BuildGroupBVHPolicy>::readNode
(this=0x1977e40, filena...@0x409c3790,
    opt=0x7f5780f40470) at sg/git/simgear/scene/model/ModelRegistry.hxx:100
#55 0x0000000000abf1bd in simgear::ModelRegistry::readNode
(this=0x1976c30, filena...@0x409c3790, opt=0x7f5780f40470)
    at sg/git/simgear/scene/model/ModelRegistry.cxx:364
#56 0x00007f579fb2eff6 in osgDB::readNodeFile (filena...@0x409c3790,
options=0x7f5780f40470)
    at OpenSceneGraph/include/osgDB/Registry:248
#57 0x0000000000a8110c in simgear::TileEntry::obj_load
(pa...@0x409c3790, geometry=0x7f5780f40080, is_base=true,
    options=0x7f5780f40470) at sg/git/simgear/scene/tgdb/TileEntry.cxx:162
#58 0x0000000000a82575 in simgear::TileEntry::loadTileByFileName
(filena...@0x7f57940029f8, options=0xd103860)
    at sg/git/simgear/scene/tgdb/TileEntry.cxx:336
#59 0x0000000000aa6b29 in simgear::ReaderWriterSTG::readNode
(this=0x1977bd0, filena...@0x7f57940029f8, options=0xd103860)
    at sg/git/simgear/scene/tgdb/ReaderWriterSTG.cxx:59
#60 0x0000000000a83e03 in
simgear::ModelRegistryCallback<simgear::DefaultProcessPolicy,
simgear::NoCachePolicy, simgear::NoOptimizePolicy,
simgear::NoSubstitutePolicy,
simgear::BuildLeafBVHPolicy>::loadUsingReaderWriter
(filena...@0x7f57940029f8,
    opt=0xd103860) at sg/git/simgear/scene/model/ModelRegistry.hxx:115
#61 0x0000000000a83f80 in
simgear::ModelRegistryCallback<simgear::DefaultProcessPolicy,
simgear::NoCachePolicy, simgear::NoOptimizePolicy,
simgear::NoSubstitutePolicy, simgear::BuildLeafBVHPolicy>::readNode
(this=0x1977d10, filena...@0x7f57940029f8,
    opt=0xd103860) at sg/git/simgear/scene/model/ModelRegistry.hxx:92
#62 0x0000000000abf1bd in simgear::ModelRegistry::readNode
(this=0x1976c30, filena...@0x7f57940029f8, opt=0xd103860)
    at sg/git/simgear/scene/model/ModelRegistry.cxx:364
#63 0x00007f579fb015c8 in osgDB::DatabasePager::DatabaseThread::run
(this=0x1ab7870)
    at OpenSceneGraph/include/osgDB/Registry:248
#64 0x00007f579f08bc04 in
OpenThreads::ThreadPrivateActions::StartThread (data=<value optimized
out>)
    at OpenSceneGraph/src/OpenThreads/pthreads/PThread.c++:170
#65 0x00007f57a1c16fc7 in start_thread () from /lib/libpthread.so.0
#66 0x00007f579e48e5ad in clone () from /lib/libc.so.6
#67 0x0000000000000000 in ?? ()

-- 
Csaba/Jester

------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
Flightgear-devel mailing list
Flightgear-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-devel

Reply via email to