Ron Jensen wrote: >> Thanks, but the problem is in OSG. I have been building and installing >> debian packages. Its not the supported way to build, so when it quit >> working I didn't complain.
On 06/16/2007 05:25 PM, Martin Spott wrote: > > Ah, ok. Simply compile OSG from source and install just by "make > install" - this definitely works .... well, at least on Etch, How "definitely" is that? It reproducibly doesn't work on my Etch. It compiles and loads OK. At runtime, it puts up a splash screen, then uses 100% of the CPU for 2.3 billion CPU clock cycles, then either segfaults or aborts at sim_time_sec=0, i.e. before doing any actual simulation. This is observed with recent (a few hours old) versions of osg-2.0, simgear, plib, and fg. This is observed with a variety of aircraft, including the default c172p, the c182r, and the pa24-250. First example (abort): #0 0xb74e7947 in raise () from /lib/tls/libc.so.6 #1 0xb74e90c9 in abort () from /lib/tls/libc.so.6 #2 0xb751d08a in __libc_message () from /lib/tls/libc.so.6 #3 0xb752494f in _int_free () from /lib/tls/libc.so.6 #4 0xb75249f2 in free () from /lib/tls/libc.so.6 #5 0xb76ab3b1 in operator delete () from /usr/lib/libstdc++.so.6 #6 0xb7b8c477 in osg::DrawArrayLengths::~DrawArrayLengths () from /usr/lib/libosg.so.11 #7 0xb7e792f5 in osgUtil::Tessellator::~Tessellator () from /usr/lib/libosgUtil.so.11 #8 0xb0b5d647 in ac3d::SurfaceBin::finalize () from /usr/lib/osgPlugins-2.0.0/osgdb_ac.so #9 0xb0b53d1e in ac3d::readObject () from /usr/lib/osgPlugins-2.0.0/osgdb_ac.so #10 0xb0b54d55 in ac3d::readObject () from /usr/lib/osgPlugins-2.0.0/osgdb_ac.so #11 0xb0b55186 in ac3d::readFile () from /usr/lib/osgPlugins-2.0.0/osgdb_ac.so #12 0xb0b64592 in ReaderWriterAC::readNode () from /usr/lib/osgPlugins-2.0.0/osgdb_ac.so #13 0xb0b60cea in ReaderWriterAC::readNode () from /usr/lib/osgPlugins-2.0.0/osgdb_ac.so #14 0xb7d508af in osgDB::Registry::ReadNodeFunctor::doRead () from /usr/lib/libosgDB.so.11 #15 0xb7d4f6e7 in osgDB::Registry::read () from /usr/lib/libosgDB.so.11 #16 0xb7d4dd59 in osgDB::Registry::readImplementation () from /usr/lib/libosgDB.so.11 #17 0xb7d4e37f in osgDB::Registry::readNodeImplementation () from /usr/lib/libosgDB.so.11 #18 0x08543d7f in SGReadFileCallback::readNode (this=0x8767198, [EMAIL PROTECTED], opt=0x8766e60) at model.cxx:219 #19 0xb7d395c8 in osgDB::readNodeFile () from /usr/lib/libosgDB.so.11 #20 0x0853c4b8 in sgLoad3DModel ([EMAIL PROTECTED], [EMAIL PROTECTED], prop_root=0x8772390, sim_time_sec=0, load_panel=0x83f89e6 <load_panel(SGPropertyNode*)>, data=0x0, [EMAIL PROTECTED]) at /usr/include/osgDB/ReadFile:107 #21 0x083f89cb in fgLoad3DModelPanel () at /usr/lib/gcc/i486-linux-gnu/4.1.2/../../../../include/c++/4.1.2/bits/basic_string.h:1932 #22 0x083f80bc in FGAircraftModel::init () at /usr/lib/gcc/i486-linux-gnu/4.1.2/../../../../include/c++/4.1.2/bits/basic_string.h:1932 #23 0x0805f411 in fgIdleFunction () at ../../simgear/debug/logstream.hxx:242 #24 0x080a6272 in GLUTidle () at /usr/lib/gcc/i486-linux-gnu/4.1.2/../../../../include/c++/4.1.2/bits/basic_string.h:233 #25 0xb7a09d3a in glutMainLoop () from /usr/lib/libglut.so.3 #26 0x080a679b in fgOSMainLoop () at /usr/lib/gcc/i486-linux-gnu/4.1.2/../../../../include/c++/4.1.2/bits/basic_string.h:233 #27 0x0805ed84 in fgMainInit () at ../../simgear/debug/logstream.hxx:242 #28 0x0805deca in main () at ../../simgear/debug/logstream.hxx:242 Another example: (segv) #0 0xb74e49dc in free () from /lib/tls/libc.so.6 #1 0xb766b3b1 in operator delete () from /usr/lib/libstdc++.so.6 #2 0xb7b4c477 in osg::DrawArrayLengths::~DrawArrayLengths () from /usr/lib/libosg.so.11 #3 0xb7e392f5 in osgUtil::Tessellator::~Tessellator () from /usr/lib/libosgUtil.so.11 #4 0xb0b6d647 in ac3d::SurfaceBin::finalize () from /usr/lib/osgPlugins-2.0.0/osgdb_ac.so #5 0xb0b63d1e in ac3d::readObject () from /usr/lib/osgPlugins-2.0.0/osgdb_ac.so #6 0xb0b64d55 in ac3d::readObject () from /usr/lib/osgPlugins-2.0.0/osgdb_ac.so #7 0xb0b65186 in ac3d::readFile () from /usr/lib/osgPlugins-2.0.0/osgdb_ac.so #8 0xb0b74592 in ReaderWriterAC::readNode () from /usr/lib/osgPlugins-2.0.0/osgdb_ac.so #9 0xb0b70cea in ReaderWriterAC::readNode () from /usr/lib/osgPlugins-2.0.0/osgdb_ac.so #10 0xb7d108af in osgDB::Registry::ReadNodeFunctor::doRead () from /usr/lib/libosgDB.so.11 #11 0xb7d0f6e7 in osgDB::Registry::read () from /usr/lib/libosgDB.so.11 #12 0xb7d0dd59 in osgDB::Registry::readImplementation () from /usr/lib/libosgDB.so.11 #13 0xb7d0e37f in osgDB::Registry::readNodeImplementation () from /usr/lib/libosgDB.so.11 #14 0x08543d7f in SGReadFileCallback::readNode (this=0x8767198, [EMAIL PROTECTED], opt=0x8766e60) at model.cxx:219 #15 0xb7cf95c8 in osgDB::readNodeFile () from /usr/lib/libosgDB.so.11 #16 0x0853c4b8 in sgLoad3DModel ([EMAIL PROTECTED], [EMAIL PROTECTED], prop_root=0x8772390, sim_time_sec=0, load_panel=0x83f89e6 <load_panel(SGPropertyNode*)>, data=0x0, [EMAIL PROTECTED]) at /usr/include/osgDB/ReadFile:107 #17 0x083f89cb in fgLoad3DModelPanel () at /usr/lib/gcc/i486-linux-gnu/4.1.2/../../../../include/c++/4.1.2/bits/basic_string.h:1932 #18 0x083f80bc in FGAircraftModel::init () at /usr/lib/gcc/i486-linux-gnu/4.1.2/../../../../include/c++/4.1.2/bits/basic_string.h:1932 #19 0x0805f411 in fgIdleFunction () at ../../simgear/debug/logstream.hxx:242 #20 0x080a6272 in GLUTidle () at /usr/lib/gcc/i486-linux-gnu/4.1.2/../../../../include/c++/4.1.2/bits/basic_string.h:233 #21 0xb79c9d3a in glutMainLoop () from /usr/lib/libglut.so.3 #22 0x080a679b in fgOSMainLoop () at /usr/lib/gcc/i486-linux-gnu/4.1.2/../../../../include/c++/4.1.2/bits/basic_string.h:233 #23 0x0805ed84 in fgMainInit () at ../../simgear/debug/logstream.hxx:242 #24 0x0805deca in main () at ../../simgear/debug/logstream.hxx:242 ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Flightgear-devel mailing list Flightgear-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/flightgear-devel