Daniel E. Shipton wrote:
> I am running into a segfault when cloning nodes in OpenSG2.
> 
> I have a line that looks like:
> NodeRefPtr cloned_node(OSG::deepCloneTree(file_node));
> 
> When the code executes it spits out the following warning a bunch of times
> before it segfaults:
> WARNING: FieldDescription::cloneValues called for mf changed functors.

these are expected and only indicate that the cloneValues function is
not implemented for the changed functors mfield - I'm not sure if it
makes sense to clone these nor what the right way to do it is.

> The segfault happens at:
> (from the backtrace)
> 0x00002aaaaabf8600 in
> OSG::FieldDescription<OSG::FieldTraits<OSG::FieldContainerPtr, 0>,
> (OSG::FieldCardinality)1>::cloneValues () from
> /home/dshipton/Projects/opensg2/build.linux/instlinks/lib64/libOSGSystem.so
> 
> Any ideas?

not really, but a complete backtrace and, if available, the line on
which it crashes might help. I somehow have the suspicion that there is
  a NullFC involved that is not checked for before access.

        Carsten

-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier.
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Opensg-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/opensg-users

Reply via email to