THIS IS AN AUTOMATED MESSAGE, DO NOT REPLY.
The following task has a new comment added:
FS#435 - crash in parser/sdp/sdp_helpr_funcs.c
User who did this - Michael Ricordeau (mricordeau)
----------
Ok thanks for the explanation !
----------
More information can be found at the following URL:
http://sip-router.org/tracker/index.php?do=details&task_id=435#comment1496
You are receiving this message because you have requested it from the Flyspray bugtracking system. If you did not expect this message or don't want to receive mails in future, you can change your notification settings at the URL shown above.
THIS IS AN AUTOMATED MESSAGE, DO NOT REPLY.
The following task has a new comment added:
FS#435 - crash in parser/sdp/sdp_helpr_funcs.c
User who did this - Daniel-Constantin Mierla (miconda)
----------
The crash happened due to some local variables that had uninitialized value (those that should have stored the clock rate and rtpmap parameters). Sometime it can happen that their value is small enough not to result in memory fault access, this is something random.
----------
More information can be found at the following URL:
http://sip-router.org/tracker/index.php?do=details&task_id=435#comment1495
You are receiving this message because you have requested it from the Flyspray bugtracking system. If you did not expect this message or don't want to receive mails in future, you can change your notification settings at the URL shown above.
THIS IS AN AUTOMATED MESSAGE, DO NOT REPLY.
The following task has a new comment added:
FS#435 - crash in parser/sdp/sdp_helpr_funcs.c
User who did this - Michael Ricordeau (mricordeau)
----------
Yes payload 9 G700 is invalid and does not specify the clock rate.
But I was trying to reproduce the same crash but when sending the same
Sip invite packet to another kamailio with same version as the one crashed,
I'm getting this error instead of a crash.
So do you think it may happen only when we have some traffic (using shared mem) ?
----------
More information can be found at the following URL:
http://sip-router.org/tracker/index.php?do=details&task_id=435#comment1494
You are receiving this message because you have requested it from the Flyspray bugtracking system. If you did not expect this message or don't want to receive mails in future, you can change your notification settings at the URL shown above.
THIS IS AN AUTOMATED MESSAGE, DO NOT REPLY.
The following task has a new comment added:
FS#435 - crash in parser/sdp/sdp_helpr_funcs.c
User who did this - Daniel-Constantin Mierla (miconda)
----------
The SDP has an invalid a= line, as I said in the comment:
- http://sip-router.org/tracker/index.php?do=details&task_id=435#comment1485
The clock rate is missing, therefore the error message.
----------
More information can be found at the following URL:
http://sip-router.org/tracker/index.php?do=details&task_id=435#comment1493
You are receiving this message because you have requested it from the Flyspray bugtracking system. If you did not expect this message or don't want to receive mails in future, you can change your notification settings at the URL shown above.
THIS IS AN AUTOMATED MESSAGE, DO NOT REPLY.
The following task has a new comment added:
FS#435 - crash in parser/sdp/sdp_helpr_funcs.c
User who did this - Michael Ricordeau (mricordeau)
----------
I tried to reproduce the same INVITE with wrong codec and with same kamailio version and I'm getting an error, no crash :
ERROR: <core> [parser/sdp/sdp_helpr_funcs.c:246]: extract_rtpmap(): invalid encoding in `a=rtpmap'
I have attached the python script (basic socket ...) used to send the SIP INVITE from gdb trace .
The function is called here in kamailio cfg :
if (client_nat_test("3")){
xlog("L_INFO", "CALL RE-INVITE/UPDATE Nat DETECTED $ci\n");
force_rport();
fix_contact();
# Change Media ip address to public IP
if(nat_uac_test("8") && search("Content-type: application/sdp")) {
xlog("L_INFO", ">>> RE-INVITE/UPDATE CALL fixing SDP- NAT \n");
fix_nated_sdp("2");
}
}
----------
One or more files have been attached.
More information can be found at the following URL:
http://sip-router.org/tracker/index.php?do=details&task_id=435#comment1492
You are receiving this message because you have requested it from the Flyspray bugtracking system. If you did not expect this message or don't want to receive mails in future, you can change your notification settings at the URL shown above.
THIS IS AN AUTOMATED MESSAGE, DO NOT REPLY.
The following task has a new comment added:
FS#435 - crash in parser/sdp/sdp_helpr_funcs.c
User who did this - Michael Ricordeau (mricordeau)
----------
Thanks Daniel and Ovidiu, we will try the patch asap .
----------
More information can be found at the following URL:
http://sip-router.org/tracker/index.php?do=details&task_id=435#comment1491
You are receiving this message because you have requested it from the Flyspray bugtracking system. If you did not expect this message or don't want to receive mails in future, you can change your notification settings at the URL shown above.
[resent - devel mailing list address was invalid]
For the moment I will just get it walking via headers list, with no
shortcut in sip_msg_t as hdr_field_t*. The reply doesn't have many
headers anyhow.
But, if I am not wrong, I think Reason header can occur many times. Or
at least I saw it two times, one time like:
Reason: Q.850; ...
and in the same message, another one like:
Reason: SIP;...
Overall, I think we should review which shortcut pointers to headers
makes sense to keep inside sip_msg_t. Some of them are very rare in sip
messages, probably can be found easily by walking the list of headers
when needed.
Cheers,
Daniel
On 30/05/14 17:52, Juha Heinanen wrote:
> i'll move this to devel. acc module is not trivial one.
>
> should parsing of reason header be added to parser and struct hdr_field*
> reason to struct sip_mgs?
>
> -- juha
--
Daniel-Constantin Mierla - http://www.asipto.comhttp://twitter.com/#!/miconda - http://www.linkedin.com/in/miconda