[FS-8780] Freeswitch is occasionally crashing. Created: 25/Jan/16 Updated: 17/Feb/16 Resolved: 17/Feb/16 Status: Project: Component/s: Affects Version/s: Fix Version/s: Security Level: Closed FreeSWITCH freeswitch-core 1.6.5 Type: Reporter: Resolution: Labels: Remaining Estimate: Time Spent: Original Estimate: Environment: Bug Brian Beebe Fixed None Not Specified Issue Links: Duplicate duplicates CPU Architecture: Kernel: uname: Userland: Distribution: Distribution Version: Compiler Version: FreeSWITCH GIT Revision: GIT Master Revision hash:: None public Priority: Assignee: Votes: Minor Anthony Minessale II 0 Not Specified Not Specified Centos 7 64 bit FS-8759 segfault on 1.7 Resolved x86-64 Linux Linux fs165clone 3.10.0-327.3.1.el7.x86_64 #1 SMP Wed Dec 9 14:09:15 UTC 2015 x86_64 x86_64 x86_64 GNU/Linux GNU/Linux CentOS CentOS Based (3.x kernel) Installed from RPM FreeSWITCH version: 1.6.5~64bit ( 64bit) None Description We have Freeswitch setup with bypass-media and we have 2 HA pairs. Since we have been in production we have had a few segfaults. Jan 25 09:05:09 freeswitch-pl1a kernel: freeswitch[30906]: segfault at 30 ip 00007ff5f770cdc0 sp 00007ff5ea7073a8 error 4 in libfreeswitch.so.1.0.0[7ff5f769d000+1bf000] Jan 21 23:13:45 freeswitch-pl1a kernel: freeswitch[18879]: segfault at 30 ip 00007f19ad23fdc0 sp 00007f19a42833a8 error 4 in libfreeswitch.so.1.0.0[7f19ad1d0000+1bf000] Jan 21 13:09:42 freeswitch-pl2b kernel: fs_cli[3863]: segfault at 3134264fc0 ip 00007f6270c4dd1c sp 00007ffd19738690 error 4 in libc-2.17.so[7f6270bd0000+1b6000] Jan 21 12:32:29 freeswitch-pl2a kernel: freeswitch[2594]: segfault at 30 ip 00007f50e1e4edc0 sp 00007f50d8e573a8 error 4 in libfreeswitch.so.1.0.0[7f50e1ddf000+1bf000] Jan 21 09:10:44 freeswitch-pl2a kernel: fs_cli[9629]: segfault at 10 ip 00007f0710166bb0 sp 00007f07107abcf8 error 4 in libpthread-2.17.so[7f071015c000+16000] Jan 19 14:30:54 freeswitch-pl2a kernel: fs_cli[19996]: segfault at 10 ip 00007f29026e7bb0 sp 00007f2902d2ccf8 error 4 in libpthread-2.17.so[7f29026dd000+16000] Jan 19 09:51:33 freeswitch-pl1a kernel: freeswitch[24917]: segfault at 30 ip 00007fc974829dc0 sp 00007fc95f80d3a8 error 4 in libfreeswitch.so.1.0.0[7fc9747ba000+1bf000] The latest was this morning and we were able to get a crash file. The fscore_pb output is located at http://pastebin.freeswitch.org/24538 It seems to be happening in the switch_core_session_get_channel call. Comments Comment by Anthony Minessale II [ 25/Jan/16 ] Did you note when Mike asked you to open a JIRA he said to test the latest master first? This sounds like a duplicate. Can you try to reproduce on master rather than write none in the box. Comment by Brian Beebe [ 26/Jan/16 ] This is installed using the Centos 7 RPM. I was not sure what to put in that field. Aren't the RPM builds using Master? Comment by Anthony Minessale II [ 26/Jan/16 ] You will either have to build from source or make a temporary switch to the unstable packages. edit freeswitch.repo in /etc/yum.repos.d change baseurl=http://files.freeswitch.org/yum-1.6/$releasever/$basearch
to baseurl=http://files.freeswitch.org/yum_unstable/$releasever/$basearch when switching back, you will have to uninstall the package, then change the text back and re- install. Generated at Sat Mar 05 22:12:52 EST 2016 using JIRA 6.4.10#64025sha1:5b8b74079161cd76a20ab66dda52747ee6701bd6.