Bugs item #1779541, was opened at 2007-08-22 09:00 Message generated for change (Comment added) made by sf-robot 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: Closed 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: SourceForge Robot (sf-robot) Date: 2007-09-07 19:20 Message: Logged In: YES user_id=1312539 Originator: NO This Tracker item was closed automatically by the system. It was previously set to a Pending status, and the original submitter did not respond within 14 days (the time period specified by the administrator of this Tracker). ---------------------------------------------------------------------- Comment By: Pekka Pessi (ppessi) Date: 2007-08-24 02: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: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Sofia-sip-devel mailing list Sofia-sip-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/sofia-sip-devel