[osg-users] RayIntersector with KdTree causes a crash

Robert Osfield robert.osfield at gmail.com
Mon Sep 3 08:35:25 PDT 2018


Hi Ale,

I built with release.

I will try with a debug build.  A change in behaviour between release
a debug would suggest an unintialized variable.

Could you provide the stack trace.

A binary for Windows isn't required at this point.

Cheers,
Robert.
On Mon, 3 Sep 2018 at 15:00, Ale Maro <sasha71 at teletu.it> wrote:
>
> Hi Robert,
>
> thanks for the update.
>
> Have you built in release?
> We are seeing now that the release version has the behaviour you described (that is also strange becouse I expect to see something… if you do not build the KdTree in the code you can see the sphere).
>
> The debug version crashes (the assert Windows says there is a call to front() of an empty vector).
>
> It is correct you run with the --relative-camera-scene command line option.
>
> If needed I can send you the Windows binaries of the example.
>
>
> Cheers,
> Ale
>
> ------------------
> Read this topic online here:
> http://forum.openscenegraph.org/viewtopic.php?p=74632#74632
>
>
>
>
>
> _______________________________________________
> osg-users mailing list
> osg-users at lists.openscenegraph.org
> http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org


More information about the osg-users mailing list