<html><head><meta http-equiv="Content-Type" content="text/html; charset=utf-8"></head><body><div><div style="font-family: Calibri,sans-serif; font-size: 11pt;">Thanks. Only thing I show its object reference is null and the dump says unknown module.<br>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<br>Still no closer.<br></div></div><div dir="ltr"><hr><span style="font-family: Calibri,sans-serif; font-size: 11pt; font-weight: bold;">From: </span><span style="font-family: Calibri,sans-serif; font-size: 11pt;"><a href="mailto:covici@ccs.covici.com">covici@ccs.covici.com</a></span><br><span style="font-family: Calibri,sans-serif; font-size: 11pt; font-weight: bold;">Sent: </span><span style="font-family: Calibri,sans-serif; font-size: 11pt;">4/21/2014 11:49 AM</span><br><span style="font-family: Calibri,sans-serif; font-size: 11pt; font-weight: bold;">To: </span><span style="font-family: Calibri,sans-serif; font-size: 11pt;"><a href="mailto:freeswitch-users@lists.freeswitch.org">FreeSWITCH Users Help</a></span><br><span style="font-family: Calibri,sans-serif; font-size: 11pt; font-weight: bold;">Subject: </span><span style="font-family: Calibri,sans-serif; font-size: 11pt;">Re: [Freeswitch-users] Unhandled Exception in CLR</span><br><br></div>Mono stuff usually gives a backtrace on standard out, so you will need<br>to capture standard out of fs either by running under runit or<br>otherwise using -nf and -nc and outputting to a file.<br><br>Peter Olsson <peter@olssononline.se> wrote:<br><br>> Is FS compiled as 32- or 64-bit? You need to get a backtrace to find out<br>> what's really going on. Sofia and other modules won't throw exceptions<br>> (it's C), so until you get a backtrace from the error/exception it will be<br>> more or less impossible to help.<br>> <br>> /Peter<br>> <br>> <br>> 2014-04-21 17:00 GMT+02:00 <andretodd@verizon.net>:<br>> <br>> > Hi,<br>> ><br>> > While using Mod_managed and when the threads get to about 4000 threads I<br>> > keep getting "An exception came from the CLR" in a unknown module.<br>> ><br>> > I have error handling on all my c# code and I have tired to debug the dump<br>> > looking for the problem.<br>> > Today I saw a new error saying Fault module name mod_sofia,dll<br>> ><br>> > I really have no idea where the Unhandled exception is. I even put this<br>> > code to try to find it<br>> ><br>> > AppDomain.CurrentDomain.*UnhandledException* += new<br>> > UnhandledExceptionEventHandler(CurrentDomain_UnhandledException);<br>> ><br>> > however nothing ever fires. Can I assume since the error is from the CLR<br>> > it could be the Mod_Manged dll? Is the Sofia throwing an exception to<br>> > mod_managed then the app crashes?<br>> ><br>> > I really need help here to stop the crash and how to stop it.<br>> > Thanks<br>> > Andre<br>> ><br>> > _________________________________________________________________________<br>> > Professional FreeSWITCH Consulting Services:<br>> > consulting@freeswitch.org<br>> > http://www.freeswitchsolutions.com<br>> ><br>> > FreeSWITCH-powered IP PBX: The CudaTel Communication Server<br>> > http://www.cudatel.com<br>> ><br>> > Official FreeSWITCH Sites<br>> > http://www.freeswitch.org<br>> > http://wiki.freeswitch.org<br>> > http://www.cluecon.com<br>> ><br>> > FreeSWITCH-users mailing list<br>> > FreeSWITCH-users@lists.freeswitch.org<br>> > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users<br>> > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users<br>> > http://www.freeswitch.org<br>> ><br>> ><br>> <br>> ----------------------------------------------------<br>> Alternatives:<br>> <br>> ----------------------------------------------------<br>> _________________________________________________________________________<br>> Professional FreeSWITCH Consulting Services:<br>> consulting@freeswitch.org<br>> http://www.freeswitchsolutions.com<br>> <br>> FreeSWITCH-powered IP PBX: The CudaTel Communication Server<br>> http://www.cudatel.com<br>> <br>> Official FreeSWITCH Sites<br>> http://www.freeswitch.org<br>> http://wiki.freeswitch.org<br>> http://www.cluecon.com<br>> <br>> FreeSWITCH-users mailing list<br>> FreeSWITCH-users@lists.freeswitch.org<br>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users<br>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users<br>> http://www.freeswitch.org<br><br>-- <br>Your life is like a penny. You're going to lose it. The question is:<br>How do<br>you spend it?<br><br> John Covici<br> covici@ccs.covici.com<br><br>_________________________________________________________________________<br>Professional FreeSWITCH Consulting Services:<br>consulting@freeswitch.org<br>http://www.freeswitchsolutions.com<br><br>FreeSWITCH-powered IP PBX: The CudaTel Communication Server<br>http://www.cudatel.com<br><br>Official FreeSWITCH Sites<br>http://www.freeswitch.org<br>http://wiki.freeswitch.org<br>http://www.cluecon.com<br><br>FreeSWITCH-users mailing list<br>FreeSWITCH-users@lists.freeswitch.org<br>http://lists.freeswitch.org/mailman/listinfo/freeswitch-users<br>UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users<br>http://www.freeswitch.org<br></body></html>