Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Apr 24, 2008, 12:48:31 AM (17 years ago)
Author:
dumenim
Message:

may have found another seg fault in GameStateClient in loadShapshot line 118

Location:
code/branches/network2/src/network
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • code/branches/network2/src/network/GameStateClient.cc

    r1106 r1152  
    115115        if(!it){
    116116          COUT(4) << "loadSnapshot:\tclassid: " << sync.classID << ", name: " << ID((unsigned int) sync.classID)->getName() << std::endl;
     117          ///sigsegv may happen here again for some reason
     118          ///sigsegv is receved after the COUT(4) above
    117119          Synchronisable *no = dynamic_cast<Synchronisable *>(ID((unsigned int) sync.classID)->fabricate());
    118120          no->objectID=sync.objectID;
  • code/branches/network2/src/network/Synchronisable.cc

    r1150 r1152  
    181181    COUT(5) << "Synchronisable: objectID " << objectID << ", classID " << classID << " synchronising data" << std::endl;
    182182    for(i=syncList->begin(); i!=syncList->end(); i++){
    183       COUT(5) << "element size: " << (*i)->size << " type: " << (*i)->type << std::endl;
     183      COUT(5) << "Synchronisable: element size: " << (*i)->size << " type: " << (*i)->type << std::endl;
    184184      if(*(int *)data==(*i)->size || (*i)->type==STRING){
    185185        switch((*i)->type){
Note: See TracChangeset for help on using the changeset viewer.