[Flightgear-devel] Continued Cygwin problems
Hello again, Definitely getting the feeling that Cygwin doesn't like me. Linux builds and runs FlightGear with no problem, and Norman's fgfs.exe runs nicely here under Win98. But Cygwin keeps falling short. Started with updating todays cvs of base package, SimGear, and FlightGear. Have plib of 11/26/02 to avoid entanglement with the js changes of recent days. Ran autogen.sh, configure, make clean, make and make install on all packages. With only the 1-line patch to SimGear's configure.am to bypass the X11 tree, compilation of all parts was successful. Attempting to run brought back that familiar segmentation fault. For variety, the leadin to the fault was a bit different. The following lines were copied from scribbled notes at the other machine scheduling needed tiles for -122.358 37.6117 load() base = /cygdrive/d/FlightGear/Scenery loading tile /cygdrive/d/FlightGear/Scenery/w010n00/w001n00/2938503 and then the inevitable stackdump. Looks like it knew the default area, but wound up looking for the tiles in the all zero coord. leaf. How did it get lost? The other question is how do I resolve addresses to symbols under Cygwin? The stack dump is not all that useful to me in only hex format. -- Bill Earnest wde3@ptd-dot-net Linux Powered Allentown, PA, USA Computers, like air conditioners, work poorly with Windows open. ___ Flightgear-devel mailing list [EMAIL PROTECTED] http://mail.flightgear.org/mailman/listinfo/flightgear-devel
Re: [Flightgear-devel] Continued Cygwin problems
William Earnest writes: Definitely getting the feeling that Cygwin doesn't like me. For variety, the leadin to the fault was a bit different. The following lines were copied from scribbled notes at the other machine scheduling needed tiles for -122.358 37.6117 load() base = /cygdrive/d/FlightGear/Scenery loading tile /cygdrive/d/FlightGear/Scenery/w010n00/w001n00/2938503 Hmm... I just saw this the other day too ... are you running this from a Cygwin shell ? what is % echo $FGROOT The other question is how do I resolve addresses to symbols under Cygwin? The stack dump is not all that useful to me in only hex format. I have never found this file very useful Try running fgfs under gdb % gdb $FULLPATH_TO_fgfs.exe This should help Norman ___ Flightgear-devel mailing list [EMAIL PROTECTED] http://mail.flightgear.org/mailman/listinfo/flightgear-devel
Re: [Flightgear-devel] Continued Cygwin problems
Norman Vine wrote: William Earnest writes: The other question is how do I resolve addresses to symbols under Cygwin? The stack dump is not all that useful to me in only hex format. I have never found this file very useful but you can use addr2line to decode the hex numbers Its use is allways a bit confusing to me basically % addr2line -e $FULL_PATH_TO_EXE -f hex number to decode I think you need to add a 0x prefix % info addr2line Norman ___ Flightgear-devel mailing list [EMAIL PROTECTED] http://mail.flightgear.org/mailman/listinfo/flightgear-devel
Re: [Flightgear-devel] Continued Cygwin problems
Norman Vine wrote: Norman Vine wrote: William Earnest writes: The other question is how do I resolve addresses to symbols under Cygwin? The stack dump is not all that useful to me in only hex format. I have never found this file very useful but you can use addr2line to decode the hex numbers Its use is allways a bit confusing to me basically % addr2line -e $FULL_PATH_TO_EXE -f hex number to decode I think you need to add a 0x prefix % info addr2line Norman ___ Flightgear-devel mailing list [EMAIL PROTECTED] http://mail.flightgear.org/mailman/listinfo/flightgear-devel Norman, Thanks for the hints. Will try addr2line shortly. I had set the fg-root in my .fgfsrc, and it was being used throughout the startup. I also had an entry for the scenery directory, and hadn't edited it to match, but fixing that does not change the odd tile value. In any case, I would expect to start up sitting on water with no such tile found. All the rest of the startup dialog has reasonable values and no complaints. -- Bill Earnest wde3@ptd-dot-net Linux Powered Allentown, PA, USA Computers, like air conditioners, work poorly with Windows open. ___ Flightgear-devel mailing list [EMAIL PROTECTED] http://mail.flightgear.org/mailman/listinfo/flightgear-devel