From Doug McCorkle:
When running on a multi-pipe system with an OSG app it is often necessary to set this env var or put this flag in code:
As an env var just do a :
set OSG_THREAD_SAFE_REF_UNREF yes
Or in code, place before you construct your scene graph:
Referenced::setThreadSafeReferenceCounting(true);
If you are running your app single threaded (i.e. don't have multiple cameras working in seperate threads) then its likely you'll not need to enable thread safe ref counting. There is a performance hit for enabling it, and most users won't need it on, so its off by default.
As noted on the OSG list.
Would it be possbile for juggler to set this somewhere in OsgApp.h if there were multiple render threads present? Is it possbile to access that information in OsgApp.h?
Doug