[Freeswitch-users] FreeSwitch crashes when called party hangs up on Prompt Play

Adelia C. hexade at hotmail.com
Wed Sep 12 04:29:30 MSD 2012


Problem: 

FreeSwitch crashes when called party hangs up on prompt played (prompt played on called side). 
Interestingly enough, this does not happen in DEV (win32 Windows 2003 VMs) but happens on win32 Windows 2003 HW (real hardware).
Offending lib is libapr.dll. I ran libapr.dl through Dependency Walker on both VM and HW and all is equal. 

FreeSwitch version :  GIT version from 2 weeks ago, Release version only (no Debug on DEV)

Calling Function at crash time (full trace at http://pastebin.freeswitch.org/19876) :

2012-09-11 15:38:09.534355 [NOTICE] switch_cpp.cpp:1227 8b24ba68-79ea-4ab3-9d22-ae3da858f1a1 Proxying Call routes are: {origination_caller_id_number=4152484093,origination_uuid=663ec186-36ed-4f40-8e68-4dad5d8550eb,ignore_early_media=true,group_confirm_key=exec,group_confirm_file=playback //ashstgfs.stage.keen.com/files/Callcloud/NewWhisper_d5d694a0_a402_491e_a5c2_ac15c8c5b92f.wav}sofia/gateway/26/4152484093 | [origination_uuid=a9dfe5b9-bdd9-40d9-8a2b-897c5c164825]sofia/gateway/25/4152484093 | [origination_uuid=c7cb97af-1dbb-4c84-81be-c8e794000a27]sofia/gateway/7/4152484093 | [origination_uuid=1612b58e-86e7-45e2-bea3-b81360139fea]sofia/gateway/10/4152484093
6815a8a9-fb0b-41dd-b2d0-cabfe7953ab4 EXECUTE sofia/external/4152484093 at 10.3.220.50 bridge({origination_caller_id_number=4152484093,origination_uuid=663ec186-36ed-4f40-8e68-4dad5d8550eb,ignore_early_media=true,group_confirm_key=exec,group_confirm_file=playback //ashstgfs.stage.keen.com/files/Callcloud/NewWhisper_d5d694a0_a402_491e_a5c2_ac15c8c5b92f.wav}sofia/gateway/26/4152484093 | [origination_uuid=a9dfe5b9-bdd9-40d9-8a2b-897c5c164825]sofia/gateway/25/4152484093 | [origination_uuid=c7cb97af-1dbb-4c84-81be-c8e794000a27]sofia/gateway/7/4152484093 | [origination_uuid=1612b58e-86e7-45e2-bea3-b81360139fea]sofia/gateway/10/4152484093)
6815a8a9-fb0b-41dd-b2d0-cabfe7953ab4 2012-09-11 15:38:09.549980 [DEBUG] switch_channel.c:1067 sofia/external/4152484093 at 10.3.220.50 EXPORTING[export_vars] [RFC2822_DATE]=[Tue, 11 Sep 2012 15:38:09 Pacific Daylight Time] to event

Exception:
Event Type:    Error
Event Source:    .NET Runtime
Event Category:    None
Event ID:    1026
Date:        9/11/2012
Time:        3:38:31 PM
User:        N/A
Computer:    ASHSTGSIP02
Description:
Application: FreeSwitchConsole.exe
Framework Version: v4.0.30319
Description: The process was terminated due to an unhandled exception.
Exception Info: System.AccessViolationException
Stack:
   at CoreSession.execute(CoreSession* , SByte* , SByte* )
   at CSharp_CoreSession_Execute(Void* jarg1, SByte* jarg2, SByte* jarg3)
   at FreeSWITCH.Native.freeswitchPINVOKE.CoreSession_Execute(HandleRef jarg1, String jarg2, String jarg3)
   at FreeSWITCH.Native.CoreSession.Execute(String app, String data)
   at CallCloudAppServer.Service.Service.ProxyInboundCall(String rtn, String callerIdNumber, Boolean callRecordingRoute)
   at CallCloudAppServer.Service.CallTracking.CallTrackingService.DoVanillaCallTracking()
   at CallCloudAppServer.Service.CallTracking.CallTrackingService.ProcessIncomingCall()
   at CallCloudAppServer.Core.Dispatcher.Dispatch()
   at CallCloudAppServer.Core.MessageHandler.MessageHandler.ProcessIncomingCall()
   at CallCloudAppServer.Main.Run(AppContext context)
   at FreeSWITCH.AppPluginExecutor.Execute(String args, IntPtr sessionHandle)
   at FreeSWITCH.AppPluginExecutor.Execute(System.String, IntPtr)
   at FreeSWITCH.Loader.Run(System.String, IntPtr)


Cause : passing in wrong parameters to triggers Access Violation - 0xc0000005 - in libapr!apr_socket_sendto.

LOGS and CRASH :
LOGS at http://pastebin.freeswitch.org/19876 
CRASH.DMP at  http://pastebin.freeswitch.org/19877

Any idea? 

Thanks for your help!
A.C.




 		 	   		  
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20120911/ec6f712d/attachment.html 


Join us at ClueCon 2011 Aug 9-11, 2011
More information about the FreeSWITCH-users mailing list