On Jan 13, 2010, at 5:14 AM, Jari Häkkinen wrote:
> With the new GUI files the amount of output from the launcher decreased 
> dramatically:
(snip)
> Starting fgfs.sh with --browser-app=open
> shell: current dir: /Applications/FlightGear.app/Contents/Resources
> /Applications/FlightGear.app/Contents/Resources/FlightGearController.rb:47:in 
> `initialize': Ruby threads cannot be used in RubyCocoa without patches to the 
> Ruby interpreter
> Exiting fgfs.sh
>

Good to hear you don't see GUI crash at least. :-)
The Ruby related errors / warnings can be ignored.

>
> The first batch of lines appear when starting the launcher. Clicking Start 
> flight triggers the output from 'Starting fgfs.sh ...' onwards.
> The launcher newer dies but I have not done extensive testing but changed 
> airplane and airport, saved my preferred settings.
>
> I ran fgfs.sh with the following three commands
>
> ./fgfs.sg --log-level=info generated log1.txt.gz
> OSG_NOTIFY_LEVEL=info ./fgfs.sh generated log2.txt.gz
> OSG_NOTIFY_LEVEL=debug ./fgfs.sh generated log3.txt.gz
>
> I hope these files contains some clues.

Hmm, The logs say that FG got unexpected exception. I guess either JSB or OSG 
threw an exception but FG didn't recognize it....
One easy investigation on this is to download the Xcode projects for 2.0.0-pre1 
and build it on your end with debug option,
Then you can use gdb to monitor the try - catch closures in main() to see what 
actually is thrown.

You can get the 2.0.0-pre1 xcode projects + patches using:
svn co 
https://macflightgear.svn.sourceforge.net/svnroot/macflightgear/branches/2.0.0 

Running 
localbuild.sh --skip=libs --debug 

will generate the debug version of fgfs at /usr/local/FlightGear/bin
PLIB and SimGear are also installed in /usr/local/Simgear and /usr/local/PLIB. 
OSG will be installed under /Library/Frameworks


> No OSG crashes for my own builds. My FG is quite stable but I rarely run it 
> more than 30 minutes per session. I run g++ 4.2.1 but in 64-bit mode. Maybe 
> this is the difference?


Not that sure, but this is compiler related issue, I believe.
Could you build an osg-svn or osg-2.9.6 with 32-bit carbon config for me?
I really want to try if this really is a compiler issue.

Best,

Tat
------------------------------------------------------------------------------
This SF.Net email is sponsored by the Verizon Developer Community
Take advantage of Verizon's best-in-class app development support
A streamlined, 14 day to market process makes app distribution fast and easy
Join now and get one step closer to millions of Verizon customers
http://p.sf.net/sfu/verizon-dev2dev 
_______________________________________________
Flightgear-users mailing list
Flightgear-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-users

Reply via email to