Re: [reSIProcate] DUM crashes in release mode on a valid REGISTERrequest having non-empty "Contacts" field
Dima,
Just to give you some additional information, I've been using VS 2005 on XP
with the /O2 (Maximize Speed) switch with no problems. The solution file
for my application contains my app's .vcproj files as well as resip's dum,
rutil and ares .vcproj files. All projects are compiled with /02 switch.
-Justin
-----Original Message-----
From: resiprocate-devel-bounces@xxxxxxxxxxxxxxxxxxxx
[mailto:resiprocate-devel-bounces@xxxxxxxxxxxxxxxxxxxx] On Behalf Of Dima
Borshevsky
Sent: Sunday, February 18, 2007 7:55 AM
To: resiprocate-devel@xxxxxxxxxxxxxxxxxxx
Subject: [reSIProcate] DUM crashes in release mode on a valid
REGISTERrequest 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
_______________________________________________
resiprocate-devel mailing list
resiprocate-devel@xxxxxxxxxxxxxxxxxxxx
https://list.resiprocate.org/mailman/listinfo/resiprocate-devel