<div dir="ltr"><div dir="ltr">Hi Richard,<div>I can't see how you can get a segfault on the line you indicate, so I guess the node is somehow corrupted and the segfault is somewhere in the copyOp.</div><div>I can only guess at what might be going wrong there, but my first guess would be the DEEP_COPY_USERDATA.</div><div>Laurens.</div></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Thu, Jan 17, 2019 at 8:13 AM Richard Harrison <<a href="mailto:rjh@zaretto.com">rjh@zaretto.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">On 15/01/2019 09:03, Robert Osfield wrote:<br>
<br>
>> illustrated it well) and I'm currently flying one of my long test routes.<br>
> Fingers and toes crossed.<br>
<br>
..and alas after 30h I've got a similar looking problem; the pattern is <br>
the same i.e. DatabasePager loading something whilst ObjectCache is <br>
expiring.<br>
<br>
This time it's a segfault in the DatabasePager during a copy of a model <br>
that has just been loaded (simgear, SGReaderWriterXML.cxx:342)<br>
<br>
options->setDatabasePath(texturepath.local8BitStr());<br>
osgDB::ReaderWriter::ReadResult modelResult;<br>
modelResult = osgDB::readRefNodeFile(modelpath.local8BitStr(), <br>
options.get());<br>
if (!modelResult.validNode())<br>
throw sg_io_exception("Failed to load 3D model:" + <br>
modelResult.message(),<br>
modelpath);<br>
> model = copyModel(modelResult.getNode());<br>
<br>
The object currently being expired in the ObjectCache doesn't seem to <br>
bear any relation to the model being loaded; one is a windsock and the <br>
other a radio tower.<br>
<br>
This is after I changed all of the osg::getSomething into <br>
osg::getRefSomething.<br>
<br>
I'm now a little confused as I was sure that the fix would work; I've <br>
kept the debug session open in case there is anything that I need to <br>
inspect.<br>
<br>
<br>
_______________________________________________<br>
osg-users mailing list<br>
<a href="mailto:osg-users@lists.openscenegraph.org" target="_blank">osg-users@lists.openscenegraph.org</a><br>
<a href="http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org" rel="noreferrer" target="_blank">http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org</a><br>
</blockquote></div>