Hi, Program received signal SIGSEGV, Segmentation fault. 0x085fff40 in SGGeodesy::SGGeodToCart (geod=..., cart=...) at SGGeodesy.cxx:119 119 SGGeodesy::SGGeodToCart(const SGGeod& geod, SGVec3<double>& cart) Current language: auto The current source language is "auto; currently c++". (gdb) backtrace full #0 0x085fff40 in SGGeodesy::SGGeodToCart (geod=..., cart=...) at SGGeodesy.cxx:119 h = 151.48560000000001 n = -2.9999237413571911 #1 0x08490d0a in SGVec3<double>::fromGeod (this=0x11) at /usr/local/include/simgear/math/SGVec3.hxx:140 No locals. #2 FGPositioned::cart (this=0x11) at positioned.cxx:576 No locals. #3 0x08497c32 in void std::__unguarded_linear_insert<__gnu_cxx::__normal_iterator<SGSharedPtr<FGPositioned>*, std::vector<SGSharedPtr<FGPositioned>, std::allocator<SGSharedPtr<FGPositioned> > > >, SGSharedPtr<FGPositioned>, DistanceOrdering>(__gnu_cxx::__normal_iterator<SGSharedPtr<FGPositioned>*, std::vector<SGSharedPtr<FGPositioned>, std::allocator<SGSharedPtr<FGPositioned> > > >, SGSharedPtr<FGPositioned>, DistanceOrdering) () No symbol table info available. #4 0x08497eea in void std::__insertion_sort<__gnu_cxx::__normal_iterator<SGSharedPtr<FGPositioned>*, std::vector<SGSharedPtr<FGPositioned>, std::allocator<SGSharedPtr<FGPositioned> > > >, DistanceOrdering>(__gnu_cxx::__normal_iterator<SGSharedPtr<FGPositioned>*, std::vector<SGSharedPtr<FGPositioned>, std::allocator<SGSharedPtr<FGPositioned> > > >, __gnu_cxx::__normal_iterator<SGSharedPtr<FGPositioned>*, std::vector<SGSharedPtr<FGPositioned>, std::allocator<SGSharedPtr<FGPositioned> > > >, DistanceOrdering) () No symbol table info available. #5 0x08498086 in void std::__final_insertion_sort<__gnu_cxx::__normal_iterator<SGSharedPtr<FGPositioned>*, std::vector<SGSharedPtr<FGPositioned>, std::allocator<SGSharedPtr<FGPositioned> > > >, DistanceOrdering>(__gnu_cxx::__normal_iterator<SGSharedPtr<FGPositioned>*, std::vector<SGSharedPtr<FGPositioned>, std::allocator<SGSharedPtr<FGPositioned> > > >, __gnu_cxx::__normal_iterator<SGSharedPtr<FGPositioned>*, std::vector<SGSharedPtr<FGPositioned>, std::allocator<SGSharedPtr<FGPositioned> > > >, DistanceOrdering) () No symbol table info available. #6 0x084938ff in sort<__gnu_cxx::__normal_iterator<SGSharedPtr<FGPositioned>*, std::vector<SGSharedPtr<FGPositioned>, std::allocator<SGSharedPtr<FGPositioned> > > >, DistanceOrdering> (aPos=<value optimized out>, aResult=<value optimized out>) at /usr/include/c ++/4.3/bits/stl_algo.h:4822 No locals. #7 sortByDistance (aPos=<value optimized out>, aResult=<value optimized out>) at positioned.cxx:260 No locals. #8 0x08494075 in spatialGetClosest (aPos=..., aN=1, aCutoffNm=400, aFilter=0xbffff48c) at positioned.cxx:357 result = {<std::_Vector_base<SGSharedPtr<FGPositioned>, std::allocator<SGSharedPtr<FGPositioned> > >> = { _M_impl = {<std::allocator<SGSharedPtr<FGPositioned> >> = {<__gnu_cxx::new_allocator<SGSharedPtr<FGPositioned> >> = {<No data fields>}, <No data fields>}, _M_start = 0xbffff420, _M_finish = 0x1, _M_end_of_storage = 0x14953304}}, <No data fields>} radius = 1 buck = {lon = 16356, lat = -11074, x = -42 '\326', y = -58 '\306'} lat = 49.13757569584962 lon = 0.10219223468223566 cutoffM = 1111200 #9 0x08494199 in FGPositioned::findClosest (aPos=..., aCutoffNm=400, aFilter=0xbffff48c) at positioned.cxx:679 l = {<std::_Vector_base<SGSharedPtr<FGPositioned>, std::allocator<SGSharedPtr<FGPositioned> > >> = { _M_impl = {<std::allocator<SGSharedPtr<FGPositioned> >> = {<__gnu_cxx::new_allocator<SGSharedPtr<FGPositioned> >> = {<No data fields>}, <No data fields>}, _M_start = 0x11da7e20, _M_finish = 0x11da7e28, _M_end_of_storage = 0x11da7e28}}, <No data fields>} __PRETTY_FUNCTION__ = "static FGPositionedRef FGPositioned::findClosest(const SGGeod&, double, FGPositioned::Filter*)" #10 0x083d17bc in GPS::updateReferenceNavaid (this=0xe30c1c0, dt=0.125) at gps.cxx:646 vorFilter = {<FGPositioned::Filter> = {_vptr.Filter = 0x8660968}, mType = FGPositioned::VOR} nav = {_ptr = 0x4057f256} #11 0x083d47b6 in GPS::update (this=0xe30c1c0, delta_time_sec=0.125) at gps.cxx:555 No locals. #12 0x0863e509 in SGSubsystemGroup::Member::update (this=0xe682e00, delta_time_sec=0.125) at subsystem_mgr.cxx:308 No locals. #13 0x086408fb in SGSubsystemGroup::update (this=0xe44d580, delta_time_sec=0.125) at subsystem_mgr.cxx:161 timeStamp = {_nsec = 810317619, _sec = 95703} b = -2.0250000000232831 threshold = -2.9999237413571911 i = 19 #14 0x0863e509 in SGSubsystemGroup::Member::update (this=0xe3a3a50, delta_time_sec=0.125) at subsystem_mgr.cxx:308 No locals. #15 0x086408fb in SGSubsystemGroup::update (this=0x87da93c, delta_time_sec=0.125) at subsystem_mgr.cxx:161 timeStamp = {_nsec = 810162711, _sec = 95703} b = -3.003000000026077 threshold = -2.9999237413571911 i = 3 #16 0x0807065a in fgMainLoop () at main.cxx:455 model_hz = 120 scenery_loaded = true wait_for_scenery = false throttle_hz = -2.9999237413571911 dtMax = -2.1400629510517275 t = 0x8ced8f0 visibility_meters = <value optimized out> viewPos = {_data = {-7.7325214774551046e-41, -nan(0xfffff08883018), 5.4617401417095331e-270}} geodViewPos = {_lon = 0.34908248669189645, _lat = 5.4617409268054983e-270, _elevation = -1.9981537183075542} longitude = {_ptr = 0x87dee88} latitude = {_ptr = 0x87df038} altitude = {_ptr = 0x87df108} vn_fps = {_ptr = 0x87df8f8} ve_fps = {_ptr = 0x87df9d0} vd_fps = {_ptr = 0x87dfaf0} clock_freeze = {_ptr = 0x87e3c68} cur_time_override = {_ptr = 0x87e38f0} max_simtime_per_frame = {_ptr = 0x87e7ae0} frame_signal = {_ptr = 0x8994e78} first_time = false reminder = 0.00088114100018549246 last_time = 1258137555 frames = 2 last_clock_freeze = false #17 0x080bba7c in fgOSMainLoop () at fg_os_osgviewer.cxx:172 idleFunc = 0x19 drawFunc = 0x8071550 <FGRenderer::update()> #18 0x0806fcc5 in fgMainInit (argc=3, argv=0xbffff974) at main.cxx:895 version = {static npos = 4294967295, _M_dataplus = {<std::allocator<char>> = {<__gnu_cxx::new_allocator<char>> = {<No data fields>}, <No data fields>}, _M_p = 0x87d9914 "unknown version"}} controls = 0x87ddc40 base_version = {static npos = 4294967295, _M_dataplus = {<std::allocator<char>> = {<__gnu_cxx::new_allocator<char>> = {<No data fields>}, <No data fields>}, _M_p = 0x87defcc "1.9.0"}} required_version = "1.9.0" #19 0x0806dfdf in main (argc=3, argv=0xbffff974) at bootstrap.cxx:229 No locals. (gdb) list 114 geod.setLatitudeRad(2*atan2(Z, D+sqrtDDpZZ)); 115 geod.setElevationM((k+e2-1)*sqrtDDpZZ/k); 116 } 117 118 void 119 SGGeodesy::SGGeodToCart(const SGGeod& geod, SGVec3<double>& cart) 120 { 121 // according to 122 // H. Vermeille, 123 // Direct transformation from geocentric to geodetic ccordinates,
Kind regards, Nicolas ------------------------------------------------------------------------------ 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