Re: [Flightgear-devel] [PATCH] recent segfaults caused by jsbsim and property tree
On Thu, 12 Nov 2009, Csaba Halász wrote: Hi Everybody! Hi Csaba! Good work! As you may know we have been recently investigating mysterious segfaults experienced with some jsbsim aircraft such as the f16 or the hansajet. I have identified the following problems: 1) SGPropertyNode::getNode apparently stops parsing after an index. For example, given /foo/bar[0]garbage it happily returns the node /foo/bar[0]. 2) Certain overloads of SGPropertyNode::tie invoke getNode without checking the return value. 3) FGTurbine::Load is missing a slash in the prefix and so ultimately passes garbage to SGPropertyNode::tie. Did you manage to find out how that happens? I couldn't spot it in the code - AFAICS it doesn't happen in JSBSim/standalone and the involved JSBSim code ought to be the same. 4) The checkTied in FGFDMExec.cpp is assuming property nodes with children can not be tied. That's the one I found and fixed in JSBSim/CVS yesterday :) 5) All over jsbsim plain SGPropertyNode objects are cast to FGPropertyManager Additionally Anders has found some trouble too, I suspect he has checked in a fix to jsbsim cvs for that (but I haven't looked). The primary cause of the trouble is point #3, I have a simple fix attached for it as well as for point #4. These are against gitorious next branch but should be simple enough to apply manually if necessary. Even with these checks I get a segfault with the Hansajet. During testing, however, that worked as well. I had some other modifications that I thought were irrelevant but looks like i was wrong. I will re-apply those tomorrow. Apparently Tim has recently changed the props code, so I'll leave #1 and #2 for him :) Finally, point #5 needs some thought. Yes, indeed. Cheers, Anders -- --- Anders Gidenstam WWW: http://www.gidenstam.org/FlightGear/-- Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july___ Flightgear-devel mailing list Flightgear-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/flightgear-devel
Re: [Flightgear-devel] [PATCH] recent segfaults caused by jsbsim and property tree
On Thu, 12 Nov 2009, Tim Moore wrote: Apparently Tim has recently changed the props code, so I'll leave #1 and #2 for him :) The fix for #2 is obvious, but I'm not sure about the right course of action for #1. If I understand the old code correctly, it would treat /foo/bar[0]garbage as /foo/bar[0]/garbage, while the new code treats it as /foo/bar[0]. Was this intended to be valid property path syntax? I think it would be correct to throw an error in this case, but I don't want to break the world. Tim, I think culprit here are the garbage property names generated by JSBSim (#3). Somehow they don't (visibly) come out as garbage in JSBSim/standalone but with the change in behaviour you mention above I suspect that they indeed are garbage in JSBSim/standalone too, but just displayed differently. Should be easy enough to fix. Cheers, Anders -- --- Anders Gidenstam WWW: http://www.gidenstam.org/FlightGear/ -- Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july ___ Flightgear-devel mailing list Flightgear-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/flightgear-devel
Re: [Flightgear-devel] [Jsbsim-devel] [PATCH] recent segfaults caused by jsbsim and property tree
On Wed, 11 Nov 2009, Jon S. Berndt wrote: The other turbine patch you included however is in error. I do not know how SGPropertyNode is getting garbage. However, the addition of the slash is uneeded, as the slash is already included explicitly in the property name passed to Tie(). At least this is the case with JSBSim in CVS: Jon, I think the trouble here is an exception to the rule in FGTurbine.cpp (in Load()): The FGFunction name (most likely) does not have a leading '/', thus it gets the path propulsion/engine[0] + name without a '/'. I'll look into that when I get home. Cheers, Anders -- --- Anders Gidenstam WWW: http://www.gidenstam.org/FlightGear/ -- Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july ___ Flightgear-devel mailing list Flightgear-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/flightgear-devel
Re: [Flightgear-devel] Clouds
syd adams wrote: My vote is no to a second one , but moving it , possibly. There are many other changes I'd like to make , but need more feedback... I'm with George et al. - the rendering of 3D clouds is conceptually different from the cloud configuration. An alternative would be to have some help text on the clouds dialog indicating that 3D clouds are enabled from another menu. In fact, we might want to have some help text there anyway if we're usinga weather scenario that means clouds cannot be edited. Syd - I've had a look at the new display/rendering dialogs. I think they are definitely an improvement, but I personally don't like dialogs launched from within other dialogs. I much prefer a straight mapping from menu items to dialogs. I have an updated Rendering Options dialog on my home PC which attempts to lay out the rendering options in a more sensible fashion without resorting to another dialog. I'll post a screenshot tonight or tomorrow. -Stuart -- Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july ___ Flightgear-devel mailing list Flightgear-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/flightgear-devel
Re: [Flightgear-devel] festival ... or not
John Denker wrote: Let's try to understand the situation better, [...] According to my experience, the best choice to get a vast variety of audio applications play their stuff nicely along with each other on Linux is to use PulseAudio as a backend plus the respective frontend compatibility interfaces, if required. There's a nice guide on how to set things up at: http://www.pulseaudio.org/wiki/PerfectSetup Yet I have to admit that I've never ever been using 'festival' On Debian Lenny (aka. 5.0.x) they're linking 'festival' against 'libesd' - which is well supported by PulseAudio, therefore I _suspect_ it'll run out of the box. Cheers, Martin. -- Unix _IS_ user friendly - it's just selective about who its friends are ! -- -- Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july ___ Flightgear-devel mailing list Flightgear-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/flightgear-devel
Re: [Flightgear-devel] Clouds
Stuart Buchanan wrote: In fact, we might want to have some help text there anyway if we're using a weather scenario that means clouds cannot be edited. What about disabling that menu in the case a weather scenario is used? Like the Network menu is disabled when you are not connect to a network... Or can we only disable dialogs/menuoption on startup? Cheers, Gijs _ Windows werkt zelfs voor je studie http://www.windows.nl/Theme.aspx?id=2-- Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july___ Flightgear-devel mailing list Flightgear-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/flightgear-devel
[Flightgear-devel] fgms server in Lithuania
Hello, I would like to add new multiplayer server, which is located in Eastern Europe region in Vilnius, Lithuania. Computer uses 100 Mbit fiber internet. OS debian stable lenny (current stable). IP address 193.219.56.151. Open ports 5000, 5001, 8000. Do I have to provide additional information? Thank you! Regards, Darius. -- Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july ___ Flightgear-devel mailing list Flightgear-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/flightgear-devel
Re: [Flightgear-devel] fgms server in Lithuania
On Thu, Nov 12, 2009 at 6:00 AM, Darius wrote: Hello, I would like to add new multiplayer server, which is located in Eastern Europe region in Vilnius, Lithuania. Computer uses 100 Mbit fiber internet. OS debian stable lenny (current stable). IP address 193.219.56.151. Open ports 5000, 5001, 8000. Do I have to provide additional information? Hi Darius, I have added your machine as mpserver11.flightgear.org Thanks! Curt. -- Curtis Olson: http://baron.flightgear.org/~curt/ -- Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july___ Flightgear-devel mailing list Flightgear-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/flightgear-devel
Re: [Flightgear-devel] Clouds
OK , I had a feeling I misunderstood your ideas for changes ... I find the hud menu a bit of a problem also , it would be nice to add hud #1 checkbox with a trailing 3D checkbox, hud #2 , etc , but I rarely use the hud , so that's something I could add locally ... I would also like to keep the button to save the current FOV , since this is slightly different per aircraft , but I'd like other opinions on that as well ... Cheers Syd - I've had a look at the new display/rendering dialogs. I think they are definitely an improvement, but I personally don't like dialogs launched from within other dialogs. I much prefer a straight mapping from menu items to dialogs. I have an updated Rendering Options dialog on my home PC which attempts to lay out the rendering options in a more sensible fashion without resorting to another dialog. I'll post a screenshot tonight or tomorrow. -Stuart -- Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july ___ Flightgear-devel mailing list Flightgear-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/flightgear-devel -- Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july___ Flightgear-devel mailing list Flightgear-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/flightgear-devel
Re: [Flightgear-devel] Clouds
* syd adams -- Thursday 12 November 2009: it would be nice to add hud #1 checkbox with a trailing 3D checkbox, hud #2 The two HUD implementations weren't meant to coexist so long. The removal of the old HUD and conversion of all aircraft to the newer one is overdue. I only had to implement the last missing features in the new one, and the old would have been history. m. -- Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july ___ Flightgear-devel mailing list Flightgear-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/flightgear-devel
Re: [Flightgear-devel] SoundSystem continued
Erik Hofman wrote: Hi, I was wondering if anybody has any problems/bugs/oddities that needs to be addressed in the latest SoundSystem code. Hi Erik, I'm still unable to run without a segfault since the new sound system was committed. Here is my call stack: fgfs.exe!SGSoundSample::free_data() Line 175 + 0x1e bytesC++ fgfs.exe!SGSoundMgr::request_buffer(SGSoundSample * sample=0x1286e0c8) Line 437C++ fgfs.exe!SGSampleGroup::update(double dt=0.06) Line 129 + 0x12 bytesC++ fgfs.exe!FGFX::update(double dt=0.06) Line 142C++ fgfs.exe!SGSoundMgr::update(double dt=0.06) Line 257 + 0x17 bytesC++ fgfs.exe!fgMainLoop() Line 489C++ fgfs.exe!fgOSMainLoop() Line 173C++ fgfs.exe!fgMainInit(int argc=2, char * * argv=0x02cde298) Line 899C++ fgfs.exe!main(int argc=2, char * * argv=0x02cde298) Line 229 + 0xd bytesC++ I'm compiling using MSVC 2005 Express (the free one), on a fairly old PC (Athlon, ~1GHz), the sound card is a Creative Soundblaster Live, I think, there's also built in sound on the motherboard. Cheers - Dave -- Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july ___ Flightgear-devel mailing list Flightgear-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/flightgear-devel
Re: [Flightgear-devel] SoundSystem continued
Alasdair Campbell wrote: On Mon, 2009-11-09 at 14:56 +, James Turner wrote: On 9 Nov 2009, at 13:58, Geoff McLane wrote: 4. At start up, getting a whole bunch of - voice synth: word 'airport_information' not found voice synth: word '/_' not found voice synth: word 'automated_weather_observation' not found ... etc but maybe I have not 'installed' something? That's an unrelated problem, due to some ATIS changes I committed, and the fact that our ATC text-to-speech system needs some love. I have come to love that ATIS voice. I wonder if the delightful lady could be persuaded to fill in the gaps. Hi Alasdair, That sound be no problem, if I can drag her away from the karaoke machine for long enough! I need to get sound working again on my FG installation first though. Cheers - Dave -- Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july ___ Flightgear-devel mailing list Flightgear-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/flightgear-devel
[Flightgear-devel] FlightGear logo; Was: t-shirt give away
Curtis Olson wrote: Torsten's wife designed the t-shirt graphics (with some valuable input from Torsten and I.) You can see the design here: http://www.cafepress.com/fgfs Wouldn't this be a great chance to declare this design as being the new 'official' FlightGear logo ? Martin. -- Unix _IS_ user friendly - it's just selective about who its friends are ! -- -- Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july ___ Flightgear-devel mailing list Flightgear-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/flightgear-devel
Re: [Flightgear-devel] Custom scenery data startup location problem.
Hi James, James Turner wrote: On 27 Oct 2009, at 23:58, Martin Spott wrote: Thanks for pointing out ! I'm going to investigate and comment as soon as my (spare) time permits, Just to add, Anders and I discussed my loading code on IRC, and it's definitely possible I am mis-interpreting some of the values in threshold.xml - especially relating to the displaced threshold value. According to the AptNav specs, the displaced threshold is included in implied runway length. To me it looks like, in contrast, you are adding the displaced threshold to the given runway length, which is not required here. From my experience I'd say, simply ignore the displaced threshold for startup position calculations - I suspect this is the way it has been in FlightGear all the time. The way I learnt it, the startup run starts at the beginning of the entire runway, anyway, no matter if they have a displaced threshold or not. This is different from the stopway/blastway which typically is not readily prepared (cleaned and checked) for aircraft movements. To my understanding there's just a little offset in startup direction added to the runway center endpoint at the startup position calculations to make sure that all aircraft wheels are getting situated onto the tarmac. Best regards, Martin. -- Unix _IS_ user friendly - it's just selective about who its friends are ! -- -- Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july ___ Flightgear-devel mailing list Flightgear-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/flightgear-devel
Re: [Flightgear-devel] FlightGear logo; Was: t-shirt give away
Curtis Olson wrote: I think this design looks really great on a t-shirt or a mug, but I'm not sure how well it works as a web page header or an icon. Perhaps something could be adapted from the full logo to work in other contexts. I don't think that having different logos for different use cases is going to turn out into being great pleasure in the long run, yet I do understand your concerns. I'd say, let's try it out and see how it looks like. A website logo does not necessarily have to be of the banner-style like the current one does. On the other hand, turning it into a banner could easily be achieved in the PostgreSQL way :-) Cheers, Martin. -- Unix _IS_ user friendly - it's just selective about who its friends are ! -- -- Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july ___ Flightgear-devel mailing list Flightgear-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/flightgear-devel
Re: [Flightgear-devel] Custom scenery data startup location problem.
Martin Spott wrote: To my understanding there's just a little offset in startup direction in the meaning of only this single offset and nothing else. Cheers, Martin. -- Unix _IS_ user friendly - it's just selective about who its friends are ! -- -- Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july ___ Flightgear-devel mailing list Flightgear-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/flightgear-devel
Re: [Flightgear-devel] FlightGear logo; Was: t-shirt give away
I think this design looks really great on a t-shirt or a mug, but I'm not sure how well it works as a web page header or an icon. Perhaps something could be adapted from the full logo to work in other contexts. I think we also need a good slogan or motto ... I kind of like: FlightGear: Educate, Entertain, Inspire. Curt. On Thu, Nov 12, 2009 at 5:31 PM, Martin Spott wrote: Curtis Olson wrote: Torsten's wife designed the t-shirt graphics (with some valuable input from Torsten and I.) You can see the design here: http://www.cafepress.com/fgfs Wouldn't this be a great chance to declare this design as being the new 'official' FlightGear logo ? Martin. -- Unix _IS_ user friendly - it's just selective about who its friends are ! -- -- Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july ___ Flightgear-devel mailing list Flightgear-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/flightgear-devel -- Curtis Olson: http://baron.flightgear.org/~curt/ -- Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july___ Flightgear-devel mailing list Flightgear-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/flightgear-devel
Re: [Flightgear-devel] Clouds
Good to know , I thought there was a reason for having 2 , just didn't know what that reason was :) Cheers On Thu, Nov 12, 2009 at 1:52 PM, Melchior FRANZ mfr...@aon.at wrote: * syd adams -- Thursday 12 November 2009: it would be nice to add hud #1 checkbox with a trailing 3D checkbox, hud #2 The two HUD implementations weren't meant to coexist so long. The removal of the old HUD and conversion of all aircraft to the newer one is overdue. I only had to implement the last missing features in the new one, and the old would have been history. m. -- Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july ___ Flightgear-devel mailing list Flightgear-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/flightgear-devel -- Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july___ Flightgear-devel mailing list Flightgear-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/flightgear-devel
Re: [Flightgear-devel] FlightGear logo; Was: t-shirt give away
Curt Olson wrote: I think we also need a good slogan or motto ... I kind of like: FlightGear: Educate, Entertain, Inspire. On the FSweekend posters, we had printed out: Naturally flying is free. I like it ;) Oh, and take a look in the FG logo topic, where we had some nice ideas (altough none of them might be usefull straight away it gives a nice impression of what our users like) http://www.flightgear.org/forums/viewtopic.php?f=6t=2633 Cheers, Gijs _ Alles over Windows http://www.windows.nl/About.aspx-- Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july___ Flightgear-devel mailing list Flightgear-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/flightgear-devel