"Julien Pierru" writes:

> David i had the same problem with gdb and SDL so someone on IRC told me to
> use gdb attach [process ID]and then type c after you launch fgfs outside
> gdb, that way even if the screen locks up you can switch to another virtual
> console and look at the backtrace. That's how i got the one at the top of
> this thread.
> 

Neat trick - thanks!  I've found the problem - in lines 661 to 664 of tower.cxx 
we check if t is the user, but then dereference the AI plane pointer of tt 
based on the result.  In the case where t is not the user, but tt is the user, 
the AI plane pointer dereference ( ->GetLeg() ) kills us.  I need to think some 
more about the intent of that section of code before fixing it though.

Cheers - Dave


-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
_______________________________________________
Flightgear-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/flightgear-devel

Reply via email to