< Previous by Date Date Index Next by Date >
  Thread Index Next in Thread >

[reSIProcate] DUM crashes in release mode on a valid REGISTER request having non-empty "Contacts" field


Hi,

I am using the latest version (revision 6807) compiled using VS 2005 and
running on Win XP.
The stack (DUM) crashes in release mode (with 'Optimization=Maximize
Speed').
There is no crash in debug mode or release mode with
'Optimization=disabled'.
I have implemented the server side and the crash occurs on every
Register message having non-empty "Contact" field.

Has anyone encountered such a problem?

The crash is in method:
  void ServerRegistration::dispatch(const SipMessage& msg)
(in the file "...\RESIPROCATE\resip\dum\ServerRegistration.cxx")

While iterating thru (line 170):

for(i = contactList.begin(); i != contactList.end(); i++)


it crashes on the first attempt of i++


Example Register request:

REGISTER sip:172.20.50.31 SIP/2.0
Via: SIP/2.0/UDP 172.20.2.49:8521
Max-Forwards: 70
From:<sip:WinMsg451@xxxxxxxxxxxx>;tag=90ed51354fb1430a91dfd00fe5a7365f
;epid=4afe57673a
To: <sip:WinMsg451@xxxxxxxxxxxx>
Call-ID: cf43bcff42494630afc11f6721971fca
CSeq: 1 REGISTER
Contact: <sip:172.20.2.49:8521>;methods="INVITE, MESSAGE, INFO,
SUBSCRIBE, OPTIONS, BYE, CANCEL, NOTIFY, ACK, REFER, BENOTIFY"
User-Agent: RTC/1.3.5470 (Messenger 5.1.0680)
Event: registration
Allow-Events: presence
Content-Length: 0

Thanks,
Dima