On Thu, Aug 10, 2017 at 7:03 AM, Eric Masson <emss@free.fr> wrote:
Hi,

I'm planning to upgrade an existing home FS setup to the latest available version.

Version used :
FreeSWITCH Version 1.8.0+git~20170802T153919Z~417639a1b1~64bit (git 417639a 2017-08-02 15:39:19Z 64bit)

local_ip_v4 is setup in vars.xml as it seems autodetection doesn't fully work.

This doesn't surprise me, this code probably needs modification for bsd.  I'm happy to review contributions along these lines but don't have any plans to look into this issue myself.



When stopping FS by running "shutdown", FS goes through the whole stop sequence but doesn't exit in the end, I have to send -KILL signal to the process to stop it.

After you do a shutdown and logs stop
doing anything, let it settle for a second and pull a core file of the process, inspect the core file t see what exactly is stuck.


freeswitch.log doesn't show any immediate reason.

ptrace of the FS process while stopping shows what seems to be a loop :
 17589 freeswitch RET   select 0
 17589 freeswitch CALL  select(0,0,0,0,0x7fffdfeccf00)
 17589 freeswitch RET   _umtx_op -1 errno 60 Operation timed out
 17589 freeswitch CALL _umtx_op(0x80062e098,UMTX_OP_WAIT_UINT_PRIVATE,0,0x18,0x7fffdfe8fe28)
 17589 freeswitch RET   select 0
 17589 freeswitch CALL  select(0,0,0,0,0x7fffdfffdf10)
 17589 freeswitch RET   _umtx_op -1 errno 60 Operation timed out
 17589 freeswitch CALL _umtx_op(0x80062e098,UMTX_OP_WAIT_UINT_PRIVATE,0,0x18,0x7fffdfe8fe28)
 17589 freeswitch RET   select 0
 17589 freeswitch CALL  select(0,0,0,0,0x7fffdfeccf00)
 17589 freeswitch RET   _umtx_op -1 errno 60 Operation timed out
 17589 freeswitch CALL _umtx_op(0x80062e098,UMTX_OP_WAIT_UINT_PRIVATE,0,0x18,0x7fffdfe8fe28)

Supplemental information :
- 1.6.19 shows the same issue.
- FS installed and ran as root or unprivileged user shows the same issue.

Should I file a JIRA, please ?

Thanks

Éric Masson


_________________________________________________________________________
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



--

Brian West
brian@freeswitch.org

Twitter: @FreeSWITCH , @briankwest

http://www.freeswitchbook.com 
http://www.freeswitchcookbook.com

Book a phone call (CST)

Allison prompts for FreeSWITCH:

https://www.gofundme.com/allison-prompts-for-freeswitch

Got Bugs? Report them here! | Reddit: /r/freeswitch

T:+19184209001 | F:+19184209002 | M:+1918424WEST (9378)
Skype:briankwest

_________________________________________________________________________
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