Re: [Freeswitch-users] 1.6.10 libfreeswitch strange behavior
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
That is a prize winning upgrade gap! You would really be best off with a fresh Debian 8 box and either packages or src with our depends repo. On Wednesday, September 14, 2016, Sharath Kumar <shakumarsoftware@gmail.com> wrote:
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
-- Anthony Minessale II ♬ @anthmfs ♬ @FreeSWITCH ♬ ☞ http://freeswitch.org/ ☞ http://cluecon.com/ ☞ http://twitter.com/FreeSWITCH ☞ irc.freenode.net #freeswitch ☞ *http://freeswitch.org/g+ <http://freeswitch.org/g+>* ClueCon Weekly Development Call ☎ sip:888@conference.freeswitch.org ☎ +19193869900 https://www.youtube.com/watch?v=9XXgW34t40s https://www.youtube.com/watch?v=NLaDpGQuZDA
Just wanted to update the group. I got it work. And the strange mutex problems were due to the "apr" libs compilation. Apparently when they are cross compiled the configure disables threading and thread related flags and libs. thank you. Sharath On Wed, Sep 14, 2016 at 10:44 PM, Anthony Minessale < anthony.minessale@gmail.com> wrote:
That is a prize winning upgrade gap!
You would really be best off with a fresh Debian 8 box and either packages or src with our depends repo.
On Wednesday, September 14, 2016, Sharath Kumar < shakumarsoftware@gmail.com> wrote:
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
-- Anthony Minessale II ♬ @anthmfs ♬ @FreeSWITCH ♬
☞ http://freeswitch.org/ ☞ http://cluecon.com/ ☞ http://twitter.com/FreeSWITCH ☞ irc.freenode.net #freeswitch ☞ *http://freeswitch.org/g+ <http://freeswitch.org/g+>*
ClueCon Weekly Development Call ☎ sip:888@conference.freeswitch.org ☎ +19193869900
https://www.youtube.com/watch?v=9XXgW34t40s https://www.youtube.com/watch?v=NLaDpGQuZDA
_________________________________________________________________________ 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
participants (2)
-
Anthony Minessale
-
Sharath Kumar