DevNote Dec-08-2007

Bugs fixed on FlightGear 0.9.11-pre2

Dec-08-2007

There were two major bugs (to me) on test release of Flight 0.9.11-pre2. These are (1) Aircraft under the carrier when reset, and (2) DList stack overflow (Flying instrument bug is the same as this one). According to collected bug reports on other platforms in the list, these bugs happen on linux too. Thus I tried to find the causes of these problems, and today, I found it.

I don't write the detail but the punch line is that I made a patch to avoid unexpected multiple registration of ssgTransform objects. This multiple registation on reinit is the cause of DList stack overflow. This patch also contains the workaround for the first bug as a good side effect of debugging DList stack overflow problem.

Now, aircraft can sitting on Nimitz on reset. No annoying CPU-power-eating DList stack overflow occurs. Yay! I've already posted the patch, so it will be soon applied.

By the way, I found another bug. fgfs crashes on exit when it doesn't open window. e.g., Launching fgfs with --fg-root=. --help ends up with segfault..... sigh Okay, I'll take a look at this issue maybe tomorrow... but I'm not sure since I think I have a headache.