Hi,

On Tuesday, April 24, 2012 13:39:59 James Turner wrote:
> Okay, then I realise this isn't useful for you, but I'm stumped why it
> crashes for you. In particular, the hashForAirport function is being passed
> something that looks like a valid pointer (I think), and it crashing on a
> line that should only really happen if the pointer is invalid, or there's
> other memory corruption going on.

Just stepping into this discussion somehow.
I could by the length of the thread not exactly find what is going wrong and 
how to reproduce this. But jut having a quick look at NasalPositiond.cxx, I 
can see that this does not match the intented use of SGReferenced.
I have checked in what is needed to match how it's intented to be used.

Given that you seem to experience dangling pointers and now things are 
actually deleted when the reference count drops to zero - that did not happen 
before, I guess that this makes things worse at first. But you might be able to 
find the real cause of the problem a little better now.

Else, I am online again tomorrow evening.

Greetings

Mathias

------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Flightgear-devel mailing list
Flightgear-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-devel

Reply via email to