[Freeswitch-users] segfault when reloading profile
Juan Pablo L
jpablolorenzetti at gmail.com
Sun Nov 11 21:41:45 UTC 2018
thank you very much, i open FS-11519
<https://freeswitch.org/jira/browse/FS-11519> ...
On Sun, 11 Nov 2018 at 06:01, Anthony Minessale <anthony.minessale at gmail.com>
wrote:
> Hi,
>
> Post the profile in a jira at freeswitch.org/jira and we can try to
> reproduce it
>
> On Sat, Nov 10, 2018 at 12:33 PM Juan Pablo L <jpablolorenzetti at gmail.com>
> wrote:
>
>> Hello, i am getting segfaults when i reload a sip profile, i know it has
>> something to do with the profile itself because when i use the default
>> vanilla configuration and i reload a profile it does not segfault, i have
>> checked every single option in the profile file looking for errors or
>> anything and i find nothing i can fix or change, i m using:
>>
>> FS:
>>
>> FreeSWITCH Version 1.8.2+git~20180926T175525Z~a98a958ac3~64bit (git
>> a98a958 2018-09-26 17:55:25Z 64bit)
>>
>> linux:
>>
>> Linux sbc02 4.9.0-8-amd64 #1 SMP Debian 4.9.110-3+deb9u6 (2018-10-08)
>> x86_64 GNU/Linux
>>
>> when analysing the core file this is what i get in gdb:
>>
>> Core was generated by `freeswitch -nc'.
>> Program terminated with signal SIGSEGV, Segmentation fault.
>> #0 switch_ci_hashfunc_default (char_key=0x0, klen=klen at entry=0x7f7249e229c8)
>> at src/switch_apr.c:120
>> 120 for (p = key; *p; p++) {
>> [Current thread is 1 (Thread 0x7f7249e23700 (LWP 3029))]
>> (gdb) bt
>> #0 switch_ci_hashfunc_default (char_key=0x0, klen=klen at entry=0x7f7249e229c8)
>> at src/switch_apr.c:120
>> #1 0x00007f720a5effd6 in xml_directory_db_search (section=<optimized
>> out>, tag_name=<optimized out>, key_name=<optimized out>,
>> key_value=<optimized out>, event_params=0x7f722400ae80,
>> user_data=<optimized out>)
>> at xml_directory.c:152
>> #2 0x00007f72538973eb in switch_xml_locate (section=section at entry=0x7f724a0570e0
>> "directory", tag_name=tag_name at entry=0x0, key_name=key_name at entry=0x0,
>> key_value=key_value at entry=0x0,
>> root=root at entry=0x7f7249e22bd0, node=node at entry=0x7f7249e22bd8,
>> params=0x7f722400ae80, clone=SWITCH_FALSE) at src/switch_xml.c:1695
>> #3 0x00007f7249f40f92 in launch_sofia_worker_thread
>> (profile=profile at entry=0x7f71f401a160) at sofia.c:3062
>> #4 0x00007f7249f4ac19 in sofia_profile_thread_run (thread=<optimized
>> out>, obj=0x7f71f401a160) at sofia.c:3385
>> #5 0x00007f7253b06e07 in dummy_worker (opaque=0x7f71f401c258) at
>> threadproc/unix/thread.c:151
>> #6 0x00007f7252615494 in start_thread (arg=0x7f7249e23700) at
>> pthread_create.c:333
>> #7 0x00007f7252357acf in clone () at
>> ../sysdeps/unix/sysv/linux/x86_64/clone.S:97
>>
>>
>> any help or direction would be appreciated ... thank!
>>
>> _________________________________________________________________________
>> 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
>
> --
> Anthony Minessale II
> Founder, FreeSWITCH.
> http://freeswitch.com
>
>
> https://youtu.be/l_hOxzCt6X4
> https://www.youtube.com/watch?v=oAxXgyx5jUw
> https://www.youtube.com/watch?v=9XXgW34t40s
> https://www.youtube.com/watch?v=NLaDpGQuZDA
> _________________________________________________________________________
> 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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20181111/61f392a1/attachment-0001.html>
More information about the FreeSWITCH-users
mailing list