Hi Melchior,

On Mon, Feb 9, 2009 at 2:54 PM, Melchior FRANZ <melchior.fr...@gmail.com> wrote:
> * Robert Osfield -- Monday 09 February 2009:
>> The segfault I saw with your example was because the example was
>> broken as the viewer wasn't ref counted, this wasn't an OSG bug.
>
> But valgrind/helgrind reported a bug in *OSG*, in the same
> area where FlightGear crashes. I didn't let it run over FlightGEar,
> but over osgparticleeffects. No "broken example" involved
> here. (Unless osgparticleeffects is broken, too, of course. :-)

OK, I recall the example code segfault was now in a different thread,
one on text.

I've just run valgrind and it generates a number of what it thinks are
errors, but as yet don't know what to make of it.  Just running
osgviewer also generates what it thinks are errors.

OpenThreads and osgParticle have not changed in any substantial way
for quite some while, so these errors have likely been there for a
long time.   The fact you have just started observing it is probably
just a co-incidence.  The is chance that manifestation of the problem
could disappear just as quickly.  This doesn't mean the bug has gone,
just gone underground.

Whether valgrind is providing accurate reports I can't comment on.  It
perhaps is giving us clues.

Do you get a crash in osgparticleeffects?  If so how quickly?

>
>> I haven't had a chance to investigate the valgrind report though,
>> have you had a chance?
>
> I'm sorry. I know that patches are more welcomed than bug reports.
> But it would probably have taken me many hours, if not days, to
> understand how the code is supposed to work, before I could even
> start to search for the bug. Time that I better spend on (OSS)
> projects where I know the code (and that need as much bugfixing).

We're all in the same boat... I'm neither the original author of
osgParticle or OpenThreads, just the maintainer.  I don't know
everything about all NodeKits and code in the OSG, I'm might know more
than most, but like you it takes me hours to go hunting down bugs as
well.  In fixing bugs I need as much help as I can.

Robert.
_______________________________________________
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to