Hello,
On 02.06.21 19:00, Trevor Hemsley wrote:
Hi
We've seen a few occurrences of this crash since we implemented kamailio 5.4.5 for our inbound call traffic.to clarify: have you made an update to kamailio 5.4.5 from an older version and since then you started to have such crashes? If yes, what was the previous version? I quickly checked and there were no major changes to dialog module in 5.4 branch.
If you started with this version, is it under heavy load? Have you captured the SIP traffic? It would be useful to see the sip messages for such call.
Preceding the crash we always get a message in the logs about "dialog [dlg_hash.c:1182]: next_state_dlg(): bogus event 2 in state 5 for dlg" and whenever we see that message, we get the crash.
Jun 1 10:12:14 thissystem /usr/sbin/kamailio[20001]: CRITICAL: {2 1 INVITE 6787142-3831531134-1330894187@some.telco.domain} dialog [dlg_hash.c:1182]: next_state_dlg(): bogus event 2 in state 5 for dlg 0x7fae153d3cf0 [3973:6059] with clid '82608924-3831089984-1833452161@some.telco.domain' and tags '3831089984-684203260' ''
The crash happens on line 879 of https://github.com/kamailio/kamailio/blob/master/src/modules/dialog/dlg_db_handler.cYou reference to code in master branch, not in 5.4 branch, so unless you did the remapping, the lines might not be the same.
You can eventually open an issue in the bug tracker to collect the details there and assist with troubleshooting.
Disclaimer
The information contained in this communication from the sender is confidential. It is intended solely for use by the recipient and others authorized to receive it. If you are not the recipient, you are hereby notified that any disclosure, copying, distribution or taking action in relation of the contents of this information is strictly prohibited and may be unlawful.
This email has been scanned for viruses and malware, and may have been automatically archived by Mimecast Ltd, an innovator in Software as a Service (SaaS) for business. Providing a safer and more useful place for your human generated data. Specializing in; Security, archiving and compliance. To find out more Click Here.