Hi,

sorry forgot to attach the trace.

Michael

-------- Original-Nachricht --------
> Datum: Wed, 14 Apr 2010 15:00:51 -0500
> Von: Carsten Neumann <[email protected]>
> An: [email protected]
> Betreff: Re: [Opensg-users] OpenSG1.8 - Destroying Materials in ClusterMode

>       Hello Michael,
> 
> Dirk Reiners wrote:
> > I've got a crash when running OpenSG in cluster mode. I'm creating and 
> > destroying some ChunkMaterials during runtime. This causes a crash of
> the server 
> > application. Using the debug libraries of OpenSG the server runs fine
> but I 
> > noticed some of the following lines in the log:
> > 
> > WARNING:  FieldContainerFactory::unregisterFieldContainer:id -572662307 
> > inconsistent with store size 8034!
> 
> hm, this almost looks as if the data is corrupted or the network 
> protocol got out of sync.
> 
> > Looking into the code this message is only generated in debug mode
> 
> yes, unfortunately debug mode will then just never release the 
> _pStoreLock :-/  I'm surprised this does not just hang afterwards?
> 
> > and the 
> > origin of the crash (most likely an out of bounds array access) is
> avoided, see:
> 
> yes, the question is where that odd value for the container id comes from?
> Where does the call to unregisterFieldContainer come from, i.e. can you 
> get a backtrace - perhaps by setting a conditional breakpoint in the 
> function that triggers only if pFieldContainer.getFieldContainerId() is 
> unusually large?
> 
> > I'll attached my full trace for your information. So am I doing
> something wrong 
> > or is this a bug in OpenSG? (The trace is at
> > http://drop.io/OpenSG_Cluster_Problem, file server.zip.)
> 
> hm, I'd say it looks like a bug or at the least some subtle assumption 
> in OpenSG. I'm just not quite sure how to track it down, so far my 
> attempts to reproduce it have failed. The log unfortunately does not 
> give a good idea where the unusual container id values come from.
> 
>       Cheers,
>               Carsten
> 
> 
> ------------------------------------------------------------------------------
> Download Intel&#174; Parallel Studio Eval
> Try the new software tools for yourself. Speed compiling, find bugs
> proactively, and fine-tune applications for parallel performance.
> See why Intel Parallel Studio got high marks during beta.
> http://p.sf.net/sfu/intel-sw-dev
> _______________________________________________
> Opensg-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/opensg-users

-- 
GRATIS für alle GMX-Mitglieder: Die maxdome Movie-FLAT!
Jetzt freischalten unter http://portal.gmx.net/de/go/maxdome01
>       
> OSGSystemD.dll!osg::FieldContainerFactory::unregisterFieldContainer(const 
> osg::FieldContainerPtr & pFieldContainer={...})  Zeile 142    C++
        OSGSystemD.dll!osg::FieldContainerPtrBase::deleteContainers()  Zeile 85 
+ 0x10 Bytes    C++
        OSGSystemD.dll!osg::FieldContainerPtrBase::subRef()  Zeile 149  C++
        OSGSystemD.dll!osg::subRefCP(const osg::FieldContainerPtrBase & 
objectP={...})  Zeile 66        C++
        
OSGSystemD.dll!osg::ClearSlot::operator()(osg::FCPtr<osg::AttachmentPtr,osg::StateChunk>
 & slotPtr={...})  Zeile 69 + 0x9 Bytes C++
        
OSGSystemD.dll!std::_Transform<std::_Vector_iterator<osg::FCPtr<osg::AttachmentPtr,osg::StateChunk>,std::allocator<osg::FCPtr<osg::AttachmentPtr,osg::StateChunk>
 > 
>,std::_Vector_iterator<osg::FCPtr<osg::AttachmentPtr,osg::StateChunk>,std::allocator<osg::FCPtr<osg::AttachmentPtr,osg::StateChunk>
 > 
>,osg::ClearSlot,std::forward_iterator_tag>(std::_Vector_iterator<osg::FCPtr<osg::AttachmentPtr,osg::StateChunk>,std::allocator<osg::FCPtr<osg::AttachmentPtr,osg::StateChunk>
 > > _First={...}, 
std::_Vector_iterator<osg::FCPtr<osg::AttachmentPtr,osg::StateChunk>,std::allocator<osg::FCPtr<osg::AttachmentPtr,osg::StateChunk>
 > > _Last={...}, 
std::_Vector_iterator<osg::FCPtr<osg::AttachmentPtr,osg::StateChunk>,std::allocator<osg::FCPtr<osg::AttachmentPtr,osg::StateChunk>
 > > _Dest={...}, osg::ClearSlot _Func={...}, std::forward_iterator_tag 
__formal={...}, std::forward_iterator_tag __formal={...})  Zeile 670 + 0x11 
Bytes     C++
        
OSGSystemD.dll!std::_Transform<std::_Vector_iterator<osg::FCPtr<osg::AttachmentPtr,osg::StateChunk>,std::allocator<osg::FCPtr<osg::AttachmentPtr,osg::StateChunk>
 > 
>,std::_Vector_iterator<osg::FCPtr<osg::AttachmentPtr,osg::StateChunk>,std::allocator<osg::FCPtr<osg::AttachmentPtr,osg::StateChunk>
 > 
>,osg::ClearSlot>(std::_Vector_iterator<osg::FCPtr<osg::AttachmentPtr,osg::StateChunk>,std::allocator<osg::FCPtr<osg::AttachmentPtr,osg::StateChunk>
 > > _First={...}, 
std::_Vector_iterator<osg::FCPtr<osg::AttachmentPtr,osg::StateChunk>,std::allocator<osg::FCPtr<osg::AttachmentPtr,osg::StateChunk>
 > > _Last={...}, 
std::_Vector_iterator<osg::FCPtr<osg::AttachmentPtr,osg::StateChunk>,std::allocator<osg::FCPtr<osg::AttachmentPtr,osg::StateChunk>
 > > _Dest={...}, osg::ClearSlot _Func={...}, std::random_access_iterator_tag 
__formal={...}, std::random_access_iterator_tag __formal={...})  Zeile 683 + 
0x9c Bytes   C++
        
OSGSystemD.dll!std::transform<std::_Vector_iterator<osg::FCPtr<osg::AttachmentPtr,osg::StateChunk>,std::allocator<osg::FCPtr<osg::AttachmentPtr,osg::StateChunk>
 > 
>,std::_Vector_iterator<osg::FCPtr<osg::AttachmentPtr,osg::StateChunk>,std::allocator<osg::FCPtr<osg::AttachmentPtr,osg::StateChunk>
 > 
>,osg::ClearSlot>(std::_Vector_iterator<osg::FCPtr<osg::AttachmentPtr,osg::StateChunk>,std::allocator<osg::FCPtr<osg::AttachmentPtr,osg::StateChunk>
 > > _First={...}, 
std::_Vector_iterator<osg::FCPtr<osg::AttachmentPtr,osg::StateChunk>,std::allocator<osg::FCPtr<osg::AttachmentPtr,osg::StateChunk>
 > > _Last={...}, 
std::_Vector_iterator<osg::FCPtr<osg::AttachmentPtr,osg::StateChunk>,std::allocator<osg::FCPtr<osg::AttachmentPtr,osg::StateChunk>
 > > _Dest={...}, osg::ClearSlot _Func={...})  Zeile 695 + 0xb0 Bytes    C++
        OSGSystemD.dll!osg::State::clearChunks()  Zeile 443 + 0x94 Bytes        
C++
        OSGSystemD.dll!osg::State::~State()  Zeile 136  C++
        OSGSystemD.dll!osg::State::`vector deleting destructor'()  + 0x69 Bytes 
C++
        OSGSystemD.dll!osg::FieldContainerPtrBase::deleteContainers()  Zeile 
114 + 0x11 Bytes   C++
        OSGSystemD.dll!osg::FieldContainerPtrBase::subRef()  Zeile 149  C++
        OSGSystemD.dll!osg::subRefCP(const osg::FieldContainerPtrBase & 
objectP={...})  Zeile 66        C++
        OSGSystemD.dll!osg::Material::~Material()  Zeile 150 + 0xc Bytes        
C++
        OSGSystemD.dll!osg::ChunkMaterialBase::~ChunkMaterialBase()  Zeile 200 
+ 0x33 Bytes     C++
        OSGSystemD.dll!osg::ChunkMaterial::~ChunkMaterial()  Zeile 112 + 0xf 
Bytes      C++
        OSGSystemD.dll!osg::ChunkMaterial::`vector deleting destructor'()  + 
0x69 Bytes C++
        OSGSystemD.dll!osg::FieldContainerPtrBase::deleteContainers()  Zeile 
114 + 0x11 Bytes   C++
        OSGSystemD.dll!osg::FieldContainerPtrBase::subRef()  Zeile 149  C++
        OSGSystemD.dll!osg::subRefCP(const osg::FieldContainerPtrBase & 
objectP={...})  Zeile 66        C++
        OSGSystemD.dll!osg::RemoteAspect::receiveSync(osg::Connection & 
connection={...}, bool applyToChangelist=false)  Zeile 357 + 0xc Bytes  C++
        OSGSystemD.dll!osg::ClusterServer::doSync(bool applyToChangelist=false) 
 Zeile 288      C++
        OSGSystemD.dll!osg::ClusterServer::render(osg::RenderActionBase * 
action=0x03e38a18)  Zeile 239 C++     
------------------------------------------------------------------------------
_______________________________________________
Opensg-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/opensg-users

Reply via email to