Re: [Flightgear-devel] [PATCH] recent segfaults caused by jsbsim and property tree

2009-11-12 Thread Anders Gidenstam
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

Re: [Flightgear-devel] [PATCH] recent segfaults caused by jsbsim and property tree

2009-11-12 Thread Anders Gidenstam
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

[Flightgear-devel] [PATCH] recent segfaults caused by jsbsim and property tree

2009-11-11 Thread Csaba Halász
Hi Everybody! 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

Re: [Flightgear-devel] [PATCH] recent segfaults caused by jsbsim and property tree

2009-11-11 Thread Tim Moore
On 11/12/2009 04:19 AM, Csaba Halász wrote: Hi Everybody! 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