[Freeswitch-users] Core dump: Seg 11 if phones get powered off

Faraz R. Khan faraz.khan at emergen.biz
Sat Jul 12 03:12:55 PDT 2008


Interesting. Just tested my Freeswitch SVN with system libcurl using 
sipp uac.

1000 calls created, 10ms call duration, 5 calls per second. at 30 
concurrent channels.

No crash, no voice distortion (I also created simultaenous conferences 
to check call quality).

I am not too worried about the CPS as I'm sure my php script on the far 
end of the curl post has EVERYTHING to do with it :)

If it crashes now I'll be really confused :) 2500 mysql DB entries were 
inserted (1000 curl posts! without problems!) Maybe the trick is using 
the system libraries.


Faraz R. Khan wrote:
> Segfault again with freeswitch SVN, happened in 3 hours of installing 
> it!  Relevant debug logs:
> 
> ia/internal/604 at sip.emergen.biz
> 2008-07-11 22:49:43 [CRIT] switch_core_state_machine.c:218 print_trace() 
> Obtained 10 stack frames.
> /usr/local/freeswitch-svn/lib/libfreeswitch.so.1 [0x7f76807594e3]
> /lib/libc.so.6 [0x7f767f93a100]
> /lib/libc.so.6(cfree+0x3b) [0x7f767f97fbcb]
> /usr/local/freeswitch-svn/mod/mod_xml_cdr.so [0x7f767d29e8ce]
> /usr/local/freeswitch-svn/mod/mod_xml_cdr.so(Curl_disconnect+0xda) 
> [0x7f767d29ea1a]
> /usr/local/freeswitch-svn/mod/mod_xml_cdr.so [0x7f767d29ed4c]
> /usr/local/freeswitch-svn/mod/mod_xml_cdr.so(Curl_close+0x59) 
> [0x7f767d2a3bd9]
> /usr/local/freeswitch-svn/mod/mod_xml_cdr.so [0x7f767d294805]
> /usr/local/freeswitch-svn/lib/libfreeswitch.so.1(switch_core_session_run+0x1372) 
> [0x7f7680758b02]
> /usr/local/freeswitch-svn/lib/libfreeswitch.so.1 [0x7f7680757390]
> 2008-07-11 22:49:43 [CRIT] switch_core_state_machine.c:319 switch_core_sess
> 
> 
> 
> Btw- freeswitch was ALWAYS using the built in curl (from config.log) as 
> I dont have libcurl installed :)
> 
> configure:21881: checking whether libcurl is usable
> configure:21924: gcc -o conftest -g -O2 -Wall -std=c99 -pedantic 
> conftest.c  -lcurl  >&5
> conftest.c:73:23: error: curl/curl.h: No such file or directory
> conftest.c: In function 'main':
> conftest.c:81: warning: implicit declaration of function 'curl_easy_setopt'
> 
> 
> 
> I am going to try installing it with the system libcurl and see if that 
> helps! :)
> 
> 
> Brian West wrote:
>> Is it .. i'll document it if thats it?
>>
>> /b
>>
>> On Jul 11, 2008, at 9:30 AM, Michael Jerris wrote:
>>
>>> Isnt it --without-libcurl ?
>> Brian West
>> sip:brian at freeswitch.org
>>
>>
>>
>>
>> _______________________________________________
>> 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
>> http://www.freeswitch.org
>>
> 

-- 
Faraz R Khan
Chief Architect
Emergen Consulting Pvt Ltd
+92.21.529.0381 x200
www.emergen.biz





More information about the FreeSWITCH-users mailing list