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