[EMAIL PROTECTED] wrote: > Same problem here. Tested with branch sipXtapi rev 8914 > (not tested yet if the 'release' version works) > > My env: > - Windows XP Professional SP2 > - Visual Studio .NET Standard 2003 > - Speex 1.2beta1 > - PCRE 4.4 > - cppunit-1.10.2 > - wxWindows-2.4.2 > > Maybe a problem with .NET 2003? > > ----- Original Message ----- > From: logan > To: [EMAIL PROTECTED] > Sent: Saturday, February 24, 2007 15:08 PM > Subject: [sipxtapi-dev] Crash in sipxInitialize (debug build) > > 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/ > > I use
sipxConfigSetLogLevel (LOG_LEVEL_DEBUG);, used LOG_TO_FILE when compiling sipxtapi, and enabled console output in sipxtapiinitialize and im not getting any crashes. I tried to reinitialize 20x (this function basically calls uninitialize and then initialize). I set log level after I initialize sipxtapi. The revision is 8920. Jaroslav Libak _______________________________________________ sipxtapi-dev mailing list [email protected] List Archive: http://list.sipfoundry.org/archive/sipxtapi-dev/
