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

Brian West brian at freeswitch.org
Fri Jul 11 07:13:08 PDT 2008


You're using curl to post cdr it looks like.  Are you using your  
system curl or the one we ship?

reconfigure freeswitch with this flag --without-curl

The system curl must have been used and has some bugs in it.. that  
flag will make it use the one we ship and known working.

/b


On Jul 11, 2008, at 8:55 AM, Faraz R. Khan wrote:
> Core dumped again. With debug logging on the error happens in
> mod_xml_cdr looks like :
>
> 2008-07-11 19:47:39 [DEBUG] switch_core_state_machine.c:46
> switch_core_standard_on_hangup() Standard HANGUP sofia/external/ 
> 5350040,
> cause: NORMAL_CLEARING
> 2008-07-11 19:47:39 [DEBUG] switch_core_state_machine.c:393
> switch_core_session_run() (sofia/external/5350040) State HANGUP  
> going to
> sleep
> 2008-07-11 19:47:39 [DEBUG] switch_core_session.c:735
> switch_core_session_thread() Session 77 (sofia/external/5350040)  
> Locked,
> Waiting on external entities
> 2008-07-11 19:47:39 [NOTICE] switch_core_session.c:753
> switch_core_session_thread() Session 77 (sofia/external/5350040) Ended
> 2008-07-11 19:47:39 [NOTICE] switch_core_session.c:755
> switch_core_session_thread() Close Channel sofia/external/5350040
> [CS_HANGUP]
> 2008-07-11 19:47:39 [CRIT] switch_core_state_machine.c:218  
> print_trace()
> Obtained 10 stack frames.
> /usr/local/freeswitch/lib/libfreeswitch.so.1 [0x7f56bc7fcf43]
> /lib/libc.so.6 [0x7f56bb9de100]
> /lib/libc.so.6(cfree+0x3b) [0x7f56bba23bcb]
> /usr/local/freeswitch/mod/mod_xml_cdr.so [0x7f56b934266e]
> /usr/local/freeswitch/mod/mod_xml_cdr.so(Curl_disconnect+0xda)
> [0x7f56b93427ba]
> /usr/local/freeswitch/mod/mod_xml_cdr.so [0x7f56b9342aec]
> /usr/local/freeswitch/mod/mod_xml_cdr.so(Curl_close+0x59)  
> [0x7f56b9347979]
> /usr/local/freeswitch/mod/mod_xml_cdr.so [0x7f56b93385a5]
> /usr/local/freeswitch/lib/libfreeswitch.so.1(switch_core_session_run 
> +0x1372)
> [0x7f56bc7fc562]
> /usr/local/freeswitch/lib/libfreeswitch.so.1 [0x7f56bc7fae00]
> 2008-07-11 19:47:39 [CRIT] switch_core_state_machine.c:319
> switch_core_session_run() Thread has crashed for channel
> sofia/internal/604 at sip.emergen.biz
> 2008-07-11 19:47:39 [DEBUG] switch_core_state_machine.c:365
> switch_core_session_run() sofia/internal/604 at sip.emergen.biz Running
> State Change CS_HANGUP
> 2008-07-11 19:47:39 [DEBUG] switch_core_state_machine.c:393
> switch_core_session_run() (sofia/internal/604 at sip.emergen.biz) State  
> HANGUP
> 2008-07-11 19:47:39 [DEBUG] mod_sofia.c:264 sofia_on_hangup() Channel
> sofia/internal/604 at sip.emergen.biz hanging up, cause: NORMAL_CLEARING
>
>
>
> I am doing a decent amount of processing in my PHP app on the other  
> side
> of the CURL post- can that possibly cause problems? Any pointers on  
> how
> to debug this would be great. I would also try with the SVN code to  
> see
> if this error persists.
>
>
>
>
>
>
> Brian West wrote:
>> I would highly recommend it.
>>
>> /b
>>
>> On Jul 11, 2008, at 4:19 AM, Faraz R. Khan wrote:
>>
>>> No, I'm running the phoenix 1.0.0 tarball release
>>>
>>> Should I go to SVN?
>>
>>
>> _______________________________________________
>> 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
>
>
> _______________________________________________
> 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

Brian West
sip:brian at freeswitch.org







More information about the FreeSWITCH-users mailing list