Hi All,

this is sent for Michael Raab, it bounced due to a large attachment. In the 
interest of keeping everybody's Inbox unclogged the list rejects messages with 
more than 200K of attachments. If you want to send us something bigger than 
that, please upload it to a public file hoster like drop.io, rapidshare.com or 
megaupload.com (or one of about 100 others). Thanks!


Hi all,

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!

Looking into the code this message is only generated in debug mode and the 
origin of the crash (most likely an out of bounds array access) is avoided, see:

inline
bool FieldContainerFactory::unregisterFieldContainer(
     const FieldContainerPtr &pFieldContainer)
{
     if(pFieldContainer == NullFC)
         return false;

     if(_pStoreLock != NULL)
         _pStoreLock->aquire();

     if(_pFieldContainerStore != NULL)
     {
#ifdef OSG_DEBUG
         if (pFieldContainer.getFieldContainerId() >=
                     (*_pFieldContainerStore).size())
         {
             FWARNING(("FieldContainerFactory::unregisterFieldContainer:"
                 "id %d inconsistent with store size %d!\n",
                 pFieldContainer.getFieldContainerId(),
                 (*_pFieldContainerStore).size() ));
             return true;
         }
         else
#endif

         (*_pFieldContainerStore)[pFieldContainer.getFieldContainerId()] =
             NullFC;
     }

     if(_pStoreLock != NULL)
         _pStoreLock->release();

     return false;
}

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.)

Thanks & best regards,
Michael


------------------------------------------------------------------------------
Download Intel® 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
Opensg-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/opensg-users

Reply via email to