On 01.08.2011 14:24, James Turner wrote: > > On 1 Aug 2011, at 12:30, Csaba Halász wrote: > >> Indeed, I have been unable to run FG with particles enabled since a >> long time due to random crashes in the particle code. Call stack >> frequently included functions your description mentions, so I hope >> this patch will fix that issue. > > Can anyone think of a reason particles are fine for some (many?) people > without this patch? Of course the patch should be applied, I'm just wondering > what would affect the ref-counting logic to hide the problem in some machines > / environments.
The issue only shows when particles are enabled and an aircraft is actually using them - which already reduces the number of users ;-). I actually had it disabled for a long time. After enabling it recently, I also started having memory issues - on shutdown though. So that patch comes handy. The particular code has been there since the beginning of the module. Another, similar issue was fixed a while ago (http://www.gitorious.org/fg/simgear/commit/29aad066f0e57a04649b92083c4be7c6d490de31) but the property reference issue was overlooked. My guess is that there's usually no problem since the referenced property would still be part of the main property tree (?) - and have a reference there. Only when the property is dropped from the tree, should an issue occur (which would well explain my shutdown issues - but not necessarily the startup issues...). cheers, Thorsten ------------------------------------------------------------------------------ BlackBerry® DevCon Americas, Oct. 18-20, San Francisco, CA The must-attend event for mobile developers. Connect with experts. Get tools for creating Super Apps. See the latest technologies. Sessions, hands-on labs, demos & much more. Register early & save! http://p.sf.net/sfu/rim-blackberry-1 _______________________________________________ Flightgear-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/flightgear-devel

