[Freeswitch-users] Unhandled Exception in CLR

Andre Demattia andretodd at verizon.net
Mon Apr 21 19:37:19 MSD 2014


64 bit. Windows server 2012 r2.

Do you have any suggestions on how to backtrace? If I knew what is throwing the exception I could handle it. My only idea is it must be mod managed. That is the only other clr code.

I'm really confused why the dump says unknown module.

Thanks
Andre 


-----Original Message-----
From: "Peter Olsson" <peter at olssononline.se>
Sent: ‎4/‎21/‎2014 11:24 AM
To: "FreeSWITCH Users Help" <freeswitch-users at lists.freeswitch.org>
Subject: Re: [Freeswitch-users] Unhandled Exception in CLR

Is FS compiled as 32- or 64-bit? You need to get a backtrace to find out what's really going on. Sofia and other modules won't throw exceptions (it's C), so until you get a backtrace from the error/exception it will be more or less impossible to help.


/Peter



2014-04-21 17:00 GMT+02:00 <andretodd at verizon.net>:

Hi,
 
While using Mod_managed and when the threads get to about 4000 threads I keep getting "An exception came from the CLR" in a unknown module.
 
I have error handling on all my c# code and I have tired to debug the dump looking for the problem.
Today I saw a new error saying Fault module name mod_sofia,dll
 
I really have no idea where the Unhandled exception is. I even put this code to try to find it
 
AppDomain.CurrentDomain.UnhandledException += new UnhandledExceptionEventHandler(CurrentDomain_UnhandledException);
 
however nothing ever fires.  Can I assume since the error is from the CLR it could be the Mod_Manged dll?  Is the Sofia throwing an exception to mod_managed then the app crashes?
 
I really need help here to stop the crash and how to stop it.
Thanks
Andre

_________________________________________________________________________
Professional FreeSWITCH Consulting Services:
consulting at freeswitch.org
http://www.freeswitchsolutions.com




Official FreeSWITCH Sites
http://www.freeswitch.org
http://wiki.freeswitch.org
http://www.cluecon.com

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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20140421/15c4c4f4/attachment-0001.html 


Join us at ClueCon 2013 Aug 6-8, 2013
More information about the FreeSWITCH-users mailing list