We have finally been able to create a simple test application that demonstrates a nasty nasty little memory bug that we have been chasing for a couple of days. The application dynamically creates geometry and materisls, adds them to a tree, and then removes them later.
This behavior has manifested itself in many forms in our application and seems to be caused by some code in OpenSG overwritting random memory locations. I could be wrong in this conclusion, but we are just seeing way to many seg faults and corrupted data.
Anyway, I have attached a sample application that shows the problem.