[Freeswitch-users] 1.6.10 libfreeswitch strange behavior

Sharath Kumar shakumarsoftware at gmail.com
Thu Sep 15 03:17:47 MSD 2016


>
> All,
>
> I recently upgraded my not so common usage of FS embedded as a library in
> an linux application (x86_64 ) from 1.0.6 to 1.6.10. I was able to compile
> and link :). I was worried such a big upgrade may be a difficult compile
> but I didn't have to change a lot. But I am running into some strange
> problems with mutex locks that have led me to believe it is not built
> right.
>
> Also, I did not run dev-bootstrap.sh on the tar package(1.6.10). Do i need
> to ?
>
> The problem I have is the "sofia profile" comes up with the rwlock already
> locked!!
> [When I try to send any sort of API comand or try to REGISTER this occurs.]
>
> "2016-09-14 23:30:50.324500 [ERR] sofia.c:1420 Profile softphone is locked"
>
> I believe all the rwlock from APR are corrupted or not initialized
> correctly.
>
> Another time I constant crashing after my application issued
> switch_init_and_modload.
>
> I only have 1 profile in the freeswitch.xml (attached) and just a handful
> of modules that are loaded(mod_sofia, mod_commands, mod_logfile,
> mod_dptools, mod_dialplan_xml)
>
> The makefile is given below.(freeswitch,mk)
>
> The script output of the makefile is attached (fsbuild.txt.bz2).
>
> FS logoutput attached(i had added some additional logs as well)
> freeswitch.log
>
> Does anyone see anything obviously wrong ? I am stuck at this point and
> any help would be really great! I will contribute to documentation if this
> thing does indeed work.
>
> Thank you so much!
> Shaks
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160914/9df13964/attachment-0001.html 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: fsbuild.txt.bz2
Type: application/x-bzip2
Size: 144345 bytes
Desc: not available
Url : http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160914/9df13964/attachment-0001.bz2 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: freeswitch.mk
Type: text/x-makefile
Size: 2651 bytes
Desc: not available
Url : http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160914/9df13964/attachment-0002.bin 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: freeswitch.xml
Type: text/xml
Size: 10120 bytes
Desc: not available
Url : http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160914/9df13964/attachment-0001.xml 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: freeswitch.log
Type: text/x-log
Size: 7915 bytes
Desc: not available
Url : http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160914/9df13964/attachment-0003.bin 


Join us at ClueCon 2016 Aug 8-12, 2016
More information about the FreeSWITCH-users mailing list