Hello,

I've found a reliable crash in my application which seems to be caused by
the collada loader. It seems like the collada loader can only be called in
one thread. Attempting to load a model in second thread
will immediately crash my application.

I looked into this and it seems to be a fundamental problem with libxml2.
This page (http://xmlsoft.org/threads.html) seems to describe the issue.

I seem to have found a workaround to this by creating one global instance of
the DAE object in the Collada loader and reusing it to read/write files. I'm
not very familiar with libcollada, so I'm not sure if this will introduce
other problems.

Is anybody here familiar enough with the plugin to comment on whether this
is a good solution or not?

Cheers,
Farshid
_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to