From: Stefan S. <ni...@de...> - 2006-11-15 15:32:15
|
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 With the CVS-HEAD version of FG I'm experiencing periodic hangs if I start at KSFO. The sim runs at about 40fps for a second, than just hangs several seconds, then it runs again. Tried to wait a few minutes to see if the hangs would disappear with time, but it does not change anything. I've been experiencing this problem since the swith to OSG and it did not change with today's version (using OSG CVS now). Appart from that everything works very well. If I start at a location which I do not have scenery for it works without any hangs and with hardly any loss of frame rate compared to the plib version (if any). During the hangs FG put's out hundreds of these warnings: Warning:: Picked up error in TriangleIntersect (2.19353 -4.90415 -1.87296, 2.11905 -4.9177 -1.96142, 2.1952 - -4.73948 -1.89497) (nan, nan, nan) Warning:: Picked up error in TriangleIntersect (2.11905 -4.9177 -1.96142, 2.11905 -4.73485 -1.97124, 2.1952 - -4.73948 -1.89497) (nan, nan, nan) Warning:: Picked up error in TriangleIntersect (2.1952 -4.73948 -1.89497, 2.45243 -4.73948 -1.90708, 2.19353 - -4.90415 -1.87296) (nan, nan, nan) The backtrace during the hang looks like this: (gdb) thread apply all bt Thread 3 (Thread -1338328160 (LWP 13441)): #0 0xffffe410 in __kernel_vsyscall () #1 0xb75312e9 in ioctl () from /lib/libc.so.6 #2 0xb6b32b20 in snd_pcm_hw_writei (pcm=0xafefdd0, buffer=0xaff2070, size=1024) at pcm_hw.c:745 #3 0xb6b2324c in snd_pcm_writei (pcm=0x400c4150, buffer=0xaff2070, size=1024) at pcm_local.h:401 #4 0xb76e116f in alsa_blitbuffer () from /usr/lib/libopenal.so.0 #5 0x0d6ab510 in ?? () #6 0x1130fce8 in ?? () #7 0x0aff2070 in ?? () #8 0xb76f7850 in ?? () from /usr/lib/libopenal.so.0 #9 0xb76f39b8 in ?? () from /usr/lib/libopenal.so.0 #10 0xb76f8860 in f_buffers () from /usr/lib/libopenal.so.0 #11 0xb03ab4b8 in ?? () #12 0xb76e4864 in _alcDeviceWrite () from /usr/lib/libopenal.so.0 #13 0x0aff2070 in ?? () #14 0x00001000 in ?? () #15 0xb76f7850 in ?? () from /usr/lib/libopenal.so.0 #16 0xb76f39b8 in ?? () from /usr/lib/libopenal.so.0 #17 0xb76e4826 in _alcDeviceWrite () from /usr/lib/libopenal.so.0 #18 0xb76c98ab in async_mixer_iterate () from /usr/lib/libopenal.so.0 #19 0xb76c9788 in async_mixer_iterate () from /usr/lib/libopenal.so.0 #20 0xb76e3a3a in Posix_ExitThread () from /usr/lib/libopenal.so.0 #21 0xb76e3a26 in Posix_ExitThread () from /usr/lib/libopenal.so.0 #22 0xb7ac434b in start_thread () from /lib/libpthread.so.0 Previous frame inner to this frame (corrupt stack?) Thread 2 (Thread -1260139616 (LWP 13438)): #0 0xffffe410 in __kernel_vsyscall () #1 0xb7ac77e6 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0 #2 0x084264da in SGPthreadCond::wait (this=0xa852a30, mutex=@0xa852a18) at /usr/local/FlightGear/include/simgear/threads/SGThread.hxx:343 #3 0x08426540 in SGBlockingQueue<FGTileEntry*>::pop (this=0xa8529ec) at /usr/local/FlightGear/include/simgear/threads/SGQueue.hxx:233 #4 0x08425a7a in FGTileLoader::LoaderThread::run (this=0xa7e3a40) at FGTileLoader.cxx:178 #5 0x085bf2e6 in start_handler (arg=0xa7e3a40) at SGThread.cxx:23 #6 0xb7ac434b in start_thread () from /lib/libpthread.so.0 #7 0xb753865e in clone () from /lib/libc.so.6 Thread 1 (Thread -1231395120 (LWP 13435)): #0 0xffffe410 in __kernel_vsyscall () #1 0xb75297fb in __write_nocancel () from /lib/libc.so.6 #2 0xb74da967 in _IO_new_file_write () from /lib/libc.so.6 #3 0xb74da655 in new_do_write () from /lib/libc.so.6 #4 0xb74da8e1 in _IO_new_file_xsputn () from /lib/libc.so.6 #5 0xb74d11bf in fwrite () from /lib/libc.so.6 #6 0xb7625ef6 in __gnu_cxx::stdio_sync_filebuf<wchar_t, std::char_traits<wchar_t> >::file () from /usr/lib/libstdc++.so.6 #7 0xb7620a21 in std::num_put<char, std::ostreambuf_iterator<char, std::char_traits<char> > >::_M_insert_float<double> () from /usr/lib/libstdc++.so.6 #8 0xb7620dde in std::num_put<char, std::ostreambuf_iterator<char, std::char_traits<char> > >::do_put () from /usr/lib/libstdc++.so.6 #9 0xb7629bca in std::ostream::operator<< () from /usr/lib/libstdc++.so.6 #10 0xb7e5ca0c in TriangleIntersect::operator() () from /usr/local/lib/libosgUtil.so #11 0xb7e5d3e8 in osg::TriangleFunctor<TriangleIntersect>::drawElements () from /usr/local/lib/libosgUtil.so #12 0xb7c30f97 in osg::DrawElementsUShort::accept () from /usr/local/lib/libosg.so #13 0xb7bd39d4 in osg::Geometry::accept () from /usr/local/lib/libosg.so #14 0xb7e5ac24 in osgUtil::IntersectVisitor::intersect () from /usr/local/lib/libosgUtil.so #15 0xb7e5b8dc in osgUtil::IntersectVisitor::apply () from /usr/local/lib/libosgUtil.so #16 0xb7bd24db in osg::Geode::accept () from /usr/local/lib/libosg.so #17 0xb7c013e4 in osg::Group::traverse () from /usr/local/lib/libosg.so #18 0xb7e5439d in osgUtil::IntersectVisitor::apply () from /usr/local/lib/libosgUtil.so #19 0xb7c02d7b in osg::Group::accept () from /usr/local/lib/libosg.so #20 0xb7c013e4 in osg::Group::traverse () from /usr/local/lib/libosg.so #21 0xb7e5439d in osgUtil::IntersectVisitor::apply () from /usr/local/lib/libosgUtil.so #22 0xb7c02d7b in osg::Group::accept () from /usr/local/lib/libosg.so #23 0xb7c013e4 in osg::Group::traverse () from /usr/local/lib/libosg.so #24 0xb7e5439d in osgUtil::IntersectVisitor::apply () from /usr/local/lib/libosgUtil.so #25 0xb7c02d7b in osg::Group::accept () from /usr/local/lib/libosg.so #26 0xb7c013e4 in osg::Group::traverse () from /usr/local/lib/libosg.so #27 0xb7e5439d in osgUtil::IntersectVisitor::apply () from /usr/local/lib/libosgUtil.so #28 0xb7c02d7b in osg::Group::accept () from /usr/local/lib/libosg.so #29 0xb7c76def in osg::Switch::traverse () from /usr/local/lib/libosg.so #30 0xb7e5439d in osgUtil::IntersectVisitor::apply () from /usr/local/lib/libosgUtil.so #31 0xb7e53bd8 in osgUtil::IntersectVisitor::apply () from /usr/local/lib/libosgUtil.so #32 0xb7c7707d in osg::Switch::accept () from /usr/local/lib/libosg.so #33 0xb7c013e4 in osg::Group::traverse () from /usr/local/lib/libosg.so #34 0xb7e573dc in osgUtil::IntersectVisitor::apply () from /usr/local/lib/libosgUtil.so #35 0x080629a3 in osg::NodeVisitor::apply (this=0xbfef10a4, node=@0xbc5e438) at /usr/local/include/osg/NodeVisitor:242 #36 0xb7c1a83b in osg::MatrixTransform::accept () from /usr/local/lib/libosg.so #37 0xb7c013e4 in osg::Group::traverse () from /usr/local/lib/libosg.so #38 0xb7e5439d in osgUtil::IntersectVisitor::apply () from /usr/local/lib/libosgUtil.so #39 0xb7c02d7b in osg::Group::accept () from /usr/local/lib/libosg.so #40 0xb7c013e4 in osg::Group::traverse () from /usr/local/lib/libosg.so #41 0xb7e573dc in osgUtil::IntersectVisitor::apply () from /usr/local/lib/libosgUtil.so #42 0x08519c63 in osg::Transform::accept (this=0xb3541d0, nv=@0xbfef10a4) at /usr/local/include/osg/Transform:79 #43 0xb7c76def in osg::Switch::traverse () from /usr/local/lib/libosg.so #44 0xb7e5439d in osgUtil::IntersectVisitor::apply () from /usr/local/lib/libosgUtil.so #45 0xb7e53bd8 in osgUtil::IntersectVisitor::apply () from /usr/local/lib/libosgUtil.so #46 0xb7c7707d in osg::Switch::accept () from /usr/local/lib/libosg.so #47 0xb7c013e4 in osg::Group::traverse () from /usr/local/lib/libosg.so #48 0xb7e5439d in osgUtil::IntersectVisitor::apply () from /usr/local/lib/libosgUtil.so #49 0xb7c02d7b in osg::Group::accept () from /usr/local/lib/libosg.so #50 0x0841c7d3 in FGScenery::get_cart_elevation_m (this=0xa852290, pos=@0xbfef1288, max_altoff=0, alt=@0xbfef13b0, material=0x0, exact=false) at scenery.cxx:168 #51 0x0841caa6 in FGScenery::get_elevation_m (this=0xa852290, lat=37.612156157629371, lon=-122.35947099235283, max_alt=20000, alt=@0xbfef13b0, material=0x0, exact=false) at scenery.cxx:139 #52 0x08477cbf in FGAIAircraft::getGroundElev (this=0xb2ffac0, dt=0.025000000000000001) at AIAircraft.cxx:957 #53 0x0847a1e8 in FGAIAircraft::Run (this=0xb2ffac0, dt=0.025000000000000001) at AIAircraft.cxx:456 #54 0x0847a58e in FGAIAircraft::update (this=0xb2ffac0, dt=0.025000000000000001) at AIAircraft.cxx:150 #55 0x08471303 in FGAIManager::update (this=0xb11b250, dt=0.025000000000000001) at AIManager.cxx:125 #56 0x08593df5 in SGSubsystemGroup::Member::update (this=0xb11b350, delta_time_sec=0.025000000000000001) at subsystem_mgr.cxx:237 #57 0x085941a1 in SGSubsystemGroup::update (this=0x8707f3c, delta_time_sec=0.025000000000000001) at subsystem_mgr.cxx:127 #58 0x08593fe6 in SGSubsystemMgr::update (this=0x8707f20, delta_time_sec=0.025000000000000001) at subsystem_mgr.cxx:297 #59 0x0805d870 in fgMainLoop () at main.cxx:507 #60 0x08096dd8 in fgOSMainLoop () at fg_os_sdl.cxx:247 #61 0x0805aff2 in fgMainInit (argc=1, argv=0xbfef1b54) at main.cxx:1029 #62 0x0805a21e in main (argc=1, argv=0xbfef1b54) at bootstrap.cxx:204 I'm on SUSE Linux 10.1 using the nvidia driver version 1.0-9625 Is there any way I can help further fixing this problem? Nine -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.2 (GNU/Linux) Comment: Using GnuPG with SUSE - http://enigmail.mozdev.org iD8DBQFFWzLk1QuEJQQMVrgRAlC0AJ9QY2VT1QNsGSfgstsdMmaGlO/VUwCfcd+H D95ftetliDkEdTVXpYD3fk8= =O+ia -----END PGP SIGNATURE----- |