[Crash Report] openSIPS 2.4 clusterer module (opensipsctl fifo cluster_broadcast_mi 1 lb_reload)

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

[Crash Report] openSIPS 2.4 clusterer module (opensipsctl fifo cluster_broadcast_mi 1 lb_reload)

OpenSIPS - Users mailing list
Hi folks,

I am encountering a segfault error, when I am trying to sync the load balancer module data among all nodes in the cluster. I have 2 nodes in cluster, and I am executing this command to reload lb module -

opensipsctl fifo cluster_broadcast_mi 1 lb_reload

After executing this command, the backup openSIPS node crash every time. Here are some useful logs -

Jan 11 21:45:57 ip-10-0-1-20 kernel: [600109.907423] opensips[13425]: segfault at 8 ip 00007efe0fa33505 sp 00007ffef08390a0 error 4 in db_mysql.so[7efe0fa24000+19000]
Jan 11 21:45:57 ip-10-0-1-20 /usr/local/sbin/opensips[13425]: INFO:load_balancer:mi_lb_reload: "lb_reload" MI command received!
Jan 11 21:45:57 ip-10-0-1-20 /usr/local/sbin/opensips[13425]: ERROR:core:db_use_table: invalid parameter value (nil), 0x7efe0bb1eb10
Jan 11 21:45:57 ip-10-0-1-20 /usr/local/sbin/opensips[13425]: CRITICAL:core:sig_usr: segfault in process pid: 13425, id: 9
Jan 11 21:45:57 ip-10-0-1-20 /usr/local/sbin/opensips[13412]: INFO:core:handle_sigs: child process 13425 exited by a signal 11
Jan 11 21:45:57 ip-10-0-1-20 /usr/local/sbin/opensips[13412]: INFO:core:handle_sigs: core was not generated
Jan 11 21:45:57 ip-10-0-1-20 /usr/local/sbin/opensips[13412]: INFO:core:handle_sigs: terminating due to SIGCHLD

Please let me know if you guys need any other data to troubleshoot this issue.

Thanks and regards


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

Re: [Crash Report] openSIPS 2.4 clusterer module (opensipsctl fifo cluster_broadcast_mi 1 lb_reload)

Johan De Clercq
Version and backtrace will be needed.

Outlook voor iOS downloaden
 

Van: Users <[hidden email]> namens Sharad Kumar via Users <[hidden email]>
Verzonden: zaterdag, januari 11, 2020 11:02 PM
Aan: [hidden email]
Onderwerp: [OpenSIPS-Users] [Crash Report] openSIPS 2.4 clusterer module (opensipsctl fifo cluster_broadcast_mi 1 lb_reload)
 
Hi folks,

I am encountering a segfault error, when I am trying to sync the load balancer module data among all nodes in the cluster. I have 2 nodes in cluster, and I am executing this command to reload lb module -

opensipsctl fifo cluster_broadcast_mi 1 lb_reload

After executing this command, the backup openSIPS node crash every time. Here are some useful logs -

Jan 11 21:45:57 ip-10-0-1-20 kernel: [600109.907423] opensips[13425]: segfault at 8 ip 00007efe0fa33505 sp 00007ffef08390a0 error 4 in db_mysql.so[7efe0fa24000+19000]
Jan 11 21:45:57 ip-10-0-1-20 /usr/local/sbin/opensips[13425]: INFO:load_balancer:mi_lb_reload: "lb_reload" MI command received!
Jan 11 21:45:57 ip-10-0-1-20 /usr/local/sbin/opensips[13425]: ERROR:core:db_use_table: invalid parameter value (nil), 0x7efe0bb1eb10
Jan 11 21:45:57 ip-10-0-1-20 /usr/local/sbin/opensips[13425]: CRITICAL:core:sig_usr: segfault in process pid: 13425, id: 9
Jan 11 21:45:57 ip-10-0-1-20 /usr/local/sbin/opensips[13412]: INFO:core:handle_sigs: child process 13425 exited by a signal 11
Jan 11 21:45:57 ip-10-0-1-20 /usr/local/sbin/opensips[13412]: INFO:core:handle_sigs: core was not generated
Jan 11 21:45:57 ip-10-0-1-20 /usr/local/sbin/opensips[13412]: INFO:core:handle_sigs: terminating due to SIGCHLD

Please let me know if you guys need any other data to troubleshoot this issue.

Thanks and regards


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

Re: [Crash Report] openSIPS 2.4 clusterer module (opensipsctl fifo cluster_broadcast_mi 1 lb_reload)

Ben Newlin
In reply to this post by OpenSIPS - Users mailing list

If you’re running on an unsupported version, you’ll want to upgrade the version to a supported one first (2.4 or 3.0). If you’re already on one of those, or after upgrading, try running the latest revision (HEAD) of the respective branch from GitHub. Both of these steps are to make sure the crash has not already been fixed.

 

If the crash still occurs, you should check the open GitHub issues [1] to see if anyone has already reported a similar crash. If not, you should open a GitHub issue using the [CRASH] template. There are instructions on the OpenSIPS site [2] on how to gather the necessary information.

 

This is the process I have followed and seen recommended in the past. I do not make any claim that it is the official process.

 

[1] https://github.com/OpenSIPS/opensips/issues

[2] https://www.opensips.org/Documentation/TroubleShooting-Crash

 

Ben Newlin

 

From: Users <[hidden email]> on behalf of Sharad Kumar via Users <[hidden email]>
Reply-To: Sharad Kumar <[hidden email]>, OpenSIPS users mailling list <[hidden email]>
Date: Saturday, January 11, 2020 at 5:02 PM
To: "[hidden email]" <[hidden email]>
Subject: [OpenSIPS-Users] [Crash Report] openSIPS 2.4 clusterer module (opensipsctl fifo cluster_broadcast_mi 1 lb_reload)

 

Hi folks,

 

I am encountering a segfault error, when I am trying to sync the load balancer module data among all nodes in the cluster. I have 2 nodes in cluster, and I am executing this command to reload lb module -

 

opensipsctl fifo cluster_broadcast_mi 1 lb_reload

 

After executing this command, the backup openSIPS node crash every time. Here are some useful logs -

 

Jan 11 21:45:57 ip-10-0-1-20 kernel: [600109.907423] opensips[13425]: segfault at 8 ip 00007efe0fa33505 sp 00007ffef08390a0 error 4 in db_mysql.so[7efe0fa24000+19000]

Jan 11 21:45:57 ip-10-0-1-20 /usr/local/sbin/opensips[13425]: INFO:load_balancer:mi_lb_reload: "lb_reload" MI command received!

Jan 11 21:45:57 ip-10-0-1-20 /usr/local/sbin/opensips[13425]: ERROR:core:db_use_table: invalid parameter value (nil), 0x7efe0bb1eb10

Jan 11 21:45:57 ip-10-0-1-20 /usr/local/sbin/opensips[13425]: CRITICAL:core:sig_usr: segfault in process pid: 13425, id: 9

Jan 11 21:45:57 ip-10-0-1-20 /usr/local/sbin/opensips[13412]: INFO:core:handle_sigs: child process 13425 exited by a signal 11

Jan 11 21:45:57 ip-10-0-1-20 /usr/local/sbin/opensips[13412]: INFO:core:handle_sigs: core was not generated

Jan 11 21:45:57 ip-10-0-1-20 /usr/local/sbin/opensips[13412]: INFO:core:handle_sigs: terminating due to SIGCHLD

 

Please let me know if you guys need any other data to troubleshoot this issue.

 

Thanks and regards

 


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