Segmentation Fault when stopping FreeSWITCH
Hi,
when I issue the command
pbx:~# /etc/init.d/freeswitch stop
* Stopping Freeswitch …
* start-stop-daemon: 1 process refused to stop [ !! ]
* ERROR: freeswitch failed to stop
pbx:~# /etc/init.d/freeswitch stop
* Stopping Freeswitch … [ ok ]
Altough the second time the stop occures allmost imidiately, I get a log
message at that time:
Oct 31 10:29:18 pbx kernel: [75399.678889] grsec: From 172.23.56.38:
Segmentation fault occurred at 000062282fb65b10 in
/usr/bin/freeswitch[freeswitch:12334] uid/euid:1001/1001
gid/egid:1001/1001, parent /bin/busybox[init:1] uid/euid:0/0
gid/egid:0/0
Oct 31 10:29:18 pbx kernel: [75399.678929] grsec: From 172.23.56.38:
bruteforce prevention initiated due to crash of /usr/bin/freeswitch
against uid 1001, banning suid/sgid execs for 15 minutes. Please
investigate the crash report for /usr/bin/freeswitch[
(from redmine: issue id 3496, created on 2014-10-31, closed on 2015-05-26)
- Changesets:
- Revision 4612138a by Timo Teräs on 2015-05-21T10:31:01Z:
main/freeswitch: fix shutdown
fix incorrect usage of pthread_detach/pthread_join.
fixes #3496