<div>Can you catch the crash in the debugger and see why it&#39;s crashing?</div><div><br><div class="gmail_quote"><div>On Tue, Feb 7, 2017 at 8:28 PM Shane Mitchell &lt;<a href="mailto:shane.mitchell@fonedynamics.com.au">shane.mitchell@fonedynamics.com.au</a>&gt; wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi Michael,<br class="gmail_msg">
<br class="gmail_msg">
The module is written in C# using mod_managed.  I have created a barebones CSX file to illustrate the issue, available here: <a href="https://pastebin.freeswitch.org/view/a9e03c6e" rel="noreferrer" class="gmail_msg" target="_blank">https://pastebin.freeswitch.org/view/a9e03c6e</a><br class="gmail_msg">
<br class="gmail_msg">
The last part of the console log is shown here: <a href="https://pastebin.freeswitch.org/view/0f2a230f" rel="noreferrer" class="gmail_msg" target="_blank">https://pastebin.freeswitch.org/view/0f2a230f</a><br class="gmail_msg">
<br class="gmail_msg">
The test should count up to 60, but only counts to 30 before the process crashes.<br class="gmail_msg">
<br class="gmail_msg">
In Windows Event viewer, the following information is displayed:<br class="gmail_msg">
<br class="gmail_msg">
Faulting application name: FreeSwitchConsole.exe, version: 1.5.15.0, time stamp: 0x54ace818<br class="gmail_msg">
Faulting module name: MSVCR100.dll, version: 10.0.40219.325, time stamp: 0x4df2bcac<br class="gmail_msg">
Exception code: 0x40000015<br class="gmail_msg">
Fault offset: 0x00000000000761c9<br class="gmail_msg">
Faulting process id: 0xcea8<br class="gmail_msg">
Faulting application start time: 0x01d281a878a2c8c2<br class="gmail_msg">
Faulting application path: C:\Program Files\FreeSWITCH\FreeSwitchConsole.exe<br class="gmail_msg">
Faulting module path: C:\Windows\system32\MSVCR100.dll<br class="gmail_msg">
<br class="gmail_msg">
I&#39;m not sure if this is isolated to mod_managed / CLR, or Windows, or if this occurs more broadly.<br class="gmail_msg">
<br class="gmail_msg">
Any ideas?<br class="gmail_msg">
<br class="gmail_msg">
Cheers,<br class="gmail_msg">
<br class="gmail_msg">
Shane Mitchell<br class="gmail_msg">
<br class="gmail_msg">
<br class="gmail_msg">
-----Original Message-----<br class="gmail_msg">
From: <a href="mailto:freeswitch-users-bounces@lists.freeswitch.org" class="gmail_msg" target="_blank">freeswitch-users-bounces@lists.freeswitch.org</a> [mailto:<a href="mailto:freeswitch-users-bounces@lists.freeswitch.org" class="gmail_msg" target="_blank">freeswitch-users-bounces@lists.freeswitch.org</a>] On Behalf Of Michael Jerris<br class="gmail_msg">
Sent: Wednesday, 8 February 2017 7:42 AM<br class="gmail_msg">
To: FreeSWITCH Users Help &lt;<a href="mailto:freeswitch-users@lists.freeswitch.org" class="gmail_msg" target="_blank">freeswitch-users@lists.freeswitch.org</a>&gt;<br class="gmail_msg">
Subject: Re: [Freeswitch-users] Module Loading Timeout Exit on Start-up<br class="gmail_msg">
<br class="gmail_msg">
I can’t think of what that might be.  Do you get any logs when that fails to point me towards what you are hitting?  The modules loading is done in the main thread from the executable and we don’t have anything I can think of that times out there.<br class="gmail_msg">
<br class="gmail_msg">
&gt; On Feb 7, 2017, at 4:34 PM, Shane Mitchell  wrote:<br class="gmail_msg">
&gt;<br class="gmail_msg">
&gt; Hi all,<br class="gmail_msg">
&gt;<br class="gmail_msg">
&gt; Just a quick question before I start searching through the source.<br class="gmail_msg">
&gt;<br class="gmail_msg">
&gt; On FS start-up, there seems to be a 30 second timeout FS allows for modules to load, after which FS will exit.  I appreciate that modules should take less than this to load, but I&#39;m running into this timeout mainly during development, for various reasons, including when debugging the loading logic of the module (hence debugging has become a bit of a race!).<br class="gmail_msg">
&gt;<br class="gmail_msg">
&gt; Is there any way to disable or extend this module load timeout?<br class="gmail_msg">
&gt;<br class="gmail_msg">
&gt; Thanks in advance,<br class="gmail_msg">
&gt;<br class="gmail_msg">
&gt; Shane Mitchell<br class="gmail_msg">
&gt;<br class="gmail_msg">
&gt;<br class="gmail_msg">
<br class="gmail_msg">
<br class="gmail_msg">
FreeSWITCH-users mailing list<br class="gmail_msg">
<a href="mailto:FreeSWITCH-users@lists.freeswitch.org" class="gmail_msg" target="_blank">FreeSWITCH-users@lists.freeswitch.org</a><br class="gmail_msg">
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" rel="noreferrer" class="gmail_msg" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br class="gmail_msg">
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" rel="noreferrer" class="gmail_msg" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br class="gmail_msg">
<a href="http://www.freeswitch.org" rel="noreferrer" class="gmail_msg" target="_blank">http://www.freeswitch.org</a><br class="gmail_msg">
_________________________________________________________________________<br class="gmail_msg">
Professional FreeSWITCH Consulting Services:<br class="gmail_msg">
<a href="mailto:consulting@freeswitch.org" class="gmail_msg" target="_blank">consulting@freeswitch.org</a><br class="gmail_msg">
<a href="http://www.freeswitchsolutions.com" rel="noreferrer" class="gmail_msg" target="_blank">http://www.freeswitchsolutions.com</a><br class="gmail_msg">
<br class="gmail_msg">
Official FreeSWITCH Sites<br class="gmail_msg">
<a href="http://www.freeswitch.org" rel="noreferrer" class="gmail_msg" target="_blank">http://www.freeswitch.org</a><br class="gmail_msg">
<a href="http://confluence.freeswitch.org" rel="noreferrer" class="gmail_msg" target="_blank">http://confluence.freeswitch.org</a><br class="gmail_msg">
<a href="http://www.cluecon.com" rel="noreferrer" class="gmail_msg" target="_blank">http://www.cluecon.com</a><br class="gmail_msg">
<br class="gmail_msg">
FreeSWITCH-users mailing list<br class="gmail_msg">
<a href="mailto:FreeSWITCH-users@lists.freeswitch.org" class="gmail_msg" target="_blank">FreeSWITCH-users@lists.freeswitch.org</a><br class="gmail_msg">
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" rel="noreferrer" class="gmail_msg" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br class="gmail_msg">
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" rel="noreferrer" class="gmail_msg" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br class="gmail_msg">
<a href="http://www.freeswitch.org" rel="noreferrer" class="gmail_msg" target="_blank">http://www.freeswitch.org</a></blockquote></div></div>