Hi, I found kind of a hint of the cause of DList stack overflow.
After reset, the number of ssgTransform increases a lot. so maybe this has something to do with the cause of the problem since ssgTransform::cull calls _ssgPushMatrix and _ssgPopMatrix. these two show "DList stack overflow" error. Plus, this problem doesn't happen when --disable-ai-models is specified. When I commented out <scenario>nimitz_demo</scenario> from preferences.xml, this DL stack overflow doesn't happen even without --disable-ai-models. So resetting carrier object in AICarrier::init() or methods called from init() probably generates redundant or unexpected ssgTransform objects. I'll dive deeper tomorrow. If any of you have any idea on what causes this, please let me know. Best, Tat On Dec 8, 2007, at 2:49 AM, Tatsuhiro Nishioka wrote: > Goorg, and Melchir, > > Thanks for your report and opinion. > > On Dec 8, 2007, at 1:09 AM, Georg Vollnhals wrote: >> Hi Tat, >> tested this on OpenSUSE 10.2 86_64 with FG 9.11 Prerelease >> S76 Helicopter >>> 1. DList stack overflow >>> > (snip) >> NEGATIVE >> Yes, my fingers are aching ... pressed more than 30 times SHIFT-ESC >> => >> NO problem here > > OK, so this is a Mac OS specific bug. > > >>> 2. Aircraft shows up under a carrier on reset >>> This happens when I reset FlightGear (Shift-ESC) on Nimitz. >>> >> POSITIVE >> Found the S76 on the water and the carrier moving away :-( > > > Got it! > > > On Dec 8, 2007, at 2:12 AM, Melchior FRANZ wrote: >> * Tatsuhiro Nishioka -- Friday 07 December 2007: >>> 1. DList stack overflow >> >> I've seen them on other occasions in fg/plib. Haven't tried with >> Shift-Esc, but I think that's a plib problem. Don't think that's >> something we can fix before the release. It's definitely not one >> of bugs that people usually report. More of a "Doctor, it hurts" >> problem. :-) > > Haha, though I don't think it's "Doctor, it hurts" thing since it > actually occurs on Mac OS, I understand that we can't fix it before > the release. So I'm going to notice that there is a problem on > sequential resets on Mac OS X in the release note if I can't find the > cause of the problem by the time of the release. I'm going to trace > some code that uses DList push/pop during reset. If someone already > know what functions uses these on reset, please let me know. > > >>> 2. Aircraft shows up under a carrier on reset >>> This happens when I reset FlightGear (Shift-ESC) on Nimitz. >> >> I've been told that this is a ... feature. :-/ > > Oh... but I don't buy that idea since it's not a product made by > MS :-p > > Anyway, I'm trying to find the cause of this issue, finding the ground > elevation gets negative value > when reset. I force adjusted the ground elevation value when reset on > Nimitz for test, but A6M2 fell down onto the sea > anyway. so that's not the real cause. I hope I can find the real cause > of this soon. > > Best, > > Tat > > ------------------------------------------------------------------------- > SF.Net email is sponsored by: > Check out the new SourceForge.net Marketplace. > It's the best place to buy or sell services for > just about anything Open Source. > http://sourceforge.net/services/buy/index.php > _______________________________________________ > Flightgear-devel mailing list > Flightgear-devel@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/flightgear-devel ------------------------------------------------------------------------- SF.Net email is sponsored by: Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://sourceforge.net/services/buy/index.php _______________________________________________ Flightgear-devel mailing list Flightgear-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/flightgear-devel