Hi, Program received signal SIGSEGV, Segmentation fault. [Switching to Thread 0xb6215730 (LWP 28660)] 0x085b15e0 in SGGeodesy::SGGeodToCart (ge...@0x19, ca...@0xbff93d40) at SGGeodesy.cxx:100 100 SGGeodesy::SGGeodToCart(const SGGeod& geod, SGVec3<double>& cart) (gdb) list 95 geod.setLatitudeRad(2*atan2(Z, D+sqrtDDpZZ)); 96 geod.setElevationM((k+e2-1)*sqrtDDpZZ/k); 97 } 98 99 void 100 SGGeodesy::SGGeodToCart(const SGGeod& geod, SGVec3<double>& cart) 101 { 102 // according to 103 // H. Vermeille, 104 // Direct transformation from geocentric to geodetic ccordinates, (gdb) backtrace #0 0x085b15e0 in SGGeodesy::SGGeodToCart (ge...@0x19, ca...@0xbff93d40) at SGGeodesy.cxx:100 #1 0x084698da in FGPositioned::cart (this=0x11) at /usr/local/include/simgear/math/SGVec3.hxx:191 #2 0x0846e185 in std::__unguarded_linear_insert<__gnu_cxx::__normal_iterator<SGSharedPtr<FGPositioned>*, std::vector<SGSharedPtr<FGPositioned>, std::allocator<SGSharedPtr<FGPositioned> > > >, SGSharedPtr<FGPositioned>, DistanceOrdering> (__last={_M_current = 0x17bff874}, __val={_ptr = 0xbff93e20}, __comp= {mPos = {<SGVec3Storage<double>> = {<osg::Vec3d> = {_v = {4151577.7932195272, 4433.772727001613, 4825770.8118285323}}, <No data fields>}, <No data fields>}}) at positioned.cxx:221 #3 0x0846ffe0 in std::__insertion_sort<__gnu_cxx::__normal_iterator<SGSharedPtr<FGPositioned>*, std::vector<SGSharedPtr<FGPositioned>, std::allocator<SGSharedPtr<FGPositioned> > > >, DistanceOrdering> ( __first={_M_current = 0x17bff870}, __last={_M_current = 0x17bff878}, __comp= {mPos = {<SGVec3Storage<double>> = {<osg::Vec3d> = {_v = {4151577.7932195272, 4433.772727001613, 4825770.8118285323}}, <No data fields>}, <No data fields>}}) at /usr/include/c++/4.3/bits/stl_algo.h:1785 #4 0x0847016e in std::__final_insertion_sort<__gnu_cxx::__normal_iterator<SGSharedPtr<FGPositioned>*, std::vector<SGSharedPtr<FGPositioned>, std::allocator<SGSharedPtr<FGPositioned> > > >, DistanceOrdering> (__first={_M_current = 0xbff93d40}, __last={_M_current = 0x17bff878}, __comp= {mPos = {<SGVec3Storage<double>> = {<osg::Vec3d> = {_v = {4151577.7932195272, 4433.772727001613, 4825770.8118285323}}, <No data fields>}, <No data fields>}}) at /usr/include/c++/4.3/bits/stl_algo.h:1849 #5 0x0846b57f in sortByDistance (aPos=<value optimized out>, aResult=<value optimized out>) at /usr/include/c++/4.3/bits/stl_algo.h:4822 #6 0x0846bf85 in spatialGetClosest (ap...@0xbff94200, aN=1, aCutoffNm=10000, aFilter=0xbff9421c) at positioned.cxx:328 #7 0x0846c0b9 in FGPositioned::findClosest (ap...@0xbff94200, aCutoffNm=10000, aFilter=0xbff9421c) at positioned.cxx:537 #8 0x0848ec73 in FGAirport::findClosest (ap...@0xbff94200, aCuttofNm=10000, filter=0xbff9421c) at simple.cxx:242 #9 0x0850029d in FGMetarEnvironmentCtrl::update (this=0xe26fcd8, delta_time_sec=0.51666666666666683) at environment_ctrl.cxx:708 #10 0x085efa09 in SGSubsystemGroup::Member::update (this=0xe270428, delta_time_sec=0.033333333333333333) at subsystem_mgr.cxx:306 #11 0x085f209b in SGSubsystemGroup::update (this=0xe26f170, delta_time_sec=0.033333333333333333) at subsystem_mgr.cxx:159 #12 0x084f82ea in FGEnvironmentMgr::update (this=0xe26f170, dt=0.033333333333333333) at environment_mgr.cxx:272 #13 0x085efa09 in SGSubsystemGroup::Member::update (this=0xe297970, delta_time_sec=0.033333333333333333) at subsystem_mgr.cxx:306 #14 0x085f209b in SGSubsystemGroup::update (this=0x8733ba4, delta_time_sec=0.033333333333333333) at subsystem_mgr.cxx:159 #15 0x0806cb02 in fgMainLoop () at main.cxx:460 #16 0x080afd4c in fgOSMainLoop () at fg_os_osgviewer.cxx:177 #17 0x0806c155 in fgMainInit (argc=4, argv=0xbff948c4) at main.cxx:1005 #18 0x0806a44a in main (argc=2139433809, argv=0x3fe83740) at bootstrap.cxx:177
If I find the time, I send you a fix. Regards, -- Nicolas VIVIEN ------------------------------------------------------------------------------ Crystal Reports - New Free Runtime and 30 Day Trial Check out the new simplified licensing option that enables unlimited royalty-free distribution of the report engine for externally facing server and web deployment. http://p.sf.net/sfu/businessobjects _______________________________________________ Flightgear-devel mailing list Flightgear-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/flightgear-devel