drachtio / drachtio-freeswitch-modules

A collection of open-sourced freeswitch modules that I use in various drachtio applications
MIT License
172 stars 119 forks source link

Compilation of modules with FreeSwitch v1.10.3 ends in Segmentation fault #41

Closed Chetan177 closed 3 years ago

Chetan177 commented 3 years ago

Hi, I tried to compile transcribe modules with FreeSWITCH v1.10.3. Compilation and installation was successful but when I try to start FreeSWITCH, It ends in segmentation fault. Screenshot 2020-09-30 154940 I have debugged the issue for some level there are some errors with grpc library. I am attaching the freeswitch binary, coredump and bactrace logs. Please check it out, It will be a great help if this issue is resolved.

davehorton commented 3 years ago

Did you build it using this ansible role ?

Chetan177 commented 3 years ago

I just followed every single command in the playbook to compile FreeSWITCH and modules

davehorton commented 3 years ago

all I can do is verify that the ansible works, which it did when I tested it quite recently. What linux distro are you on?

Chetan177 commented 3 years ago

I am using Debian 9 on an AWS Ec2 t2.medium.

Can you tell me the version of FreeSWITCH on which you have tested it?

davehorton commented 3 years ago

https://github.com/davehorton/ansible-role-fsmrf/blob/7ea8baf0159228f806c6d301c8d6fc7890cdbedb/defaults/main.yml#L12

v1.10.1

Chetan177 commented 3 years ago

So are these modules supposed to support other versions like v1.10.3, v1.10.4? or they are only specific to v1.10.1.

davehorton commented 3 years ago

They should support later versions. I'll run some tests (of the ansible script) to verify.

Chetan177 commented 3 years ago

Please let me know if you found any fix around this problem. It will be a great help.

Thank You

davehorton commented 3 years ago

building with v1.10.5 now. will advise..

davehorton commented 3 years ago

I've created a tag fs-v1.10.5 on the ansible-role-fsmrf repo, which builds against the signalwire version of freeswitch (on the master branch I was building against my own fork of v1.10.1). I verified this builds on debian 9 and my freeswitch modules load successfully. Give it a try

Chetan177 commented 3 years ago

Ok I'll try it

Thanks, Dave

Chetan177 commented 3 years ago

Thanks @davehorton I have successfully compiled and installed these modules with Freeswitch v1.10.5. on Debian 9.

davehorton commented 3 years ago

excellent! I will probably merge this to the master branch shortly.