Summary
This section shows you success/failuer of FlightGearMacOSX-DevOSG package. The date at each cell shows when the source files is checked out from cvs/svn repository (or the date of nightly tar-ball). '-' means that the source files on the build date are used.
As of Dec. 22, 2006, you should download Xcode package on tags/DevOSG-20061207, and checkout the OSG/CVS with -D2006-12-08 to run FlightGear-CVS/OSG without runtime errors.
| Build date | Result | FlightGearMacOSX | OSG | SimGear | PLIB | FlightGear |
| Build date | Result | FlightGearMacOSX | OSG | SimGear | PLIB | FlightGear |
| 20061112 | Success | - | - | - | - | - |
| 20061203 | Success | - | - | - | - | - |
| 20061204 | Success | - | - | - | - | - |
| 20061207 | Success | - | - | - | - | - |
| 20061216 | Bus error | 20061207 | - | - | - | - |
| 20061216 | Success | 20061207 | 20061208 | - | - | - |
| 20061222 | Compilation error | 20061207 | - | - | - | - |
| 20061222 | Bus error | svn-rev116 | - | - | - | - |
| 20061222 | Bus error | svn-rev116 | 20061208 | - | - | - |
| 20070109 | Success | - | - | - | - | - |
Detail Error info
20061216
Successfully built with FlightGear Mac OS X svn repository (tag: DevOSG-20061207), but crashed at the Splash-screen (loading Aircraft) by the Bus error at osg::ref_pot<osg::Drawable>::get().
gdb error info
Program received signal EXC_BAD_ACCESS, Could not access memory. Reason: KERN_PROTECTION_FAILURE at address: 0x00000000 0x004582d4 in osg::Node::getBound () (gdb) info stack #0 0x004582d4 in osg::Node::getBound at Node:268 #1 0x00458e94 in GroundCacheFillVisitor::enterNode at groundcache.cxx:355 #2 0x00459d0b in GroundCacheFillVisitor::apply at groundcache.cxx:413 #3 0x1ff52a15 in osg::LOD::traverse #4 0x003e0e07 in osg::NodeVisitor::traverse at NodeVisitor:180 #5 0x0045944b in GroundCacheFillVisitor::apply at groundcache.cxx:430 #6 0x003e116f in osg::NodeVisitor::apply at NodeVisitor:247 #7 0x20013ea7 in std::for_each<__gnu_cxx::__normal_iterator<osg::ref_ptr<osg::Node>*, std::vector<osg::ref_ptr<osg::Node>, std::allocator<osg::ref_ptr<osg::Node> > > >, osg::NodeAcceptOp> #8 0x1ff4a072 in osg::Group::traverse #9 0x003e0e07 in osg::NodeVisitor::traverse at NodeVisitor:180 #10 0x00459290 in GroundCacheFillVisitor::apply at groundcache.cxx:455 #11 0x004c8be7 in osg::Transform::accept at hud.hxx:703 #12 0x1ff4a072 in osg::Group::traverse #13 0x003e0e07 in osg::NodeVisitor::traverse at NodeVisitor:180 #14 0x0045944b in GroundCacheFillVisitor::apply at groundcache.cxx:430 #15 0x003e0f77 in osg::NodeVisitor::apply at NodeVisitor:229 #16 0x20011cc3 in std::vector<std::set<std::string, std::less<std::string>, std::allocator<std::string> >, std::allocator<std::set<std::string, std::less<std::string>, std::allocator<std::string> > > >::_M_fill_insert #17 0x1ff4a072 in osg::Group::traverse #18 0x003e0e07 in osg::NodeVisitor::traverse at NodeVisitor:180 #19 0x0045944b in GroundCacheFillVisitor::apply at groundcache.cxx:430 #20 0x003e0f77 in osg::NodeVisitor::apply at NodeVisitor:229 #21 0x20011cc3 in std::vector<std::set<std::string, std::less<std::string>, std::allocator<std::string> >, s td::allocator<std::set<std::string, std::less<std::string>, std::allocator<std::string> > > >::_M_fill_insert #22 0x000dee03 in FGGroundCache::prepare_ground_cache at groundcache.cxx:691 #23 0x00032a52 in FGInterface::prepare_ground_cache_m at sg_geodesy.hxx:803 #24 0x00032bea in FGInterface::get_groundlevel_m at flight.cxx:963 #25 0x00033a3a in FGInterface::common_init at flight.cxx:220 #26 0x000b62f0 in FGJSBsim::init at JSBSim.cxx:328 #27 0x000035ee in fgUpdateTimeDepCalcs at main.cxx:144 #28 0x00004973 in fgMainLoop at main.cxx:488 #29 0x00007330 in GLUTidle at fg_os.cxx:122 #30 0x970b372f in -[GLUTApplication run] #31 0x970c3dee in glutMainLoop #32 0x000073df in fgOSMainLoop at fg_os.cxx:154 #33 0x00006f70 in fgMainInit at main.cxx:1029 #34 0x000031d9 in main at bootstrap.cxx:204
Hmmm, it seems osg has something to do with this error though I didn't see any files, which contain the methods that are shown in the stack list, have been updated within a week... Okay, get the OSG on 2006/12/08 to see if it works...... and YES, it worked. This means either OSG or some FG/SG class that uses OSG is wrong.
20061222
Successfully built with FlightGear Mac OS X svn repository (rev 116), but crashed at the Splash-screen (loading Aircraft) by the Bus error at osg::ref_ptr<osg::Viewport>::get(). I'm not sure the problem is in FlightGear or OSG, but this problem is caused by the changes made to FlightGear from Dec. 16 because this error occurs on the build with OSG-20061208 too.
gdb error info
Program received signal EXC_BAD_ACCESS, Could not access memory. Reason: KERN_PROTECTION_FAILURE at address: 0x000000f4 0x003e1169 in osg::ref_ptr<osg::Viewport>::get () (gdb) info stack #0 0x003e1169 in osg::ref_ptr<osg::Viewport>::get () #1 0x003e1186 in osg::Camera::getViewport () #2 0x003e180a in osgUtil::SceneView::getViewport () #3 0x0002cb08 in FGRenderer::resize () #4 0x00006d65 in GLUTreshape () #5 0x970a7abd in -[GLUTView _commonReshape] () #6 0x970a7b34 in -[GLUTView drawRect:] () #7 0x932fc3b1 in -[NSView _drawRect:clip:] () #8 0x932fb40b in -[NSView _recursiveDisplayAllDirtyWithLockFocus:visRect:] () #9 0x9330d36f in _recursiveDisplayInRect2 () #10 0x9083bb70 in CFArrayApplyFunction () #11 0x932fb613 in -[NSView _recursiveDisplayAllDirtyWithLockFocus:visRect:] () #12 0x932fa473 in -[NSView_recursiveDisplayRectIfNeededIgnoringOpacity:isVisibleRect:rectIsVisibleRectForView:topView:] () #13 0x932f9b78 in -[NSThemeFrame_recursiveDisplayRectIfNeededIgnoringOpacity:isVisibleRect:rectIsVisibleRectForView:topView:]() #14 0x932f9362 in -[NSView _displayRectIgnoringOpacity:isVisibleRect:rectIsVisibleRectForView:] () #15 0x932f8c8e in -[NSView displayIfNeeded] () #16 0x932f8a32 in -[NSWindow displayIfNeeded] () #17 0x9329e378 in -[NSWindow _reallyDoOrderWindow:relativeTo:findKey:forCounter:force:isModal:] () #18 0x9329de5e in -[NSWindow orderWindow:relativeTo:] () #19 0x970a5c09 in -[GLUTWindow orderWindow:relativeTo:] () #20 0x932f4fa8 in -[NSWindow makeKeyAndOrderFront:] () #21 0x970aa6a8 in -[GLUTView handleWorkEvent:] () #22 0x970c4387 in processWindowWorkList () #23 0x970c43ef in __glutProcessWorkEvents () #24 0x970b36f1 in -[GLUTApplication run] () #25 0x970c3dee in glutMainLoop () #26 0x00006d9f in fgOSMainLoop () #27 0x00006930 in fgMainInit () #28 0x00002b99 in main ()