Hi,

I'm experimenting with OpenSG 2.0 on Windows 32bits. After getting past the
compilation stage, I tried some of the example and test applications. Most,
if not all applications, seem to work correctly, but strangely most are
crashing at exit.

For instance, "01hello.exe" works and exits without crashing, though it
prints a lot of warnings (very similar to the warnings issued by the
applications that are crashing).

But then, if I run and close "02move.exe" (and 80% of the other programs) it
prints a lot of warnings and then crashes during cleanup.

These are the warnings (the first two lines are print during initialization,
the rest during cleanup):

WARNING: SharePtrGraphOp::setIncludes: Unrecognized type [Material].
> WARNING: SharePtrGraphOp::setIncludes: Unrecognized type [StateChunk].
> WARNING: FieldContainerFactoryBase::terminate: Entry [228] is not NULL
> ([02F88C58]).
> WARNING:   [0] [02F88A60] [TextureEnvChunk] [1 0]
> WARNING: FieldContainerFactoryBase::terminate: Entry [234] is not NULL
> ([02F8CA10]).
> WARNING:   [0] [02F8C790] [GLUTWindow] [1 0]
> WARNING: FieldContainerFactoryBase::terminate: Entry [235] is not NULL
> ([02F90808]).
> WARNING:   [0] [02F903F8] [GeoPnt3fProperty] [1 0]
> WARNING: FieldContainerFactoryBase::terminate: Entry [236] is not NULL
> ([02F8CDA0]).
> WARNING:   [0] [02F8CC18] [GeoVec3fProperty] [1 0]
> WARNING: FieldContainerFactoryBase::terminate: Entry [237] is not NULL
> ([02F8D070]).
> WARNING:   [0] [02F8CEE8] [GeoVec2fProperty] [1 0]
> WARNING: FieldContainerFactoryBase::terminate: Entry [238] is not NULL
> ([02F8D358]).
> WARNING:   [0] [02F8D268] [GeoUInt32Property] [16 0]
> WARNING: FieldContainerFactoryBase::terminate: Entry [239] is not NULL
> ([02F8D620]).
> WARNING:   [0] [02F8D4E8] [GeoUInt32Property] [1 0]
> WARNING: FieldContainerFactoryBase::terminate: Entry [240] is not NULL
> ([02F8D8B0]).
> WARNING:   [0] [02F8D728] [GeoUInt8Property] [1 0]
> WARNING: FieldContainerFactoryBase::terminate: Entry [241] is not NULL
> ([02F9B1D0]).
> WARNING:   [0] [02F9B090] [Geometry] [1 0]
> WARNING: FieldContainerFactoryBase::terminate: Entry [242] is not NULL
> ([02F9B4D8]).
> WARNING:   [0] [02F9B328] [SimpleMaterial] [1 0]
> WARNING: FieldContainerFactoryBase::terminate: Entry [243] is not NULL
> ([02F9B650]).
> WARNING:   [0] [02F9B568] [State] [1 0]
> WARNING: FieldContainerFactoryBase::terminate: Entry [244] is not NULL
> ([02F9B898]).
> WARNING:   [0] [02F9B698] [MaterialChunk] [2 0]
> WARNING: FieldContainerFactoryBase::terminate: Entry [245] is not NULL
> ([02F9BAB0]).
> WARNING:   [0] [02F9B920] [BlendChunk] [1 0]
> WARNING: FieldContainerFactoryBase::terminate: Entry [246] is not NULL
> ([02F975F0]).
> WARNING:   [0] [02F97470] [Node] [1 0]
> WARNING: FieldContainerFactoryBase::terminate: Entry [247] is not NULL
> ([02F97848]).
> WARNING:   [0] [02F976C8] [Node] [2 0]
> WARNING: FieldContainerFactoryBase::terminate: Entry [248] is not NULL
> ([02F97A50]).
> WARNING:   [0] [02F978C0] [Transform] [2 0]
> WARNING: FieldContainerFactoryBase::terminate: Entry [249] is not NULL
> ([02FB01D8]).
> WARNING:   [0] [02FB0058] [Node] [2 3]
> WARNING: FieldContainerFactoryBase::terminate: Entry [250] is not NULL
> ([02FB03B0]).
> WARNING:   [0] [02FB0220] [Transform] [2 0]
> WARNING: FieldContainerFactoryBase::terminate: Entry [251] is not NULL
> ([02FB0620]).
> WARNING:   [0] [02FB04A0] [Node] [2 0]
> WARNING: FieldContainerFactoryBase::terminate: Entry [252] is not NULL
> ([02FB0850]).
> WARNING:   [0] [02FB0698] [DirectionalLight] [2 0]
> WARNING: FieldContainerFactoryBase::terminate: Entry [253] is not NULL
> ([02FB0AD8]).
> WARNING:   [0] [02FB0998] [PerspectiveCamera] [2 0]
> WARNING: FieldContainerFactoryBase::terminate: Entry [254] is not NULL
> ([02FB0C98]).
> WARNING:   [0] [02FB0B50] [SolidBackground] [1 0]
> WARNING: FieldContainerFactoryBase::terminate: Entry [255] is not NULL
> ([02FB0E70]).
> WARNING:   [0] [02FB0D10] [ImageForeground] [2 0]
> WARNING: FieldContainerFactoryBase::terminate: Entry [256] is not NULL
> ([02FB10E8]).
> WARNING:   [0] [02FB0EE8] [SimpleStatisticsForeground] [1 0]
> WARNING: FieldContainerFactoryBase::terminate: Entry [257] is not NULL
> ([02FB1A90]).
> WARNING:   [0] [02FB1968] [Viewport] [2 0]
> WARNING: FieldContainerFactoryBase::terminate: Entry [258] is not NULL
> ([02FB1C50]).
> WARNING:   [0] [02FB2060] [LightChunk] [1 0]
> WARNING: FieldContainerFactoryBase::terminate: Entry [259] is not NULL
> ([02FB2E38]).
> WARNING:   [0] [02FB2CC0] [DrawableStatsAttachment] [1 0]
> WARNING: ThreadManager::shutdown: thread [OSGAppThread|02D97828] is still
> alive ([0]).
> WARNING: ThreadManager::shutdown: lock [OSG::Log::_pLogLock|02F8AAF8] is
> still alive
> WARNING: ThreadManager::shutdown: lock [OSGTMStoreLock|02713AF8] is still
> alive
>

I've also attached the call stack at crash time.

The same applications with the same svn revision (1680) work correctly on
Linux here.
Any ideas?!

Thanks in advance!
Thiago
OSGBase_d.dll!std::list<std::vector<OSG::ContainerChangeEntry,std::allocator<OSG::ContainerChangeEntry>
 
>,std::allocator<std::vector<OSG::ContainerChangeEntry,std::allocator<OSG::ContainerChangeEntry>
 > > >::_Const_iterator<1>::operator*()  Line 211 + 0x13 bytes  C++
OSGBase_d.dll!std::list<std::vector<OSG::ContainerChangeEntry,std::allocator<OSG::ContainerChangeEntry>
 
>,std::allocator<std::vector<OSG::ContainerChangeEntry,std::allocator<OSG::ContainerChangeEntry>
 > > >::_Iterator<1>::operator*()  Line 389     C++
OSGBase_d.dll!std::list<std::vector<OSG::ContainerChangeEntry,std::allocator<OSG::ContainerChangeEntry>
 
>,std::allocator<std::vector<OSG::ContainerChangeEntry,std::allocator<OSG::ContainerChangeEntry>
 > > >::_Iterator<1>::operator->()  Line 394    C++
OSGBase_d.dll!OSG::ChangeList::createNewEntry()  Line 251 + 0xf bytes   C++
OSGBase_d.dll!OSG::ChangeList::getNewEntry()  Line 280 + 0x8 bytes      C++
OSGBase_d.dll!OSG::ChangeList::addSubRefd(const unsigned int uiContainerId=248, 
bool ignoreLevel=false)  Line 94 + 0x8 bytes    C++
OSGBase_d.dll!OSG::FieldContainer::subReferenceRecorded()  Line 212     C++
02move.exe!OSG::RecordedRefCountPolicy::subRef(OSG::FieldContainer * const 
objectP=0x02f968c0)  Line 61 + 0xb bytes     C++
02move.exe!OSG::RefCountPtr<OSG::Transform,OSG::RecordedRefCountPolicy>::~RefCountPtr<OSG::Transform,OSG::RecordedRefCountPolicy>()
  Line 109 + 0xb bytes       C++
02move.exe!`dynamic atexit destructor for 'trans''()  + 0xd bytes       C++
msvcr80d.dll!doexit(int code=0, int quick=0, int retcaller=0)  Line 553 C
msvcr80d.dll!exit(int code=0)  Line 398 + 0xd bytes     C
glut32.dll!026bdb24()   
[Frames below may be incorrect and/or missing, no symbols loaded for 
glut32.dll]        
glut32.dll!026bd4e5()   
user32.dll!7e418734()   
user32.dll!7e418816()   
user32.dll!7e41c63f()   
user32.dll!7e41c665()   
opengl32.dll!5ed2699b()         
ntdll.dll!7c90eae3()    
user32.dll!7e418734()   
user32.dll!7e418816()   
nvoglnt.dll!6973f94f()  
user32.dll!7e41b4c0()   
user32.dll!7e41b50c()   
ntdll.dll!7c90eae3()    
user32.dll!7e4194be()   
user32.dll!7e41b42d()   
user32.dll!7e41baa4()   
user32.dll!7e41b96b()   
user32.dll!7e41d598()   
uxtheme.dll!5ad73c20()  
uxtheme.dll!5ad8e300()  
uxtheme.dll!5ad71ac7()  
uxtheme.dll!5ad7367a()  
uxtheme.dll!5ad8e2d5()  
user32.dll!7e42f11d()   
glut32.dll!026bd894()   
user32.dll!7e418734()   
user32.dll!7e418816()   
user32.dll!7e41c63f()   
user32.dll!7e41c665()   
opengl32.dll!5ed2699b()         
uxtheme.dll!5ad728d4()  
user32.dll!7e418734()   
user32.dll!7e418816()   
nvoglnt.dll!6973f94f()  
user32.dll!7e41b4c0()   
user32.dll!7e41b50c()   
ntdll.dll!7c90eae3()    
user32.dll!7e4194be()   
user32.dll!7e41d4e4()   
user32.dll!7e41b903()   
uxtheme.dll!5ad9881f()  
uxtheme.dll!5ad71ac7()  
uxtheme.dll!5ad7367a()  
user32.dll!7e42f11d()   
glut32.dll!026bd894()   
user32.dll!7e418734()   
user32.dll!7e418816()   
user32.dll!7e41c63f()   
user32.dll!7e41c665()   
opengl32.dll!5ed2699b()         
user32.dll!7e41f84a()   
user32.dll!7e418734()   
user32.dll!7e418816()   
user32.dll!7e4189cd()   
user32.dll!7e41ca67()   
user32.dll!7e4196c7()   
glut32.dll!026b4970()   
glut32.dll!026b4aaa()   
glut32.dll!026b490f()   
02move.exe!main(int argc=1, char * * argv=0x02d974f0)  Line 125 + 0x8 bytes     
C++
02move.exe!__tmainCRTStartup()  Line 597 + 0x19 bytes   C
02move.exe!mainCRTStartup()  Line 414   C
kernel32.dll!7c816fd7()
------------------------------------------------------------------------------
This SF.net email is sponsored by:
SourcForge Community
SourceForge wants to tell your story.
http://p.sf.net/sfu/sf-spreadtheword
_______________________________________________
Opensg-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/opensg-users

Reply via email to