BUG: Shutdown timeout

classic Classic list List threaded Threaded
4 messages Options
Reply | Threaded
Open this post in threaded view
|

BUG: Shutdown timeout

M.Khaled W Chehab

Hello,

 

 

My opensips stops suddenly with the below error in log file, how to find and fix this bug  

 

2013-07-18T21:28:41.301961+00:00 opensips opensips[14336]: ERROR:tm:t_check: reply cannot be parsed

2013-07-18T21:33:37.056151+00:00 opensips opensips[14333]: --Debug Customer IP:xx.xx.xx.xx-----Permission Denied for INVITE from sip:[hidden email] to sip:[hidden email]  275579741-0-4233428028@62.190.146.31

2013-07-18T21:33:37.757086+00:00 opensips opensips[14323]: --Debug Customer IP:xx.xx.xx.xx-----Permission Denied for INVITE from sip:[hidden email] to sip:[hidden email]  161768799-0-1203493098@62.190.146.30

2013-07-18T22:21:50.702682+00:00 opensips opensips[14318]: --Debug Customer IP:xx.xx.xx.xx-----Permission Denied for INVITE from sip:[hidden email] to sip:[hidden email]  161798679-0-1206385818@62.190.146.30

2013-07-18T22:21:51.165865+00:00 opensips opensips[14320]: --Debug Customer IP:xx.xx.xx.xx-----Permission Denied for INVITE from sip:[hidden email] to sip:[hidden email]  275610902-0-4236321928@62.190.146.31

2013-07-18T22:22:48.351683+00:00 opensips opensips[14320]: --Debug Customer IP:xx.xx.xx.xx-----Permission Denied for INVITE from sip:[hidden email] to sip:[hidden email]  161799195-0-1206443498@62.190.146.30

2013-07-18T22:22:48.983005+00:00 opensips opensips[14344]: --Debug Customer IP:xx.xx.xx.xx-----Permission Denied for INVITE from sip:[hidden email] to sip:[hidden email]  275611430-0-4236379748@62.190.146.31

2013-07-19T06:16:26.873502+00:00 opensips opensips[14453]: CRITICAL:dialog:unref_dlg: bogus ref -1 with cnt 1 for dlg 0x7f93a95e8878 [4011:185119809] with clid '162005786-0-1234838388@62.190.146.30' and tags 'sansay321252821rdb4676' '4089d96837c81bfcf1773f74421dd1cd'

2013-07-19T06:17:28.673757+00:00 opensips opensips[14309]: CRITICAL:core:sig_alarm_abort: BUG - shutdown timeout triggered, dying...

 

 

Please advice

Regards

 


_______________________________________________
Users mailing list
[hidden email]
http://lists.opensips.org/cgi-bin/mailman/listinfo/users
Reply | Threaded
Open this post in threaded view
|

Re: BUG: Shutdown timeout

M.Khaled W Chehab

I checked the call the crashed my opensips and it was due to:

 

The user send an second invite  an ACK for  the 200 ok and send a new invite to the same number with the same caller-ID in the same second

How can I block the second invite in a call ,I try to use

 

 

 

 

From: [hidden email] [mailto:[hidden email]] On Behalf Of M.Khaled W Chehab
Sent: Friday, July 19, 2013 10:58 AM
To: [hidden email]
Subject: [OpenSIPS-Users] BUG: Shutdown timeout

 

Hello,

 

 

My opensips stops suddenly with the below error in log file, how to find and fix this bug  

 

2013-07-18T21:28:41.301961+00:00 opensips opensips[14336]: ERROR:tm:t_check: reply cannot be parsed

2013-07-18T21:33:37.056151+00:00 opensips opensips[14333]: --Debug Customer IP:xx.xx.xx.xx-----Permission Denied for INVITE from <a href="sip:213659236535@xx.xx.xx.xx">sip:213659236535@... to <a href="sip:962776482222@xx.xx.xx.xx">sip:962776482222@...  [hidden email]

2013-07-18T21:33:37.757086+00:00 opensips opensips[14323]: --Debug Customer IP:xx.xx.xx.xx-----Permission Denied for INVITE from <a href="sip:213659236535@xx.xx.xx.xx">sip:213659236535@... to <a href="sip:962776482222@xx.xx.xx.xx">sip:962776482222@...  [hidden email]

2013-07-18T22:21:50.702682+00:00 opensips opensips[14318]: --Debug Customer IP:xx.xx.xx.xx-----Permission Denied for INVITE from <a href="sip:213696613227@xx.xx.xx.xx">sip:213696613227@... to <a href="sip:962776483333@xx.xx.xx.xx">sip:962776483333@...  [hidden email]

2013-07-18T22:21:51.165865+00:00 opensips opensips[14320]: --Debug Customer IP:xx.xx.xx.xx-----Permission Denied for INVITE from <a href="sip:213696613227@xx.xx.xx.xx">sip:213696613227@... to <a href="sip:962776483333@xx.xx.xx.xx">sip:962776483333@...  [hidden email]

2013-07-18T22:22:48.351683+00:00 opensips opensips[14320]: --Debug Customer IP:xx.xx.xx.xx-----Permission Denied for INVITE from <a href="sip:213696613227@xx.xx.xx.xx">sip:213696613227@... to <a href="sip:962776483333@xx.xx.xx.xx">sip:962776483333@...  [hidden email]

2013-07-18T22:22:48.983005+00:00 opensips opensips[14344]: --Debug Customer IP:xx.xx.xx.xx-----Permission Denied for INVITE from <a href="sip:213696613227@xx.xx.xx.xx">sip:213696613227@... to <a href="sip:962776483333@xx.xx.xx.xx">sip:962776483333@...  [hidden email]

2013-07-19T06:16:26.873502+00:00 opensips opensips[14453]: CRITICAL:dialog:unref_dlg: bogus ref -1 with cnt 1 for dlg 0x7f93a95e8878 [4011:185119809] with clid '162005786-0-1234838388@62.190.146.30' and tags 'sansay321252821rdb4676' '4089d96837c81bfcf1773f74421dd1cd'

2013-07-19T06:17:28.673757+00:00 opensips opensips[14309]: CRITICAL:core:sig_alarm_abort: BUG - shutdown timeout triggered, dying...

 

 

Please advice

Regards

 


_______________________________________________
Users mailing list
[hidden email]
http://lists.opensips.org/cgi-bin/mailman/listinfo/users
Reply | Threaded
Open this post in threaded view
|

Re: BUG: Shutdown timeout

M.Khaled W Chehab
In reply to this post by M.Khaled W Chehab

I checked the call capture for the  call that crashes my opensips and it was due to:

 

The user send a second invite with the same URI  and  same call-ID in the same second after  it  send  an ACK for  the 200 ok.

 How can I block the second invite in a call ,I tried to use    the below function but  it didn’t works please advice

       if (has_totag()) {

 

       if (is_method("INVITE")) {

                                   if (t_check_trans()) {

                                   xlog("has to tag and t_check trans t_relay---$ci \n");

                                   #t_relay();

                                   }

                                   xlog("INVITE  ---has to tag ---$ci\n");

                                   send_reply("403","Multi Invites");

                            exit;

                     }

 

Please advice

Regards

 

 

 

From: [hidden email] [mailto:[hidden email]] On Behalf Of M.Khaled W Chehab
Sent: Friday, July 19, 2013 10:58 AM
To: [hidden email]
Subject: [OpenSIPS-Users] BUG: Shutdown timeout

 

Hello,

 

 

My opensips stops suddenly with the below error in log file, how to find and fix this bug  

 

2013-07-18T21:28:41.301961+00:00 opensips opensips[14336]: ERROR:tm:t_check: reply cannot be parsed

2013-07-18T21:33:37.056151+00:00 opensips opensips[14333]: --Debug Customer IP:xx.xx.xx.xx-----Permission Denied for INVITE from <a href="sip:213659236535@xx.xx.xx.xx">sip:213659236535@... to <a href="sip:962776482222@xx.xx.xx.xx">sip:962776482222@...  [hidden email]

2013-07-18T21:33:37.757086+00:00 opensips opensips[14323]: --Debug Customer IP:xx.xx.xx.xx-----Permission Denied for INVITE from <a href="sip:213659236535@xx.xx.xx.xx">sip:213659236535@... to <a href="sip:962776482222@xx.xx.xx.xx">sip:962776482222@...  [hidden email]

2013-07-18T22:21:50.702682+00:00 opensips opensips[14318]: --Debug Customer IP:xx.xx.xx.xx-----Permission Denied for INVITE from <a href="sip:213696613227@xx.xx.xx.xx">sip:213696613227@... to <a href="sip:962776483333@xx.xx.xx.xx">sip:962776483333@...  [hidden email]

2013-07-18T22:21:51.165865+00:00 opensips opensips[14320]: --Debug Customer IP:xx.xx.xx.xx-----Permission Denied for INVITE from <a href="sip:213696613227@xx.xx.xx.xx">sip:213696613227@... to <a href="sip:962776483333@xx.xx.xx.xx">sip:962776483333@...  [hidden email]

2013-07-18T22:22:48.351683+00:00 opensips opensips[14320]: --Debug Customer IP:xx.xx.xx.xx-----Permission Denied for INVITE from <a href="sip:213696613227@xx.xx.xx.xx">sip:213696613227@... to <a href="sip:962776483333@xx.xx.xx.xx">sip:962776483333@...  [hidden email]

2013-07-18T22:22:48.983005+00:00 opensips opensips[14344]: --Debug Customer IP:xx.xx.xx.xx-----Permission Denied for INVITE from <a href="sip:213696613227@xx.xx.xx.xx">sip:213696613227@... to <a href="sip:962776483333@xx.xx.xx.xx">sip:962776483333@...  [hidden email]

2013-07-19T06:16:26.873502+00:00 opensips opensips[14453]: CRITICAL:dialog:unref_dlg: bogus ref -1 with cnt 1 for dlg 0x7f93a95e8878 [4011:185119809] with clid '162005786-0-1234838388@62.190.146.30' and tags 'sansay321252821rdb4676' '4089d96837c81bfcf1773f74421dd1cd'

2013-07-19T06:17:28.673757+00:00 opensips opensips[14309]: CRITICAL:core:sig_alarm_abort: BUG - shutdown timeout triggered, dying...

 

 

Please advice

Regards

 


_______________________________________________
Users mailing list
[hidden email]
http://lists.opensips.org/cgi-bin/mailman/listinfo/users
Reply | Threaded
Open this post in threaded view
|

Re: BUG: Shutdown timeout

shaheryarkh
Khalid, this does not make sense to result in opensips crash. I guess the problem is something else. You need to enable crash dump and send backtrace of it.

Thank you.



On Fri, Jul 19, 2013 at 2:47 PM, M.Khaled W Chehab <[hidden email]> wrote:

I checked the call capture for the  call that crashes my opensips and it was due to:

 

The user send a second invite with the same URI  and  same call-ID in the same second after  it  send  an ACK for  the 200 ok.

 How can I block the second invite in a call ,I tried to use    the below function but  it didn’t works please advice

       if (has_totag()) {

 

       if (is_method("INVITE")) {

                                   if (t_check_trans()) {

                                   xlog("has to tag and t_check trans t_relay---$ci \n");

                                   #t_relay();

                                   }

                                   xlog("INVITE  ---has to tag ---$ci\n");

                                   send_reply("403","Multi Invites");

                            exit;

                     }

 

Please advice

Regards

 

 

 

From: [hidden email] [mailto:[hidden email]] On Behalf Of M.Khaled W Chehab
Sent: Friday, July 19, 2013 10:58 AM
To: [hidden email]
Subject: [OpenSIPS-Users] BUG: Shutdown timeout

 

Hello,

 

 

My opensips stops suddenly with the below error in log file, how to find and fix this bug  

 

2013-07-18T21:28:41.301961+00:00 opensips opensips[14336]: ERROR:tm:t_check: reply cannot be parsed

2013-07-18T21:33:37.056151+00:00 opensips opensips[14333]: --Debug Customer IP:xx.xx.xx.xx-----Permission Denied for INVITE from sip:[hidden email] to sip:[hidden email]  [hidden email]

2013-07-18T21:33:37.757086+00:00 opensips opensips[14323]: --Debug Customer IP:xx.xx.xx.xx-----Permission Denied for INVITE from sip:[hidden email] to sip:[hidden email]  [hidden email]

2013-07-18T22:21:50.702682+00:00 opensips opensips[14318]: --Debug Customer IP:xx.xx.xx.xx-----Permission Denied for INVITE from sip:[hidden email] to sip:[hidden email]  [hidden email]

2013-07-18T22:21:51.165865+00:00 opensips opensips[14320]: --Debug Customer IP:xx.xx.xx.xx-----Permission Denied for INVITE from sip:[hidden email] to sip:[hidden email]  [hidden email]

2013-07-18T22:22:48.351683+00:00 opensips opensips[14320]: --Debug Customer IP:xx.xx.xx.xx-----Permission Denied for INVITE from sip:[hidden email] to sip:[hidden email]  [hidden email]

2013-07-18T22:22:48.983005+00:00 opensips opensips[14344]: --Debug Customer IP:xx.xx.xx.xx-----Permission Denied for INVITE from sip:[hidden email] to sip:[hidden email]  [hidden email]

2013-07-19T06:16:26.873502+00:00 opensips opensips[14453]: CRITICAL:dialog:unref_dlg: bogus ref -1 with cnt 1 for dlg 0x7f93a95e8878 [4011:185119809] with clid '[hidden email]' and tags 'sansay321252821rdb4676' '4089d96837c81bfcf1773f74421dd1cd'

2013-07-19T06:17:28.673757+00:00 opensips opensips[14309]: CRITICAL:core:sig_alarm_abort: BUG - shutdown timeout triggered, dying...

 

 

Please advice

Regards

 


_______________________________________________
Users mailing list
[hidden email]
http://lists.opensips.org/cgi-bin/mailman/listinfo/users




--
Mit freundlichen Grüßen
Muhammad Shahzad
-----------------------------------
CISCO Rich Media Communication Specialist (CRMCS)
CISCO Certified Network Associate (CCNA)
Cell: +49 176 99 83 10 85
MSN: [hidden email]
Email: [hidden email]

_______________________________________________
Users mailing list
[hidden email]
http://lists.opensips.org/cgi-bin/mailman/listinfo/users