[Freeswitch-users] Unhandled Exception in CLR

Andre Demattia andretodd at verizon.net
Mon Apr 21 20:15:33 MSD 2014


Thanks. Only thing I show its object reference is null and the dump says unknown module.
So I'm at a loss on what is the problem. I have try catch on just about every function and I'm looking for any unhandled exception with AppDomain.CurrentDomain.*UnhandledException* += new
Still no closer.


-----Original Message-----
From: "covici at ccs.covici.com" <covici at ccs.covici.com>
Sent: ‎4/‎21/‎2014 11:49 AM
To: "FreeSWITCH Users Help" <freeswitch-users at lists.freeswitch.org>
Subject: Re: [Freeswitch-users] Unhandled Exception in CLR

Mono stuff usually gives a backtrace on standard out, so you will need
to capture standard out of fs either by  running under runit  or
otherwise using -nf and -nc and outputting to a file.

Peter Olsson <peter at olssononline.se> wrote:

> 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
> >
> >
> 
> ----------------------------------------------------
> Alternatives:
> 
> ----------------------------------------------------
> _________________________________________________________________________
> 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

-- 
Your life is like a penny.  You're going to lose it.  The question is:
How do
you spend it?

         John Covici
         covici at ccs.covici.com

_________________________________________________________________________
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/ddc70ef2/attachment.html 


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