freeswitch segfault at sp error 4 in libmysqlclient.so.18.0.0
Hello, i am a littlebit confused about an error that my FreeSWITCH 1.6.17 Testing Box has. Its an vanilla rpm installation for CentOS 7.3.11. After a while it stops working. The only thing mysql-based i do is an lua-script that use lua-dbi for mysql. Maybe this script kills the prozess. How can i debug that? Should i fill an JIRA? FreeSWITCH Version 1.6.17 In the logfile i see this error messages: May 20 17:40:50 fs16dev systemd: Cannot add dependency job for unit microcode.service, ignoring: Unit is not loaded properly: Invalid argument. May 20 17:40:50 fs16dev systemd: Started Check_MK (172.20.160.60:41436). May 20 17:40:50 fs16dev systemd: Starting Check_MK (172.20.160.60:41436)... May 20 17:41:18 fs16dev kernel: freeswitch[5603]: segfault at 0 ip 00007f8946fb2e5f sp 00007f894773f240 error 4 in libmysqlclient.so.18.0.0[7f8946f8b000+2de000] May 20 17:41:18 fs16dev systemd: freeswitch.service: main process exited, code=killed, status=11/SEGV May 20 17:41:18 fs16dev systemd: Unit freeswitch.service entered failed state. May 20 17:41:18 fs16dev systemd: freeswitch.service failed. May 20 17:41:18 fs16dev systemd: freeswitch.service holdoff time over, scheduling restart. May 20 17:41:18 fs16dev systemd: Cannot add dependency job for unit microcode.service, ignoring: Unit is not loaded properly: Invalid argument. May 20 17:41:18 fs16dev systemd: Starting freeswitch... May 20 17:41:18 fs16dev freeswitch: 5610 Backgrounding. May 20 17:41:20 fs16dev freeswitch: FreeSWITCH[5609] Waiting for background process pid:5610 to be ready..... May 20 17:41:20 fs16dev freeswitch: FreeSWITCH[5609] System Ready pid:5610 May 20 17:41:20 fs16dev systemd: Started freeswitch. BTW - the rpm systemd service didnt restart the server if it breaks. I used an debian style version of the freeswitch stash. Kind Regards -- Mit freundlichen Grüßen *Karsten Horsmann*
Just a guess, don't mix MySQL libs with mariadb 10's Some libraries are not backwards compatible Le 22 mai 2017 4:13 AM, "Karsten Horsmann" <khorsmann@gmail.com> a écrit :
Hello,
i am a littlebit confused about an error that my FreeSWITCH 1.6.17 Testing Box has. Its an vanilla rpm installation for CentOS 7.3.11. After a while it stops working.
The only thing mysql-based i do is an lua-script that use lua-dbi for mysql. Maybe this script kills the prozess. How can i debug that? Should i fill an JIRA?
FreeSWITCH Version 1.6.17
In the logfile i see this error messages:
May 20 17:40:50 fs16dev systemd: Cannot add dependency job for unit microcode.service, ignoring: Unit is not loaded properly: Invalid argument. May 20 17:40:50 fs16dev systemd: Started Check_MK (172.20.160.60:41436). May 20 17:40:50 fs16dev systemd: Starting Check_MK (172.20.160.60:41436 )... May 20 17:41:18 fs16dev kernel: freeswitch[5603]: segfault at 0 ip 00007f8946fb2e5f sp 00007f894773f240 error 4 in libmysqlclient.so.18.0.0[ 7f8946f8b000+2de000] May 20 17:41:18 fs16dev systemd: freeswitch.service: main process exited, code=killed, status=11/SEGV May 20 17:41:18 fs16dev systemd: Unit freeswitch.service entered failed state. May 20 17:41:18 fs16dev systemd: freeswitch.service failed. May 20 17:41:18 fs16dev systemd: freeswitch.service holdoff time over, scheduling restart. May 20 17:41:18 fs16dev systemd: Cannot add dependency job for unit microcode.service, ignoring: Unit is not loaded properly: Invalid argument. May 20 17:41:18 fs16dev systemd: Starting freeswitch... May 20 17:41:18 fs16dev freeswitch: 5610 Backgrounding. May 20 17:41:20 fs16dev freeswitch: FreeSWITCH[5609] Waiting for background process pid:5610 to be ready..... May 20 17:41:20 fs16dev freeswitch: FreeSWITCH[5609] System Ready pid:5610 May 20 17:41:20 fs16dev systemd: Started freeswitch.
BTW - the rpm systemd service didnt restart the server if it breaks. I used an debian style version of the freeswitch stash.
Kind Regards -- Mit freundlichen Grüßen *Karsten Horsmann*
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
Official FreeSWITCH Sites http://www.freeswitch.org http://confluence.freeswitch.org http://www.cluecon.com
FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
you would have to look at a backtrace of the crash. If the issue is from lua mysql, you should try to reproduce that standalone with lua and mysql, and report the issue to your distro.
On May 22, 2017, at 4:12 AM, Karsten Horsmann <khorsmann@gmail.com> wrote:
Hello,
i am a littlebit confused about an error that my FreeSWITCH 1.6.17 Testing Box has. Its an vanilla rpm installation for CentOS 7.3.11. After a while it stops working.
The only thing mysql-based i do is an lua-script that use lua-dbi for mysql. Maybe this script kills the prozess. How can i debug that? Should i fill an JIRA?
FreeSWITCH Version 1.6.17
In the logfile i see this error messages:
May 20 17:40:50 fs16dev systemd: Cannot add dependency job for unit microcode.service, ignoring: Unit is not loaded properly: Invalid argument. May 20 17:40:50 fs16dev systemd: Started Check_MK (172.20.160.60:41436 <http://172.20.160.60:41436/>). May 20 17:40:50 fs16dev systemd: Starting Check_MK (172.20.160.60:41436)... May 20 17:41:18 fs16dev kernel: freeswitch[5603]: segfault at 0 ip 00007f8946fb2e5f sp 00007f894773f240 error 4 in libmysqlclient.so.18.0.0[7f8946f8b000+2de000] May 20 17:41:18 fs16dev systemd: freeswitch.service: main process exited, code=killed, status=11/SEGV May 20 17:41:18 fs16dev systemd: Unit freeswitch.service entered failed state. May 20 17:41:18 fs16dev systemd: freeswitch.service failed. May 20 17:41:18 fs16dev systemd: freeswitch.service holdoff time over, scheduling restart. May 20 17:41:18 fs16dev systemd: Cannot add dependency job for unit microcode.service, ignoring: Unit is not loaded properly: Invalid argument. May 20 17:41:18 fs16dev systemd: Starting freeswitch... May 20 17:41:18 fs16dev freeswitch: 5610 Backgrounding. May 20 17:41:20 fs16dev freeswitch: FreeSWITCH[5609] Waiting for background process pid:5610 to be ready..... May 20 17:41:20 fs16dev freeswitch: FreeSWITCH[5609] System Ready pid:5610 May 20 17:41:20 fs16dev systemd: Started freeswitch.
BTW - the rpm systemd service didnt restart the server if it breaks. I used an debian style version of the freeswitch stash.
Kind Regards -- Mit freundlichen Grüßen *Karsten Horsmann*
participants (3)
-
Karsten Horsmann
-
Luis Daniel Lucio Quiroz
-
Michael Jerris