Alex,
It looks like there definitely is some sort of memory corruption going
on with your system. It's strange that this isn't more widely
reported if it is a problem with the code. globals->get_props()
can't be non-zero at this point in the code. Are you running out of
RAM or something?
main.cxx line # 1431 is where globals is created. Could you print out
the value right after that to see if the 'new' was successful? If
it's breaking down there, you aren't going to get much further before
the code crashes.
Curt.
Alex Romosan writes:
> "Curtis L. Olson" <[EMAIL PROTECTED]> writes:
>
> > Have you tried recompiling simgear and flightgear completely from
> > scratch?
>
> i recompiled everything from scratch, same problem. i've trying to
> debug this with gdb for the past 2 hrs with no success. it looks to me
> like the problem is with the property manager. somehow values get
> overwritten. when we try to set the default values in fgSetDefaults()
> we call fgSetDouble("/position/longitude-deg", -110.6642444); which in
> turn calls globals->get_props()->setDoubleValue(name, val);
>
> problem 1: globals->get_props() returns 0 but this should be
> initialized.
>
> problem 2: if i look at the string value in setDoubleValue() i get
>
> Breakpoint 3, SGPropertyNode::setDoubleValue (this=0x0,
> relative_path=@0xbffff3e4, value=-110.6642444) at props.cxx:1509
> 1509 return getNode(relative_path, true)->setDoubleValue(value);
> (gdb) p relative_path
> $5 = (string &) @0xbffff3e4: {static npos = 4294967295, static nilRep = {
> len = 0, res = 0, ref = 43, selfish = false},
> dat = 0x8756988 "/position/longitude-degar/"}
> ^^^^
>
> where is the "ar" coming from??
>
> i'll keep trying.
>
> --alex--
>
> --
> | I believe the moment is at hand when, by a paranoiac and active |
> | advance of the mind, it will be possible (simultaneously with |
> | automatism and other passive states) to systematize confusion |
> | and thus to help to discredit completely the world of reality. |
>
> _______________________________________________
> Flightgear-devel mailing list
> [EMAIL PROTECTED]
> http://mail.flightgear.org/mailman/listinfo/flightgear-devel
--
Curtis Olson IVLab / HumanFIRST Program FlightGear Project
Twin Cities [EMAIL PROTECTED] [EMAIL PROTECTED]
Minnesota http://www.menet.umn.edu/~curt http://www.flightgear.org
_______________________________________________
Flightgear-devel mailing list
[EMAIL PROTECTED]
http://mail.flightgear.org/mailman/listinfo/flightgear-devel