Hey, I observe that if I comment out the following in my  code then the app 
doesn't crash, but I do need the log file. Can anyone suggest something?

sipxConfigSetLogLevel (LOG_LEVEL_DEBUG);
  ----- Original Message ----- 
  From: logan 
  To: [email protected] 
  Sent: Saturday, February 24, 2007 2:49 PM
  Subject: [sipxtapi-dev] Crash in sipxInitialize (debug build)


  Hi,

  I updated my sources today (sipxtapi-main branch). And, since then the 
application crahses inside sipxInitialize. The crash happens only during the 
debug build and everything is fine with the release build. 

  The crash is not consistent, at times it happens during pInst->pCallManager = 
new CallManager(...), or sipxConfigGetAllLocalNetworkIps (), or 
pInst->pCallManager = new CallManager (...). Does anyone else has this problem?

  The crash always takes me to the following lines in ossyslogtask.cpp:

  /*
   * Clean up the entry of no ring buffer was installed.  Otherwise, the
   * ring buffer is responsible for clean up.
  */
     if (!mpRingBuffer)
        free(pEntry);    //<---Crashes here

  I actually updated the sources after a long while (a month or so), so not 
sure what's causing the problem. 

  Thanks,
  Hitesh


------------------------------------------------------------------------------


  _______________________________________________
  sipxtapi-dev mailing list
  [email protected]
  List Archive: http://list.sipfoundry.org/archive/sipxtapi-dev/


--------------------------------------------------------------------------------



  ----- Original Message ----- 
  From: logan 
  To: [email protected] 
  Sent: Saturday, February 24, 2007 2:49 PM
  Subject: [sipxtapi-dev] Crash in sipxInitialize (debug build)


  Hi,

  I updated my sources today (sipxtapi-main branch). And, since then the 
application crahses inside sipxInitialize. The crash happens only during the 
debug build and everything is fine with the release build. 

  The crash is not consistent, at times it happens during pInst->pCallManager = 
new CallManager(...), or sipxConfigGetAllLocalNetworkIps (), or 
pInst->pCallManager = new CallManager (...). Does anyone else has this problem?

  The crash always takes me to the following lines in ossyslogtask.cpp:

  /*
   * Clean up the entry of no ring buffer was installed.  Otherwise, the
   * ring buffer is responsible for clean up.
  */
     if (!mpRingBuffer)
        free(pEntry);    //<---Crashes here

  I actually updated the sources after a long while (a month or so), so not 
sure what's causing the problem. 

  Thanks,
  Hitesh


------------------------------------------------------------------------------


  _______________________________________________
  sipxtapi-dev mailing list
  [email protected]
  List Archive: http://list.sipfoundry.org/archive/sipxtapi-dev/
_______________________________________________
sipxtapi-dev mailing list
[email protected]
List Archive: http://list.sipfoundry.org/archive/sipxtapi-dev/

Reply via email to