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@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@freeswitch.org http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com
Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.freeswitch.org http://www.cluecon.com
FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
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@olssononline.se> Sent: 4/21/2014 11:24 AM To: "FreeSWITCH Users Help" <freeswitch-users@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@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@freeswitch.org http://www.freeswitchsolutions.com FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.freeswitch.org http://www.cluecon.com FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
Sorry, I thought you were using linux, so my message may not apply. Andre Demattia <andretodd@verizon.net> wrote:
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@olssononline.se> Sent: 4/21/2014 11:24 AM To: "FreeSWITCH Users Help" <freeswitch-users@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@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@freeswitch.org http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com
Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.freeswitch.org http://www.cluecon.com
FreeSWITCH-users mailing list FreeSWITCH-users@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@freeswitch.org http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com
Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.freeswitch.org http://www.cluecon.com
FreeSWITCH-users mailing list FreeSWITCH-users@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@ccs.covici.com
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@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@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@freeswitch.org http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com
Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.freeswitch.org http://www.cluecon.com
FreeSWITCH-users mailing list FreeSWITCH-users@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@freeswitch.org http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com
Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.freeswitch.org http://www.cluecon.com
FreeSWITCH-users mailing list FreeSWITCH-users@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@ccs.covici.com
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@ccs.covici.com" <covici@ccs.covici.com> Sent: 4/21/2014 11:49 AM To: "FreeSWITCH Users Help" <freeswitch-users@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@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@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@freeswitch.org http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com
Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.freeswitch.org http://www.cluecon.com
FreeSWITCH-users mailing list FreeSWITCH-users@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@freeswitch.org http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com
Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.freeswitch.org http://www.cluecon.com
FreeSWITCH-users mailing list FreeSWITCH-users@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@ccs.covici.com _________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.freeswitch.org http://www.cluecon.com FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
participants (4)
-
Andre Demattia
-
andretodd@verizon.net
-
covici@ccs.covici.com
-
Peter Olsson