Hi ,
I have a piece of code in that i m getting dump.
I tried with gdb but it shoung strange type of thing so
I am putting the piece of code please go through once and update me.

==================
  uint32 cell = var->nextCell;

  uint32  cellNextCounter = 0;

  cplane->tActivation = NULL;



  if(!cplane->cellAmount)

    return;



  if(cplane->state == OCCP_disconnected)

    return;



  printf("\nJSI Before ocnsCMgrHandleTActivation: cell:%d cellNextCounter:%d
cplane->cellAmount:%d\n", cell, cellNextCounter, cplane->cellAmount);


  while(cplane->cell[cell].deactivation.first == NULL &&

        cplane->cell[cell].activation.first == NULL &&

        cellNextCounter < cplane->cellAmount) {

        cell = (cell + 1) % cplane->cellAmount;

        ++cellNextCounter;

        printf("\nJSI After ocnsCMgrHandleTActivation: cell:%d
cellNextCounter:%d cplane->cellAmount:%d\n", cell, cellNextCounter,
cplane->cellAmount);
 }



  if(cellNextCounter == cplane->cellAmount) { /* no more user to activate */

    ocnsCMgrUserCheckState(var);

    return; /* this is not an error */

  }


  here at run time the  cellNextCounter is not changing could you give your
suggestion what would be the cause




===========

-Ravi


[Non-text portions of this message have been removed]

Reply via email to