Random tapisrv.dll crashes, stuck in infinite loop
- From: GuyverXT9@xxxxxxxxx
- Date: 24 Feb 2006 02:19:15 -0800
Hi
I've written a TSP in Delphi for a SIP based VoIP phone. Everything in
the TSP works fine, but whenever the CALLSTATE messages are processed,
Tapi seems to get stuck in an infinite loop. I've check the results for
all of the tapi functions involved and they return SUCCESS. The
callbacks also execute and return back to the TSP, but afterwards the
infinite loop occurs.
This happens randomly (sometimes on the first try, sometimes on the
35th etc.) and I can't figure why. I've checked for null-terminated
strings, memory leaks etc. The TSP and the softphone speak to each
other via shared memory.
I've attached to the tapisrv process using the IDE debugger, and traced
the problem into the tapisrv.dll. In the CPU window, I see that
register eax gets decremented. The initial value of this register is 0,
and the value afterwards is -1. This is the point where the infinite
loop occurs.
This happens on both win2k and winxp.
Any help would be appreciated, since I'm completely stumped on this
one.
Thanks,
Stephan
.
- Follow-Ups:
- Re: Random tapisrv.dll crashes, stuck in infinite loop
- From: Andreas Marschall [MVP TAPI]
- Re: Random tapisrv.dll crashes, stuck in infinite loop
- Prev by Date: About IP telephony conferencing with an analog VoIP gateway
- Next by Date: Re: Newbie: Telephony problem in Outlook 2003 sp2
- Previous by thread: About IP telephony conferencing with an analog VoIP gateway
- Next by thread: Re: Random tapisrv.dll crashes, stuck in infinite loop
- Index(es):
Relevant Pages
|