[Freeswitch-users] Segmentation Faults on fs_cli when trying to rescan sofia profile

Amit Chaudhuri amit.k.chaudhuri at gmail.com
Fri Jun 12 13:53:47 UTC 2020


If you have gdb on the system have you tried attaching to the process
and producing a backtrace?

>From memory (not always reliable)

In one terminal:

gdb --attach $(pidof freeswitch)

In another issue your recan command using the fs_cli

When it crashes - back to first terminal and issue a "bt" command to gdb.

If the backtrace looks sensible then maybe post that info along with
details of the version of freeswitch. That might tell the developers
what the crash site/conditions are and it might give you a hint as to
what is wrong too.

A



On Thu, 11 Jun 2020 at 00:58, Mahmood Alkhalil
<mahmood.alkhalil at outlook.com> wrote:
>
>  Hi Everyone,
>
> I'm always getting segmentation fault on fs_cli whenever I'm trying to rescan sofia profile and fs_cli exists, below is an example:
>
> freeswitch at freeswitch> sofia profile AtcomSipProfile rescan
> Reload XML [Success]
> +OK scan complete
>
> 2020-06-10 11:30:57.688648 [DEBUG] sofia.c:4628 debug [7]
> 2020-06-10 11:30:57.688648 [DEBUG] sofia.c:4628 sip-trace [true]
> 2020-06-10 11:30:57.688648 [DEBUG] sofia.c:4628 sip-capture [true]
> 2020-06-10 11:30:57.688648 [INFO] mod_enum.c:884 ENUM Reloaded
> nua_stack.c:529 nua_signal() nua((nil)): sent signal r_set_params
> 2020-06-10 11:30:57.688648 [DEBUG] sofia.c:4628 watchdog-enabled [no]
> 2020-06-10 11:30:57.688648 [DEBUG] sofia.c:4628 watchdog-step-timeout [30000]
> 2020-06-10 11:30:57.688648 [DEBUG] sofia.c:4628 watchdog-event-timeout [30000]
> 2020-06-10 11:30:57.688648 [DEBUG] sofia.c:4628 log-auth-failures [false]
> 2020-06-10 11:30:57.688648 [DEBUG] sofia.c:4628 forward-unsolicited-mwi-notify [false]
> 2020-06-10 11:30:57.688648 [DEBUG] sofia.c:4628 context [atcomDialplan]
> 2020-06-10 11:30:57.688648 [DEBUG] sofia.c:4628 rfc2833-pt [101]
> 2020-06-10 11:30:57.688648 [DEBUG] sofia.c:4628 sip-port [5080]
> 2020-06-10 11:30:57.688648 [DEBUG] sofia.c:4628 dialplan [XML]
> 2020-06-10 11:30:57.688648 [DEBUG] sofia.c:4628 dtmf-duration [2000]
> 2020-06-10 11:30:57.688648 [DEBUG] sofia.c:4628 inbound-codec-prefs [OPUS,G722,PCMU,PCMA,H264,VP8]
> freeswitch at freeswitch> Segmentation fault
>
> Please let me know if this is expected or if i can share more details to further investigate this.
>
> Mahmood Alkhalil.
> _________________________________________________________________________
>
> The FreeSWITCH project is sponsored by SignalWire https://signalwire.com
> Enhance your FreeSWITCH install with disruptive priced SMS and PSTN services.
> Build your next product on our scalable cloud platform.
>
> Join our online community to chat in real time https://signalwire.community
>
> Professional FreeSWITCH Services
> sales at freeswitch.com
> https://freeswitch.com
>
> Official FreeSWITCH Sites
> https://freeswitch.com/oss
> https://freeswitch.org/confluence
> https://cluecon.com
>
> FreeSWITCH-users mailing list
> FreeSWITCH-users at lists.freeswitch.org
> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
> https://freeswitch.com



More information about the FreeSWITCH-users mailing list