Hello Thiago,
Thiago Bastos wrote:
> We're having trouble with OpenSG's build-in statistics on Windows.
>
> For instance, if you run "10loading.exe" and enable statistics by pressing
> 's', then exit by pressing 'esc', it will crash.
> It's also crashing our application when one tries to exit with statistics
> enabled (we use the SimpleSceneManager).
>
> Not sure if it's helpful, but here's the output for 10loading.exe if you
> exit with statistics disabled:
>
>> C:\SDK\OpenSG-2.0-src\build\bin\debugrt>10loading.exe
>> WARNING: No file given!
>> WARNING: Supported file formats:
>> WARNING: osg
>> LOG: Found no object named 'Scene'.
>> LOG: Found no object named 'TF_DETAIL' (did you load the tie?).
>> WARNING: ThreadManager::shutdown: thread [OSGAppThread|02DA8DA8] is still
>> alive ([0]).
>> WARNING: ThreadManager::shutdown: lock [OSG::Log::_pLogLock|02F9CEC8] is
>> still alive
>> WARNING: ThreadManager::shutdown: lock [OSGTMStoreLock|02723B88] is still
>> alive
>>
>
> Now with statistics enabled:
>
>> C:\SDK\OpenSG-2.0-src\build\bin\debugrt>10loading.exe
>> WARNING: No file given!
>> WARNING: Supported file formats:
>> WARNING: osg
>> LOG: Found no object named 'Scene'.
>> LOG: Found no object named 'TF_DETAIL' (did you load the tie?).
>> WARNING: FieldContainerFactoryBase::terminate: Entry [259] is not NULL
>> ([02FC47C0]).
>> WARNING: [0] [02FD2848] [Image] [2 0]
>> WARNING: FieldContainerFactoryBase::terminate: Entry [260] is not NULL
>> ([02FD4B70]).
>> WARNING: [0] [02FD49D0] [TextureObjChunk] [1 0]
I think that is because the StatisticsDefaultFont singleton is destroyed
from the post factory exit hook, which is too late for an object that
holds containers. I have a patch, but did not get to try it yet.
Cheers,
Carsten
------------------------------------------------------------------------------
Create and Deploy Rich Internet Apps outside the browser with Adobe(R)AIR(TM)
software. With Adobe AIR, Ajax developers can use existing skills and code to
build responsive, highly engaging applications that combine the power of local
resources and data with the reach of the web. Download the Adobe AIR SDK and
Ajax docs to start building applications today-http://p.sf.net/sfu/adobe-com
_______________________________________________
Opensg-core mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/opensg-core