Bugs item #1779541, was opened at 2007-08-22 19:00 Message generated for change (Comment added) made by ppessi You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=756076&aid=1779541&group_id=143636
Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: None Group: None >Status: Pending Resolution: None Priority: 5 Private: No Submitted By: Erland Lewin (erl) Assigned to: Nobody/Anonymous (nobody) Summary: Poor error handling for port 0 in SDP Initial Comment: I've spent a day tracking down weird behaviour, and just figured it out. Through a bug in my own code, I had a port of 0 in the m=audio line of the SDP description passed in the SOATAG_USER_SDP_STR macro in nua_respond. The result is that I got errors: tport_vsend(0x804ccd0): Operation not permitted with (s=9 UDP/82.209.165.194:5060) tport_vsend returned -1 incoming_reply: tport_tsend: Operation not permitted incoming_reply: tport_tsend: error (Operation not permitted) while sending 200 OK for INVITE (101) I think this is because the system call sendmsg was called with an invalid pointer because the SOA-subsystem had problems with the 0 port. I think the correct behaviour of SofiaSIP would be to signal an SOA error, and not even attempt to call sendmsg if the SDP stuff fails. I am running Linux 2.6.18 and sofia-sip-1.12.6. ---------------------------------------------------------------------- >Comment By: Pekka Pessi (ppessi) Date: 2007-08-24 12:58 Message: Logged In: YES user_id=52043 Originator: NO Sounds like some heap trashing problem. Could you please try to help reproducing the problem, e.g., use your SDP in the soa/test_soa.c function test_media_reject() and see if test_soa then crash or triggers errors when run with valgrind? ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=756076&aid=1779541&group_id=143636 ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ Sofia-sip-devel mailing list Sofia-sip-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/sofia-sip-devel