Hi Rafa, Hi Robert
I see in gdb that the crash come from the std::string::assign function.
I worked with osgInstrospection and this kind of error come from
generally to a bad synchronization
between the reflected library and its wrapper (osg and
osgwrapper_osg).
You can check this by regenerate the wrapper with
genwrapper<http://www.openscenegraph.com/osgwiki/pmwiki.php/Tasks/GenWrapper>utility,
rebulid wrapper and run your test.
I will try to do it but I rebuild all the osg package and this take a
while ... (a big while on my PC)
So i probably not have the answer before tomorrow.
If you work with osgwrapper_*, I advise you to always regenerate the
wrapper after a "svn update",
or If Robert is agree, he could add a hook on the svn repository to
generate the wrapper after each commit.
Best regards
David Callu
2007/6/27, Robert Osfield <[EMAIL PROTECTED]>:
Hi Rafa,
I have to admit a lack of expertise when it comes to osgIntrospection,
I haven't yet had the chance to really get to grips with it. I've got
a lot of other items on my plate right now so don't have the time to
get up to speed and start debugging it.
Could other members of the community pick up on this one and find a
solution.
Cheers,
Robert.
On 6/27/07, Rafa Gaitan <[EMAIL PROTECTED]> wrote:
> Hi Robert,
>
> Working with osgIntrospection we have realized that
> there is a problem with some methods (setName and addChild).
>
> For example, if you create a Node and after that you call setName,
> there isn't problems in the call.. but if you create a Group and then
> you call the same method then crash.
>
> The problem with the method addChild is similar. If you call it from
> an instance of Group works perfectly but if you try to call it from
> PositionAttitudeTransfom then it doesn't crash but the method doesn't
> adds any child.
>
> We are now working in a osgJava implementation, following the same
> ideas of osgPython. Miguel(osgPython) and me have been debugging
> and we have created a simple example in C++ showing the problem.
> I would like to talk with Jose Luís(osgLua) to know if he finds the same
> problem.
>
> Notes:
> - You can find attached the example and the line to compile it is
> in the first line of the file ;).
> - The example has been tested against osg 2.0 and with svn
> version r7033 (few hours ago) and fails on both.
>
> Rafa.
>
>
>
> --
> Rafael Gaitán Linares
> Instituto de Automática e Informática Industrial http://www.ai2.upv.es
> Ciudad Politécnica de la Innovación
> Universidad Politécnica de Valencia
> _______________________________________________
> osg-users mailing list
> [email protected]
> http://openscenegraph.net/mailman/listinfo/osg-users
> http://www.openscenegraph.org/
>
>
_______________________________________________
osg-users mailing list
[email protected]
http://openscenegraph.net/mailman/listinfo/osg-users
http://www.openscenegraph.org/
_______________________________________________
osg-users mailing list
[email protected]
http://openscenegraph.net/mailman/listinfo/osg-users
http://www.openscenegraph.org/