Hello.
A dialog is created using the function: create_dialog("Pp")
If a dialog between softphones ends without a proper BYE request (e.g. due to
network failure), then after the dialog is terminated OpenSIPS crashes with the
following log:
```**Log:**
Dec 1 16:04:25 nikita-debian /usr/local/opensips/sbin/opensips[25407]:
INFO:dialog:rep
ly_from_caller: terminating dialog ( due to timeout ) with callid =
[drwXg1JypdFTX2aGfA
-p2Q..]
Dec 1 16:04:25 nikita-debian /usr/local/opensips/sbin/opensips[25407]:
INFO:dialog:rep
ly_from_callee: terminating dialog ( due to timeout ) with callid =
[drwXg1JypdFTX2aGfA
-p2Q..]
Dec 1 16:04:30 nikita-debian /usr/local/opensips/sbin/opensips[25409]:
CRITICAL:dialog
:unref_dlg: bogus ref -1 with cnt 1 for dlg 0x7f4731b8ad40 [2435:1995373175]
with clid
'drwXg1JypdFTX2aGfA-p2Q..' and tags '96505036' '960188444'
Dec 1 16:04:30 nikita-debian /usr/local/opensips/sbin/opensips[25409]:
CRITICAL:dialog
:unref_dlg: bogus ref -2 with cnt 1 for dlg 0x7f4731b8ad40 [2435:1995373175]
with clid
'drwXg1JypdFTX2aGfA-p2Q..' and tags '96505036' '960188444'
Dec 1 16:04:50 nikita-debian /usr/local/opensips/sbin/opensips[25409]:
ERROR:core:pars
e_to_param: unexpected char [T] in status 29: <<;tag=Ping >> .
Dec 1 16:04:50 nikita-debian /usr/local/opensips/sbin/opensips[25409]:
ERROR:core:pars
e_from_header: bad from header
Dec 1 16:04:50 nikita-debian /usr/local/opensips/sbin/opensips[25409]:
ERROR:acc:acc_p
reparse_req: failed to preparse request
Dec 1 16:04:50 nikita-debian /usr/local/opensips/sbin/opensips[25409]:
CRITICAL:dialog
:unref_dlg: bogus ref -2 with cnt 1 for dlg 0x7f4731b8ad40 [2435:1995373175]
with clid
'drwXg1JypdFTX2aGfA-p2Q..' and tags '96505036' 'Ping Time'
Dec 1 16:04:50 nikita-debian /usr/local/opensips/sbin/opensips[25409]:
ERROR:core:pars
e_to_param: unexpected char [T] in status 29: <<;tag=Ping >> .
Dec 1 16:04:50 nikita-debian /usr/local/opensips/sbin/opensips[25409]:
ERROR:core:get_
hdr_field: bad to header
Dec 1 16:04:50 nikita-debian /usr/local/opensips/sbin/opensips[25409]:
INFO:core:parse
_headers: bad header field
Dec 1 16:04:50 nikita-debian /usr/local/opensips/sbin/opensips[25409]:
ERROR:tm:buf_to
_sip_msg: parse_headers failed
Dec 1 16:04:50 nikita-debian /usr/local/opensips/sbin/opensips[25409]:
ERROR:tm:t_uac:
failed to build sip_msg from buffer
Dec 1 16:04:50 nikita-debian /usr/local/opensips/sbin/opensips[25409]:
CRITICAL:dialog:unref_dlg: bogus ref -2 with cnt 1 for dlg 0x7f4731b8ad40
[2435:1995373175] with clid 'drwXg1JypdFTX2aGfA-p2Q..' and tags '96505036'
'Ping Time'
Dec 1 16:04:50 nikita-debian /usr/local/opensips/sbin/opensips[25409]:
CRITICAL:dialog:unref_dlg: bogus ref -3 with cnt 1 for dlg 0x7f4731b8ad40
[2435:1995373175] with clid 'drwXg1JypdFTX2aGfA-p2Q..' and tags '96505036'
'Ping Time'
Dec 1 16:04:55 nikita-debian /usr/local/opensips/sbin/opensips[25408]:
CRITICAL:dialog:unref_dlg: bogus ref -4 with cnt 1 for dlg 0x7f4731b8ad40
[2435:1995373175] with clid 'drwXg1JypdFTX2aGfA-p2Q..' and tags '96505036'
'Ping Time'
Dec 1 16:04:55 nikita-debian /usr/local/opensips/sbin/opensips[25408]:
CRITICAL:dialog:unref_dlg: bogus ref -6 with cnt 2 for dlg 0x7f4731b8ad40
[2435:1995373175] with clid 'drwXg1JypdFTX2aGfA-p2Q..' and tags '96505036'
'Ping Time'
Dec 1 16:04:55 nikita-debian /usr/local/opensips/sbin/opensips[25408]:
CRITICAL:dialog:unref_dlg: bogus ref -7 with cnt 1 for dlg 0x7f4731b8ad40
[2435:1995373175] with clid 'drwXg1JypdFTX2aGfA-p2Q..' and tags '96505036'
'Ping Time'
Dec 1 16:05:43 nikita-debian /usr/local/opensips/sbin/opensips[25397]:
INFO:core:handle_sigs: child process 25409 exited by a signal 11
Dec 1 16:05:43 nikita-debian /usr/local/opensips/sbin/opensips[25397]:
INFO:core:handle_sigs: core was generated
Dec 1 16:05:43 nikita-debian /usr/local/opensips/sbin/opensips[25397]:
INFO:core:handle_sigs: terminating due to SIGCHLD
Dec 1 16:05:43 nikita-debian /usr/local/opensips/sbin/opensips[25397]:
INFO:core:cleanup: cleanup
Dec 1 16:06:43 nikita-debian /usr/local/opensips/sbin/opensips[25397]:
CRITICAL:core:sig_alarm_abort: BUG - shutdown timeout triggered, dying...```
---
Reply to this email directly or view it on GitHub:
https://github.com/OpenSIPS/opensips/issues/712
_______________________________________________
Devel mailing list
[email protected]
http://lists.opensips.org/cgi-bin/mailman/listinfo/devel