On Jan 21, 2008 1:45 PM, Torsten Dreyer wrote:

> >
> > Here's one possible difference, I'm running with plib-1.8.4 ... any
> chance
> > you could try that and see if it makes a difference.  I realize a
> complete
> > ground up recompile is not trivial, but flightgear does leverage plib's
> low
> > level network code, so is it possible that a change in plib since v1.8.4is
> > causing us grief?
> I am running 1.8.4, too:
> (checked plib/ul.h)
> #define PLIB_MAJOR_VERSION 1
> #define PLIB_MINOR_VERSION 8
> #define PLIB_TINY_VERSION  4
>
> But I am still convinced, that the ground_cache object causes the crash.
> The
> gdb backtrace, the invalid pointers - everything makes sense to me. On the
> contrary this means, that the native protocol is broken since Nov 22nd
> 2004
> when the ground_cache object made its way into flight.hxx... But
> native_ctrls
> tell me, that is sometimes takes years for bugs to show up or be detected
> ;-)
>

I'm not able to replicate the problem here. :-(  I don't use --native-ctrls
very often but I use --native-fdm frequently for a variety of projects and
it has always been working well for me and seems to continue to work well.
I'm running gcc-4.1.2 here.

g++ (GCC) 4.1.2 20070925 (Red Hat 4.1.2-33)

So the problem could also be related to your newer version of gcc (perhaps
being more picky or more standards compliant.)  Or there could be a libc
difference too.

The problem could very well be in the ground cache code and something about
that code is blowing up on your system?  Often, newer versions of the gcc
compiler or compilers on other platforms expose weaknesses or problems in
code that worked fine before.  It would be really great if Mathias could
comment since he is the author of the ground cache code.  I have not looked
at that code myself in any detail.

Regards,

Curt.
-- 
Curtis Olson: http://baron.flightgear.org/~curt/
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Flightgear-devel mailing list
Flightgear-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-devel

Reply via email to